:root {
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --dark2: #242424;
    --gold: #c5a258;
    --gold-light: #d4b76a;
    --gold-dark: #a88a3e;
    --white: #ffffff;
    --gray: #b0b0b0;
    --gray-light: #e8e8e8;
    --line: #e8e8e8;
    --red: #e53935;
    --card-bg: #fff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 40px rgba(0,0,0,0.10);
    --shadow-lg: 0 16px 60px rgba(0,0,0,0.18);
    --content-max: min(1400px, calc(100vw - 40px));
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: linear-gradient(185deg, #e8e6e1 0%, #f5f4f0 35%, #f7f6f3 100%);
    -webkit-font-smoothing: antialiased;
    min-width: 320px;
}

body.landing-page {
    margin: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

.wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 100vh;
    background: transparent;
    box-shadow: none;
    position: relative;
    overflow: visible;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

/* ===== LANDING TOPBAR (aligned with shop) ===== */
.landing-topbar {
    background: linear-gradient(90deg, #070707 0%, #141210 40%, #070707 100%);
    background-size: 200% auto;
    animation: landingTopbarDrift 14s ease-in-out infinite;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 9px 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes landingTopbarDrift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-topbar { animation: none; }
}

/* ===== HEADER (shop-style: white bar) ===== */
.header {
    background: #fff;
    color: var(--black);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.header__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 16px;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
}

.header__logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    background: var(--white);
    padding: 4px;
    border: 1px solid var(--line);
}

.header__name {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.header__shop-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.header__shop-link:hover {
    color: var(--black);
    background: #f5f3ef;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header__lang {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--black);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.2s;
}

.header__lang:hover { border-color: var(--gold); }

.header__burger {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
    transition: border-color 0.2s;
}

.header__burger:hover { border-color: var(--gold); }

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
}

.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    background: #fff;
    padding: 6px 20px 14px;
    border-bottom: 1px solid var(--line);
}

.mobile-nav.open {
    display: block;
    position: relative;
    z-index: 101;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--dark2);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold-dark); }

/* ===== CONTENT ===== */
.content {
    padding: 0 20px;
    flex: 1;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    box-sizing: border-box;
}

.screen { display: none; }
.screen.active { display: block; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.06);
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.35) 45%,
        rgba(0,0,0,0.12) 100%
    );
}

.hero__body {
    position: relative;
    z-index: 2;
    padding: 28px 20px;
    color: var(--white);
}

.hero__badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.hero__title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}

.hero__desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark2);
    white-space: nowrap;
}

/* ===== CARDS ===== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    margin: 16px 0;
    padding: 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.06);
}

.card--center { text-align: center; }

.card__icon-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.card__thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.card__heading {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 2px;
}

.card__sub {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.4;
}

/* ===== FORM ===== */
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark2);
}

.field {
    width: 100%;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    font-size: 15px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--dark);
}

.field:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197,162,88,0.15);
}

/* ===== CTA BUTTONS ===== */
.cta {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
    padding: 16px 20px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    background: var(--black);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}

.cta:active { transform: translateY(0); }

.cta--gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
}

.cta--gold:hover {
    box-shadow: 0 6px 24px rgba(197,162,88,0.4);
}

.email-card .cta {
    width: 100%;
    margin: 14px 0 0;
}

/* ===== SPINNER ===== */
.spinner-ring {
    width: 56px;
    height: 56px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 0.75s linear infinite;
}

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

.loading-card h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

.check-list {
    text-align: left;
    padding: 0;
}

.check-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 14px;
    color: var(--gray);
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.4s;
}

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

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-light);
    border-radius: 50%;
    transition: all 0.3s;
}

.check-list li.checked {
    color: var(--dark);
}

.check-list li.checked::before {
    background: var(--gold);
    border-color: var(--gold);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

/* ===== PROGRESS STEPS ===== */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 16px 4px;
}

.pstep {
    height: 5px;
    flex: 1;
    max-width: 80px;
    border-radius: 99px;
    background: var(--gray-light);
    transition: background 0.3s;
}

.pstep.active { background: var(--gold); }
.pstep.done { background: var(--dark); }

/* ===== STATUS CARD ===== */
.status-card__body h2 {
    font-size: 18px;
    margin-bottom: 14px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.stat-row:last-child { border-bottom: none; }

.stat-label { color: var(--gray); font-weight: 500; }

.stat-value { font-weight: 700; }
.stat-value.highlight { color: var(--gold-dark); }
.stat-value.urgent { color: var(--red); font-weight: 800; }

/* ===== URGENCY ===== */
.urgency-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    width: 100%;
    padding: 12px;
    background: #fff5f5;
    border: 1px solid #fcdada;
    border-radius: var(--radius-sm);
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

/* ===== QUESTION / SURVEY SCREEN ===== */
.survey-screen {
    padding-bottom: 8px;
}

.survey-progress {
    padding-top: 12px;
    padding-bottom: 8px;
}

.survey-layout {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 16px 24px;
}

.survey-intro {
    text-align: center;
    margin-bottom: 22px;
    padding: 0 4px;
}

.survey-intro__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 10px;
}

