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

:root {
    --primary: #2AABEE;
    --primary-dark: #1E8BC4;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-soft: #f7f9fc;
    --border: #e5e7eb;
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 0;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-nav {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 18px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    transition: all 0.2s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    text-align: center;
    white-space: nowrap;
}

/* Фиксированная ширина кнопок в шапке */
.nav-links .btn-nav {
    min-width: 130px;
}

.btn-nav:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    text-shadow: none;
}

/* Короткие тексты для мобильного */
.nav-short {
    display: none;
}

/* Логотип */
.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.logo-link:hover {
    opacity: 0.85;
}

.logo-full {
    height: 40px;
    width: auto;
    display: block;
}

.logo-icon {
    display: none;
    height: 36px;
    width: auto;
}

/* Hero */
.hero {
    background:
        linear-gradient(135deg, rgba(42, 171, 238, 0.75) 0%, rgba(30, 139, 196, 0.85) 100%),
        url('assets/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: #FFFFFF;
    opacity: 1;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3),
                 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 16px;
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-driver-link {
    margin-top: 24px;
    font-size: 15px;
    color: #FFFFFF;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-driver-link a {
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 2px;
    transition: border-color 0.2s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-driver-link a:hover {
    border-bottom-color: white;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    font-family: inherit;
    cursor: pointer;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-large {
    font-size: 20px;
    padding: 20px 48px;
}

/* Sections */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section h2 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 48px;
}

/* Problem cards */
.problem {
    background: var(--bg-soft);
    max-width: none;
    border-radius: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.card-emoji {
    font-size: 40px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card p {
    color: var(--text-muted);
}

/* Solution steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
}

.step-num {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
}

/* Features */
.features {
    background: var(--bg-soft);
    max-width: none;
}

.features h2 {
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Order form */
.order-form {
    background: var(--bg-soft);
    max-width: none;
}

.form {
    max-width: 600px;
    margin: 32px auto 0;
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    color: var(--text);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.15);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form button {
    width: 100%;
    margin-top: 8px;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* How to */
.how-list {
    max-width: 500px;
    margin: 32px auto 40px;
    font-size: 18px;
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.how-list li {
    padding: 16px 0 16px 60px;
    position: relative;
    border-bottom: 1px solid var(--border);
    counter-increment: step;
}

.how-list li:last-child {
    border-bottom: none;
}

.how-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.how-list a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.how-list a:hover {
    text-decoration: underline;
}

.how-to {
    text-align: center;
}

/* FAQ */
.faq {
    background: var(--bg-soft);
    max-width: none;
}

.faq h2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.faq details {
    max-width: 800px;
    margin: 0 auto 12px;
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    cursor: pointer;
}

.faq summary {
    font-weight: 600;
    font-size: 17px;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 24px;
    font-weight: 400;
    color: var(--primary);
}

.faq details[open] summary::after {
    content: '−';
}

.faq details p {
    margin-top: 12px;
    color: var(--text-muted);
}

/* CTA final */
.cta-final {
    text-align: center;
    background:
        linear-gradient(135deg, rgba(42, 171, 238, 0.85) 0%, rgba(30, 139, 196, 0.9) 100%),
        url('assets/hero-bg.jpg') center/cover no-repeat;
    color: white;
    max-width: none;
    padding: 80px 24px;
}

.cta-final h2 {
    color: white;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-driver-link {
    margin-top: 24px;
    font-size: 15px;
    color: #FFFFFF;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.cta-driver-link a {
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.cta-driver-link a:hover {
    border-bottom-color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 32px 24px;
    color: var(--text-muted);
    font-size: 14px;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px dotted var(--border);
}

footer a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Mobile */
@media (max-width: 600px) {
    .nav {
        padding: 16px 12px 0;
    }

    /* Скрываем полный логотип, показываем иконку */
    .logo-full {
        display: none;
    }
    .logo-icon {
        display: block;
        height: 36px;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links .btn-nav {
        min-width: 70px;
        font-size: 11px;
        padding: 5px 8px;
        border-width: 1px;
    }

    /* Короткие тексты на мобильном */
    .nav-full {
        display: none;
    }
    .nav-short {
        display: inline;
    }

    .section {
        padding: 60px 20px;
    }

    .hero-content {
        padding-top: 40px;
    }

    .btn-primary, .btn-secondary {
        font-size: 16px;
        padding: 14px 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form {
        padding: 24px 20px;
    }
}