/* ============================================
   RESET И БАЗОВЫЕ СТИЛИ
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    background-attachment: fixed;
    color: #2d3748;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Фоновые эффекты */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(229, 62, 62, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(229, 62, 62, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(229, 62, 62, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 62, 62, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Плавающие круги */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 62, 62, 0.3) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.25) 0%, transparent 70%);
    top: 50%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(229, 62, 62, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    top: 30%;
    left: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

a {
    color: #e53e3e;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #c53030;
    text-decoration: underline;
}

/* ============================================
   HEADER САЙТА
   ============================================ */

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(229, 62, 62, 0.15), 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: relative;
    z-index: 100;
    border-bottom: 3px solid rgba(229, 62, 62, 0.3);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.site-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.site-logo a {
    color: inherit;
    text-decoration: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.site-nav a {
    color: #2d3748;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    background: rgba(229, 62, 62, 0.08);
    border: 2px solid transparent;
}

.site-nav a:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 62, 62, 0.4);
    text-decoration: none;
    border-color: rgba(229, 62, 62, 0.3);
}

/* ============================================
   ФОРМЫ
   ============================================ */

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.12), 0 4px 12px rgba(229, 62, 62, 0.15);
    transform: translateY(-1px);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e53e3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
    cursor: pointer;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #718096;
    font-style: italic;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    text-align: center;
    min-height: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.5);
    text-decoration: none;
    color: white;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.4);
    color: white;
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.5);
    color: white;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   DASHBOARD КАРТОЧКИ
   ============================================ */

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(229, 62, 62, 0.1), 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e53e3e 0%, #667eea 50%, #e53e3e 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.dashboard-card h1,
.dashboard-card h2 {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.dashboard-card h3 {
    color: #1a202c;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}

/* ============================================
   СТАТУСЫ ЗАКАЗОВ
   ============================================ */

.order-status {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 35px;
    margin-top: 25px;
    box-shadow: 0 10px 40px rgba(229, 62, 62, 0.1), 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.status-searching {
    color: #dd6b20;
    font-size: 20px;
    font-weight: 700;
    animation: pulse-orange 2s infinite;
}

.status-accepted {
    color: #38a169;
    font-size: 20px;
    font-weight: 700;
    animation: pulse-green 2s infinite;
}

.status-arrived {
    color: #e53e3e;
    font-size: 22px;
    font-weight: 800;
    animation: pulse-red 1.5s infinite;
}

.status-completed {
    color: #38a169;
    font-size: 20px;
    font-weight: 700;
}

@keyframes pulse-orange {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* ============================================
   ИНФОРМАЦИЯ О ВОДИТЕЛЕ
   ============================================ */

.driver-info {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
    border-left: 5px solid #e53e3e;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.15);
}

.driver-info h3 {
    color: #e53e3e;
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 700;
}

.driver-info p {
    margin-bottom: 12px;
    font-size: 16px;
    color: #4a5568;
}

.driver-info strong {
    color: #e53e3e;
    display: inline-block;
    min-width: 120px;
    font-weight: 700;
}

.driver-info a {
    color: #e53e3e;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(229, 62, 62, 0.3);
}

.driver-info a:hover {
    border-bottom-color: #e53e3e;
}

/* ============================================
   СПИСОК ЗАКАЗОВ
   ============================================ */

.order-item {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 18px;
    border-left: 5px solid #e53e3e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.order-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.2);
}

.order-item h3 {
    color: #1a202c;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.order-meta {
    color: #718096;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.order-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(229, 62, 62, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

/* ============================================
   РЕЙТИНГ ЗВЕЗДАМИ
   ============================================ */

.star-rating {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    justify-content: center;
}

.star-rating .star {
    font-size: 36px;
    cursor: pointer;
    color: #e2e8f0;
    transition: all 0.2s ease;
    user-select: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #fbbf24;
    transform: scale(1.15);
}

/* ============================================
   АЛЕРТЫ
   ============================================ */

.alert {
    padding: 18px 22px;
    border-radius: 14px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 5px solid;
}

.alert-warning {
    background: linear-gradient(135deg, #fffaf0 0%, #fef3c7 100%);
    color: #92400e;
    border-left-color: #dd6b20;
}

.alert-success {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    color: #22543d;
    border-left-color: #38a169;
}

.alert-info {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    color: #9b2c2c;
    border-left-color: #e53e3e;
}

.alert-danger {
    background: linear-gradient(135deg, #fff5f5 0%, #feb2b2 100%);
    color: #991b1b;
    border-left-color: #c53030;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: rgba(26, 32, 44, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 35px 20px;
    margin-top: 50px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #e53e3e;
}

.site-footer p {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0.9;
}

.site-footer a {
    color: #fc8181;
    font-weight: 600;
}

.site-footer a:hover {
    color: #f56565;
}

/* ============================================
   СТРАНИЦА РЕГИСТРАЦИИ И ВХОДА
   ============================================ */

.register-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: transparent;
    position: relative;
}

.register-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(229, 62, 62, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.register-container {
    width: 100%;
    max-width: 550px;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(229, 62, 62, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid rgba(229, 62, 62, 0.2);
    position: relative;
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e53e3e 0%, #667eea 50%, #e53e3e 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.register-header {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 45px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.register-header:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.register-logo {
    font-size: 70px;
    margin-bottom: 18px;
    animation: bounce 2s ease infinite;
    position: relative;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.register-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.register-subtitle {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.register-form {
    padding: 40px 35px;
}

.register-form .form-group {
    margin-bottom: 28px;
}

.register-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
}

.label-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
}

.register-form .form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.register-form .form-control:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 5px rgba(229, 62, 62, 0.15);
    transform: translateY(-2px);
}

.form-hint {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    color: #718096;
    font-style: italic;
}

/* Выбор роли */
.role-selector-label {
    display: block;
    margin-bottom: 16px;
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.role-option {
    cursor: pointer;
}

.role-option input[type="radio"] {
    display: none;
}

.role-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 18px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.role-option input[type="radio"]:checked + .role-card {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    border-color: #e53e3e;
    color: white;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(229, 62, 62, 0.5);
}

.role-icon {
    font-size: 45px;
    margin-bottom: 12px;
}

.role-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.role-desc {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 500;
}

/* Поля водителя */
.driver-fields {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-radius: 16px;
    padding: 28px;
    margin-top: 24px;
    border: 2px solid #fed7d7;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.driver-fields .form-group:last-child {
    margin-bottom: 0;
}

/* Чекбокс */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
    gap: 10px;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #e53e3e;
}

.checkbox-label a {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 700;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Кнопка регистрации */
.btn-register {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    font-family: inherit;
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.45);
    position: relative;
    overflow: hidden;
}

.btn-register:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-register:hover:before {
    left: 100%;
}

.btn-register:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(229, 62, 62, 0.6);
}

.btn-register:active:not(:disabled) {
    transform: translateY(-2px);
}

.btn-register:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Спиннер загрузки */
.spinner {
    width: 26px;
    height: 26px;
    animation: rotate 2s linear infinite;
}

.spinner .path {
    stroke: white;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Сообщения */
.register-message {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.register-message.success {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    color: #22543d;
    border: 2px solid #38a169;
}

.register-message.error {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    color: #991b1b;
    border: 2px solid #c53030;
}

/* Подвал формы */
.register-footer {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    padding: 24px 35px;
    text-align: center;
    border-top: 2px solid #fed7d7;
}

.register-footer p {
    margin: 8px 0;
    color: #4a5568;
    font-size: 15px;
    font-weight: 600;
}

.register-footer a {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 800;
    border-bottom: 2px solid rgba(229, 62, 62, 0.3);
}

.register-footer a:hover {
    text-decoration: none;
    border-bottom-color: #e53e3e;
}

/* ============================================
   ИСТОРИЯ ПОЕЗДОК
   ============================================ */

.history-item {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #e53e3e;
    transition: all 0.3s ease;
}

.history-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.2);
}

.history-item.completed {
    border-left-color: #38a169;
}

.history-item.searching {
    border-left-color: #dd6b20;
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 12px;
}

.history-item-header h3 {
    margin: 0;
    font-size: 20px;
    color: #1a202c;
    font-weight: 700;
}

.history-status {
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.history-status.completed {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    color: #22543d;
}

.history-status.searching {
    background: linear-gradient(135deg, #fef3c7 0%, #fbd38d 100%);
    color: #92400e;
}

.history-status.accepted {
    background: linear-gradient(135deg, #fed7d7 0%, #fc8181 100%);
    color: #9b2c2c;
}

/* ============================================
   ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ
   ============================================ */

.profile-info {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 2px solid #fed7d7;
}

.profile-info p {
    margin: 12px 0;
    font-size: 16px;
    color: #4a5568;
}

.profile-info strong {
    color: #e53e3e;
    display: inline-block;
    min-width: 140px;
    font-weight: 700;
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .site-header {
        padding: 12px 0;
    }
    
    .site-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .site-logo {
        font-size: 26px;
        margin-bottom: 8px;
    }
    
    .site-nav {
        justify-content: center;
        width: 100%;
        gap: 8px;
    }
    
    .site-nav a {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .dashboard-card {
        padding: 25px 20px;
    }
    
    .dashboard-card h1,
    .dashboard-card h2 {
        font-size: 24px;
    }
    
    .driver-info strong,
    .profile-info strong {
        display: block;
        min-width: auto;
        margin-bottom: 4px;
    }
    
    .order-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .order-meta span {
        width: 100%;
    }
    
    .register-header {
        padding: 35px 25px;
    }
    
    .register-header h1 {
        font-size: 26px;
    }
    
    .register-logo {
        font-size: 60px;
    }
    
    .register-form {
        padding: 30px 25px;
    }
    
    .register-footer {
        padding: 20px 25px;
    }
    
    .role-selector {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 12px;
    }
    
    .site-header {
        padding: 10px 0;
    }
    
    .site-logo {
        font-size: 24px;
    }
    
    .site-nav {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .site-nav a {
        padding: 7px 12px;
        font-size: 13px;
        min-width: 90px;
    }
    
    .dashboard-card {
        padding: 20px 18px;
        border-radius: 16px;
        margin-bottom: 18px;
    }
    
    .dashboard-card h1,
    .dashboard-card h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .dashboard-card h3 {
        font-size: 18px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-control {
        padding: 13px 16px;
        font-size: 16px;
    }
    
    .btn {
        padding: 15px 24px;
        font-size: 15px;
        width: 100%;
        min-height: 52px;
    }
    
    .order-status {
        padding: 25px 20px;
    }
    
    .status-arrived {
        font-size: 18px;
    }
    
    .driver-info {
        padding: 18px;
    }
    
    .driver-info p {
        font-size: 15px;
    }
    
    .order-item {
        padding: 18px;
    }
    
    .order-item h3 {
        font-size: 18px;
    }
    
    .history-item {
        padding: 18px;
    }
    
    .history-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .history-item-header h3 {
        font-size: 18px;
    }
    
    .register-page {
        padding: 20px 15px;
    }
    
    .register-card {
        border-radius: 20px;
    }
    
    .register-header {
        padding: 30px 22px;
    }
    
    .register-logo {
        font-size: 55px;
        margin-bottom: 12px;
    }
    
    .register-header h1 {
        font-size: 24px;
    }
    
    .register-subtitle {
        font-size: 15px;
    }
    
    .register-form {
        padding: 28px 22px;
    }
    
    .register-form .form-group {
        margin-bottom: 22px;
    }
    
    .role-selector {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .role-card {
        padding: 22px 16px;
    }
    
    .role-icon {
        font-size: 40px;
    }
    
    .driver-fields {
        padding: 22px;
    }
    
    .btn-register {
        font-size: 17px;
        padding: 17px;
    }
    
    .register-footer {
        padding: 18px 22px;
    }
    
    .register-footer p {
        font-size: 14px;
    }
    
    .star-rating .star {
        font-size: 32px;
    }
    
    .alert {
        padding: 15px 18px;
        font-size: 14px;
    }
    
    .site-footer {
        padding: 25px 18px;
        margin-top: 35px;
    }
    
    .site-footer p {
        font-size: 13px;
    }
}

/* ============================================
   УЛУЧШЕНИЯ ДЛЯ ТАЧ-ИНТЕРФЕЙСА
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    .btn,
    .site-nav a,
    .role-option {
        min-height: 48px;
    }
    
    .star-rating .star {
        padding: 6px;
    }
    
    input[type="checkbox"],
    input[type="radio"] {
        width: 22px;
        height: 22px;
    }
}

* {
    -webkit-tap-highlight-color: rgba(229, 62, 62, 0.2);
}

@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

body {
    overflow-x: hidden;
}

/* ============================================
   ГЛАВНАЯ СТРАНИЦА - HERO СЕКЦИЯ
   ============================================ */

.hero-section {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 50%, #ffffff 100%);
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: heroFloat 15s ease-in-out infinite;
}

.hero-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 62, 62, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.25) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.hero-circle-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 62, 62, 0.2) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(229, 62, 62, 0.1);
    border: 2px solid rgba(229, 62, 62, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #c53030;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #e53e3e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #1a202c;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 48px;
    font-weight: 800;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 14px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.8s both;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #4a5568;
    font-weight: 600;
}

.hero-feature-icon {
    font-size: 22px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   СЕКЦИЯ ПРЕИМУЩЕСТВ
   ============================================ */

.features-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: #718096;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    border: 2px solid #f7fafc;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 62, 62, 0.3);
    box-shadow: 0 15px 40px rgba(229, 62, 62, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e53e3e 0%, #c53030 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.feature-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(229, 62, 62, 0.1);
    line-height: 1;
}

/* ============================================
   КАК ЭТО РАБОТАЕТ
   ============================================ */

.how-it-works-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    position: relative;
    box-shadow: 0 10px 40px rgba(229, 62, 62, 0.1);
    border: 2px solid rgba(229, 62, 62, 0.1);
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(229, 62, 62, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 5px 20px rgba(229, 62, 62, 0.4);
}

.step-icon {
    font-size: 56px;
    margin: 20px 0;
    display: inline-block;
}

.step-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e53e3e 0%, #c53030 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ============================================
   СТАТИСТИКА
   ============================================ */

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(229, 62, 62, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(229, 62, 62, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e53e3e 0%, #c53030 100%);
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #fc8181 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.stat-icon {
    font-size: 32px;
    opacity: 0.8;
}

/* ============================================
   CTA СЕКЦИЯ
   ============================================ */

.cta-section {
    padding: 100px 0;
    background: white;
}

.cta-card {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(229, 62, 62, 0.3);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 35px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: #e53e3e;
    font-weight: 800;
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.btn-outline-white:hover {
    background: white;
    color: #e53e3e;
    border-color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
    min-height: 60px;
}

.cta-decoration {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.cta-car {
    font-size: 150px;
    opacity: 0.3;
    animation: carDrive 3s ease-in-out infinite;
}

@keyframes carDrive {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

/* ============================================
   АДАПТИВНОСТЬ ГЛАВНОЙ СТРАНИЦЫ
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-title-accent {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .hero-stat-number {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .step-connector {
        display: none;
    }
    
    .steps-grid {
        flex-direction: column;
    }
    
    .step-card {
        max-width: 100%;
    }
    
    .cta-card {
        padding: 40px 25px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .cta-decoration {
        display: none;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .hero-title-accent {
        font-size: 24px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   МОБИЛЬНАЯ ВЕРСИЯ - УЛУЧШЕНИЯ
   ============================================ */

/* Планшеты и большие телефоны */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 70px;
    }
    
    .hero-title {
        font-size: 38px;
        letter-spacing: -1px;
    }
    
    .hero-title-accent {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .hero-stat-number {
        font-size: 26px;
    }
    
    .hero-stat-label {
        font-size: 12px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .features-section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .how-it-works-section {
        padding: 70px 0;
    }
    
    .step-connector {
        display: none;
    }
    
    .steps-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-card {
        max-width: 100%;
        padding: 35px 25px;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .cta-section {
        padding: 70px 0;
    }
    
    .cta-card {
        padding: 40px 25px;
        border-radius: 24px;
    }
    
    .cta-title {
        font-size: 30px;
    }
    
    .cta-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .cta-decoration {
        display: none;
    }
    
    .btn-large {
        padding: 16px 28px;
        font-size: 16px;
        min-height: 54px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0 60px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 18px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }
    
    .hero-title-accent {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stat-number {
        font-size: 24px;
    }
    
    .hero-stat-label {
        font-size: 11px;
    }
    
    .hero-features {
        gap: 12px;
    }
    
    .hero-feature {
        font-size: 14px;
    }
    
    .hero-feature-icon {
        font-size: 20px;
    }
    
    .features-section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-tag {
        font-size: 11px;
        padding: 6px 16px;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .feature-title {
        font-size: 19px;
    }
    
    .feature-desc {
        font-size: 14px;
    }
    
    .feature-number {
        font-size: 40px;
        top: 15px;
        right: 20px;
    }
    
    .how-it-works-section {
        padding: 50px 0;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .step-number {
        width: 44px;
        height: 44px;
        font-size: 20px;
        top: -18px;
    }
    
    .step-icon {
        font-size: 48px;
        margin: 15px 0;
    }
    
    .step-title {
        font-size: 19px;
    }
    
    .step-desc {
        font-size: 14px;
    }
    
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-icon {
        font-size: 26px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-card {
        padding: 35px 20px;
        border-radius: 20px;
    }
    
    .cta-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .cta-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
        min-height: 50px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-title-accent {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .feature-title,
    .step-title {
        font-size: 17px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
}

/* Горизонтальная ориентация на мобильных */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 30px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-title-accent {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        margin-bottom: 20px;
    }
    
    .hero-actions {
        margin-bottom: 25px;
    }
    
    .features-section,
    .how-it-works-section,
    .cta-section {
        padding: 40px 0;
    }
}

/* Оптимизация анимаций для мобильных */
@media (max-width: 768px) {
    .hero-circle {
        filter: blur(60px);
        opacity: 0.3;
    }
    
    .feature-icon {
        animation: none;
    }
    
    .cta-car {
        animation: none;
    }
    
    .register-header:before {
        animation: none;
    }
    
    .dashboard-card::before,
    .register-card::before {
        animation: none;
    }
}

/* Улучшения для тач-устройств */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
    }
    
    .step-card:hover {
        transform: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* Плавная прокрутка для мобильных */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Улучшенные отступы для мобильных */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .dashboard-card,
    .order-status {
        padding: 25px 20px;
    }
    
    .register-form {
        padding: 30px 20px;
    }
    
    .register-header {
        padding: 30px 20px;
    }
}

/* Оптимизация изображений и иконок */
@media (max-width: 768px) {
    .hero-circle-1,
    .hero-circle-2,
    .hero-circle-3 {
        width: 250px;
        height: 250px;
    }
    
    .shape {
        filter: blur(60px);
    }
    
    .shape-1,
    .shape-2,
    .shape-3,
    .shape-4 {
        width: 200px;
        height: 200px;
    }
}