.survey-intro__title {
    font-family: "Playfair Display", serif;
    font-size: clamp(22px, 4.5vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.survey-intro__lead {
    font-size: 14px;
    line-height: 1.55;
    color: var(--gray);
    margin: 0;
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
}

.survey-card {
    margin-top: 0;
    padding: 26px 22px 28px;
    border: 1px solid rgba(197, 162, 88, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 20px 50px rgba(0, 0, 0, 0.08);
    background: linear-gradient(165deg, #fffefb 0%, #fff 42%, #faf9f7 100%);
    position: relative;
}

.survey-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-dark), var(--gold), transparent);
    opacity: 0.9;
}

.q-block__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark2);
    margin: 0 0 16px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.hidden { display: none !important; }

.choice-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    padding: 14px 16px 14px 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    color: var(--dark);
    letter-spacing: 0.01em;
    line-height: 1.35;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.18s ease;
}

.choice::after {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gold-dark);
    border-bottom: 2px solid var(--gold-dark);
    transform: rotate(-45deg);
    opacity: 0.45;
    margin-right: 4px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.choice:hover {
    border-color: rgba(197, 162, 88, 0.55);
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.choice:hover::after {
    opacity: 0.85;
    transform: rotate(-45deg) translate(2px, -2px);
}

.choice:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 162, 88, 0.25);
}

.choice:active {
    background: linear-gradient(135deg, #f5ecd8, #efe4cc);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(0);
}

.choice:active::after {
    opacity: 1;
    border-color: var(--black);
}

/* ===== OFFER CARD ===== */
.offer-card__img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.offer-card__badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.offer-card__body h2 {
    font-size: 20px;
    font-family: "Playfair Display", serif;
    margin-bottom: 8px;
}

.offer-card__body p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 12px;
}

.offer-meta {
    display: flex;
    gap: 6px;
    font-size: 13px;
    color: var(--dark2);
}

.offer-meta strong { color: var(--gold-dark); }

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #070707 100%);
    color: rgba(255,255,255,0.6);
    padding: 28px 20px 24px;
    margin-top: auto;
    border-top: 1px solid rgba(197,162,88,0.22);
    max-width: none;
    width: 100%;
}

.footer__inner {
    max-width: var(--content-max);
    margin: 0 auto;
}

.footer__top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.footer__logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--white);
    padding: 3px;
    flex-shrink: 0;
}

.footer__top p {
    font-size: 12px;
    line-height: 1.6;
}

.footer__bottom {
    display: flex;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__bottom a {
    font-size: 12px;
    color: var(--gold);
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer__bottom a:hover { opacity: 0.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 759px) {
    .header__shop-link {
        display: none;
    }
}

@media (min-width: 900px) {
    .mobile-nav {
        position: absolute;
        right: max(20px, calc((100vw - var(--content-max)) / 2));
        top: 100%;
        margin-top: 8px;
        width: min(300px, calc(100vw - 32px));
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        z-index: 120;
        border: 1px solid var(--line);
    }

    #screen1.screen.active {
        display: grid;
        grid-template-columns: 1.45fr 1fr;
        grid-template-areas:
            "hero form"
            "trust trust";
        gap: 24px;
        padding: 24px 0 20px;
    }

    #screen1 .hero {
        grid-area: hero;
        min-height: 480px;
        border-radius: var(--radius);
    }

    #screen1 .trust-bar {
        grid-area: trust;
        justify-content: space-around;
    }

    #screen1 .email-card {
        grid-area: form;
        margin: 0;
        height: fit-content;
        position: sticky;
        top: 88px;
    }

    #screen1 .cta {
        width: 100%;
        margin: 14px 0 0;
    }

    #screen2.screen.active,
    #screen3.screen.active,
    #screen4.screen.active,
    #screen5.screen.active,
    #screen6.screen.active {
        max-width: var(--content-max);
        margin: 0 auto;
        padding: 16px 20px 32px;
    }

    #screen6 .offer-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        align-items: start;
    }

    #screen6 .offer-card__img {
        height: 100%;
        min-height: 230px;
        margin-bottom: 0;
        border-radius: var(--radius-sm);
    }

    #screen3 .cta,
    #screen6 .cta,
    #screen3 .urgency-banner {
        max-width: var(--content-max);
        margin-left: auto;
        margin-right: auto;
    }

    #screen4 .survey-layout {
        max-width: 560px;
        padding-left: 20px;
        padding-right: 20px;
    }

    #screen4 .survey-card {
        margin-left: auto;
        margin-right: auto;
    }
}
