/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Бренд */
    --brand-1: #2DCCD3;
    --brand-1-dark: #1eb4ba;
    --brand-1-soft: #e6faf9;
    --brand-2: #FFCA00;
    --brand-2-dark: #e6b400;

    /* Текст */
    --text-dark: #1a2a2e;
    --text: #3d4a4e;
    --text-muted: #737e82;
    --text-light: #9aa4a8;

    /* Фоны */
    --bg: #ffffff;
    --bg-soft: #f5fafb;
    --bg-section: #fafdfe;
    --border: #e6eef0;
    --border-strong: #d4dee1;

    /* Эффекты */
    --shadow-xs: 0 1px 3px rgba(15, 42, 50, 0.04);
    --shadow-sm: 0 4px 14px rgba(15, 42, 50, 0.06);
    --shadow-md: 0 14px 40px rgba(45, 204, 211, 0.12);
    --shadow-lg: 0 30px 70px rgba(45, 204, 211, 0.2);
    --shadow-yellow: 0 14px 40px rgba(255, 202, 0, 0.25);

    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --grad-brand: linear-gradient(135deg, #2DCCD3 0%, #5BDDE3 100%);
    --grad-accent: linear-gradient(135deg, #2DCCD3 0%, #FFCA00 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.accent {
    color: var(--brand-2);
    font-weight: 700;
}

.accent-cyan {
    color: var(--brand-1);
    position: relative;
    display: inline-block;
}

/* ===== Decorative background ===== */
.bg-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-decor__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    opacity: 0.6;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: 0 10px 28px rgba(45, 204, 211, 0.4);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-1-dark) 0%, var(--brand-1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.btn--primary > * {
    position: relative;
    z-index: 1;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(45, 204, 211, 0.5);
}

.btn--primary:hover::before {
    opacity: 1;
}

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

.btn--ghost {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-strong);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

.btn--ghost:hover {
    border-color: var(--brand-1);
    color: var(--brand-1);
    background: var(--brand-1-soft);
}

.btn--large {
    padding: 18px 36px;
    font-size: 15px;
}

.btn--block {
    width: 100%;
}

.btn__arrow {
    display: inline-block;
    transition: transform 0.25s ease;
    font-weight: 600;
}

.btn:hover .btn__arrow {
    transform: translateX(5px);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(230, 238, 240, 0.6);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.header__logo img {
    height: 42px;
    width: auto;
    transition: transform 0.25s ease;
}

.header__logo:hover img {
    transform: scale(1.03);
}

.header__nav {
    display: flex;
    gap: 36px;
    margin-left: auto;
    margin-right: 28px;
}

.header__nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 6px 0;
}

.header__nav a:hover {
    color: var(--brand-1);
}

.header__nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--grad-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.header__nav a:hover::after {
    width: 100%;
}

.header__cta {
    padding: 12px 22px;
    font-size: 13px;
}

.header__burger {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.25s ease;
}

/* ===== Hero ===== */
.hero {
    padding: 80px 0 120px;
    position: relative;
    background:
        radial-gradient(ellipse 800px 600px at 90% 0%, rgba(45, 204, 211, 0.12), transparent 70%),
        radial-gradient(ellipse 700px 500px at 0% 80%, rgba(255, 202, 0, 0.07), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
    overflow: hidden;
}

.hero__deco {
    position: absolute;
    top: 8%;
    right: -10%;
    width: 70%;
    max-width: 900px;
    pointer-events: none;
    z-index: 0;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #fff;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: #00c853;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.hero__badge-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #00c853;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

.hero__title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 5.2vw, 62px);
    line-height: 1.05;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -1.2px;
}

.hero__title-accent {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero__title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 8px;
    background: var(--brand-2);
    opacity: 0.25;
    border-radius: 4px;
    z-index: -1;
}

.hero__subtitle {
    font-size: clamp(17px, 1.8vw, 21px);
    color: var(--text);
    margin-bottom: 32px;
    line-height: 1.45;
    max-width: 560px;
}

.hero__earn {
    color: var(--text-dark);
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(120deg, var(--brand-2) 0%, var(--brand-2) 50%, transparent 50%);
    background-size: 100% 40%;
    background-position: 0 90%;
    background-repeat: no-repeat;
    padding: 0 2px;
}

.hero__hint {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.55;
    max-width: 480px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__trust-num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-dark);
    line-height: 1;
}

