/* ─── Referral Toast ──────────────────────────── */
.referral-toast {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93bbfc;
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 12px;
    --blur: 12px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.referral-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.referral-toast.invalid {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

/* ─── Design Tokens ───────────────────────────── */
:root {
    --accent: #3B82F6;
    --accent-hover: #60A5FA;
    --accent-12: rgba(59, 130, 246, 0.12);
    --accent-50: rgba(59, 130, 246, 0.5);
    --bg-dark: #090F19;
    --slate-06: rgba(203, 213, 225, 0.06);
    --white-06: rgba(255, 255, 255, 0.06);
    --white-08: rgba(255, 255, 255, 0.08);
    --white-10: rgba(255, 255, 255, 0.10);
    --white-12: rgba(255, 255, 255, 0.12);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-20: rgba(255, 255, 255, 0.20);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-70: rgba(255, 255, 255, 0.7);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-dark);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Blue Tint Layer ─────────────────────────── */
.bg-tint {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(30, 98, 203, 0.31);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.bg-ready .bg-tint {
    opacity: 1;
}

/* ─── Unicorn Studio Background ───────────────── */
.us-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.bg-ready .us-bg {
    opacity: 0.7;
}

.us-bg > div {
    width: 100% !important;
    height: 100% !important;
}

/* fixed + inset:0 prevents scroll from browser chrome (bookmarks bar).
   Requires viewport-fit=cover in the meta tag for iOS safe areas. */
main {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ─── Hero Section ────────────────────────────── */
.hero {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 64px;
    position: relative;
    padding: 2rem 1.5rem;
}

.hero-content {
    text-align: center;
    max-width: 960px;
}

.brand {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.72px;
    text-transform: lowercase;
    font-kerning: none;
    font-feature-settings: 'salt' on;
    margin-top: 60px;
    margin-bottom: 32px;
}

.heading {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 80.132px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -1.603px;
    font-kerning: none;
    font-feature-settings: 'salt' on;
    margin-bottom: 16px;
}

.subheading {
    font-family: 'Satoshi', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.8px;
    font-kerning: none;
    font-feature-settings: 'salt' on;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 44px;
}

/* ─── CTA Button ──────────────────────────────── */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(0deg, #CBD5E1 0%, #FFF 100%);
    box-shadow:
        0 5px 2px 0 rgba(0, 0, 0, 0.01),
        0 3px 2px 0 rgba(0, 0, 0, 0.04),
        0 1px 1px 0 rgba(0, 0, 0, 0.07),
        0 0 1px 0 rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
        0 8px 4px 0 rgba(0, 0, 0, 0.02),
        0 5px 3px 0 rgba(0, 0, 0, 0.06),
        0 2px 2px 0 rgba(0, 0, 0, 0.08),
        0 0 2px 0 rgba(0, 0, 0, 0.10);
}

.cta-button:active {
    transform: translateY(0) scale(0.97);
}

.cta-text {
    color: #133E78;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 40px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(0deg, #133E78 0%, #133E78 100%), rgba(0, 0, 0, 0.31);
    box-shadow: 0 0 4.2px 0 rgba(0, 0, 0, 0.25) inset;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.cta-arrow {
    display: none;
    align-items: center;
    color: #133E78;
}

/* ─── Features Section ────────────────────────── */
.features {
    padding: 0 2rem 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-right: 1px solid var(--white-20);
    border-bottom: 1px solid var(--white-20);
}

.feature-card {
    border-left: 1px solid var(--white-20);
    border-top: 1px solid var(--white-20);
    background: var(--slate-06);
    --blur: 24.2px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    padding: 28px 24px;
}

.feature-heading {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -1.28px;
    margin-bottom: 12px;
    white-space: nowrap;
}

.feature-description {
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 130%;
    color: #C9D7E3;
    opacity: 0.8;
}

/* ─── Backed By Section ───────────────────────── */
.backed-by {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 32px;
    border-top: 1px solid rgba(223, 229, 229, 0.10);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.backed-by-label {
    font-family: 'Satoshi', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee {
    --marquee-fade: 48px;
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black var(--marquee-fade), black calc(100% - var(--marquee-fade)), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black var(--marquee-fade), black calc(100% - var(--marquee-fade)), transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-track > * {
    padding-right: 48px;
}

.partner-logo {
    height: 24px;
    width: auto;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* VC strip: JS clones to 3 total → scroll 1/3 per loop.
   Angels strip: JS clones to 2 total → scroll 1/2. translate3d for GPU compositing.
   Percentage must match data-clones+1 on the .marquee-track (100% / totalCopies). */
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.333%, 0, 0); }
}

@keyframes marquee-reverse {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.marquee-reverse .marquee-track {
    animation-name: marquee-reverse;
    animation-duration: 25s;
}

/* ─── Angels Strip ───────────────────────────── */
.angels-strip {
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(223, 229, 229, 0.10);
    overflow: hidden;
}

.angels-strip .marquee-track > * {
    padding-right: 56px;
}

.angel-card {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.angel-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.angel-handle {
    font-family: 'Satoshi', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.angel-company {
    font-family: 'Satoshi', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation-play-state: paused;
    }
    .modal-backdrop,
    .modal-overlay {
        transition: none;
    }
    .survey-slide {
        transition: none;
    }
    .survey-check-circle {
        animation: none;
    }
    .confetti-piece {
        animation: none;
    }
    .bg-tint, .us-bg {
        transition: none;
    }
    .brand, .heading, .subheading, .cta-button, .features {
        opacity: 1;
        animation: none;
    }
}

/* ─── Responsive: Tablet ──────────────────────── */
@media (max-width: 1024px) {
    .heading {
        font-size: 56px;
        letter-spacing: -1px;
    }

    .subheading {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Responsive: Mobile ──────────────────────── */
@media (max-width: 640px) {
    body {
        overflow: hidden;
    }

    main {
        position: fixed;
        inset: 0;
        justify-content: flex-end;
        gap: 0;
        overflow: hidden;
    }

    .hero {
        flex: 1 1 0;
        min-height: 0;
        gap: 48px;
        padding: 0 1.5rem;
        padding-top: env(safe-area-inset-top, 20px);
    }

    .brand {
        font-size: 26.7px;
        letter-spacing: -0.535px;
        margin-top: 0;
        margin-bottom: 18px;
    }

    .heading {
        font-size: 36px;
        letter-spacing: -0.845px;
        margin-bottom: 16px;
    }

    .subheading {
        font-size: 16px;
        letter-spacing: -0.34px;
        margin-bottom: 32px;
    }

    .cta-badge {
        display: none;
    }

    .cta-arrow {
        display: inline-flex;
    }

    .features {
        padding: 0;
        width: 100%;
    }

    .feature-card {
        padding: 11px 15px;
        border-left-width: 0.5px;
        border-top-width: 0.5px;
        display: flex;
        flex-direction: column;
        --blur: 12px;
        backdrop-filter: blur(var(--blur));
        -webkit-backdrop-filter: blur(var(--blur));
    }

    .feature-heading {
        font-size: 14px;
        letter-spacing: -0.5px;
        white-space: normal;
        margin-bottom: 6px;
    }

    .feature-description {
        font-size: 10px;
        line-height: 140%;
    }

    .backed-by {
        padding: 8px 16px;
        gap: 12px;
    }

    .marquee {
        --marquee-fade: 24px;
    }

    .marquee-track > * {
        padding-right: 24px;
    }

    .marquee-track {
        animation-duration: 20s;
    }

    .backed-by-label {
        font-size: 11px;
    }

    .partner-logo {
        height: 16px;
    }

    .angels-strip {
        padding: 2px 0;
    }

    .angels-strip .marquee-track > * {
        padding-right: 32px;
    }

    .angel-handle {
        font-size: 9px;
    }

    .angel-company {
        font-size: 8px;
    }

    .marquee-reverse .marquee-track {
        animation-duration: 18s;
    }
}

/* ═══════════════════════════════════════════════ */
/* ─── Survey Modal ────────────────────────────── */
/* ═══════════════════════════════════════════════ */

body.modal-open {
    overflow: hidden;
}

.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(0, 0, 0, 0.4);
    --blur: 12px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 80px 0;
    max-width: 980px;
    margin: auto;
    z-index: 200;
    background: rgba(9, 15, 25, 0.95); /* --bg-dark at 95% opacity */
    --blur: 20px;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--white-10);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active {
    opacity: 1;
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 210;
    background: none;
    border: 1px solid var(--white-10);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Satoshi', sans-serif;
}

.modal-close:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--white-06);
}

/* ─── Survey Progress Bar ─────────────────────── */
.survey-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--white-06);
    z-index: 210;
}

.survey-progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Survey Navigation Arrows ────────────────── */
.survey-nav {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 2px;
    z-index: 210;
}

.survey-nav-btn {
    width: 36px;
    height: 32px;
    background: var(--white-06);
    border: 1px solid var(--white-10);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.survey-nav-btn:first-child { border-radius: 6px 0 0 6px; }
.survey-nav-btn:last-child { border-radius: 0 6px 6px 0; }
.survey-nav-btn:hover { background: var(--white-10); }
.survey-nav-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.survey-nav-btn:disabled:hover { background: var(--white-06); }

/* ─── Survey Slide Container ──────────────────── */
.survey-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.survey-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 10vw;
    opacity: 0;
    transform: translateY(40px);
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inner wrapper: auto margins center content when it fits,
   collapse to 0 when content overflows — no manual flagging needed.
   Vertical padding provides breathing room for tall/scrollable slides. */
.survey-slide-inner {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    padding: 48px 0;
}

.survey-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.survey-slide.exit-up {
    opacity: 0;
    transform: translateY(-40px);
    pointer-events: none;
}


/* ─── Question Title ──────────────────────────── */
.survey-question {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    max-width: 600px;
    margin-bottom: 12px;
    color: #fff;
}

.survey-required {
    color: var(--accent);
    font-size: 0.75em;
    vertical-align: super;
    margin-left: 2px;
}

/* ─── Text Input ──────────────────────────────── */
.survey-input-wrap {
    max-width: 480px;
    margin-bottom: 28px;
}

.survey-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--white-20);
    color: #fff;
    font-family: 'Satoshi', sans-serif;
    font-size: 20px;
    padding: 10px 0;
    outline: none;
    transition: border-color 0.25s ease;
    font-weight: 300;
}

.survey-input::placeholder { color: var(--white-20); }
.survey-input:focus { border-bottom-color: var(--accent); }

.survey-phone-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    max-width: 480px;
    border-bottom: 2px solid var(--white-20);
    margin-bottom: 28px;
    transition: border-color 0.25s ease;
}

.survey-phone-wrap:focus-within {
    border-bottom-color: var(--accent);
}

.survey-phone-prefix {
    font-family: 'Satoshi', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: var(--white-50);
    flex-shrink: 0;
}

.survey-phone-input {
    border-bottom: none !important;
    margin-bottom: 0;
}

.survey-phone-input:focus {
    border-bottom-color: transparent !important;
}

/* ─── Option Buttons ──────────────────────────── */
.survey-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 520px;
    margin-bottom: 28px;
}

.survey-option {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--slate-06);
    border: 1px solid var(--white-20);
    border-radius: 8px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
    user-select: none;
}

.survey-option:hover {
    background: var(--white-08);
    border-color: rgba(255, 255, 255, 0.30);
}

.survey-option:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.survey-option.selected {
    background: var(--accent-12);
    border-color: var(--accent-50);
}

.survey-option-key {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: var(--white-08);
    border: 1px solid var(--white-15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--white-50);
    flex-shrink: 0;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.survey-option.selected .survey-option-key {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.survey-option-key svg { display: none; width: 13px; height: 13px; }
.survey-option.selected .survey-option-key span { display: none; }
.survey-option.selected .survey-option-key svg { display: block; }
.survey-option-label { flex: 1; }

.survey-multi-hint {
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.5;
}

/* ─── Subtitle (below question heading) ─────────── */
.survey-subtitle {
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    color: var(--white-50);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 520px;
}

/* Context slide body text (Screen 2 — below "Thanks!" heading) */
.survey-context-body {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--white-70);
    max-width: 600px;
    margin-bottom: 12px;
}

.survey-subtitle-muted {
    font-size: 15px;
    color: var(--white-50);
    margin-bottom: 24px;
}

/* ─── Textarea ───────────────────────────────── */
.survey-textarea {
    width: 100%;
    min-height: 100px;
    max-width: 520px;
    background: transparent;
    border: 1px solid var(--white-15);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    color: #fff;
    resize: vertical;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s;
}

.survey-textarea::placeholder { color: var(--white-20); }
.survey-textarea:focus { border-color: var(--accent); }

/* ─── "Other" Free Text Input ────────────────── */
.survey-other-input-wrap {
    margin-top: 10px;
    padding-left: 42px;
}

.survey-other-input {
    border-bottom: 1px solid var(--white-15) !important;
    font-size: 16px !important;
    padding: 8px 0 !important;
}

/* ─── Conditional Textarea ───────────────────── */
.survey-conditional-textarea {
    margin-top: 16px;
}

/* ─── Platform Toggle (WhatsApp / Telegram) ──── */
.survey-platform-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--white-12);
    width: fit-content;
}

.survey-platform-btn {
    background: transparent;
    color: var(--white-50);
    border: none;
    padding: 8px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.survey-platform-btn.selected {
    background: var(--accent);
    color: #fff;
}

.survey-platform-btn:not(.selected):hover {
    background: var(--white-06);
}

/* ─── Referral Section (confirmation slide) ──── */
.survey-referral {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 420px;
    align-self: flex-start;
}

.survey-referral-link {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--white-12);
}

.survey-referral-input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    padding: 10px 14px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    min-width: 0;
}

.survey-copy-btn {
    background: var(--white-08);
    color: #fff;
    border: none;
    border-left: 1px solid var(--white-12);
    padding: 10px 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.survey-copy-btn:hover { background: rgba(255, 255, 255, 0.14); }

.survey-share-wa {
    align-self: flex-start;
    text-decoration: none;
    background: #25D366;
}

.survey-share-wa:hover { background: #1ebe57; }

.survey-thankyou-sub {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    color: var(--white-40);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* ─── OK / Submit Button ──────────────────────── */
.survey-ok-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.survey-ok-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.survey-skip-btn {
    background: none;
    border: none;
    color: var(--white-40);
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 16px;
    transition: color 0.2s ease;
}

.survey-skip-btn:hover {
    color: var(--white-70);
}

/* Sticky CTA: pins to the bottom when the slide scrolls,
   sits naturally after content when it doesn't */
.survey-btn-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    position: sticky;
    bottom: 0;
    padding-top: 20px;
    padding-bottom: 28px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark) 30%);
}