.hero__trust-text {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.hero__trust-divider {
    width: 1px;
    height: 32px;
    background: var(--border-strong);
}

/* Hero image */
.hero__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.hero__image-glow {
    position: absolute;
    inset: 5%;
    background:
        radial-gradient(circle at 50% 60%, rgba(45, 204, 211, 0.35), transparent 55%),
        radial-gradient(circle at 75% 30%, rgba(255, 202, 0, 0.2), transparent 50%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 0;
}

.hero__image-ring {
    position: absolute;
    width: 90%;
    aspect-ratio: 1;
    border: 2px dashed rgba(45, 204, 211, 0.25);
    border-radius: 50%;
    z-index: 0;
    animation: rotate 60s linear infinite;
}

.hero__image-ring::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--brand-2);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--brand-2);
}

.hero__image-ring::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 18%;
    width: 10px;
    height: 10px;
    background: var(--brand-1);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--brand-1);
}

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

.hero__car {
    position: relative;
    width: 110%;
    max-width: 640px;
    height: auto;
    z-index: 1;
    object-fit: contain;
    filter: drop-shadow(0 30px 35px rgba(45, 204, 211, 0.3)) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
    animation: float 5s ease-in-out infinite;
}

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

.hero__chip {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 16px 40px rgba(15, 42, 50, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    border: 1px solid var(--border);
    animation: float 5s ease-in-out infinite;
}

.hero__chip--top {
    top: 8%;
    left: -2%;
    animation-delay: 0.4s;
}

.hero__chip--bottom {
    bottom: 12%;
    right: -2%;
    animation-delay: 0.8s;
}

.hero__chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 202, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__chip-icon--cyan {
    background: var(--brand-1);
}

.hero__chip-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero__chip-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.hero__divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
}

/* ===== Section common ===== */
section {
    padding: 110px 0;
    position: relative;
}

.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}

.section__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-1);
    padding: 8px 16px;
    background: var(--brand-1-soft);
    border-radius: 999px;
    margin-bottom: 18px;
}

.section__title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 18px;
    letter-spacing: -0.8px;
}

.section__subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text);
    line-height: 1.5;
}

/* ===== Benefits ===== */
.benefits {
    background: linear-gradient(180deg, #f5fafb 0%, #fff 100%);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--grad-accent);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
}

.card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(45, 204, 211, 0.08), transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    opacity: 0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(45, 204, 211, 0.3);
}

.card:hover::before {
    transform: translateY(0);
}

.card:hover::after {
    opacity: 1;
    transform: scale(1.4);
}

.card--accent {
    background: linear-gradient(135deg, #fff 0%, var(--brand-1-soft) 100%);
    border-color: rgba(45, 204, 211, 0.25);
}

.card__num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 1;
    z-index: 0;
    letter-spacing: -3px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(45, 204, 211, 0.35);
    transition: -webkit-text-stroke 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.card--accent .card__num {
    -webkit-text-stroke: 2px rgba(255, 202, 0, 0.55);
}

.card:hover .card__num {
    -webkit-text-stroke: 2px rgba(45, 204, 211, 0.7);
    transform: scale(1.05);
}

.card--accent:hover .card__num {
    -webkit-text-stroke: 2px rgba(255, 202, 0, 0.85);
}

.card__icon {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
    box-shadow: var(--shadow-xs);
    z-index: 1;
}

.card__title {
    position: relative;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 21px;
    color: var(--text-dark);
    margin-bottom: 14px;
    z-index: 1;
}

.card__text {
    position: relative;
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    z-index: 1;
}

.benefits__cta {
    text-align: center;
}

.benefits__cta-hint {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Car section ===== */
.car {
    background: #fff;
}

.car__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.car__content .section__title,
.car__content .section__subtitle {
    text-align: left;
}

.car__content .section__title {
    margin-bottom: 16px;
    margin-top: 14px;
}

.car__content .section__subtitle {
    margin-bottom: 36px;
}

.car__features {
    list-style: none;
    margin-bottom: 32px;
}

.car__feature {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
}

.car__feature:last-child {
    border-bottom: none;
}

.car__feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--brand-1-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car__feature strong {
    color: var(--text-dark);
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.car__specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 22px;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    border: 1px solid var(--border);
}

.car__spec {
    text-align: center;
}

.car__spec-num {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--brand-1);
    line-height: 1.1;
    margin-bottom: 4px;
}

.car__spec-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 500;
}

.car__hint {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 22px;
    line-height: 1.55;
}

.car__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.car__image-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 60%, rgba(45, 204, 211, 0.35), transparent 55%),
        radial-gradient(circle at 75% 35%, rgba(255, 202, 0, 0.18), transparent 55%);
    border-radius: 50%;
    filter: blur(20px);
}

.car__image-ring {
    position: absolute;
    width: 88%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 65%);
    border: 1px dashed rgba(45, 204, 211, 0.2);
}

.car__svg {
    position: relative;
    width: 112%;
    max-width: 680px;
    height: auto;
    z-index: 1;
    object-fit: contain;
    filter: drop-shadow(0 40px 50px rgba(45, 204, 211, 0.28)) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.22));
}

.car__price-tag {
    position: absolute;
    top: 8%;
    right: 0;
    background: var(--text-dark);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 42, 50, 0.25);
    z-index: 2;
    text-align: center;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.car__price-tag::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: var(--grad-accent);
    border-radius: 14px 14px 0 0;
}

.car__price-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.car__price-num {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-2);
    line-height: 1.1;
}

.car__price-sub {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* ===== Quiz ===== */
.quiz {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(45, 204, 211, 0.08), transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(255, 202, 0, 0.06), transparent 50%),
        linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.quiz .section__head {
    margin-bottom: 50px;
}

.quiz__wrap {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: 0 30px 80px rgba(45, 204, 211, 0.15);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.quiz__wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-accent);
}

.quiz__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    min-height: 40px;
}

.quiz__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 12px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
    opacity: 1;
    transform: translateX(0);
}

.quiz__back svg {
    transition: transform 0.25s ease;
}

.quiz__back:hover {
    background: #fff;
    border-color: var(--brand-1);
    color: var(--brand-1);
    box-shadow: 0 4px 12px rgba(45, 204, 211, 0.15);
}

.quiz__back:hover svg {
    transform: translateX(-3px);
}

.quiz__back.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
}

.quiz__step-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 16px;
    background: var(--brand-1-soft);
    border: 1.5px solid rgba(45, 204, 211, 0.25);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
}

.quiz__step-badge-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 11px;
    font-weight: 700;
}

.quiz__step-badge-num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--brand-1);
    line-height: 1;
}

.quiz__progress {
    margin-bottom: 36px;
}

.quiz__progress-bar {
    height: 8px;
    background: var(--bg-soft);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.quiz__progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 20%);
    background: var(--grad-accent);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(45, 204, 211, 0.4);
}

.quiz__step {
    display: none;
    animation: fadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz__step.active {
    display: block;
}

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

.quiz__question {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.quiz__desc {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 30px;
}

.quiz__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz__option {
    text-align: left;
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 20px 24px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.5;
    position: relative;
    padding-right: 56px;
}

.quiz__option::after {
    content: '→';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-1);
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-xs);
}

.quiz__option small {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 4px;
    font-weight: 400;
}

.quiz__option:hover {
    background: #fff;
    border-color: var(--brand-1);
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(45, 204, 211, 0.15);
}

.quiz__option:hover::after {
    background: var(--brand-1);
    color: #fff;
    transform: translateY(-50%) translateX(3px);
}

/* Success */
.quiz__success {
    text-align: center;
    margin-bottom: 36px;
}

.quiz__success-icon {
    margin: 0 auto 22px;
    display: flex;
    justify-content: center;
}

.quiz__success-icon svg {
    filter: drop-shadow(0 12px 24px rgba(45, 204, 211, 0.4));
}

.quiz__success .quiz__question {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Final */
.quiz__final {
    display: none;
    text-align: center;
    padding: 30px 0;
}

.quiz__final.active {
    display: block;
}

/* ===== Form ===== */
.quiz__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quiz__form.hidden {
    display: none;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form__field {
    display: flex;
    flex-direction: column;
}

.form__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form__field input {
    width: 100%;
    padding: 16px 18px;
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-dark);
    font-family: inherit;
    transition: all 0.25s ease;
    font-weight: 500;
}

.form__field input:focus {
    outline: none;
    border-color: var(--brand-1);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 204, 211, 0.12);
}

.form__field input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.form__field input.error {
    border-color: #ff5757;
    background: #fff5f5;
}