/* ─── Enter Key Badge (inside OK/Submit buttons) ── */
.cta-kbd {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.5;
    margin-left: 4px;
}

/* ─── Thank You Slide ─────────────────────────── */
.survey-check-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: surveyScaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.survey-check-circle svg { color: var(--accent); }

.survey-thankyou .survey-question { margin-bottom: 14px; }

.survey-thankyou-text {
    font-family: 'Satoshi', sans-serif;
    font-size: 17px;
    color: var(--white-50);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 28px;
}

@keyframes surveyScaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes surveyShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.survey-shake { animation: surveyShake 0.4s ease; }

.survey-error {
    font-family: 'Satoshi', sans-serif;
    font-size: 13px;
    color: #f87171;
    margin-top: 12px;
    min-height: 20px;
}

.survey-ok-btn.loading {
    opacity: 0.6;
    pointer-events: none;
    cursor: wait;
}

/* ─── Confetti ────────────────────────────────── */
.confetti-container {
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    left: 50%;
    top: 50%;
    opacity: 0;
    animation: confettiBurst var(--duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: var(--delay);
}

.confetti-piece:nth-child(odd) { border-radius: 50%; }
.confetti-piece:nth-child(3n) { border-radius: 2px; transform: rotate(45deg); }

@keyframes confettiBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(0);
    }
    15% {
        opacity: 1;
        transform: translate(var(--x), var(--y)) rotate(180deg) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(var(--x), calc(var(--y) + 60vh)) rotate(720deg) scale(0.3);
    }
}

/* ─── Survey Modal: Mobile ────────────────────── */
/* On mobile the centered overlay becomes a bottom sheet that slides up from
   the viewport edge (translateY 100% → 0). Height capped at 92vh. */
@media (max-width: 640px) {
    .survey-slide { padding: 0 24px; }
    .survey-options,
    .survey-input-wrap { max-width: 100%; }
    .modal-overlay {
        inset: auto 0 0 0;
        height: 92vh;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
        border-left: none;
        border-right: none;
        transform: translateY(100%);
    }
    .modal-overlay.active {
        transform: translateY(0);
    }
    .modal-close { top: 12px; right: 14px; }
    .survey-nav { display: none; }
    .cta-kbd { display: none; }
    .survey-context-body { font-size: 20px; }
    .survey-option-key { display: none; }
    .survey-option.selected .survey-option-key { display: none; }
    .survey-option { gap: 0; }
    .survey-thankyou-text { font-size: 14px; }
    .survey-thankyou-text br { display: none; }
    .survey-textarea { font-size: 16px; max-width: 100%; }
    .survey-other-input-wrap { padding-left: 0; }
    .survey-referral { max-width: 100%; }
    .survey-subtitle br { display: none; }
}