.form__phone {
    display: flex;
    align-items: stretch;
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.form__phone:focus-within {
    border-color: var(--brand-1);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 204, 211, 0.12);
}

.form__phone-prefix {
    padding: 16px 6px 16px 18px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    display: flex;
    align-items: center;
}

.form__phone input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 4px !important;
}

.form__phone input:focus {
    box-shadow: none !important;
    background: transparent !important;
}

.form__policy {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 4px;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, #1a2a2e 0%, #14272b 100%);
    color: #c5cbcd;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-accent);
}

.footer::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 204, 211, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer__brand img {
    height: 50px;
    margin-bottom: 22px;
    width: auto;
}

.footer__brand p {
    font-size: 15px;
    color: #8a9296;
    line-height: 1.6;
    max-width: 340px;
}

.footer__title {
    font-family: 'Manrope', sans-serif;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__nav,
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav a,
.footer__contacts p,
.footer__contacts a {
    color: #c5cbcd;
    font-size: 14px;
}

.footer__nav a:hover {
    color: var(--brand-1);
    transform: translateX(4px);
}

.footer__contacts p {
    color: #8a9296;
}

.footer__phone {
    color: #fff !important;
    font-family: 'Manrope', sans-serif;
    font-size: 19px !important;
    font-weight: 700;
}

.footer__phone:hover {
    color: var(--brand-1) !important;
}

.footer__email:hover {
    color: var(--brand-1);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 24px;
    text-align: center;
    font-size: 13px;
    color: #6c7478;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a9296;
    transition: all 0.25s ease;
}

.footer__socials a:hover {
    background: var(--brand-1);
    color: #fff;
    transform: translateY(-3px);
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 28, 30, 0.7);
    backdrop-filter: blur(6px);
}

.modal__content {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 48px 40px 36px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.35);
    animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-2);
}

@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal__close:hover {
    background: var(--bg-soft);
    color: var(--text-dark);
}

.modal__icon {
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
}

.modal__icon svg {
    filter: drop-shadow(0 8px 20px rgba(255, 202, 0, 0.35));
}

.modal__title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.modal__text {
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
}

.modal__btn {
    min-width: 200px;
}

/* ===== Adaptive ===== */
@media (max-width: 1024px) {
    .hero__inner,
    .car__inner {
        gap: 40px;
    }

    .hero__chip--top {
        left: 0%;
    }

    .hero__chip--bottom {
        right: 0%;
    }
}

@media (max-width: 960px) {
    .header__nav,
    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
        margin-left: auto;
    }

    .header__nav.open {
        display: flex;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 12px 24px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        margin: 0;
    }

    .header__nav.open a {
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .header__nav.open a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 50px 0 100px;
    }

    .hero__inner,
    .car__inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero__image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
        min-height: 380px;
    }

    .car__image {
        min-height: 380px;
        max-width: 540px;
        margin: 0 auto;
    }

    section {
        padding: 70px 0;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quiz__wrap {
        padding: 32px 24px;
    }

    .form__row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer__brand p {
        margin: 0 auto;
    }

    .footer__brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__nav,
    .footer__contacts {
        align-items: center;
    }

    .hero__trust {
        justify-content: center;
        gap: 18px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .header__logo img { height: 34px; }
    .hero__title { font-size: 32px; }
    .quiz__option { padding: 18px 20px; padding-right: 50px; font-size: 14px; }
    .quiz__option::after { right: 16px; }
    .btn--large { padding: 16px 26px; font-size: 14px; }
    .quiz__wrap { padding: 24px 18px; }
    .modal__content { padding: 38px 24px 28px; }
    .card { padding: 32px 26px; }
    .card__num { font-size: 44px; top: 20px; right: 24px; }
    .hero__chip { padding: 10px 12px; }
    .hero__chip-icon { width: 36px; height: 36px; }
    .hero__chip-title { font-size: 13px; }
    .hero__chip-sub { font-size: 11px; }
    .hero__trust {
        gap: 14px;
    }
    .hero__trust-num { font-size: 19px; }
    .hero__trust-text { font-size: 11px; }
    .hero__trust-divider { height: 26px; }
    .car__specs { padding: 16px 12px; }
    .car__spec-num { font-size: 17px; }
    .car__price-tag { padding: 12px 16px; }
    .car__price-num { font-size: 18px; }
}
