/* MBTI Test - Enhanced Design */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

#mbti-app {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FFFFFF;
    min-height: 100vh;
    padding: 20px;
    letter-spacing: 0.3px;
    word-spacing: 2px;
}

#mbti-app h1, #mbti-app h2, #mbti-app h3, #mbti-app h4 {
    letter-spacing: 0.4px;
    word-spacing: 3px;
}

/* ========================================
   INTRO SECTION - Personality Assessment Card
   ======================================== */
#intro-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: transparent;
    min-height: 80vh;
}

#intro-section *,
#intro-section *::before,
#intro-section *::after { box-sizing: border-box !important; }

/* CARD — always rounded */
.pa-card {
    width: 100%;
    max-width: 540px;
    background: #fff;
    border-radius: 28px;
    border: 0.5px solid rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08), 6px 0 24px -4px rgba(249,115,22,0.18);
}

/* HERO */
.pa-hero {
    position: relative;
    padding: 36px 32px 28px;
    background: linear-gradient(135deg, #FFF9F3 0%, #FFF4EA 40%, #FED7AA 100%);
    overflow: hidden;
}

.pa-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}
.pa-blob-1 { top: -40px; right: -30px; width: 180px; height: 180px; background: radial-gradient(circle, #F97316 0%, transparent 65%); opacity: 0.2; }
.pa-blob-2 { bottom: -60px; left: -40px; width: 200px; height: 200px; background: radial-gradient(circle, #DC2626 0%, transparent 65%); opacity: 0.15; }
.pa-blob-3 { top: 40%; left: 60%; width: 140px; height: 140px; background: radial-gradient(circle, #7C3AED 0%, transparent 65%); opacity: 0.10; filter: blur(24px); }

.pa-hero-inner { position: relative; }

.pa-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
}

.pa-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 0.5px solid rgba(0,0,0,0.06);
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.pa-trust-badge-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F97316, #DC2626);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pa-trust-badge span {
    font-size: 10px;
    color: #111;
    font-weight: 600;
}

.pa-press {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #9A3412;
}
.pa-press-label { font-weight: 700; letter-spacing: 0.5px; }
.pa-press-pub { font-family: Georgia, serif; font-style: italic; color: #111; }

.pa-headline {
    font-family: Georgia, serif !important;
    font-size: 44px !important;
    font-weight: 500 !important;
    line-height: 0.92 !important;
    letter-spacing: -1.5px !important;
    margin: 0 0 14px !important;
    color: #111 !important;
    text-transform: none !important;
    word-spacing: normal !important;
    padding: 0 !important;
    text-align: left !important;
}

.pa-headline-grad {
    background: linear-gradient(135deg, #F97316 0%, #DC2626 50%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.pa-subhead {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 420px;
    text-align: left;
}

.pa-counter-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}
.pa-counter {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 500;
    color: #111;
    line-height: 0.9;
    letter-spacing: -1px;
}
.pa-counter-label { font-size: 11px; color: #9A3412; font-weight: 500; }

.pa-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #10B981;
    flex-wrap: wrap;
}
.pa-meta-delta { font-weight: 600; }
.pa-meta-sep { color: #9CA3AF; margin: 0 2px; }
.pa-meta-neutral { color: #6B7280; }

/* STAT STRIP */
.pa-stats {
    padding: 18px 32px;
    border-bottom: 0.5px solid #F3F4F6;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.pa-stat { text-align: center; }
.pa-stat + .pa-stat { border-left: 0.5px solid #F3F4F6; }
.pa-stat-num {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: #111;
    line-height: 1;
}
.pa-stat-num small { font-size: 12px; }
.pa-stat-star { color: #F97316; font-size: 12px; }
.pa-stat-label {
    font-size: 9px;
    color: #9CA3AF;
    letter-spacing: 0.8px;
    margin-top: 3px;
    font-weight: 500;
}

/* SCIENCE BADGES */
.pa-badges {
    padding: 12px 32px;
    border-bottom: 0.5px solid #F3F4F6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pa-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #374151;
    font-weight: 500;
}

/* CTA ZONE */
.pa-cta-zone { padding: 18px 32px 22px; }

.pa-cta-wrap { position: relative; }

.pa-cta-halo {
    position: absolute;
    inset: 4px;
    background: linear-gradient(90deg, #F97316, #DC2626);
    border-radius: 14px;
    filter: blur(16px);
    opacity: 0.35;
    pointer-events: none;
}

.pa-cta {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #111 0%, #1a1a1a 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 1.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
    font-family: inherit;
    min-height: 52px;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: transform 0.15s ease;
    text-transform: uppercase;
}

.pa-cta:hover { transform: translateY(-1px); }
.pa-cta:active { transform: translateY(0); }

.pa-cta-arrow {
    position: absolute;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F97316, #DC2626);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pa-cta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.pa-live {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pa-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
    animation: pa-pulse 2s ease-in-out infinite;
}
@keyframes pa-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.pa-live span { font-size: 10px; color: #6B7280; }
.pa-live strong { color: #111; }

.pa-joined {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pa-avatar-stack { display: flex; }
.pa-av {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #fff;
}
.pa-av + .pa-av { margin-left: -6px; }
.pa-av-1 { background: linear-gradient(135deg, #FDBA74, #F97316); }
.pa-av-2 { background: linear-gradient(135deg, #C4B5FD, #7C3AED); }
.pa-av-3 { background: linear-gradient(135deg, #FCA5A5, #DC2626); }
.pa-av-4 { background: linear-gradient(135deg, #FDE68A, #F59E0B); }

.pa-joined span { font-size: 10px; color: #6B7280; }
.pa-joined strong { color: #111; }

/* ============ INTRO: TABLET (≤640px) ============ */
@media (max-width: 640px) {
    #intro-section { padding: 20px 16px; }
    .pa-card { border-radius: 24px; }
    .pa-hero { padding: 28px 24px 24px; }
    .pa-headline { font-size: 38px !important; letter-spacing: -1.2px !important; }
    .pa-counter { font-size: 36px; }
    .pa-stats { padding: 16px 24px; }
    .pa-badges { padding: 12px 24px; }
    .pa-cta-zone { padding: 16px 24px 20px; }
}

/* ============ INTRO: MOBILE — floating rounded card, no scroll (≤480px) ============ */
@media (max-width: 480px) {
    #intro-section {
        padding: 12px;
        padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        min-height: auto;
        background: transparent;
    }

    .pa-card {
        border-radius: 22px !important;
        border: 0.5px solid rgba(0,0,0,0.06) !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.06), 5px 0 20px -3px rgba(249,115,22,0.16) !important;
        max-width: 100% !important;
    }

    .pa-hero { padding: 22px 20px 18px; }
    .pa-hero-top { margin-bottom: 14px; }
    .pa-press { display: none; }

    .pa-headline { font-size: 30px !important; letter-spacing: -0.8px !important; margin-bottom: 8px !important; line-height: 0.95 !important; }
    .pa-headline br { display: none; }
    .pa-headline .pa-headline-grad::before { content: ' '; }

    .pa-subhead { font-size: 12px; margin-bottom: 14px; line-height: 1.5; }
    .pa-counter { font-size: 28px; }
    .pa-counter-label { font-size: 10px; }
    .pa-meta-extra { display: none; }
    .pa-meta-row { font-size: 9px; }

    .pa-stats { padding: 12px 20px; }
    .pa-stat-num { font-size: 17px; }
    .pa-stat-label { font-size: 7px; letter-spacing: 0.5px; }

    .pa-badges {
        padding: 10px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
    }
    .pa-badge { font-size: 9px; gap: 5px; }
    .pa-badge svg { width: 11px; height: 11px; flex-shrink: 0; }

    .pa-cta-zone { padding: 14px 20px 18px; }
    .pa-cta {
        padding: 14px !important;
        font-size: 11px !important;
        min-height: 48px;
        letter-spacing: 1.5px;
    }
    .pa-cta-arrow { width: 30px; height: 30px; right: 8px; }
    .pa-cta-halo { filter: blur(12px); opacity: 0.3; }

    .pa-cta-footer { margin-top: 10px; }
    .pa-live span, .pa-joined span { font-size: 9px; }
}

/* ============ INTRO: VERY SMALL (≤360px) ============ */
@media (max-width: 360px) {
    #intro-section { padding: 8px; }
    .pa-card { border-radius: 18px !important; }
    .pa-hero { padding: 18px 16px 14px; }
    .pa-hero-top { margin-bottom: 10px; }
    .pa-trust-badge { padding: 4px 10px 4px 6px; }
    .pa-trust-badge span { font-size: 9px; }
    .pa-trust-badge-dot { width: 16px; height: 16px; }
    .pa-headline { font-size: 26px !important; }
    .pa-subhead { font-size: 11px; margin-bottom: 10px; }
    .pa-counter { font-size: 24px; }
    .pa-counter-label { font-size: 9px; }
    .pa-stats { padding: 10px 16px; }
    .pa-stat-num { font-size: 15px; }
    .pa-badges { padding: 8px 16px; gap: 4px 10px; }
    .pa-badge { font-size: 8px; }
    .pa-cta-zone { padding: 12px 16px 14px; }
    .pa-cta { padding: 12px !important; min-height: 44px; font-size: 10px !important; }
    .pa-cta-arrow { width: 28px; height: 28px; }
    .pa-cta-footer { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
}

/* ========================================
   PREPARING SECTION
   ======================================== */
/* =========================================================
   PREPARING / LOADER — premium designed version
   Backwards compatible: keeps #preparing-fill, #prep-step-N,
   .preparing-step-dot, .active/.done class hooks intact.
   ========================================================= */
#preparing-section {
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #FFFFFF;
    position: relative;
}

.preparing-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background decorative grid */
.prep-bg-grid {
    display: none;
}

.prep-bg-glow {
    display: none;
}

/* Floating particles */
.prep-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.prep-particles span {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #FB923C;
    opacity: 0;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
    animation: prepParticle 6s ease-in-out infinite;
}
.prep-particles span:nth-child(1){ left: 8%;  top: 22%; animation-delay: 0s;   }
.prep-particles span:nth-child(2){ left: 90%; top: 30%; animation-delay: .8s;  width:3px;height:3px; }
.prep-particles span:nth-child(3){ left: 14%; top: 70%; animation-delay: 1.6s; }
.prep-particles span:nth-child(4){ left: 86%; top: 78%; animation-delay: 2.4s; width:5px;height:5px; }
.prep-particles span:nth-child(5){ left: 50%; top: 8%;  animation-delay: 3.2s; width:3px;height:3px; }
.prep-particles span:nth-child(6){ left: 4%;  top: 50%; animation-delay: 4.0s; }
.prep-particles span:nth-child(7){ left: 94%; top: 56%; animation-delay: 1.2s; width:3px;height:3px; }
.prep-particles span:nth-child(8){ left: 50%; top: 92%; animation-delay: 2.8s; }

@keyframes prepParticle {
    0%   { opacity: 0; transform: translateY(0) scale(0.6); }
    20%  { opacity: 0.9; }
    50%  { transform: translateY(-22px) scale(1); }
    80%  { opacity: 0.7; }
    100% { opacity: 0; transform: translateY(-44px) scale(0.6); }
}

/* Main card */
.preparing-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    background:
        linear-gradient(180deg, #FFFFFF 0%, #FFFBF7 100%);
    border: 1px solid rgba(249, 115, 22, 0.12);
    border-radius: 24px;
    padding: 28px 32px 24px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 30px 60px -20px rgba(249, 115, 22, 0.22),
        0 18px 40px -18px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(249, 115, 22, 0.04);
}

/* Top badge */
.prep-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    background: #FFF7ED;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #C2410C;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.prep-badge-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #F97316;
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6);
    animation: prepBadgePulse 1.6s ease-out infinite;
}
@keyframes prepBadgePulse {
    0%   { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* Decoder + orbit wrapper */
.preparing-decoder-wrap {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prep-orbit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prep-orbit svg {
    width: 100%;
    height: 100%;
    transform-origin: center;
    animation: prepOrbitSpin 8s linear infinite;
}
.prep-orbit-arc { animation: none; }
.prep-orbit-arc-inner {
    transform-origin: 120px 120px;
    animation: prepOrbitSpinReverse 5s linear infinite;
}
@keyframes prepOrbitSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes prepOrbitSpinReverse {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* Decoder tiles */
.preparing-decoder {
    position: relative;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.preparing-decoder .td-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.preparing-decoder .td-slot-window {
    position: relative;
    width: 42px;
    height: 54px;
    overflow: hidden;
    border-radius: 10px;
    background:
        linear-gradient(180deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1px solid rgba(249, 115, 22, 0.22);
    border-bottom: 3px solid #F97316;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 -10px 18px -8px rgba(249, 115, 22, 0.18) inset,
        0 6px 14px -4px rgba(249, 115, 22, 0.28),
        0 2px 4px rgba(15, 23, 42, 0.06);
    transform: translateY(0);
    animation: prepTileBob 2.4s ease-in-out infinite;
}

.preparing-decoder .td-slot:nth-child(1) .td-slot-window { animation-delay: 0s;   }
.preparing-decoder .td-slot:nth-child(2) .td-slot-window { animation-delay: .1s;  }
.preparing-decoder .td-slot:nth-child(3) .td-slot-window { animation-delay: .2s;  }
.preparing-decoder .td-slot:nth-child(4) .td-slot-window { animation-delay: .3s;  }

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

.preparing-decoder .td-slot-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    animation: prepTileShine 2.8s ease-in-out infinite;
}
.preparing-decoder .td-slot:nth-child(2) .td-slot-shine { animation-delay: .15s; }
.preparing-decoder .td-slot:nth-child(3) .td-slot-shine { animation-delay: .30s; }
.preparing-decoder .td-slot:nth-child(4) .td-slot-shine { animation-delay: .45s; }

@keyframes prepTileShine {
    0%, 60%, 100% { transform: translateX(-100%); }
    80%           { transform: translateX(100%); }
}

.preparing-decoder .td-strip {
    display: flex;
    flex-direction: column;
    animation: tdCycle 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.preparing-decoder .td-slot:nth-child(2) .td-strip { animation-delay: 0.2s; }
.preparing-decoder .td-slot:nth-child(3) .td-strip { animation-delay: 0.4s; }
.preparing-decoder .td-slot:nth-child(4) .td-strip { animation-delay: 0.6s; }

.preparing-decoder .td-strip span {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: #EA580C;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    letter-spacing: -0.02em;
}

@keyframes tdCycle {
    0%, 42% { transform: translateY(0); }
    58%, 100% { transform: translateY(-54px); }
}

.preparing-decoder .td-slot-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    text-transform: uppercase;
}

/* Scanning beam */
.prep-scanbeam {
    position: absolute;
    left: -10px;
    right: -10px;
    height: 18px;
    top: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(249, 115, 22, 0.15) 40%,
        rgba(249, 115, 22, 0.55) 50%,
        rgba(249, 115, 22, 0.15) 60%,
        transparent 100%
    );
    filter: blur(2px);
    border-radius: 4px;
    pointer-events: none;
    animation: prepScanbeam 2.6s ease-in-out infinite;
    z-index: 1;
}
@keyframes prepScanbeam {
    0%   { transform: translateY(-10px); opacity: 0; }
    20%  { opacity: 1; }
    50%  { transform: translateY(56px); opacity: 1; }
    80%  { opacity: 0.6; }
    100% { transform: translateY(72px); opacity: 0; }
}

/* Title & subtitle */
.preparing-text {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #1E293B 0%, #475569 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preparing-subtext {
    font-size: 13px;
    color: #94A3B8;
    margin: 0 0 22px;
    font-weight: 500;
}
.prep-dot-sep {
    color: #F97316;
    margin: 0 6px;
    font-weight: 700;
}

/* Progress bar */
.preparing-progress-wrap {
    margin-bottom: 22px;
}

.preparing-progress-bar {
    position: relative;
    width: 100%;
    height: 8px;
    background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 100%);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) inset;
}

.preparing-progress-fill {
    position: relative;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #EA580C 0%, #F97316 50%, #FB923C 100%);
    border-radius: 999px;
    box-shadow:
        0 0 12px rgba(249, 115, 22, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.4) inset;
    animation: preparingFill 8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    overflow: hidden;
}

.prep-fill-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: prepFillShimmer 1.2s ease-in-out infinite;
}
@keyframes prepFillShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.prep-progress-ticks {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 25%;
    pointer-events: none;
}
.prep-progress-ticks i {
    width: 1px;
    height: 100%;
    background: rgba(15, 23, 42, 0.06);
}

@keyframes preparingFill {
    0%   { width: 0%; }
    30%  { width: 35%; }
    60%  { width: 65%; }
    85%  { width: 90%; }
    100% { width: 100%; }
}

/* Steps */
.preparing-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.preparing-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #94A3B8;
    font-weight: 500;
    padding: 6px 0;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.preparing-step.active {
    color: #0F172A;
    font-weight: 600;
}

.preparing-step.done {
    color: #059669;
}

.preparing-step-dot {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

.preparing-step.active .preparing-step-dot {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF7ED 100%);
    color: #EA580C;
    border-color: #F97316;
    box-shadow:
        0 0 0 4px rgba(249, 115, 22, 0.15),
        0 4px 10px -2px rgba(249, 115, 22, 0.4);
    animation: prepDotPulse 1.4s ease-in-out infinite;
}

@keyframes prepDotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15), 0 4px 10px -2px rgba(249, 115, 22, 0.4); }
    50%      { box-shadow: 0 0 0 7px rgba(249, 115, 22, 0.08), 0 4px 14px -2px rgba(249, 115, 22, 0.5); }
}

.preparing-step.done .preparing-step-dot {
    background: linear-gradient(180deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border-color: #059669;
    box-shadow: 0 4px 10px -2px rgba(16, 185, 129, 0.4);
    animation: none;
}

/* Connecting trail line between steps */
.prep-step-trail {
    position: absolute;
    left: 11px;
    top: 30px;
    width: 2px;
    height: 14px;
    background: #E2E8F0;
    border-radius: 2px;
    transition: background 0.4s ease;
}
.preparing-step:last-child .prep-step-trail { display: none; }
.preparing-step.done .prep-step-trail {
    background: linear-gradient(180deg, #10B981 0%, #E2E8F0 100%);
}

/* Footer trust line */
.prep-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #94A3B8;
    padding-top: 14px;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
}
.prep-footer-icon {
    color: #10B981;
}

/* Progress Header - Sticky */
.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto 30px;
    gap: 20px;
    position: sticky;
    top: 0;
    background: #FFFFFF;
    z-index: 100;
    padding: 15px 20px;
    border-bottom: 1px solid #F3F4F6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.progress-percent, .progress-step {
    font-size: 14px;
    color: #EA580C;
    font-weight: 600;
    white-space: nowrap;
}

.progress-step {
    display: none;
}

.progress-line {
    flex: 1;
    height: 6px;
    background: #FED7AA;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #F97316, #EA580C);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Main Heading */
.main-heading {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Legend Box - removed, labels now inside cards */
.legend-box { display: none; }

/* Questions List */
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 120px; /* Extra space for sticky submit button */
}

/* Question Card */
.question-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 30px;
    border: 2px solid #FED7AA;
    position: relative;
    cursor: pointer;
    /* Default blurred/dimmed state */
    filter: blur(3px);
    opacity: 0.45;
    transform: scale(0.96);
    /* Smooth coordinated transition for ALL visual properties */
    transition:
        filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    will-change: filter, opacity, transform;
}

/* Active/In-Focus Question - crystal clear */
.question-card.in-focus {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
    border-color: #F97316;
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.2);
    z-index: 10;
    cursor: default;
}

.question-card:hover:not(.locked) {
    border-color: #FDBA74;
}

/* Answered questions - blurred back but with a hint they're done */
.question-card.answered {
    border-color: #FDBA74;
    background: linear-gradient(135deg, #FFF7ED 0%, #ffffff 100%);
    filter: blur(2.5px);
    opacity: 0.5;
}

/* Answered questions that are in focus (user scrolling back) */
.question-card.answered.in-focus {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.2);
}

/* Question Number Row */
.question-number-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.question-num-circle {
    padding: 6px 16px;
    border-radius: 20px;
    background: #FFF7ED;
    color: #F97316;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.question-num-label {
    font-size: 13px;
    color: #9CA3AF;
}

/* Question Badge (legacy) */
.question-badge { display: none; }
.question-content { display: none; }

/* Question Text V2 - Serif like SVG design */
.question-text-v2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    color: #1F2937;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    padding: 0 10px;
    letter-spacing: -0.3px;
    word-spacing: 1px;
}

/* Options Row V2 - Pill Buttons with Emoji Faces */
.options-row-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
}

/* Hide old options */
.options-row { display: none; }

.option-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px 8px 8px;
    border-radius: 30px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.face-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.pill-num {
    font-size: 14px;
    font-weight: 600;
}

/* Pill Colors */
.option-pill.sd { background: #FEE2E2; }
.option-pill.sd .pill-num { color: #991B1B; }

.option-pill.d { background: #FEF9C3; }
.option-pill.d .pill-num { color: #92400E; }

.option-pill.n { background: #F3F4F6; }
.option-pill.n .pill-num { color: #4B5563; }

.option-pill.a { background: #ECFDF5; }
.option-pill.a .pill-num { color: #166534; }

.option-pill.sa { background: #BBF7D0; }
.option-pill.sa .pill-num { color: #15803D; }

/* Hover */
.option-pill:hover {
    transform: scale(1.08);
}
.option-pill.sd:hover { box-shadow: 0 4px 16px rgba(220, 38, 38, 0.25); }
.option-pill.d:hover { box-shadow: 0 4px 16px rgba(250, 204, 21, 0.3); }
.option-pill.n:hover { box-shadow: 0 4px 16px rgba(156, 163, 175, 0.3); }
.option-pill.a:hover { box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3); }
.option-pill.sa:hover { box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3); }

/* Selected State */
.option-pill.selected {
    transform: scale(1.1);
    border-width: 2px;
}
.option-pill.sd.selected { border-color: #DC2626; box-shadow: 0 4px 20px rgba(220, 38, 38, 0.35); }
.option-pill.d.selected { border-color: #FACC15; box-shadow: 0 4px 20px rgba(250, 204, 21, 0.35); }
.option-pill.n.selected { border-color: #6B7280; box-shadow: 0 4px 20px rgba(107, 114, 128, 0.35); }
.option-pill.a.selected { border-color: #22C55E; box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35); }
.option-pill.sa.selected { border-color: #16A34A; box-shadow: 0 4px 20px rgba(22, 163, 74, 0.35); }

/* Options Labels */
.options-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px 0;
}

.options-labels span {
    font-size: 12px;
    color: #9CA3AF;
    letter-spacing: 0.2px;
}

/* Pulse Animation on Click */
@keyframes pulse-click {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1.1); }
}

.option-btn.selected {
    animation: pulse-click 0.3s ease;
}

/* Submit Test Button */
.submit-test-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 20px;
    z-index: 999;
    pointer-events: none; /* Allow clicks to pass through the wrapper */
    opacity: 0; /* HIDDEN BY DEFAULT */
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.submit-test-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-submit-test {
    background: linear-gradient(135deg, #EA580C, #C2410C);
    color: #fff;
    border: none;
    padding: 16px 50px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
    pointer-events: all; /* Button itself is clickable */
}

.btn-submit-test:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.45);
}

.btn-submit-test:active {
    transform: translateY(0);
}

/* Incomplete Test Popup */
.incomplete-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.incomplete-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 36px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: modal-appear 0.3s ease;
}

.incomplete-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}

.incomplete-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
}

.incomplete-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px;
}

.incomplete-desc strong {
    color: #EA580C;
}

.incomplete-bar-track {
    height: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.incomplete-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #EA580C, #FB923C);
    border-radius: 6px;
    transition: width 0.4s ease;
    width: 0%;
}

.incomplete-remaining {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 24px;
}

.btn-continue-test {
    background: linear-gradient(135deg, #EA580C, #C2410C);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
    width: 100%;
}

.btn-continue-test:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.4);
}

/* ========================================
   MODAL - Locked Preview + Form
   Pixel-perfect match to unlock-report-modal-mobile.html
   ======================================== */
/* ============================================================
   ▒  MODAL: CONFIDENTIAL DOSSIER (v2)  ▒
   Editorial premium lead-capture modal.
   IDs preserved: #user-modal, #user-form, #first-name,
   #last-name, #user-email, #user-age, #country-code,
   #user-phone, #modal-close, #phone-error
   ============================================================ */

.modal-overlay,
.modal-overlay *,
.modal-overlay *::before,
.modal-overlay *::after {
    box-sizing: border-box !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(124,45,18,0.35), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(0,0,0,0.55), transparent 55%),
        rgba(8, 5, 3, 0.72);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-container {
    width: 100%;
    max-width: 880px;
    background: #0A0604;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    position: relative;
    box-shadow:
        0 50px 120px -30px rgba(0,0,0,0.65),
        0 0 0 1px rgba(253,186,116,0.08),
        inset 0 1px 0 rgba(255,255,255,0.04);
    animation: modal-appear 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    margin: 0 auto;
    isolation: isolate;
}

/* Subtle film-grain layer over entire modal */
.modal-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Prevent form content from overflowing the card */
.modal-right { overflow: hidden; }
.modal-right form { max-width: 100%; overflow: hidden; }
.modal-field-row { max-width: 100%; overflow: hidden; }
.modal-field { overflow: visible; min-width: 0; }

@keyframes modal-appear {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── LEFT: Dossier panel ───────────────────────────────── */
.modal-left {
    padding: 36px 34px 28px;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 70% 0%, rgba(249,115,22,0.32) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(124,45,18,0.28) 0%, transparent 60%),
        linear-gradient(180deg, #0E0805 0%, #050302 100%);
    min-height: 540px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hairline corner ornaments — like a print frame */
.ml-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(253,186,116,0.55);
    border-style: solid;
    border-width: 0;
    pointer-events: none;
    z-index: 3;
}
.ml-corner-tl { top: 16px; left: 16px;     border-top-width: 1px; border-left-width: 1px; }
.ml-corner-tr { top: 16px; right: 16px;    border-top-width: 1px; border-right-width: 1px; }
.ml-corner-bl { bottom: 16px; left: 16px;  border-bottom-width: 1px; border-left-width: 1px; }
.ml-corner-br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }

/* Header row */
.ml-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.ml-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #FDBA74;
    letter-spacing: 2.2px;
    font-weight: 600;
    text-transform: uppercase;
}

.ml-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F97316;
    box-shadow: 0 0 0 0 rgba(249,115,22,0.6);
    animation: ml-pulse 2s ease-out infinite;
}
@keyframes ml-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(249,115,22,0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
    100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

.ml-id {
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 10px;
    color: rgba(253,186,116,0.7);
    letter-spacing: 1.5px;
    padding: 4px 9px;
    border: 1px solid rgba(253,186,116,0.25);
    border-radius: 4px;
    background: rgba(253,186,116,0.04);
}

/* Seal stage with rotating ring */
.ml-seal-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 22px 0 14px;
    height: 200px;
}

.ml-seal-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 220px;
    height: 220px;
    max-width: 100%;
    animation: ml-rotate 60s linear infinite;
}
@keyframes ml-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.ml-seal {
    width: 180px;
    height: 180px;
    max-width: 70%;
    filter: blur(1.2px);
    opacity: 0.92;
    position: relative;
    z-index: 1;
}

.ml-lock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(8,5,3,0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(253,186,116,0.45);
    border-radius: 999px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.ml-lock-badge span {
    font-size: 10.5px;
    color: #FDBA74;
    letter-spacing: 2.2px;
    font-weight: 600;
}

/* Type meta */
.ml-meta {
    text-align: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.ml-type-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    color: #fff;
    font-weight: 500;
    line-height: 1;
    filter: blur(5px);
    opacity: 0.55;
    letter-spacing: 0.3px;
}
.ml-type-sub {
    font-size: 11px;
    color: #FDBA74;
    margin-top: 6px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    filter: blur(4px);
    opacity: 0.55;
    font-weight: 500;
}

/* Stat bars (blurred preview) */
.ml-bars {
    display: grid;
    gap: 8px;
    filter: blur(3.5px);
    opacity: 0.55;
    margin-bottom: auto;
    padding-bottom: 12px;
}
.ml-bar {
    display: grid;
    grid-template-columns: 64px 1fr 24px;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(253,186,116,0.08);
    border-radius: 8px;
    padding: 8px 11px;
}
.ml-bar-label {
    font-size: 9px;
    color: #FDBA74;
    letter-spacing: 1.2px;
    font-weight: 600;
}
.ml-bar-track {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}
.ml-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #F97316, #FDBA74);
    border-radius: 2px;
}
.ml-bar-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    color: #FDBA74;
    text-align: right;
}

/* Footer dossier strip */
.ml-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(253,186,116,0.12);
    position: relative;
    z-index: 1;
}
.ml-footer-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.ml-footer-label {
    font-size: 9px;
    color: rgba(253,186,116,0.55);
    letter-spacing: 1.4px;
    font-weight: 600;
}
.ml-footer-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    color: #FDBA74;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.ml-footer-divider {
    width: 1px;
    height: 18px;
    background: rgba(253,186,116,0.15);
}

/* ─── RIGHT: Form panel ────────────────────────────────── */
.modal-right {
    background: #FFFEFB;
    padding: 36px 36px 28px;
    position: relative;
    background-image:
        radial-gradient(ellipse at 100% 0%, rgba(249,115,22,0.04) 0%, transparent 50%),
        linear-gradient(180deg, #FFFEFB 0%, #FFF8F0 100%);
}

.modal-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.modal-step-label {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.msl-num {
    font-size: 14px;
    color: #EA580C;
    font-weight: 700;
}
.msl-slash {
    font-size: 14px;
    color: #D1D5DB;
    margin: 0 1px;
}
.msl-total {
    font-size: 14px;
    color: #9CA3AF;
    font-weight: 500;
}
.msl-divider {
    display: inline-block;
    width: 18px;
    height: 1px;
    background: #E5E7EB;
    margin: 0 8px;
    transform: translateY(-3px);
}
.msl-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 10.5px;
    color: #6B7280;
    letter-spacing: 1.6px;
    font-weight: 600;
}

.modal-close-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #F3F4F6 !important;
    border: 1px solid #E5E7EB !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6B7280 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 0 !important;
}
.modal-close-btn:hover,
.modal-close-btn:active {
    background: #FEE7D6 !important;
    color: #EA580C !important;
    border-color: #FED7AA !important;
    transform: rotate(90deg);
}

.modal-form-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 500;
    color: #0F0A06;
    line-height: 1.05;
    margin: 0 0 10px;
    letter-spacing: -0.4px;
    text-transform: none !important;
}
.modal-form-title em {
    font-style: italic;
    color: #EA580C;
    background: linear-gradient(120deg, #F97316 0%, #DC2626 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-form-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #6B7280;
    margin: 0 0 22px;
    padding: 5px 11px;
    background: #FFF8F0;
    border: 1px solid #FED7AA;
    border-radius: 999px;
    line-height: 1;
}
.modal-form-subtitle svg { color: #EA580C; flex-shrink: 0; }

/* Form field rows */
.modal-field-row {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}
.modal-row-two { grid-template-columns: 1fr 1fr; }
.modal-row-two > *,
.modal-row-split > * { min-width: 0 !important; }
.modal-row-split { grid-template-columns: 0.7fr 1.3fr; margin-bottom: 22px; }

/* Field — premium underline-revealed treatment */
.modal-field {
    position: relative;
    background: #FFF8F0 !important;
    border: 1px solid #FFE4C7 !important;
    border-radius: 12px !important;
    padding: 10px 14px 12px !important;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: text;
    min-height: 60px;
    display: block !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.modal-field:hover {
    border-color: #FED7AA !important;
    background: #FFFAF3 !important;
}

.modal-field:focus-within {
    border-color: #FDBA74 !important;
    background: #FFFFFF !important;
    box-shadow:
        0 0 0 4px rgba(249,115,22,0.08),
        0 4px 12px -2px rgba(249,115,22,0.12) !important;
}

.modal-field-label {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
    font-size: 9.5px !important;
    color: #C2410C !important;
    font-weight: 700 !important;
    letter-spacing: 1.4px;
    display: block;
    margin-bottom: 2px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    transition: color 0.25s ease;
}
.modal-field:focus-within .modal-field-label { color: #EA580C !important; }

/* Animated underline accent */
.mf-underline {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 1px;
    background: linear-gradient(90deg, #F97316, #DC2626);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    border-radius: 1px;
}
.modal-field:focus-within .mf-underline { transform: scaleX(1); }

.modal-field input,
.modal-field input[type="text"],
.modal-field input[type="email"],
.modal-field input[type="number"],
.modal-field input[type="tel"],
#user-form input,
#user-form select {
    width: 100% !important;
    border: 0 none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    font-size: 16px !important;
    color: #0F0A06 !important;
    outline: 0 none !important;
    outline-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-weight: 500;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    min-height: 22px;
    border-radius: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: 0.2px;
}

.modal-field input::placeholder,
#user-form input::placeholder { color: #D8B79A !important; font-weight: 400; }

.modal-field input:focus,
.modal-field input:active,
#user-form input:focus,
#user-form input:active,
#user-form select:focus {
    border: 0 none !important;
    border-width: 0 !important;
    outline: 0 none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
}

/* Remove number spinners */
.modal-field input[type="number"],
#user-form input[type="number"] { -moz-appearance: textfield !important; }
.modal-field input[type="number"]::-webkit-inner-spin-button,
.modal-field input[type="number"]::-webkit-outer-spin-button,
#user-form input[type="number"]::-webkit-inner-spin-button,
#user-form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none !important; margin: 0; }

/* Phone field with country code select */
.modal-phone-wrap {
    display: flex !important;
    gap: 0 !important;
    align-items: center;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
}

/* Vertical separator between country code and phone */
.modal-phone-wrap::after {
    content: '';
    position: absolute;
    left: 78px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: #FED7AA;
    pointer-events: none;
}

.modal-country-select,
#user-form .modal-country-select,
select.modal-country-select,
#country-code {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    flex-shrink: 0;
    padding: 0 18px 0 0 !important;
    margin-right: 12px !important;
    border: 0 none !important;
    border-width: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    font-size: 14px !important;
    font-weight: 600;
    color: #0F0A06 !important;
    cursor: pointer;
    outline: 0 none !important;
    outline-width: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23EA580C'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-radius: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

.modal-phone-input,
#user-form .modal-phone-input,
input.modal-phone-input,
#user-phone {
    flex: 1 !important;
    padding: 0 0 0 4px !important;
    border: 0 none !important;
    border-width: 0 !important;
    font-size: 16px !important;
    outline: 0 none !important;
    outline-width: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #0F0A06 !important;
    font-family: inherit !important;
    font-weight: 500;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-radius: 0 !important;
    height: auto !important;
    margin: 0 !important;
    min-width: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    line-height: 1.4 !important;
    width: auto !important;
}

.modal-phone-input::placeholder,
#user-phone::placeholder { color: #D8B79A !important; }

.phone-error {
    font-size: 11px;
    color: #DC2626;
    margin-top: 6px;
    padding-left: 14px;
    display: block;
    font-weight: 500;
}

/* Submit button — wax-seal CTA */
.btn-unlock {
    position: relative;
    width: 100% !important;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #DC2626 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 17px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 1.4px;
    cursor: pointer;
    overflow: hidden;
    margin-top: 8px;
    min-height: 56px;
    transition: transform 0.18s ease, box-shadow 0.25s ease;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow:
        0 8px 20px -4px rgba(220,38,38,0.45),
        0 2px 4px rgba(220,38,38,0.2),
        inset 0 1px 0 rgba(255,255,255,0.25) !important;
    isolation: isolate;
    display: block;
}

.btn-unlock-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.btn-unlock-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
    pointer-events: none;
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 32px -6px rgba(220,38,38,0.55),
        0 4px 8px rgba(220,38,38,0.25),
        inset 0 1px 0 rgba(255,255,255,0.3) !important;
}
.btn-unlock:hover .btn-unlock-shine { transform: translateX(100%); }
.btn-unlock:hover .btn-unlock-arrow { transform: translateX(3px); }
.btn-unlock-arrow { transition: transform 0.25s ease; }

.btn-unlock:active { transform: translateY(0); }

/* Trust strip */
.modal-trust {
    list-style: none;
    margin: 14px 0 0;
    padding: 10px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px dashed #FED7AA;
    border-bottom: 1px dashed #FED7AA;
}
.mt-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #6B7280;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.mt-item svg { color: #EA580C; flex-shrink: 0; }
.mt-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #FED7AA;
}

/* Social proof */
.modal-social-proof {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 12px;
    color: #6B7280;
}
.msp-avatars {
    display: flex;
    align-items: center;
}
.msp-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFEFB;
    margin-left: -7px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.msp-avatar:first-child { margin-left: 0; }
.msp-text strong { color: #0F0A06; font-weight: 700; }
.msp-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #DC2626;
    padding: 2px 6px;
    background: #FEE2E2;
    border-radius: 4px;
}
.msp-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #DC2626;
    animation: ml-pulse 1.4s ease-out infinite;
}

/* ============ MODAL: STACKS TO 1 COLUMN (tablets & phones) ============ */
@media (max-width: 820px) {
    .modal-overlay {
        padding: 12px !important;
        align-items: center !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    .modal-container {
        grid-template-columns: 1fr !important;
        max-width: 460px !important;
        width: calc(100vw - 24px) !important;
        border-radius: 22px !important;
        max-height: none !important;
        min-height: auto !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }
    /* Compact dossier banner on top */
    .modal-left {
        min-height: auto !important;
        padding: 16px 20px 14px !important;
        display: grid !important;
        grid-template-columns: 78px 1fr auto !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        gap: 4px 14px !important;
        column-gap: 14px !important;
    }
    .ml-corner-tl, .ml-corner-tr { display: block; top: 10px; }
    .ml-corner-tl { left: 10px; }
    .ml-corner-tr { right: 10px; }
    .ml-corner-bl, .ml-corner-br { display: none !important; }

    .ml-header {
        grid-column: 1 / -1;
        margin-bottom: 4px !important;
    }
    .ml-eyebrow { font-size: 9px !important; letter-spacing: 1.8px !important; }
    .ml-id { font-size: 9px !important; padding: 3px 7px !important; }

    .ml-seal-stage {
        grid-column: 1 !important;
        grid-row: 2 !important;
        margin: 0 !important;
        height: 78px !important;
        width: 78px !important;
    }
    .ml-seal-ring { width: 86px !important; height: 86px !important; }
    .ml-seal { width: 64px !important; height: 64px !important; max-width: 64px !important; }
    .ml-lock-badge {
        padding: 3px 8px !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    .ml-lock-badge span { font-size: 8px !important; letter-spacing: 1.3px !important; }
    .ml-lock-badge svg { width: 9px !important; height: 9px !important; }

    .ml-meta {
        grid-column: 2 !important;
        grid-row: 2 !important;
        text-align: left !important;
        margin: 0 !important;
    }
    .ml-type-name { font-size: 17px !important; filter: blur(3.5px) !important; opacity: 0.6 !important; }
    .ml-type-sub { font-size: 9.5px !important; margin-top: 3px !important; filter: blur(2.5px) !important; opacity: 0.6 !important; letter-spacing: 1.4px !important; }

    /* Hide blurred bars on mobile — too small to register */
    .ml-bars { display: none !important; }

    .ml-footer {
        grid-column: 3 !important;
        grid-row: 2 !important;
        grid-template-columns: auto !important;
        grid-template-rows: auto !important;
        padding-top: 0 !important;
        border-top: none !important;
        gap: 2px !important;
        text-align: right !important;
        align-items: flex-end !important;
    }
    .ml-footer-cell { align-items: flex-end !important; }
    .ml-footer-cell:not(:first-child) { display: none !important; }
    .ml-footer-divider { display: none !important; }
    .ml-footer-label { font-size: 8px !important; letter-spacing: 1.2px !important; }
    .ml-footer-val { font-size: 14px !important; }

    /* Form panel */
    .modal-right { padding: 24px 22px 22px !important; }
    .modal-form-header { margin-bottom: 14px !important; }
    .modal-form-title { font-size: 28px !important; }
    .modal-form-subtitle { margin-bottom: 16px !important; font-size: 12px !important; padding: 4px 10px !important; }

    .msl-num, .msl-slash, .msl-total { font-size: 13px !important; }
    .msl-text { font-size: 9.5px !important; letter-spacing: 1.4px !important; }
    .msl-divider { width: 14px !important; margin: 0 6px !important; }

    /* Close button */
    .modal-close-btn {
        width: 34px !important;
        height: 34px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 10 !important;
    }

    /* Form fields */
    .modal-field { padding: 9px 13px 11px !important; min-height: 54px !important; }
    .modal-field-label { font-size: 9px !important; margin-bottom: 2px !important; letter-spacing: 1.2px !important; }
    .modal-field-row { gap: 10px !important; margin-bottom: 10px !important; }
    .modal-row-split { grid-template-columns: 0.7fr 1.3fr !important; margin-bottom: 16px !important; }
    .mf-underline { left: 13px; right: 13px; bottom: 5px; }
    .modal-phone-wrap::after { left: 76px; }
    .btn-unlock { padding: 15px !important; min-height: 52px !important; font-size: 13px !important; margin-top: 6px !important; letter-spacing: 1.2px !important; }

    .modal-trust { gap: 8px !important; padding: 9px 0 !important; }
    .mt-item { font-size: 10.5px !important; }
}

/* ============ VERY SMALL phones (iPhone SE ≤380px) ============ */
@media (max-width: 380px) {
    .modal-overlay { padding: 8px !important; }
    .modal-container { width: calc(100vw - 16px) !important; border-radius: 20px !important; }
    .modal-left {
        padding: 14px 16px 12px !important;
        grid-template-columns: 64px 1fr auto !important;
        column-gap: 12px !important;
    }
    .ml-seal-stage { height: 64px !important; width: 64px !important; }
    .ml-seal-ring { width: 72px !important; height: 72px !important; }
    .ml-seal { width: 54px !important; height: 54px !important; max-width: 54px !important; }
    .ml-lock-badge { padding: 2px 6px !important; }
    .ml-lock-badge span { font-size: 7.5px !important; letter-spacing: 1.2px !important; }
    .ml-type-name { font-size: 15px !important; }
    .ml-type-sub { font-size: 8.5px !important; }
    .ml-footer-val { font-size: 12px !important; }

    .modal-right { padding: 20px 18px 20px !important; }
    .modal-form-title { font-size: 24px !important; }
    .modal-form-subtitle { margin-bottom: 12px !important; font-size: 11.5px !important; }
    .modal-field { padding: 8px 11px 10px !important; min-height: 50px !important; }
    .modal-field-label { font-size: 8.5px !important; }
    .modal-field-row { gap: 8px !important; margin-bottom: 8px !important; }
    .modal-row-split { grid-template-columns: 0.65fr 1.35fr !important; margin-bottom: 14px !important; }
    .mf-underline { left: 11px; right: 11px; }
    .modal-phone-wrap::after { left: 70px; }
    .modal-country-select { width: 70px !important; min-width: 70px !important; max-width: 70px !important; margin-right: 10px !important; font-size: 13px !important; }
    .btn-unlock { padding: 13px !important; min-height: 48px !important; font-size: 12.5px !important; }
    .mt-item { font-size: 10px !important; }
    .msp-text { font-size: 11px !important; }
}

/* Landscape phone */
@media (max-height: 520px) and (orientation: landscape) {
    .modal-overlay { padding: 12px !important; }
    .modal-container {
        grid-template-columns: 1fr 1fr !important;
        max-width: 800px !important;
    }
    .modal-left { min-height: auto !important; padding: 20px !important; display: flex !important; }
    .ml-seal-stage { height: 130px !important; margin: 12px 0 !important; }
    .ml-seal-ring { width: 150px !important; height: 150px !important; }
    .ml-seal { width: 120px !important; height: 120px !important; }
    .ml-type-name { font-size: 18px !important; }
    .ml-bars { display: none !important; }
    .modal-right { padding: 22px !important; }
    .modal-form-title { font-size: 24px !important; }
    .modal-form-subtitle { margin-bottom: 12px !important; }
}

.btn-primary {
    background: linear-gradient(90deg, #F97316 0%, #DC2626 100%);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-gold:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: #fff;
    color: #F97316;
    border: 2px solid #F97316;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 30px auto;
}

.btn-outline:hover {
    background: #F97316;
    color: #fff;
}

/* Loading Section */
#loading-section {
    max-width: 500px;
    margin: 80px auto;
    text-align: center;
}

.loading-box {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.15);
}

.loading-anim {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    border-radius: 20px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading-anim span {
    font-size: 40px;
    color: #fff;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #F97316;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

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

.loading-box h2 {
    color: #1f2937;
    margin-bottom: 10px;
}

.loading-box > p {
    color: #6b7280;
    margin-bottom: 25px;
}

.loading-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.loading-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #F97316, #EA580C);
    transition: width 0.2s;
}

.loading-percent {
    color: #F97316;
    font-weight: 600;
}

/* Results Section */
#results-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 0;
    background: #FBF6EC;
    border-radius: 24px;
}

.results-header {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 50px;
    position: relative;
}

.results-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, #F97316, #22c55e, #f59e0b);
    border-radius: 2px;
}

.results-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.results-left, .results-right {
    flex: 1;
}

.congrats-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.1);
}

.congrats-card h2 {
    color: #F97316;
    font-size: 24px;
    margin-bottom: 10px;
}

.congrats-card h3 {
    color: #1f2937;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.congrats-card > p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.validation-badge, .rarity-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 12px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.badge-icon.green { background: #22c55e; }
.badge-icon.gold { background: #f59e0b; }

.validation-badge strong, .rarity-badge strong {
    display: block;
    color: #1f2937;
}

.validation-badge small, .rarity-badge small {
    color: #6b7280;
    font-size: 13px;
}

.results-right {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.1);
}

.results-right h4 {
    font-size: 13px;
    color: #6b7280;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

/* Trait Bars */
.trait-row {
    margin-bottom: 20px;
}

.trait-header {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.trait-header strong {
    font-size: 18px;
    color: #1f2937;
}

.trait-header span {
    font-size: 14px;
    color: #6b7280;
}

.trait-track {
    height: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.trait-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

.trait-fill.ei { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.trait-fill.sn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.trait-fill.tf { background: linear-gradient(90deg, #22c55e, #4ade80); }
.trait-fill.jp { background: linear-gradient(90deg, #F97316, #FB923C); }

.trait-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 5px;
}

/* Type Reveal */
.type-reveal-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.1);
}

.type-reveal-card small {
    color: #6b7280;
}

.type-letters {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 12px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 15px 0;
}

.type-nickname {
    font-size: 22px;
    color: #F97316;
    font-style: italic;
    margin-bottom: 25px;
}

.download-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Description & Traits */
.type-description {
    background: #faf8ff;
    border-radius: 16px;
    padding: 25px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 25px;
    border-left: 4px solid #F97316;
}

.traits-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.traits-tags span {
    background: linear-gradient(135deg, #FFF7ED, #FFF7ED);
    color: #EA580C;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: #faf8ff;
    border-radius: 16px;
    padding: 25px;
}

.detail-card h3 {
    color: #1f2937;
    margin-bottom: 15px;
    font-size: 18px;
}

.detail-card ul {
    list-style: none;
}

.detail-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4b5563;
    font-size: 14px;
}

.detail-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F97316;
}

.detail-card p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 14px;
}

.careers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.careers-grid span {
    background: #fff;
    padding: 8px 14px;
    border-radius: 15px;
    font-size: 13px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
    #mbti-app {
        padding: 15px 10px;
    }
    
    /* Intro Section Mobile */
    .intro-container {
        padding: 40px 24px;
    }
    
    .intro-icon {
        width: 80px;
        height: 80px;
    }
    
    .intro-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .intro-title {
        font-size: 26px;
    }
    
    .intro-subtitle {
        font-size: 14px;
    }
    
    .intro-feature {
        padding: 14px 16px;
    }
    
    .feature-icon {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .btn-begin-assessment {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    /* Preparing Section Mobile */
    #preparing-section {
        min-height: 70vh;
        padding: 16px 14px;
    }
    .preparing-stage { max-width: 100%; }
    .preparing-container {
        padding: 18px 16px 14px;
        border-radius: 18px;
        max-width: 340px;
        margin: 0 auto;
    }
    .prep-badge {
        font-size: 9.5px;
        padding: 4px 9px 4px 8px;
        margin-bottom: 12px;
        gap: 6px;
    }
    .prep-badge-pulse { width: 6px; height: 6px; }
    .preparing-decoder-wrap {
        width: 190px;
        height: 190px;
        margin-bottom: 8px;
    }
    .preparing-decoder { gap: 6px; }
    .preparing-decoder .td-slot { gap: 5px; }
    .preparing-decoder .td-slot-window {
        width: 34px;
        height: 44px;
        border-radius: 8px;
    }
    .preparing-decoder .td-strip span {
        height: 44px;
        font-size: 19px;
    }
    @keyframes tdCycle {
        0%, 42% { transform: translateY(0); }
        58%, 100% { transform: translateY(-44px); }
    }
    .preparing-decoder .td-slot-label { font-size: 8px; }
    .preparing-text { font-size: 18px; margin-bottom: 4px; }
    .preparing-subtext { font-size: 11.5px; margin-bottom: 14px; }
    .preparing-progress-wrap { margin-bottom: 14px; }
    .preparing-progress-bar { height: 7px; }
    .preparing-steps {
        padding: 8px 10px;
        gap: 2px;
        margin-bottom: 12px;
    }
    .preparing-step {
        font-size: 12px;
        padding: 4px 0;
        gap: 10px;
    }
    .preparing-step-dot { width: 21px; height: 21px; font-size: 10px; }
    .prep-step-trail { left: 9.5px; top: 26px; height: 10px; }
    .prep-footer { font-size: 10px; padding-top: 10px; gap: 5px; }
    
    /* Progress Header Mobile */
    .progress-header {
        margin-bottom: 20px;
        padding: 12px 15px;
        gap: 12px;
        border-radius: 0 0 12px 12px;
    }
    
    .progress-percent {
        font-size: 13px;
    }
    
    .progress-line {
        height: 5px;
    }
    
    /* Main Heading Mobile */
    .main-heading {
        font-size: 20px;
        margin-bottom: 20px;
        padding: 0 5px;
        line-height: 1.4;
    }
    
    /* Question Cards Mobile */
    .questions-list {
        gap: 15px;
        padding-bottom: 100px;
    }

    /* Mobile: no blur filter (Safari perf), use opacity+scale only */
    .question-card {
        filter: none !important;
        opacity: 0.4;
        transform: scale(0.96);
        padding: 18px 15px;
        border-radius: 16px;
        transition:
            opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            border-color 0.4s ease,
            box-shadow 0.4s ease;
    }

    .question-card.in-focus {
        filter: none !important;
        opacity: 1;
        transform: scale(1);
    }

    .question-card.answered {
        filter: none !important;
        opacity: 0.45;
    }

    .question-card.answered.in-focus {
        filter: none !important;
        opacity: 1;
        transform: scale(1);
    }

    .question-number-row {
        margin-bottom: 14px;
    }

    .question-num-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .question-num-label {
        font-size: 12px;
    }

    .question-text-v2 {
        font-size: 16px;
        margin-bottom: 18px;
        padding: 0 5px;
        letter-spacing: -0.4px;
        word-spacing: 0.5px;
    }

    /* Pill Buttons Mobile */
    .options-row-v2 {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .option-pill {
        padding: 6px 8px 6px 6px;
        gap: 3px;
        border-radius: 24px;
    }

    .face-icon {
        width: 30px;
        height: 30px;
    }

    .pill-num {
        font-size: 12px;
    }

    .options-labels span {
        font-size: 10px;
    }

    /* Improve touch feedback on mobile */
    .option-pill:active {
        transform: scale(1.06);
    }

    /* Submit Test Button Mobile */
    .submit-test-wrap {
        padding: 16px 10px; /* Keep padding compact */
    }
    
    .btn-submit-test {
        width: calc(100% - 40px); /* Some margin on mobile */
        max-width: 400px;
        padding: 15px 30px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    /* Incomplete Popup Mobile */
    .incomplete-card {
        padding: 30px 24px;
        border-radius: 20px;
    }
    
    .incomplete-icon {
        font-size: 40px;
    }
    
    .incomplete-title {
        font-size: 19px;
    }
    
    .incomplete-desc {
        font-size: 13px;
    }
    
    /* Buttons Mobile */
    .btn-primary, .btn-gold, .btn-outline {
        font-size: 15px;
        padding: 14px 24px;
    }
    
    /* Loading Section Mobile */
    #loading-section {
        margin: 40px auto;
        padding: 0 10px;
    }
    
    .loading-box {
        padding: 35px 20px;
        border-radius: 20px;
    }
    
    .loading-anim {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .loading-anim span {
        font-size: 32px;
    }
    
    .loading-box h2 {
        font-size: 20px;
    }
    
    .loading-box > p {
        font-size: 14px;
    }
    
    /* Results Mobile */
    #results-section {
        padding: 0;
        border-radius: 16px;
    }
    
    .results-header {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .results-header::after {
        width: 150px;
    }
    
    .results-container {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .congrats-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .congrats-card h2 {
        font-size: 20px;
    }
    
    .congrats-card h3 {
        font-size: 18px;
    }
    
    .congrats-card > p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .validation-badge, .rarity-badge {
        padding: 12px;
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .validation-badge strong, .rarity-badge strong {
        font-size: 14px;
    }
    
    .validation-badge small, .rarity-badge small {
        font-size: 12px;
    }
    
    .results-right {
        padding: 20px;
        border-radius: 16px;
    }
    
    .results-right h4 {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .trait-row {
        margin-bottom: 18px;
    }
    
    .trait-header strong {
        font-size: 16px;
    }
    
    .trait-header span {
        font-size: 13px;
    }
    
    .trait-track {
        height: 10px;
    }
    
    .trait-labels {
        font-size: 11px;
    }
    
    /* Type Reveal Mobile */
    .type-reveal-card {
        padding: 25px 15px;
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .type-reveal-card small {
        font-size: 12px;
    }
    
    .type-letters {
        font-size: 42px;
        letter-spacing: 6px;
        margin: 12px 0;
    }
    
    .type-nickname {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Description & Details Mobile */
    .type-description {
        padding: 18px;
        font-size: 14px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .traits-tags {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .traits-tags span {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 16px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .detail-card {
        padding: 18px;
        border-radius: 12px;
    }
    
    .detail-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .detail-card li {
        font-size: 13px;
        padding: 6px 0;
        padding-left: 22px;
    }
    
    .detail-card p {
        font-size: 13px;
    }
    
    .careers-grid span {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
    .main-heading {
        font-size: 18px;
    }
    
    .legend-box {
        gap: 0;
        padding: 10px 6px;
    }
    
    .legend-item {
        min-width: 0;
        flex: 1;
    }
    
    .legend-item span {
        font-size: 9px;
    }
    
    .legend-circle.sd, .legend-circle.sa {
        width: 30px;
        height: 30px;
    }
    
    .legend-circle.d, .legend-circle.a {
        width: 26px;
        height: 26px;
    }
    
    .legend-circle.n {
        width: 22px;
        height: 22px;
    }
    
    .question-card {
        padding: 15px 12px;
    }
    
    .question-text {
        font-size: 14px;
    }
    
    .option-btn.sd, .option-btn.sa {
        width: 42px;
        height: 42px;
    }
    
    .option-btn.d, .option-btn.a {
        width: 36px;
        height: 36px;
    }
    
    .option-btn.n {
        width: 34px;
        height: 34px;
    }
    
    .options-row {
        gap: 6px;
    }
    
    .options-line {
        width: 200px;
    }
    
    .type-letters {
        font-size: 36px;
        letter-spacing: 4px;
    }
}

/* =========================================================
   POST-ASSESSMENT LOADING — Aurora Bloom (Option B)
   Soft, light, organic premium-wellness aesthetic. Two-axis
   typography: Fraunces serif for emotional anchors (eyebrow,
   title, eval-label), Poppins/JetBrains Mono for functional UI.

   Backwards-compatible: preserves #loading-section, .loading-card,
   .loading-animation-box, #loading-fill, #loading-percent,
   .loading-title, .loading-subtitle, .loading-progress,
   .progress-bar-track, .progress-bar-fill, .loading-steps,
   .step-item, .step-icon, .step-content, .step-title,
   .step-status, .step-item.active/.complete, .particles +
   .particle, .type-evaluator-anim, .eval-slot, #eval-slot-1..4,
   .eval-letter (.active/.exiting), .eval-slot.locked, .eval-label.
   ========================================================= */
.loading-card {
    --ab-cream:      #FFFBF5;
    --ab-cream-2:    #FFF4E6;
    --ab-peach:      #FED7AA;
    --ab-coral:      #FDA4AF;
    --ab-amber:      #FBBF24;
    --ab-orange:     #F97316;
    --ab-orange-d:   #C2410C;
    --ab-brown:      #451A03;
    --ab-brown-soft: #92400E;
    --ab-brown-mute: #B45309;
    --ab-text:       #1C1917;
    --ab-text-soft:  #57534E;
    --ab-text-mute:  #A8A29E;
    --ab-success:    #65A30D;
    --ab-success-d:  #4D7C0F;
    --ab-mono:       'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --ab-serif:      'Fraunces', Georgia, 'Cambria', serif;
    --ab-sans:       'Poppins', 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    position: relative;
    background: #FFFFFF;
    border: 1px solid #FBE8D3;
    border-radius: 24px;
    padding: 18px 18px 16px;
    max-width: 460px;
    margin: 36px auto;
    box-shadow:
        0 1px 0 rgba(120, 53, 15, 0.04),
        0 10px 30px -8px rgba(249, 115, 22, 0.16),
        0 30px 70px -25px rgba(194, 65, 12, 0.20);
    overflow: hidden;
}
.loading-card::before {
    content: ""; position: absolute;
    top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, .55), transparent);
}

/* === Status header (serif italic, calm) === */
.lc-status-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px; padding: 0 4px;
    font-family: var(--ab-serif);
    font-size: 11px;
    color: var(--ab-brown-soft);
    letter-spacing: 0.02em;
}
.lc-status-left { display: inline-flex; align-items: center; gap: 8px; }
.lc-pulse-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--ab-orange);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45);
    animation: abPulseDot 1.8s ease-out infinite;
    flex-shrink: 0;
}
@keyframes abPulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(249,115,22,.45); }
    70%  { box-shadow: 0 0 0 9px rgba(249,115,22,0);  }
    100% { box-shadow: 0 0 0 0 rgba(249,115,22,0);    }
}
.lc-status-text    { font-style: italic; }
.lc-status-divider { opacity: 0.45; margin: 0 2px; }
.lc-status-active  { color: var(--ab-orange-d); font-weight: 600; font-style: italic; }
.lc-status-right   { font-style: italic; opacity: 0.7; }

/* === Stage === */
.loading-animation-box {
    width: 100%;
    height: 250px;
    background: linear-gradient(170deg, var(--ab-cream) 0%, var(--ab-cream-2) 60%, #FFEAD0 100%);
    border: 1px solid #FBE8D3;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    isolation: isolate;
}

/* Aurora drifting blobs */
.ab-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ab-blob {
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.7;
    animation: abDrift 14s ease-in-out infinite;
}
.ab-blob-1 { top: -40px; left: -40px;  background: radial-gradient(circle, rgba(251,146,60,0.85), transparent 70%); animation-delay: 0s;    }
.ab-blob-2 { top: -20px; right: -50px; background: radial-gradient(circle, rgba(253,164,175,0.75), transparent 70%); animation-delay: -3.5s; }
.ab-blob-3 { bottom: -50px; left: 20%; background: radial-gradient(circle, rgba(251,191,36,0.7), transparent 70%);  animation-delay: -7s;   }
.ab-blob-4 { bottom: -30px; right: -20px; background: radial-gradient(circle, rgba(254,215,170,0.85), transparent 70%); animation-delay: -10.5s; }
@keyframes abDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(28px, -18px) scale(1.08); }
    66%      { transform: translate(-22px, 14px) scale(0.94); }
}

/* Concentric ripple rings emanating from center */
.ab-ripples { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; pointer-events: none; }
.ab-ripple {
    position: absolute;
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 1.2px solid rgba(249, 115, 22, 0.45);
    animation: abRipple 4s ease-out infinite;
    opacity: 0;
}
.ab-ripple:nth-child(1) { animation-delay: 0s;    }
.ab-ripple:nth-child(2) { animation-delay: 1.3s;  }
.ab-ripple:nth-child(3) { animation-delay: 2.6s;  }
@keyframes abRipple {
    0%   { width: 60px;  height: 60px;  opacity: 0;   border-width: 1.5px; }
    20%  {                              opacity: 0.8; }
    100% { width: 280px; height: 280px; opacity: 0;   border-width: 0.5px; }
}

/* Dotted compass rose perimeter */
.ab-compass { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; pointer-events: none; }
.ab-compass svg { width: 240px; height: 240px; opacity: 0.45; animation: abCompassRotate 60s linear infinite; }
@keyframes abCompassRotate { to { transform: rotate(360deg); } }

/* Floating petals (preserved .particle elements) */
.particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.particle {
    position: absolute;
    width: 6px; height: 6px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.85), rgba(249, 115, 22, 0.1) 70%);
    border-radius: 50%;
    animation: abFloat 6.5s ease-in-out infinite;
    opacity: 0;
}
.particle:nth-child(1) { left: 12%; top: 28%; animation-delay: 0s;   }
.particle:nth-child(2) { left: 84%; top: 30%; animation-delay: 1.2s; width: 5px; height: 5px; }
.particle:nth-child(3) { left: 22%; top: 76%; animation-delay: 2.4s; width: 7px; height: 7px; }
.particle:nth-child(4) { left: 78%; top: 74%; animation-delay: 3.6s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 50%; top: 14%; animation-delay: 4.8s; width: 4px; height: 4px; }
@keyframes abFloat {
    0%, 100% { transform: translateY(0)    scale(1);    opacity: 0;   }
    20%      {                                          opacity: 1;   }
    50%      { transform: translateY(-22px) scale(1.2); opacity: 0.9; }
    80%      {                                          opacity: 0.7; }
}

/* Header chip — small frosted pill (serif italic, calm) */
.lc-header-chip {
    position: absolute;
    top: 22px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 999px;
    font-family: var(--ab-serif);
    font-size: 11px;
    font-style: italic;
    color: var(--ab-orange-d);
    z-index: 5;
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}
.lc-chip-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--ab-orange);
    animation: abChipBlink 2s ease-in-out infinite;
}
@keyframes abChipBlink { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }

/* === Letter slots === */
.type-evaluator-anim {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -42%);
    display: flex; gap: 10px;
    z-index: 5;
}
/* .eval-slot becomes a wrapper (window + caption) */
.eval-slot {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    background: transparent; border: 0; overflow: visible;
    width: auto; height: auto;
}
.eval-slot-window {
    width: 54px;
    height: 64px;
    background: rgba(255, 255, 255, 0.65);
    border: 1.5px solid rgba(249, 115, 22, 0.35);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    box-shadow:
        0 8px 22px -8px rgba(194, 65, 12, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.eval-slot-window::before {
    content: ""; position: absolute;
    inset: 4px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(254, 215, 170, 0.35), transparent 60%);
    pointer-events: none;
}
.eval-slot-glare {
    position: absolute; top: 0; left: -60%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    animation: abSlotGlare 3.4s ease-in-out infinite;
    pointer-events: none;
}
.eval-slot:nth-child(1) .eval-slot-glare { animation-delay: 0s;    }
.eval-slot:nth-child(2) .eval-slot-glare { animation-delay: 0.22s; }
.eval-slot:nth-child(3) .eval-slot-glare { animation-delay: 0.44s; }
.eval-slot:nth-child(4) .eval-slot-glare { animation-delay: 0.66s; }
@keyframes abSlotGlare {
    0%        { left: -60%; }
    60%, 100% { left: 130%; }
}

/* Letters — serif (kept, this IS the emotional center of the animation) */
.eval-letter {
    position: absolute;
    font-family: var(--ab-serif);
    font-size: 32px;
    font-weight: 600;
    color: rgba(194, 65, 12, 0.18);
    letter-spacing: 0.5px;
    transition: all 0.30s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(15px);
    z-index: 2;
    line-height: 1;
}
.eval-letter.active {
    opacity: 1;
    transform: translateY(0);
    color: var(--ab-orange-d);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.eval-letter.exiting { opacity: 0; transform: translateY(-15px); }
.eval-slot.locked .eval-slot-window {
    border-color: rgba(249, 115, 22, 0.85);
    background: rgba(255, 247, 237, 0.95);
    box-shadow:
        0 12px 26px -8px rgba(194, 65, 12, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}
.eval-slot.locked .eval-letter.active { color: #7C2D12; font-size: 34px; }

.eval-slot-cap {
    font-family: var(--ab-mono);
    font-size: 8px; font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--ab-brown-mute);
    opacity: 0.75;
}

/* Live label — serif italic (one of the 3 emotional anchors) */
.eval-label {
    position: absolute;
    bottom: 24px; left: 50%; transform: translateX(-50%);
    font-family: var(--ab-serif);
    font-size: 13px; font-style: italic;
    font-weight: 400;
    color: var(--ab-brown-soft);
    letter-spacing: 0.01em;
    z-index: 5;
    white-space: nowrap;
    animation: abLabelFade 3s ease-in-out infinite;
}
.eval-label::before, .eval-label::after {
    content: "·";
    display: inline-block;
    margin: 0 10px;
    color: var(--ab-orange);
    font-weight: 700;
    font-style: normal;
}
@keyframes abLabelFade { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }

/* Soft dot trail at bottom (uses preserved .lc-stage-meter spans) */
.lc-stage-meter {
    position: absolute;
    bottom: 9px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 5px;
    z-index: 5;
}
.lc-stage-meter span {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--ab-orange);
    opacity: 0.3;
    animation: abDotTrail 1.4s ease-in-out infinite;
}
.lc-stage-meter span:nth-child(1) { animation-delay: 0s;    }
.lc-stage-meter span:nth-child(2) { animation-delay: 0.15s; }
.lc-stage-meter span:nth-child(3) { animation-delay: 0.30s; }
.lc-stage-meter span:nth-child(4) { animation-delay: 0.45s; }
.lc-stage-meter span:nth-child(5) { animation-delay: 0.60s; }
.lc-stage-meter span:nth-child(6) { animation-delay: 0.75s; }
.lc-stage-meter span:nth-child(7) { animation-delay: 0.90s; }
.lc-stage-meter span:nth-child(8),
.lc-stage-meter span:nth-child(9),
.lc-stage-meter span:nth-child(10),
.lc-stage-meter span:nth-child(11),
.lc-stage-meter span:nth-child(12) { display: none; }
@keyframes abDotTrail {
    0%, 100% { opacity: 0.25; transform: scale(1);   }
    50%      { opacity: 1;    transform: scale(1.6); }
}

/* Hide unused decorative elements (kept in markup for parity) */
.lc-corner { display: none; }

/* === Title block === */
.lc-title-block { text-align: center; margin-bottom: 18px; }
.lc-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ab-serif);
    font-size: 11px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.10em;
    color: var(--ab-orange-d);
    margin-bottom: 8px;
}
.lc-eyebrow-bar {
    display: inline-block;
    width: 22px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--ab-orange));
}
.lc-eyebrow-bar:last-child { background: linear-gradient(90deg, var(--ab-orange), transparent); }
.loading-title {
    font-family: var(--ab-serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--ab-text);
    margin: 0 0 6px;
    text-align: center;
    letter-spacing: -0.015em;
}
.loading-subtitle {
    font-size: 13.5px;
    color: var(--ab-text-soft);
    text-align: center;
    margin: 0 auto;
    max-width: 340px;
    line-height: 1.55;
    font-weight: 400;
}

/* === Progress (sans/mono, functional) === */
.loading-progress { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.progress-bar-track {
    flex: 1; height: 6px;
    background: #FBE8D3;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(120, 53, 15, 0.10);
}
.progress-bar-fill {
    position: relative;
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #F97316 0%, #FB923C 35%, #FDA4AF 70%, #F97316 100%);
    background-size: 200% 100%;
    border-radius: 8px;
    transition: width 0.3s ease;
    overflow: hidden;
    animation: abFillSlide 3s linear infinite;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}
@keyframes abFillSlide { to { background-position: -200% 0; } }
.lc-fill-shimmer {
    position: absolute; top: 0; left: -50%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    animation: abShimmer 1.8s ease-in-out infinite;
}
@keyframes abShimmer { to { left: 150%; } }
.lc-progress-ticks { display: none; }
.progress-percent {
    font-family: var(--ab-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--ab-orange-d);
    min-width: 42px;
    text-align: right;
    letter-spacing: -0.02em;
}

/* === Step list (sans/mono, functional) === */
.loading-steps { display: flex; flex-direction: column; gap: 8px; position: relative; }
.loading-steps::before {
    content: ""; position: absolute;
    left: 28px; top: 24px; bottom: 24px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, rgba(180, 83, 9, 0.16) 0 3px, transparent 3px 6px);
    z-index: 0;
}
.step-item {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    background: #FFFCF8;
    border: 1px solid #FBE8D3;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.step-item.active {
    background: linear-gradient(135deg, #FFF7ED, #FFFBF5);
    border-color: #FDBA74;
    box-shadow: 0 6px 18px -6px rgba(249, 115, 22, 0.30);
}
.step-item.complete {
    background: linear-gradient(135deg, #F7FEE7, #FBFFEF);
    border-color: #BEF264;
}
.step-icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid #FED7AA;
    display: flex; align-items: center; justify-content: center;
    color: #B45309;
    transition: all 0.4s;
    position: relative;
    font-size: 0;
}
.step-item.active .step-icon {
    background: var(--ab-orange);
    border-color: var(--ab-orange);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.15);
}
.step-item.active .step-icon::before {
    content: ""; position: absolute; inset: -5px;
    border-radius: 50%;
    border: 1.5px solid var(--ab-orange);
    border-top-color: transparent;
    border-right-color: transparent;
    animation: abSpin 1.2s linear infinite;
}
@keyframes abSpin { to { transform: rotate(360deg); } }
.step-item.complete .step-icon { background: var(--ab-success); border-color: var(--ab-success); color: #fff; }

.step-content { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.step-title {
    font-family: var(--ab-serif);
    font-size: 15px; font-weight: 500;
    color: var(--ab-text);
    letter-spacing: -0.01em;
}
.step-status {
    font-family: var(--ab-serif);
    font-style: italic;
    font-size: 12px;
    color: var(--ab-text-mute);
    font-weight: 400;
}
.step-item.active   .step-status { color: var(--ab-orange-d); }
.step-item.complete .step-status { color: var(--ab-success-d); }

.step-num {
    flex-shrink: 0;
    font-family: var(--ab-mono);
    font-size: 10.5px; font-weight: 700;
    color: #D6D3D1;
    letter-spacing: 0.08em;
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid #F1E9DD;
    background: #FFFFFF;
    transition: all 0.4s;
}
.step-item.active   .step-num { color: var(--ab-orange-d); border-color: #FED7AA; background: #FFF7ED; }
.step-item.complete .step-num { color: var(--ab-success-d); border-color: #D9F99D; background: #F7FEE7; }

/* === Footer (serif italic, calm) === */
.lc-footer {
    margin-top: 16px; padding-top: 12px;
    border-top: 1px dashed #FBE8D3;
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--ab-serif);
    font-size: 11px;
    font-style: italic;
    color: var(--ab-brown-mute);
}
.lc-footer-left { display: inline-flex; align-items: center; gap: 7px; }
.lc-footer-left svg { color: var(--ab-brown-mute); flex-shrink: 0; }
.lc-footer-right    { font-weight: 500; color: var(--ab-brown-soft); }

/* === Responsive === */
@media (max-width: 768px) {
    /* Crush the wrapper's top margin so the card sits right under the page header */
    #loading-section { margin: 0 auto !important; padding: 0 !important; }
    /* Card: trim top padding & vertical margin to bring loader into viewport */
    .loading-card { margin: 6px 12px 14px; padding: 10px 12px 10px; border-radius: 18px; }
    .lc-status-bar { font-size: 9.5px; margin-bottom: 7px; }

    /* Stage: shorter (220 → 180) and tighter spacing */
    .loading-animation-box { height: 180px; border-radius: 14px; margin-bottom: 14px; }
    .ab-compass svg { width: 170px; height: 170px; }
    .ab-blob { width: 170px; height: 170px; filter: blur(36px); }
    .lc-header-chip { top: 12px; font-size: 9px; padding: 3px 9px; gap: 5px; }
    .eval-slot-window { width: 44px; height: 52px; border-radius: 11px; }
    .eval-letter { font-size: 24px; }
    .eval-slot.locked .eval-letter.active { font-size: 26px; }
    .type-evaluator-anim { gap: 7px; transform: translate(-50%, -44%); }
    .eval-slot { gap: 6px; }
    .eval-slot-cap { font-size: 7px; }
    .eval-label { font-size: 11.5px; bottom: 16px; }
    .eval-label::before, .eval-label::after { margin: 0 8px; }
    .lc-stage-meter { bottom: 6px; gap: 4px; }
    .lc-stage-meter span { width: 3px; height: 3px; }

    /* Title block: tightened spacing + smaller subtitle */
    .lc-title-block { margin-bottom: 12px; }
    .lc-eyebrow { font-size: 9.5px; margin-bottom: 5px; }
    .loading-title { font-size: 19px; margin-bottom: 4px; }
    .loading-subtitle { font-size: 12px; max-width: 280px; line-height: 1.5; }

    /* Progress: thinner */
    .loading-progress { gap: 10px; margin: 12px 0; }
    .progress-bar-track { height: 5px; }
    .progress-percent { font-size: 12px; min-width: 34px; }

    /* Steps: tighter padding + smaller icons → 3 cards fit in much less height */
    .loading-steps { gap: 6px; }
    .step-item { padding: 9px 11px; gap: 11px; border-radius: 12px; }
    .step-icon { width: 26px; height: 26px; }
    .step-icon svg { width: 12px; height: 12px; }
    .step-title { font-size: 13px; }
    .step-status { font-size: 10px; }
    .step-num { font-size: 9px; padding: 2px 5px; border-radius: 5px; }
    .loading-steps::before { left: 24px; top: 18px; bottom: 18px; }

    /* Footer: tighter top margin */
    .lc-footer { font-size: 10.5px; margin-top: 10px; padding-top: 8px; }
}

@media (max-width: 375px) {
    #loading-section { margin: 0 auto !important; padding: 0 !important; }
    .loading-card { padding: 8px 10px 8px; margin: 4px 8px 10px; border-radius: 16px; }
    .lc-status-bar { font-size: 9px; margin-bottom: 6px; }
    .lc-status-right { display: none; }

    .loading-animation-box { height: 160px; border-radius: 12px; margin-bottom: 12px; }
    .ab-compass svg { width: 150px; height: 150px; }
    .ab-blob { width: 150px; height: 150px; filter: blur(32px); }
    .lc-header-chip { top: 10px; font-size: 8.5px; padding: 2.5px 8px; }
    .eval-slot-window { width: 38px; height: 46px; border-radius: 9px; }
    .eval-letter { font-size: 20px; }
    .eval-slot.locked .eval-letter.active { font-size: 22px; }
    .type-evaluator-anim { gap: 5px; }
    .eval-slot { gap: 5px; }
    .eval-slot-cap { font-size: 6.5px; letter-spacing: 0.10em; }
    .eval-label { font-size: 11px; bottom: 13px; }
    .lc-stage-meter { bottom: 5px; }

    .lc-title-block { margin-bottom: 10px; }
    .loading-title { font-size: 17px; }
    .loading-subtitle { font-size: 11.5px; max-width: 250px; }

    .loading-progress { margin: 10px 0; }

    .step-item { padding: 8px 10px; gap: 10px; }
    .step-icon { width: 24px; height: 24px; }
    .step-icon svg { width: 11px; height: 11px; }
    .step-title { font-size: 12.5px; }
    .step-num { display: none; }
    .loading-steps::before { left: 22px; }

    .lc-footer { font-size: 9.5px; margin-top: 8px; padding-top: 7px; }
}

/* ========== NEW RESULTS STYLES ========== */
.results-ready-header { text-align: center; margin-bottom: 30px; }
.results-ready-header h1 { font-size: 22px; font-weight: 800; color: #1f2937; margin-bottom: 10px; }
.header-underline { width: 200px; height: 4px; background: linear-gradient(90deg, #F97316, #22c55e, #f59e0b); border-radius: 2px; margin: 0 auto; }

.congrats-section { text-align: center; padding: 30px 20px; background: #fff; border-radius: 20px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.congrats-emoji { font-size: 40px; margin-bottom: 10px; }
.congrats-title { font-size: 28px; font-weight: 700; color: #F97316; margin-bottom: 15px; }
.user-name-display { font-size: 22px; font-weight: 700; color: #1f2937; display: inline-block; padding-bottom: 5px; border-bottom: 3px solid #F97316; margin-bottom: 15px; }
.congrats-text { font-size: 14px; color: #6b7280; line-height: 1.7; }

.info-badges { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.info-badge { display: flex; align-items: center; gap: 15px; padding: 16px 18px; background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.badge-circle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.badge-circle.green { background: #dcfce7; color: #22c55e; }
.badge-circle.gold { background: #fef3c7; color: #f59e0b; }
.badge-text { display: flex; flex-direction: column; gap: 3px; }
.badge-text strong { font-size: 15px; color: #1f2937; }
.badge-text span { font-size: 13px; color: #6b7280; }
.badge-text b { color: #F97316; }

.traits-preview-section { background: #fff; border-radius: 20px; padding: 25px 20px; margin-bottom: 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.section-title { font-size: 12px; font-weight: 600; color: #6b7280; letter-spacing: 1px; margin-bottom: 20px; text-align: center; }
.trait-bars-container { display: flex; flex-direction: column; gap: 18px; }

.type-reveal-section { text-align: center; padding: 35px 20px; background: #fff; border-radius: 20px; margin-bottom: 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.type-label { font-size: 13px; color: #6b7280; }

@media (max-width: 768px) {
    .loading-card { margin: 20px 15px; padding: 25px 18px; }
    .loading-animation-box { height: 150px; }
    .eval-slot { width: 44px; height: 52px; }
    .eval-slot .eval-letter { font-size: 26px; }
    .eval-slot.locked .eval-letter.active { font-size: 28px; }
    .type-evaluator-anim { gap: 6px; }
    .eval-label { font-size: 10px; bottom: 10px; }
    .loading-title { font-size: 18px; }
    .loading-subtitle { font-size: 12px; }
    .step-item { padding: 12px 14px; }
    .step-icon { width: 36px; height: 36px; font-size: 14px; }
    .step-title { font-size: 13px; }
    .results-ready-header h1 { font-size: 18px; }
    .header-underline { width: 150px; }
    .congrats-section { padding: 25px 18px; }
    .congrats-emoji { font-size: 32px; }
    .congrats-title { font-size: 24px; }
    .user-name-display { font-size: 18px; }
    .info-badge { padding: 14px 16px; }
    .badge-circle { width: 44px; height: 44px; }
    .traits-preview-section { padding: 20px 16px; }
    .type-reveal-section { padding: 28px 18px; }
}

@media (max-width: 375px) {
    .loading-card { padding: 20px 15px; margin: 15px 10px; }
    .loading-animation-box { height: 130px; }
    .eval-slot { width: 38px; height: 46px; }
    .eval-slot .eval-letter { font-size: 22px; }
    .eval-slot.locked .eval-letter.active { font-size: 24px; }
    .type-evaluator-anim { gap: 5px; }
    .eval-label { font-size: 9px; bottom: 8px; }
    .loading-title { font-size: 16px; }
    .step-icon { width: 32px; height: 32px; }
    .results-ready-header h1 { font-size: 16px; }
    .congrats-title { font-size: 20px; }
    .user-name-display { font-size: 16px; }
}

/* ==================== REDESIGNED RESULTS SECTION ==================== */

/* Results Banner */
.results-banner {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFF7ED 100%);
    padding: 40px 20px;
    text-align: center;
    margin: -20px -20px 30px -20px;
    border-radius: 0 0 30px 30px;
}

.results-title {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.results-title-underline {
    width: 200px;
    height: 5px;
    background: linear-gradient(90deg, #F97316, #06b6d4);
    border-radius: 3px;
    margin: 0 auto;
}

/* Congratulations Card */
.congrats-card-new {
    background: #fff;
    border-radius: 24px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.1);
    margin-bottom: 20px;
}

.confetti-emoji {
    font-size: 50px;
    margin-bottom: 15px;
    animation: bounce-confetti 1s ease infinite;
}

@keyframes bounce-confetti {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.congrats-heading {
    font-size: 32px;
    font-weight: 700;
    color: #F97316;
    margin-bottom: 20px;
}

.user-name-box {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid #F97316;
    margin-bottom: 20px;
}

.user-name-box span {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.congrats-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}

/* Validation Badges */
.validation-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.v-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.v-badge-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.v-badge-icon.green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #22c55e;
}

.v-badge-icon.gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #f59e0b;
}

.v-badge-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v-badge-text strong {
    font-size: 16px;
    color: #1f2937;
}

.v-badge-text span {
    font-size: 14px;
    color: #6b7280;
}

.v-badge-text b {
    color: #F97316;
    font-weight: 700;
}

/* Big Type Reveal */
.type-reveal-big {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.type-reveal-big::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.type-reveal-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.type-letters-big {
    font-size: 72px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 15px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.type-letters-big.animate {
    opacity: 1;
    transform: scale(1);
}

.type-nickname-big {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    font-style: italic;
}

/* Traits Section */
.traits-section-new {
    background: #fff;
    border-radius: 24px;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.section-heading {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 25px;
}

.traits-bars-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Certificate Preview */
.certificate-preview-section {
    margin-bottom: 30px;
}

.certificate-preview-card {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFF7ED 50%, #FFF7ED 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #F97316;
    position: relative;
    overflow: hidden;
}

.certificate-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(249, 115, 22, 0.03) 10px,
        rgba(249, 115, 22, 0.03) 20px
    );
}

.cert-preview-inner {
    position: relative;
    text-align: center;
    padding: 25px 15px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border: 1px dashed #F97316;
}

.cert-preview-badge {
    font-size: 40px;
    margin-bottom: 10px;
}

.cert-preview-title {
    font-size: 24px;
    font-weight: 800;
    color: #F97316;
    letter-spacing: 4px;
    margin-bottom: 5px;
}

.cert-preview-subtitle {
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.cert-preview-text {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.cert-preview-name {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    padding-bottom: 8px;
    border-bottom: 2px solid #F97316;
    display: inline-block;
    margin-bottom: 15px;
}

.cert-preview-type {
    font-size: 36px;
    font-weight: 800;
    color: #F97316;
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.cert-preview-date {
    font-size: 14px;
    color: #6b7280;
}

.btn-get-certificate {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
    transition: all 0.3s ease;
}

.btn-get-certificate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.45);
}

/* Insights Carousel */
.insights-carousel-section {
    margin-bottom: 30px;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.slide-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 60px;
    font-weight: 800;
    color: rgba(249, 115, 22, 0.1);
    line-height: 1;
}

.slide-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.slide-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.slide-text {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

.slide-highlight {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #6b7280;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #F97316;
    color: #fff;
}

.carousel-btn.next {
    background: #F97316;
    color: #fff;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #F97316;
    width: 25px;
    border-radius: 5px;
}

/* Download Report Section */
.download-report-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 24px;
    padding: 40px 25px;
    text-align: center;
    margin-bottom: 30px;
}

.download-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.download-report-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.download-report-section p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-download-report {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    transition: all 0.3s ease;
}

.btn-download-report:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.45);
}

/* Details Section */
.details-section-new {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-card-new {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.detail-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.detail-icon {
    font-size: 28px;
}

.detail-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    position: relative;
    padding: 10px 0 10px 25px;
    font-size: 14px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

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

.detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F97316;
    font-weight: bold;
}

.detail-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.compatible-types {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
    font-size: 14px;
    color: #4b5563;
}

.compatible-types strong {
    color: #F97316;
}

.careers-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.careers-tags span {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFF7ED 100%);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 13px;
    color: #EA580C;
    font-weight: 500;
}

/* Retake Button */
.btn-retake-new {
    width: 100%;
    padding: 16px;
    background: transparent;
    color: #F97316;
    border: 2px solid #F97316;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.btn-retake-new:hover {
    background: #F97316;
    color: #fff;
}

/* Mobile Responsive for Results */
@media (max-width: 768px) {
    /* Intro Section Mobile - Ultra Compact */
    #mbti-app {
        background: #FFFFFF;
        padding: 10px;
    }

    #intro-section {
        padding: 10px;
        min-height: auto;
        align-items: flex-start;
        padding-top: 15px;
        background: transparent;
    }

    .intro-container {
        max-width: 100%;
        border-radius: 16px;
        background: #FFFFFF;
        box-shadow: 4px 6px 16px rgba(249, 115, 22, 0.10);
    }

    .intro-header {
        padding: 20px 16px 14px;
        background: #FFFFFF;
    }
    
    .intro-icon {
        width: 60px;
        height: 60px;
    }
    
    .intro-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .intro-title {
        font-size: 20px;
        margin: 12px 16px 4px;
    }
    
    .intro-subtitle {
        font-size: 12px;
        margin: 0 16px 12px;
    }
    
    .intro-stats {
        gap: 8px;
        padding: 0 12px;
        margin-bottom: 8px;
    }
    
    .intro-stat {
        padding: 10px;
        border-radius: 10px;
        gap: 8px;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .stat-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .intro-features {
        padding: 0 12px;
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .intro-feature {
        padding: 10px;
        gap: 10px;
        border-radius: 10px;
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .feature-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .feature-title {
        font-size: 12px;
    }
    
    .feature-desc {
        font-size: 10px;
    }
    
    .btn-begin-assessment {
        width: calc(100% - 24px);
        margin: 0 12px 12px;
        padding: 12px 16px;
        font-size: 12px;
        border-radius: 20px;
    }
    
    .btn-arrow {
        width: 24px;
        height: 24px;
    }
    
    .btn-arrow svg {
        width: 12px;
        height: 12px;
    }
    
    .results-banner {
        padding: 30px 15px;
        margin: -20px -15px 25px -15px;
    }
    
    .results-title {
        font-size: 22px;
    }
    
    .congrats-card-new {
        padding: 30px 20px;
    }
    
    .confetti-emoji {
        font-size: 40px;
    }
    
    .congrats-heading {
        font-size: 26px;
    }
    
    .user-name-box span {
        font-size: 20px;
    }
    
    .congrats-desc {
        font-size: 14px;
    }
    
    .v-badge {
        padding: 15px;
    }
    
    .v-badge-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .v-badge-text strong {
        font-size: 15px;
    }
    
    .v-badge-text span {
        font-size: 13px;
    }
    
    .type-reveal-big {
        padding: 40px 20px;
    }
    
    .type-letters-big {
        font-size: 56px;
        letter-spacing: 10px;
    }
    
    .type-nickname-big {
        font-size: 16px;
    }
    
    .traits-section-new {
        padding: 25px 20px;
    }
    
    .carousel-slide {
        padding: 30px 20px;
    }
    
    .slide-number {
        font-size: 50px;
    }
    
    .slide-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .slide-title {
        font-size: 18px;
    }
    
    .slide-text {
        font-size: 14px;
    }
    
    .cert-preview-inner {
        padding: 20px 12px;
    }
    
    .cert-preview-title {
        font-size: 20px;
    }
    
    .cert-preview-name {
        font-size: 18px;
    }
    
    .cert-preview-type {
        font-size: 28px;
        letter-spacing: 6px;
    }
    
    .download-report-section {
        padding: 30px 20px;
    }
    
    .detail-card-new {
        padding: 20px;
    }
    
    .detail-icon {
        font-size: 24px;
    }
    
    .detail-card-header h3 {
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .results-title {
        font-size: 18px;
    }
    
    .results-title-underline {
        width: 150px;
    }
    
    .congrats-heading {
        font-size: 22px;
    }
    
    .user-name-box span {
        font-size: 18px;
    }
    
    .type-letters-big {
        font-size: 48px;
        letter-spacing: 8px;
    }
    
    .slide-number {
        font-size: 40px;
    }
    
    .slide-title {
        font-size: 16px;
    }
    
    .cert-preview-type {
        font-size: 24px;
    }
}

/* ==================== DYNAMIC ANIMATIONS ==================== */

/* Base state - hidden before animation */
.results-banner,
.congrats-card-new,
.v-badge,
.type-reveal-big,
.traits-section-new,
.certificate-preview-section,
.insights-carousel-section,
.download-report-section,
.detail-card-new,
.btn-retake-new {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated state */
.results-banner.animate-in,
.congrats-card-new.animate-in,
.v-badge.animate-in,
.type-reveal-big.animate-in,
.traits-section-new.animate-in,
.certificate-preview-section.animate-in,
.insights-carousel-section.animate-in,
.download-report-section.animate-in,
.detail-card-new.animate-in,
.btn-retake-new.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Badge slide from left */
.v-badge {
    transform: translateX(-50px);
}

.v-badge.animate-in {
    transform: translateX(0);
}

/* Type letter animation */
.type-letters-big {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.type-letter {
    display: inline-block;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    animation: popInLetter 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes popInLetter {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Trait bar fill animation */
.trait-fill {
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Certificate floating effect */
.certificate-preview-card {
    animation: floatCert 3s ease-in-out infinite;
}

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

/* Carousel slide animations */
.carousel-slide {
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.4s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide .slide-icon {
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.carousel-slide .slide-number {
    animation: fadeNumber 0.6s ease forwards;
}

@keyframes fadeNumber {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 0.1; transform: translateX(0); }
}

/* Confetti enhanced animation */
.confetti-emoji {
    animation: confettiBounce 1s ease infinite, confettiRotate 2s linear infinite;
}

@keyframes confettiBounce {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.15) translateY(-10px); }
}

@keyframes confettiRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Badge icon pulse */
.v-badge-icon {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Type reveal glow effect */
.type-reveal-big.animate-in {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(249, 115, 22, 0.3); }
    50% { box-shadow: 0 15px 60px rgba(249, 115, 22, 0.5); }
}

/* Download button pulse */
.btn-get-certificate,
.btn-download-report {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Detail card hover lift */
.detail-card-new {
    transition: all 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
}

.detail-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.15);
}

/* Career tags stagger animation */
.careers-tags span {
    opacity: 0;
    animation: tagPop 0.4s ease forwards;
}

.careers-tags span:nth-child(1) { animation-delay: 0.1s; }
.careers-tags span:nth-child(2) { animation-delay: 0.2s; }
.careers-tags span:nth-child(3) { animation-delay: 0.3s; }
.careers-tags span:nth-child(4) { animation-delay: 0.4s; }
.careers-tags span:nth-child(5) { animation-delay: 0.5s; }
.careers-tags span:nth-child(6) { animation-delay: 0.6s; }

@keyframes tagPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* List items stagger */
.detail-list li {
    opacity: 0;
    animation: listSlide 0.4s ease forwards;
}

.detail-list li:nth-child(1) { animation-delay: 0.1s; }
.detail-list li:nth-child(2) { animation-delay: 0.2s; }
.detail-list li:nth-child(3) { animation-delay: 0.3s; }
.detail-list li:nth-child(4) { animation-delay: 0.4s; }
.detail-list li:nth-child(5) { animation-delay: 0.5s; }

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

/* Rarity number glow */
.v-badge-text b {
    animation: rarityGlow 1.5s ease-in-out infinite;
}

@keyframes rarityGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(249, 115, 22, 0.3); }
    50% { text-shadow: 0 0 15px rgba(249, 115, 22, 0.6); }
}

/* Carousel dots animation */
.carousel-dot {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.active {
    animation: dotActive 0.3s ease;
}

@keyframes dotActive {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Section heading underline animation */
.section-heading {
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #F97316, #06b6d4);
    border-radius: 2px;
    animation: underlineGrow 0.8s ease 0.3s forwards;
}

@keyframes underlineGrow {
    to { width: 60px; }
}

/* Certificate preview shine effect */
.cert-preview-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Download section particles */
.download-report-section {
    position: relative;
    overflow: hidden;
}

.download-report-section::before {
    content: '✨';
    position: absolute;
    font-size: 20px;
    top: 20px;
    left: 20px;
    animation: sparkle 2s ease-in-out infinite;
}

.download-report-section::after {
    content: '✨';
    position: absolute;
    font-size: 16px;
    bottom: 20px;
    right: 20px;
    animation: sparkle 2s ease-in-out infinite 0.5s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== SCROLL LOCK (NO VISUAL INDICATORS) ==================== */

.question-card.locked {
    pointer-events: none;
    filter: blur(4px);
    opacity: 0.3;
    transform: scale(0.94);
}

.question-card.locked .option-btn {
    pointer-events: none;
}

/* ==================================================================== */
/* =============== CHECKOUT / PAYWALL SECTION (scoped) ================ */
/* ==================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..900,30..100;1,9..144,300..900,30..100&family=DM+Sans:opsz,wght@9..40,300..700&display=swap');

/* Remove header/page top space when checkout is shown */
body.mbti-checkout-active #mbti-app { padding: 0 !important; margin: 0 !important; }

/* DESKTOP (≥768px): keep checkout/results INSIDE the WP content area — no
   100vw breakout — so the floating WP site header sits naturally above and
   content can never scroll under it. This matches the old plugin's behavior
   that "just worked". A small top padding gives breathing room. */
@media (min-width: 768px) {
    body.mbti-checkout-active #mbti-app { padding-top: 30px !important; }
    body.mbti-checkout-active #checkout-section,
    body.mbti-checkout-active #results-section {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }
}

/* MOBILE (<768px): keep the original full-viewport breakout — works fine. */
@media (max-width: 767px) {
    body.mbti-checkout-active #checkout-section,
    body.mbti-checkout-active #results-section {
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
}
body.mbti-checkout-active .co-top-strip { margin-top: 0 !important; }

/* Neutralise theme & page-builder container padding/margin so the page is
   truly edge-to-edge and flush under the site header. */
body.mbti-checkout-active .site-content,
body.mbti-checkout-active .entry-content,
body.mbti-checkout-active .site-main,
body.mbti-checkout-active main,
body.mbti-checkout-active #main,
body.mbti-checkout-active #primary,
body.mbti-checkout-active #content,
body.mbti-checkout-active .content-area,
body.mbti-checkout-active .page-content,
body.mbti-checkout-active .post-content,
body.mbti-checkout-active .single-content,
body.mbti-checkout-active article,
body.mbti-checkout-active article.page,
body.mbti-checkout-active .wrap,
body.mbti-checkout-active .container,
body.mbti-checkout-active .container-fluid,
body.mbti-checkout-active .row,
/* Gutenberg */
body.mbti-checkout-active .wp-site-blocks,
body.mbti-checkout-active .wp-block-post-content,
body.mbti-checkout-active .wp-block-group,
body.mbti-checkout-active .wp-block-columns,
body.mbti-checkout-active .wp-block-column,
body.mbti-checkout-active .is-layout-constrained,
body.mbti-checkout-active .is-layout-flow,
/* Elementor */
body.mbti-checkout-active .elementor,
body.mbti-checkout-active .elementor-section-wrap,
body.mbti-checkout-active .elementor-section,
body.mbti-checkout-active .elementor-container,
body.mbti-checkout-active .elementor-column,
body.mbti-checkout-active .elementor-column-wrap,
body.mbti-checkout-active .elementor-widget-wrap,
body.mbti-checkout-active .elementor-widget,
body.mbti-checkout-active .elementor-widget-shortcode,
body.mbti-checkout-active .elementor-widget-text-editor,
body.mbti-checkout-active .elementor-widget-container,
/* Divi */
body.mbti-checkout-active .et_pb_section,
body.mbti-checkout-active .et_pb_row,
body.mbti-checkout-active .et_pb_column,
body.mbti-checkout-active .et_pb_module,
body.mbti-checkout-active .et_pb_text_inner,
/* Beaver Builder */
body.mbti-checkout-active .fl-builder-content,
body.mbti-checkout-active .fl-row,
body.mbti-checkout-active .fl-row-content-wrap,
body.mbti-checkout-active .fl-col-group,
body.mbti-checkout-active .fl-col,
body.mbti-checkout-active .fl-col-content,
body.mbti-checkout-active .fl-module,
body.mbti-checkout-active .fl-module-content,
/* Astra / Generatepress / Kadence common wrappers */
body.mbti-checkout-active .ast-container,
body.mbti-checkout-active .ast-row,
body.mbti-checkout-active .ast-grid-common-col,
body.mbti-checkout-active .gb-container,
body.mbti-checkout-active .inside-article,
body.mbti-checkout-active .entry-content-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Hide common "page hero" / breadcrumb / page-title areas that themes drop
   between the site header and the_content — those create the gap visible
   above the dark LIVE strip on mobile. */
body.mbti-checkout-active .page-header,
body.mbti-checkout-active .entry-header,
body.mbti-checkout-active .post-header,
body.mbti-checkout-active .page-title-bar,
body.mbti-checkout-active .breadcrumb,
body.mbti-checkout-active .breadcrumbs,
body.mbti-checkout-active .yoast-breadcrumbs,
body.mbti-checkout-active .ast-archive-description,
body.mbti-checkout-active .elementor-page-title,
body.mbti-checkout-active .et_post_meta_wrapper {
    display: none !important;
}

body.mbti-checkout-active { overflow-x: hidden !important; }
body.mbti-checkout-active #mbti-app { background: transparent !important; }

/* Catch-all class added by the per-template ancestor walker — works for any
   theme/builder regardless of class names. */
body.mbti-checkout-active .mbti-checkout-flush {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#checkout-section {
    --co-ink:#0B1020;
    --co-ink-2:#141A2E;
    --co-cream:#FBF7F0;
    --co-cream-2:#F3ECDD;
    --co-gold:#C8973D;
    --co-gold-deep:#A6792A;
    --co-coral:#E85D3C;
    --co-green:#1F7A4D;
    --co-line:rgba(11,16,32,.12);
    --co-muted:#5A6074;
    --co-shadow-lg:0 30px 80px -30px rgba(11,16,32,.35);
    --co-shadow-md:0 12px 40px -18px rgba(11,16,32,.25);

    background:var(--co-cream);
    color:var(--co-ink);
    font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    -webkit-font-smoothing:antialiased;
    line-height:1.55;
    position:relative;
    overflow-x:hidden;
    /* Reset from parent .pa-card-like padding so it feels like a full page */
    margin:-20px -20px 0;
    padding-bottom:120px; /* room for sticky bar */
}
#checkout-section *{box-sizing:border-box;margin:0;padding:0}
#checkout-section a{color:inherit;text-decoration:none}
#checkout-section img{max-width:100%;display:block}
#checkout-section button{font-family:inherit;cursor:pointer}

/* ---------- TOP URGENCY STRIP ---------- */
#checkout-section .co-top-strip{background:var(--co-ink);color:var(--co-cream);font-size:13px;padding:10px 20px;display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;letter-spacing:.02em;text-align:center}
#checkout-section .co-top-strip b{color:#F4C26B;font-weight:600}
#checkout-section .co-top-strip .co-strip-sep{opacity:.4}
#checkout-section .co-dot{width:7px;height:7px;border-radius:50%;background:#2ecc71;box-shadow:0 0 0 0 rgba(46,204,113,.6);animation:co-pulse 1.8s infinite;display:inline-block;margin-right:8px;vertical-align:middle}
@keyframes co-pulse{0%{box-shadow:0 0 0 0 rgba(46,204,113,.7)}70%{box-shadow:0 0 0 10px rgba(46,204,113,0)}100%{box-shadow:0 0 0 0 rgba(46,204,113,0)}}

/* ---------- NAV ---------- */
#checkout-section .co-nav{max-width:1240px;margin:0 auto;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
#checkout-section .co-logo{font-family:'Fraunces',serif;font-weight:600;font-size:22px;letter-spacing:-.02em;display:flex;align-items:center;gap:10px;color:var(--co-ink)}
#checkout-section .co-logo-mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,var(--co-ink) 0%,#2b3461 100%);display:grid;place-items:center;color:var(--co-gold);font-weight:700;font-size:15px;font-family:'DM Sans',sans-serif}
#checkout-section .co-trust-mini{display:flex;gap:18px;font-size:13px;color:var(--co-muted);align-items:center}
#checkout-section .co-trust-mini span{display:flex;align-items:center;gap:6px}
#checkout-section .co-trust-mini svg{width:14px;height:14px}

/* ---------- HERO ---------- */
#checkout-section .co-hero{max-width:1240px;margin:10px auto 0;padding:40px 28px 30px;display:grid;grid-template-columns:1.15fr 1fr;gap:60px;align-items:start;position:relative}
#checkout-section .co-hero::before{content:"";position:absolute;top:-80px;right:-120px;width:500px;height:500px;background:radial-gradient(closest-side,rgba(200,151,61,.18),transparent);z-index:0;pointer-events:none}
#checkout-section .co-hero-left{position:relative;z-index:1}
#checkout-section .co-report-card{position:relative;z-index:1}

#checkout-section .co-eyebrow{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border:1px solid var(--co-line);border-radius:100px;font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--co-muted);background:rgba(255,255,255,.6)}
#checkout-section .co-tick{width:16px;height:16px;border-radius:50%;background:var(--co-green);color:#fff;display:grid;place-items:center;font-size:10px}

#checkout-section .co-title{font-family:'Fraunces',serif;font-weight:400;font-size:clamp(34px,5vw,62px);line-height:1.04;letter-spacing:-.025em;margin:22px 0 18px;color:var(--co-ink)}
#checkout-section .co-title em{font-style:italic;color:var(--co-gold-deep);font-weight:500}
#checkout-section .co-title .co-name{display:block;font-size:.52em;letter-spacing:.02em;color:var(--co-muted);font-weight:400;margin-bottom:6px;font-style:normal}

#checkout-section .co-subhead{color:var(--co-muted);font-size:17px;max-width:520px;margin-bottom:30px}

#checkout-section .co-stat-row{display:flex;gap:0;border-top:1px solid var(--co-line);border-bottom:1px solid var(--co-line);padding:22px 0;margin-bottom:28px}
#checkout-section .co-stat-row>div{flex:1;padding-right:20px}
#checkout-section .co-stat-row>div+div{border-left:1px solid var(--co-line);padding-left:20px}
#checkout-section .co-num{font-family:'Fraunces',serif;font-size:34px;font-weight:500;letter-spacing:-.02em;line-height:1;color:var(--co-ink)}
#checkout-section .co-num .co-pct{color:var(--co-gold-deep)}
#checkout-section .co-lbl{font-size:12px;color:var(--co-muted);text-transform:uppercase;letter-spacing:.1em;margin-top:6px}

#checkout-section .co-kicker{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--co-gold-deep);font-weight:600;display:flex;align-items:center;gap:10px;justify-content:center;margin-bottom:14px}
#checkout-section .co-kicker::before,#checkout-section .co-kicker::after{content:"";width:30px;height:1px;background:var(--co-gold)}
#checkout-section .co-kicker-left{justify-content:flex-start;margin-bottom:0}
#checkout-section .co-kicker-left::before,#checkout-section .co-kicker-left::after{display:none}
#checkout-section .co-kicker-tick{background:var(--co-green);color:#fff;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:10px}
#checkout-section .co-kicker-gold{color:#F4C26B}
#checkout-section .co-kicker-gold::before,#checkout-section .co-kicker-gold::after{background:#F4C26B}

/* ---------- REPORT CARD (right column) ---------- */
#checkout-section .co-report-card{background:var(--co-ink);color:var(--co-cream);border-radius:18px;padding:32px 28px;overflow:hidden;box-shadow:var(--co-shadow-lg)}
#checkout-section .co-report-card::before{content:"";position:absolute;inset:0;background:
    radial-gradient(circle at 80% 0%,rgba(200,151,61,.25),transparent 50%),
    radial-gradient(circle at 0% 100%,rgba(232,93,60,.15),transparent 50%);pointer-events:none;border-radius:18px}
#checkout-section .co-report-card > *{position:relative}
#checkout-section .co-certified{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#F4C26B;display:flex;align-items:center;gap:8px;margin-bottom:18px}
#checkout-section .co-certified::before{content:"";width:24px;height:1px;background:#F4C26B}
#checkout-section .co-type-big{font-family:'Fraunces',serif;font-size:clamp(68px,9vw,96px);font-weight:500;letter-spacing:.02em;line-height:1;text-align:center;padding:14px 0;background:linear-gradient(180deg,#fff 0%,#F4C26B 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#F4C26B}
#checkout-section .co-type-caption{text-align:center;font-family:'Fraunces',serif;font-style:italic;font-size:18px;color:rgba(255,255,255,.8);margin-bottom:22px}
#checkout-section .co-type-caption::after{content:"";display:block;width:40px;height:1px;background:var(--co-gold);margin:14px auto 0}
#checkout-section .co-traits{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}
#checkout-section .co-trait-row{}
#checkout-section .co-trait-head{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px;color:#fff}
#checkout-section .co-trait-head b{font-weight:600}
#checkout-section .co-trait-head span{color:rgba(255,255,255,.55)}
#checkout-section .co-bar{height:6px;background:rgba(255,255,255,.12);border-radius:100px;overflow:hidden;position:relative}
#checkout-section .co-bar i{display:block;height:100%;background:linear-gradient(90deg,#F4C26B,#C8973D);border-radius:100px;transform-origin:left;animation:co-grow 1.4s cubic-bezier(.2,.8,.2,1) both;font-style:normal}
@keyframes co-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
#checkout-section .co-trait-row:nth-child(1) .co-bar i{animation-delay:.1s}
#checkout-section .co-trait-row:nth-child(2) .co-bar i{animation-delay:.25s}
#checkout-section .co-trait-row:nth-child(3) .co-bar i{animation-delay:.4s}
#checkout-section .co-trait-row:nth-child(4) .co-bar i{animation-delay:.55s}

#checkout-section .co-lock-overlay{margin-top:6px;padding:16px;border:1px dashed rgba(244,194,107,.35);border-radius:10px;display:flex;align-items:center;gap:14px;background:rgba(244,194,107,.05)}
#checkout-section .co-lock-overlay svg{flex-shrink:0;color:#F4C26B}
#checkout-section .co-lock-overlay p{font-size:13px;color:rgba(255,255,255,.75);margin:0;line-height:1.45}
#checkout-section .co-lock-overlay p b{color:#fff;display:block;margin-bottom:2px;font-size:14px}

/* ---------- PRIMARY CTA ---------- */
#checkout-section .co-cta-wrap{margin-top:18px}
#checkout-section .co-cta{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:20px 24px;background:linear-gradient(180deg,#D8A94B,#B08528);color:var(--co-ink);border:none;border-radius:12px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:16px;letter-spacing:.02em;cursor:pointer;box-shadow:0 10px 30px -10px rgba(200,151,61,.6),inset 0 1px 0 rgba(255,255,255,.4);transition:transform .15s ease,box-shadow .15s ease;text-transform:uppercase;-webkit-appearance:none;appearance:none}
#checkout-section .co-cta:hover{transform:translateY(-2px);box-shadow:0 16px 40px -10px rgba(200,151,61,.7),inset 0 1px 0 rgba(255,255,255,.5)}
#checkout-section .co-cta:active{transform:translateY(0)}
#checkout-section .co-cta svg{width:18px;height:18px}

/* ---------- COUNTDOWN ---------- */
#checkout-section .co-countdown-block{margin-top:18px;padding:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:12px;text-align:center}
#checkout-section .co-count-lbl{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#F4C26B;margin-bottom:10px;display:block}
#checkout-section .co-timer{display:flex;justify-content:center;gap:10px}
#checkout-section .co-timer-cell{background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:10px 14px;min-width:58px}
#checkout-section .co-timer-cell .co-n{font-family:'Fraunces',serif;font-size:26px;font-weight:500;line-height:1;display:block;color:#fff}
#checkout-section .co-timer-cell .co-u{font-size:9px;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.1em;margin-top:4px;display:block}
#checkout-section .co-timer-sep{font-family:'Fraunces',serif;font-size:26px;color:rgba(255,255,255,.3);align-self:center}

/* ---------- SECTION BASE ---------- */
#checkout-section .co-section{max-width:1240px;margin:0 auto;padding:60px 28px}
#checkout-section .co-h2{font-family:'Fraunces',serif;font-weight:400;font-size:clamp(28px,4vw,46px);letter-spacing:-.02em;line-height:1.08;text-align:center;max-width:780px;margin:0 auto 16px;color:var(--co-ink)}
#checkout-section .co-h2 em{font-style:italic;color:var(--co-gold-deep)}
#checkout-section .co-h2-light{color:var(--co-cream)}
#checkout-section .co-h2-light em{color:#F4C26B}
#checkout-section .co-section-sub{text-align:center;color:var(--co-muted);max-width:620px;margin:0 auto 48px;font-size:16px}

/* ---------- LOGOS BAR ---------- */
#checkout-section .co-logos{background:#fff;border-top:1px solid var(--co-line);border-bottom:1px solid var(--co-line);padding:26px 28px;margin-top:30px}
#checkout-section .co-logos-inner{max-width:1240px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
#checkout-section .co-logos-label{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--co-muted);font-weight:600}
#checkout-section .co-logos-list{display:flex;gap:30px;align-items:center;flex-wrap:wrap;opacity:.75}
#checkout-section .co-logos-list span{font-family:'Fraunces',serif;font-size:22px;font-weight:500;letter-spacing:-.01em;color:var(--co-ink)}
#checkout-section .co-serif-italic{font-style:italic}

/* ---------- VALUE STACK ---------- */
#checkout-section .co-stack{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:48px}
#checkout-section .co-stack-card{background:#fff;border:1px solid var(--co-line);border-radius:16px;padding:28px;position:relative;transition:transform .25s ease,box-shadow .25s ease}
#checkout-section .co-stack-card:hover{transform:translateY(-4px);box-shadow:var(--co-shadow-md)}
#checkout-section .co-stack-num{position:absolute;top:24px;right:28px;font-family:'Fraunces',serif;font-size:56px;font-weight:400;color:var(--co-cream-2);line-height:.8}
#checkout-section .co-stack-card h3{font-family:'Fraunces',serif;font-size:22px;font-weight:500;margin-bottom:10px;letter-spacing:-.01em;max-width:80%;color:var(--co-ink)}
#checkout-section .co-stack-card p{color:var(--co-muted);font-size:14px;line-height:1.6;max-width:88%}
#checkout-section .co-tag{display:inline-block;margin-top:14px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--co-gold-deep);background:var(--co-cream-2);padding:4px 10px;border-radius:100px}

/* ---------- PRICING ---------- */
#checkout-section .co-pricing-wrap{background:#fff;border-radius:22px;padding:0;margin-top:20px;box-shadow:var(--co-shadow-lg);overflow:hidden;border:1px solid var(--co-line)}
#checkout-section .co-pricing-head{background:var(--co-ink);color:var(--co-cream);padding:22px 32px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
#checkout-section .co-pricing-head h3{font-family:'Fraunces',serif;font-size:22px;font-weight:500;color:#fff}
#checkout-section .co-badge-hot{background:var(--co-coral);color:#fff;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:6px 12px;border-radius:100px;display:inline-flex;align-items:center;gap:6px}
#checkout-section .co-badge-hot::before{content:"";width:6px;height:6px;background:#fff;border-radius:50%;animation:co-pulse 1.8s infinite}

#checkout-section .co-pricing-body{display:grid;grid-template-columns:1.1fr 1fr;gap:0}
#checkout-section .co-pricing-left{padding:36px;border-right:1px solid var(--co-line)}
#checkout-section .co-pricing-left h4{font-family:'Fraunces',serif;font-size:24px;font-weight:500;margin-bottom:20px;color:var(--co-ink)}
#checkout-section .co-includes{list-style:none;display:flex;flex-direction:column;gap:12px}
#checkout-section .co-includes li{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--co-ink);flex-wrap:wrap}
#checkout-section .co-includes li svg{flex-shrink:0;margin-top:3px;color:var(--co-green)}
#checkout-section .co-worth{margin-left:auto;font-size:13px;color:var(--co-muted);font-weight:500;white-space:nowrap}
#checkout-section .co-total-worth{margin-top:20px;padding-top:16px;border-top:1px dashed var(--co-line);display:flex;justify-content:space-between;font-size:14px;color:var(--co-ink)}
#checkout-section .co-total-worth b{font-family:'Fraunces',serif;font-size:20px;font-weight:500}

#checkout-section .co-pricing-right{padding:36px;background:var(--co-cream);display:flex;flex-direction:column;justify-content:center}
#checkout-section .co-price-label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--co-muted);margin-bottom:8px}
#checkout-section .co-price-old{font-family:'Fraunces',serif;font-size:22px;color:var(--co-muted);text-decoration:line-through;font-weight:400}
#checkout-section .co-price-big{font-family:'Fraunces',serif;font-size:clamp(54px,8vw,68px);font-weight:500;letter-spacing:-.03em;line-height:1;margin:4px 0 6px;display:flex;align-items:flex-start;gap:4px;color:var(--co-ink)}
#checkout-section .co-price-big sup{font-size:.4em;margin-top:12px;color:var(--co-gold-deep)}
#checkout-section .co-save-pill{display:inline-block;background:#E8F5EE;color:var(--co-green);font-size:12px;font-weight:700;padding:6px 12px;border-radius:100px;letter-spacing:.04em;align-self:flex-start}
#checkout-section .co-price-cta{margin-top:22px;display:block;width:100%;padding:22px;background:linear-gradient(180deg,#D8A94B,#B08528);color:var(--co-ink);border:none;border-radius:12px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:17px;letter-spacing:.02em;cursor:pointer;box-shadow:0 12px 32px -12px rgba(200,151,61,.6),inset 0 1px 0 rgba(255,255,255,.4);text-transform:uppercase;-webkit-appearance:none;appearance:none;transition:transform .15s ease}
#checkout-section .co-price-cta:hover{transform:translateY(-2px)}
#checkout-section .co-pay-icons{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;flex-wrap:wrap}
#checkout-section .co-pay-pill{background:#fff;border:1px solid var(--co-line);padding:6px 10px;border-radius:6px;font-size:11px;font-weight:600;color:var(--co-ink)}
#checkout-section .co-secure-line{text-align:center;font-size:11px;color:var(--co-muted);margin-top:14px;letter-spacing:.04em}

/* ---------- GUARANTEE ---------- */
#checkout-section .co-guarantee{margin-top:30px;background:linear-gradient(105deg,#FFF8EA 0%,#FBF7F0 100%);border:1px solid rgba(200,151,61,.3);border-radius:18px;padding:32px;display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:center}
#checkout-section .co-guarantee-seal{width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,#fff 0%,#F3ECDD 100%);border:2px dashed var(--co-gold);display:grid;place-items:center;text-align:center;font-family:'Fraunces',serif;flex-shrink:0}
#checkout-section .co-seal-big{display:block;font-size:34px;font-weight:500;color:var(--co-gold-deep);line-height:.9}
#checkout-section .co-seal-small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--co-ink);margin-top:4px;display:block}
#checkout-section .co-guarantee h4{font-family:'Fraunces',serif;font-size:24px;font-weight:500;margin-bottom:6px;color:var(--co-ink)}
#checkout-section .co-guarantee p{color:var(--co-muted);font-size:14px;line-height:1.6}

/* ---------- TESTIMONIALS ---------- */
#checkout-section .co-tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
#checkout-section .co-tcard{background:#fff;border:1px solid var(--co-line);border-radius:16px;padding:28px;position:relative}
#checkout-section .co-stars{color:var(--co-gold);font-size:14px;letter-spacing:2px;margin-bottom:12px}
#checkout-section .co-stars-big{font-size:18px;letter-spacing:3px}
#checkout-section .co-tcard q{display:block;font-family:'Fraunces',serif;font-size:18px;font-weight:400;line-height:1.4;letter-spacing:-.01em;quotes:"\201C""\201D";margin-bottom:18px;color:var(--co-ink)}
#checkout-section .co-who{display:flex;align-items:center;gap:12px;padding-top:14px;border-top:1px solid var(--co-line)}
#checkout-section .co-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--co-ink),#2b3461);color:var(--co-gold);display:grid;place-items:center;font-weight:600;font-size:14px;flex-shrink:0}
#checkout-section .co-who b{font-size:14px;font-weight:600;display:block;color:var(--co-ink)}
#checkout-section .co-who small{font-size:12px;color:var(--co-muted)}
#checkout-section .co-verified{position:absolute;top:20px;right:20px;font-size:10px;color:var(--co-green);font-weight:600;display:flex;align-items:center;gap:4px}
#checkout-section .co-verified::before{content:"✓";width:14px;height:14px;background:var(--co-green);color:#fff;border-radius:50%;display:grid;place-items:center;font-size:9px}
#checkout-section .co-rating-pill-wrap{text-align:center;margin-top:36px}
#checkout-section .co-rating-pill{display:inline-flex;align-items:center;gap:16px;padding:14px 24px;background:#fff;border:1px solid var(--co-line);border-radius:100px;box-shadow:var(--co-shadow-md);flex-wrap:wrap;justify-content:center}
#checkout-section .co-rating-pill b{font-size:14px;color:var(--co-ink)}
#checkout-section .co-rating-pill span{font-size:13px;color:var(--co-muted)}

/* ---------- FAQ ---------- */
#checkout-section .co-faq{max-width:800px;margin:40px auto 0}
#checkout-section .co-faq details{background:#fff;border:1px solid var(--co-line);border-radius:12px;margin-bottom:12px;overflow:hidden;transition:box-shadow .2s ease}
#checkout-section .co-faq details[open]{box-shadow:var(--co-shadow-md)}
#checkout-section .co-faq summary{padding:22px 26px;font-weight:600;font-size:16px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;list-style:none;color:var(--co-ink)}
#checkout-section .co-faq summary::-webkit-details-marker{display:none}
#checkout-section .co-faq summary::after{content:"+";font-family:'Fraunces',serif;font-size:28px;font-weight:300;color:var(--co-gold-deep);transition:transform .2s ease;flex-shrink:0;margin-left:16px}
#checkout-section .co-faq details[open] summary::after{transform:rotate(45deg)}
#checkout-section .co-faq details p{padding:0 26px 24px;color:var(--co-muted);font-size:15px;line-height:1.6}

/* ---------- FINAL CTA ---------- */
#checkout-section .co-final{background:var(--co-ink);color:var(--co-cream);margin:60px 0 0;padding:70px 28px;text-align:center;position:relative;overflow:hidden}
#checkout-section .co-final::before{content:"";position:absolute;inset:0;background:
    radial-gradient(circle at 20% 30%,rgba(200,151,61,.18),transparent 45%),
    radial-gradient(circle at 85% 70%,rgba(232,93,60,.12),transparent 45%);pointer-events:none}
#checkout-section .co-final-inner{position:relative;max-width:720px;margin:0 auto}
#checkout-section .co-final p{color:rgba(255,255,255,.65);margin-bottom:32px;font-size:17px}
#checkout-section .co-final .co-cta{max-width:420px;margin:0 auto}
#checkout-section .co-micro{font-size:12px;color:rgba(255,255,255,.4);margin-top:18px;letter-spacing:.04em}

/* ---------- FOOTER ---------- */
#checkout-section .co-footer{background:var(--co-ink);color:rgba(255,255,255,.5);padding:36px 28px;text-align:center;font-size:12px;border-top:1px solid rgba(255,255,255,.08)}
#checkout-section .co-logo-footer{justify-content:center;color:var(--co-cream);margin-bottom:14px;display:inline-flex}
#checkout-section .co-logo-img{height:40px;width:auto;display:block}

/* ---------- STICKY BOTTOM BAR ---------- */
#checkout-section .co-sticky-bar{position:fixed;bottom:0;left:0;right:0;background:var(--co-ink);color:var(--co-cream);padding:12px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:9999;border-top:1px solid rgba(244,194,107,.3);box-shadow:0 -10px 40px -10px rgba(0,0,0,.3);transform:translateY(100%);animation:co-slideUp .5s ease 1.2s forwards}
@keyframes co-slideUp{to{transform:translateY(0)}}
#checkout-section .co-sticky-left{display:flex;align-items:center;gap:16px;flex:1;min-width:0}
#checkout-section .co-sticky-info{min-width:0}
#checkout-section .co-sticky-info b{display:block;font-size:13px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#checkout-section .co-sticky-info small{font-size:11px;color:rgba(255,255,255,.55)}
#checkout-section .co-sticky-timer{display:inline;font-family:'Fraunces',serif;font-size:14px;color:#F4C26B;font-weight:500}
#checkout-section .co-sticky-btn{background:linear-gradient(180deg,#D8A94B,#B08528);color:var(--co-ink);border:none;padding:14px 22px;border-radius:10px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;box-shadow:0 8px 24px -8px rgba(200,151,61,.6);white-space:nowrap;flex-shrink:0;-webkit-appearance:none;appearance:none}

/* ---------- LIVE POPUP ---------- */
#checkout-section .co-live-pop{position:fixed;bottom:90px;left:24px;background:#fff;border:1px solid var(--co-line);border-radius:12px;padding:14px 16px;display:flex;gap:12px;align-items:center;box-shadow:var(--co-shadow-lg);z-index:9998;max-width:310px;transform:translateX(-120%);transition:transform .5s cubic-bezier(.2,.8,.2,1)}
#checkout-section .co-live-pop.co-show{transform:translateX(0)}
#checkout-section .co-pop-av{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--co-gold),#E8B35C);color:#fff;display:grid;place-items:center;font-weight:700;flex-shrink:0;font-size:14px}
#checkout-section .co-live-pop p{font-size:13px;line-height:1.35;color:var(--co-ink);margin:0}
#checkout-section .co-live-pop p b{font-weight:600}
#checkout-section .co-live-pop small{font-size:11px;color:var(--co-muted);margin-top:3px;display:block}

/* ==================================================================== */
/* RESPONSIVE — super mobile friendly                                  */
/* ==================================================================== */
@media (max-width:980px){
    #checkout-section .co-hero{grid-template-columns:1fr;gap:36px;padding:30px 20px 20px}
    #checkout-section .co-stack{grid-template-columns:1fr}
    #checkout-section .co-pricing-body{grid-template-columns:1fr}
    #checkout-section .co-pricing-left{border-right:none;border-bottom:1px solid var(--co-line)}
    #checkout-section .co-tgrid{grid-template-columns:1fr}
    #checkout-section .co-guarantee{grid-template-columns:1fr;text-align:center;padding:26px}
    #checkout-section .co-guarantee-seal{margin:0 auto}
    #checkout-section .co-live-pop{display:none}
    #checkout-section .co-logos-inner{justify-content:center;text-align:center}
    #checkout-section .co-trust-mini{display:none}
    #checkout-section .co-nav{padding:18px 20px}
}
@media (max-width:640px){
    #checkout-section{margin:-10px -10px 0;padding-bottom:110px}
    #checkout-section .co-top-strip{font-size:11px;padding:9px 14px;gap:8px}
    #checkout-section .co-top-strip .co-strip-sep{display:none}
    #checkout-section .co-nav{padding:16px 18px}
    #checkout-section .co-logo{font-size:18px}
    #checkout-section .co-logo-mark{width:26px;height:26px;font-size:12px}

    #checkout-section .co-hero{padding:20px 16px 10px;gap:28px;margin-top:0}
    #checkout-section .co-eyebrow{font-size:10px;padding:6px 12px;letter-spacing:.12em}
    #checkout-section .co-title{font-size:30px;margin:16px 0 14px;line-height:1.08}
    #checkout-section .co-title .co-name{font-size:.5em;margin-bottom:4px}
    #checkout-section .co-subhead{font-size:15px;margin-bottom:22px}

    #checkout-section .co-stat-row{padding:16px 0;margin-bottom:22px;gap:10px}
    #checkout-section .co-stat-row>div{padding-right:10px}
    #checkout-section .co-stat-row>div+div{padding-left:10px}
    #checkout-section .co-num{font-size:26px}
    #checkout-section .co-lbl{font-size:10px;letter-spacing:.08em}

    #checkout-section .co-report-card{padding:26px 20px;border-radius:14px}
    #checkout-section .co-type-big{font-size:64px;padding:8px 0}
    #checkout-section .co-type-caption{font-size:15px;margin-bottom:18px}
    #checkout-section .co-trait-head{font-size:12px}
    #checkout-section .co-lock-overlay{padding:14px;gap:10px}
    #checkout-section .co-lock-overlay p{font-size:12px}
    #checkout-section .co-lock-overlay p b{font-size:13px}
    #checkout-section .co-countdown-block{padding:14px;margin-top:16px}
    #checkout-section .co-count-lbl{font-size:10px;margin-bottom:8px}
    #checkout-section .co-timer{gap:6px}
    #checkout-section .co-timer-cell{padding:8px 10px;min-width:50px}
    #checkout-section .co-timer-cell .co-n{font-size:22px}
    #checkout-section .co-timer-cell .co-u{font-size:8px}
    #checkout-section .co-timer-sep{font-size:22px}
    #checkout-section .co-cta{padding:18px 20px;font-size:15px;border-radius:12px}

    #checkout-section .co-logos{padding:22px 18px;margin-top:20px}
    #checkout-section .co-logos-label{font-size:10px;display:block;width:100%;text-align:center;margin-bottom:12px}
    #checkout-section .co-logos-list{gap:20px;justify-content:center;opacity:.6}
    #checkout-section .co-logos-list span{font-size:17px}

    #checkout-section .co-section{padding:36px 16px}
    #checkout-section .co-h2{font-size:26px;line-height:1.15}
    #checkout-section .co-section-sub{font-size:14px;margin-bottom:32px}
    #checkout-section .co-kicker{font-size:10px;letter-spacing:.16em}
    #checkout-section .co-kicker::before,#checkout-section .co-kicker::after{width:20px}

    #checkout-section .co-stack{gap:16px;margin-bottom:20px}
    #checkout-section .co-stack-card{padding:22px 20px}
    #checkout-section .co-stack-card h3{font-size:19px;max-width:75%}
    #checkout-section .co-stack-card p{font-size:14px;max-width:100%}
    #checkout-section .co-stack-num{font-size:42px;top:20px;right:20px}

    /* Ensure pricing card visually reads as ONE connected card on mobile */
    #checkout-section .co-pricing-wrap{margin-top:14px;border-radius:18px;overflow:hidden;box-shadow:0 12px 32px -16px rgba(11,16,32,.25)}
    #checkout-section .co-pricing-head{padding:20px 22px;flex-direction:column;align-items:flex-start;gap:10px;border-radius:0}
    #checkout-section .co-pricing-head h3{font-size:18px;line-height:1.3}
    #checkout-section .co-pricing-body{margin:0}
    #checkout-section .co-badge-hot{font-size:10px;padding:5px 10px}
    #checkout-section .co-pricing-left,
    #checkout-section .co-pricing-right{padding:24px 22px;border-radius:0}
    #checkout-section .co-pricing-left h4{font-size:20px;margin-bottom:16px}

    /* Cleaner bullet layout: each item stacks text + value cleanly */
    #checkout-section .co-includes{gap:14px}
    #checkout-section .co-includes li{
        font-size:14px;
        display:block;
        position:relative;
        padding-left:30px;
        line-height:1.45;
        flex-wrap:initial;
    }
    #checkout-section .co-includes li svg{
        position:absolute;
        left:0;
        top:4px;
        margin:0;
        flex-shrink:0;
    }
    #checkout-section .co-worth{
        display:block;
        font-size:12px;
        margin-left:0;
        margin-top:3px;
        color:var(--co-muted);
        font-weight:400;
    }

    #checkout-section .co-total-worth b{font-size:18px}
    #checkout-section .co-price-big{font-size:58px}
    #checkout-section .co-price-old{font-size:18px}
    #checkout-section .co-price-cta{padding:18px;font-size:15px}
    #checkout-section .co-pay-icons{gap:6px}
    #checkout-section .co-pay-pill{font-size:10px;padding:5px 8px}

    #checkout-section .co-guarantee{padding:24px 20px;margin-top:24px}
    #checkout-section .co-guarantee-seal{width:100px;height:100px}
    #checkout-section .co-seal-big{font-size:28px}
    #checkout-section .co-guarantee h4{font-size:20px}
    #checkout-section .co-guarantee p{font-size:13px}

    #checkout-section .co-tcard{padding:22px 20px}
    #checkout-section .co-tcard q{font-size:16px}
    #checkout-section .co-rating-pill{gap:10px;padding:12px 18px}
    #checkout-section .co-rating-pill b{font-size:13px}
    #checkout-section .co-rating-pill span{font-size:12px}

    #checkout-section .co-faq summary{padding:18px 20px;font-size:15px}
    #checkout-section .co-faq details p{padding:0 20px 20px;font-size:14px}

    #checkout-section .co-final{padding:54px 20px;margin-top:40px}
    #checkout-section .co-final p{font-size:15px;margin-bottom:26px}

    #checkout-section .co-footer{padding:28px 20px;font-size:11px}

    /* Sticky bar mobile-optimised */
    #checkout-section .co-sticky-bar{padding:10px 14px;gap:10px}
    #checkout-section .co-sticky-info b{font-size:12px}
    #checkout-section .co-sticky-info small{font-size:10px}
    #checkout-section .co-sticky-timer{font-size:12px}
    #checkout-section .co-sticky-btn{padding:12px 16px;font-size:11px;letter-spacing:.04em}
}
@media (max-width:400px){
    #checkout-section .co-title{font-size:26px}
    #checkout-section .co-type-big{font-size:54px}
    #checkout-section .co-h2{font-size:23px}
    #checkout-section .co-price-big{font-size:50px}
    #checkout-section .co-stat-row{flex-wrap:wrap;gap:12px;padding:14px 0}
    #checkout-section .co-stat-row>div{flex:1 1 45%;padding:0;min-width:0}
    #checkout-section .co-stat-row>div+div{border-left:none;padding-left:0}
    #checkout-section .co-num{font-size:24px}
    #checkout-section .co-timer-cell{min-width:44px;padding:7px 8px}
    #checkout-section .co-timer-cell .co-n{font-size:20px}
    #checkout-section .co-sticky-btn{padding:11px 12px;font-size:10px}
    #checkout-section .co-pay-icons{gap:5px}
    #checkout-section .co-pay-pill{font-size:9px;padding:4px 7px}
}


/* ==================================================================== */
/* ========== RESULTS DELIVERY PAGE — V3 Design                ======= */
/* ==================================================================== */

#results-section .results-page {
  --bg:#FAF5EA;
  --bg-2:#F4ECD9;
  --bg-3:#EDE2C7;
  --paper:#FFFFFF;
  --ink:#121C33;
  --ink-2:#27354F;
  --ink-3:#5A6378;
  --mute:#8F8772;
  --line:#E8DCC2;
  --line-2:#D7C7A4;
  --line-3:#C6B489;
  --terra:#D65A28;
  --terra-2:#B9441A;
  --terra-3:#8A3012;
  --terra-soft:#F6DEC8;
  --terra-tint:#FCEEDF;
  --leaf:#5B7A46;
  --leaf-soft:#DDE6CC;
  --gold:#B98536;
  --gold-soft:#F5E3C2;

  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:20px; --s6:24px;
  --s7:32px; --s8:40px; --s9:48px; --s10:64px; --s11:80px;

  --r-sm:8px; --r-md:14px; --r-lg:20px; --r-xl:28px;

  --sh-1: 0 1px 0 rgba(19,28,51,.03), 0 1px 2px rgba(19,28,51,.04);
  --sh-2: 0 1px 0 rgba(19,28,51,.04), 0 12px 32px -18px rgba(19,28,51,.18);
  --sh-3: 0 1px 0 rgba(19,28,51,.04), 0 32px 64px -28px rgba(19,28,51,.25);
  --sh-terra: 0 20px 48px -20px rgba(185,68,26,.55);

  --serif:'Fraunces',serif;
  --sans:'Inter Tight',sans-serif;
  --mono:'JetBrains Mono',monospace;
}

#results-section .results-page {
  background:
    radial-gradient(1400px 700px at 80% -8%, #FCE4C9 0%, transparent 55%),
    radial-gradient(1000px 500px at -5% 25%, #F5E8CD 0%, transparent 50%),
    var(--bg);
  min-height:100vh;
  padding:var(--s9) var(--s6) var(--s11);
  max-width:880px;
  margin:0 auto;
  font-family:var(--sans);
  font-size:15px;
  line-height:1.5;
  color:var(--ink);
}

#results-section .results-page *{box-sizing:border-box}
#results-section .results-page > * + * { margin-top: var(--s5); }

/* ============ ANIMATIONS ============ */
@keyframes rpRevealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

#results-section .reveal { opacity: 0; transform: translateY(28px); animation: rpRevealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
#results-section .reveal:nth-child(1)  { animation-delay: 0.05s; }
#results-section .reveal:nth-child(2)  { animation-delay: 0.15s; }
#results-section .reveal:nth-child(3)  { animation-delay: 0.22s; }
#results-section .reveal:nth-child(4)  { animation-delay: 0.28s; }
#results-section .reveal:nth-child(5)  { animation-delay: 0.38s; }
#results-section .reveal:nth-child(6)  { animation-delay: 0.46s; }
#results-section .reveal:nth-child(7)  { animation-delay: 0.54s; }
#results-section .reveal:nth-child(8)  { animation-delay: 0.60s; }
#results-section .reveal:nth-child(9)  { animation-delay: 0.66s; }
#results-section .reveal:nth-child(10) { animation-delay: 0.72s; }
#results-section .reveal:nth-child(11) { animation-delay: 0.78s; }
#results-section .reveal:nth-child(12) { animation-delay: 0.84s; }
#results-section .reveal:nth-child(13) { animation-delay: 0.90s; }
#results-section .reveal:nth-child(14) { animation-delay: 0.96s; }
#results-section .reveal:nth-child(n+15) { animation-delay: 1.02s; }

/* ============ LABEL ============ */
#results-section .label{
  font-family:var(--mono);font-size:10px;font-weight:500;
  letter-spacing:.24em;text-transform:uppercase;color:var(--mute);
}
#results-section .label-center{display:flex;align-items:center;justify-content:center;gap:var(--s4)}
#results-section .label-center::before,#results-section .label-center::after{
  content:"";flex:0 0 36px;height:1px;background:var(--line-2);
}

/* ============ HERO ============ */
#results-section .hero{
  position:relative;border-radius:var(--r-xl);
  padding:var(--s11) var(--s8) var(--s10);
  text-align:center;
  background:
    radial-gradient(700px 320px at 50% 110%, rgba(214,90,40,.22), transparent 55%),
    linear-gradient(180deg,#FCEFD4 0%, #F9DFB4 100%);
  border:1px solid rgba(214,90,40,.12);
  overflow:hidden;box-shadow:var(--sh-3);
}
#results-section .hero::before,#results-section .hero::after{
  content:"";position:absolute;border-radius:50%;filter:blur(70px);opacity:.45;pointer-events:none;
}
#results-section .hero::before{width:280px;height:280px;background:#F2A866;top:-90px;left:-70px}
#results-section .hero::after{width:320px;height:320px;background:#E8BC7A;bottom:-130px;right:-90px}
#results-section .hero .label{color:var(--terra-2);position:relative;z-index:1}
#results-section .hero .label::before,#results-section .hero .label::after{background:var(--terra-2);opacity:.45}
#results-section .hero h1{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(42px,6.4vw,72px);
  line-height:.98;letter-spacing:-.028em;
  color:var(--ink);margin-top:var(--s5);
  position:relative;z-index:1;
  font-variation-settings:"opsz" 144;
}
#results-section .hero h1 em{font-style:italic;font-weight:300;color:var(--terra-2)}
#results-section .hero .rule{
  width:56px;height:2px;border-radius:2px;background:var(--terra);
  margin:var(--s7) auto var(--s5);position:relative;z-index:1;
}
#results-section .hero .sub{
  max-width:460px;margin:0 auto;
  color:var(--ink-3);font-size:15px;line-height:1.65;
  position:relative;z-index:1;
}
#results-section .corner{position:absolute;width:44px;height:44px;opacity:.35;z-index:1}
#results-section .corner svg{width:100%;height:100%;stroke:var(--terra-2);fill:none;stroke-width:1}
#results-section .corner.tl{top:var(--s6);left:var(--s6)}
#results-section .corner.tr{top:var(--s6);right:var(--s6);transform:scaleX(-1)}

/* ============ CARDS ============ */
#results-section .results-page .card{
  background:var(--paper);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:var(--s8);
  box-shadow:var(--sh-2);
}

/* ============ CONGRATS ============ */
#results-section .congrats{padding:var(--s10) var(--s8);text-align:center}
#results-section .trophy{
  width:60px;height:60px;border-radius:50%;
  background:linear-gradient(180deg,#FDEFD4,#F5D29C);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto var(--s5);
  border:1px solid rgba(185,133,54,.3);
  box-shadow:inset 0 -2px 4px rgba(185,133,54,.15),0 4px 12px -4px rgba(185,133,54,.25);
}
#results-section .congrats h2{
  font-family:var(--serif);font-style:italic;font-weight:300;
  font-size:36px;color:var(--terra-2);letter-spacing:-.015em;line-height:1;
}
#results-section .congrats .name{
  font-family:var(--serif);font-size:20px;font-weight:400;
  margin-top:var(--s3);color:var(--ink);letter-spacing:-.005em;
}
#results-section .congrats .divider{width:40px;height:1px;background:var(--terra);margin:var(--s5) auto;opacity:.5}
#results-section .congrats p{color:var(--ink-3);max-width:440px;margin:0 auto;line-height:1.65;font-size:14.5px}

/* ============ CONFETTI ============ */
#results-section .confetti {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; z-index: 0;
}
#results-section .confetti span {
  position: absolute; width: 8px; height: 8px; top: -20px;
  animation: confettiFall 2.2s ease-in forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(500px) rotate(720deg); opacity: 0; }
}

/* ============ BADGES ============ */
#results-section .badges{display:grid;grid-template-columns:1fr 1fr;gap:var(--s4)}
#results-section .badge{
  display:flex;align-items:center;gap:var(--s4);
  background:var(--paper);border:1px solid var(--line);
  border-radius:var(--r-md);padding:var(--s5) var(--s6);
  box-shadow:var(--sh-1);
}
#results-section .badge .ic{
  width:38px;height:38px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
#results-section .badge .ic.green{background:var(--leaf-soft);color:var(--leaf)}
#results-section .badge .ic.gold{background:var(--gold-soft);color:var(--gold)}
#results-section .badge .t{font-weight:600;font-size:14px;color:var(--ink);line-height:1.2;letter-spacing:-.005em}
#results-section .badge .d{font-size:12px;color:var(--mute);margin-top:3px;line-height:1.3}
#results-section .badge .d b{color:var(--terra-2);font-weight:600}

/* ============ TYPE CARD ============ */
#results-section .type-card{
  position:relative;overflow:hidden;border-radius:var(--r-lg);
  background:
    radial-gradient(600px 300px at 25% 0%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(400px 200px at 100% 100%, rgba(0,0,0,.15), transparent 60%),
    linear-gradient(135deg,#DD6530 0%,#B9441A 55%,#8A3012 100%);
  padding:var(--s10) var(--s8);text-align:center;color:#fff;
  border:1px solid rgba(255,255,255,.08);box-shadow:var(--sh-terra);
}
#results-section .type-card::before{
  content:"";position:absolute;inset:var(--s4);
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--r-md);pointer-events:none;
}
#results-section .type-card::after{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:3px 3px;pointer-events:none;opacity:.5;
}
#results-section .type-card .tag{
  font-family:var(--mono);font-size:10px;font-weight:500;
  letter-spacing:.3em;text-transform:uppercase;opacity:.8;position:relative;
}
#results-section .type-card .glyph{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(108px,16vw,168px);line-height:1;
  letter-spacing:.035em;margin-top:var(--s5);
  text-shadow:0 2px 40px rgba(0,0,0,.18);
  font-variation-settings:"opsz" 144;position:relative;
}
#results-section .type-card .title{
  font-family:var(--serif);font-style:italic;font-weight:300;
  font-size:22px;margin-top:var(--s2);opacity:.88;position:relative;
}
#results-section .type-card .rare{
  display:inline-flex;align-items:center;gap:var(--s3);
  margin-top:var(--s7);
  font-family:var(--mono);font-size:10px;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.22);
  padding:var(--s2) var(--s4);border-radius:999px;
  backdrop-filter:blur(6px);position:relative;
}
#results-section .type-card .rare .diamond{width:4px;height:4px;background:#fff;transform:rotate(45deg);opacity:.8}

/* ============ TRAITS (V3 IMPROVED) ============ */
#results-section .traits-card{padding:var(--s9) var(--s8)}
#results-section .traits-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  padding-bottom:var(--s7);margin-bottom:var(--s8);
  border-bottom:1px solid var(--line);
}
#results-section .traits-head .eyebrow{
  font-family:var(--mono);font-size:10px;font-weight:500;
  letter-spacing:.24em;text-transform:uppercase;color:var(--mute);
}
#results-section .traits-head h3{
  font-family:var(--serif);font-weight:300;font-size:32px;
  line-height:1;letter-spacing:-.02em;color:var(--ink);
  margin-top:var(--s3);font-variation-settings:"opsz" 144;
}
#results-section .traits-head h3 em{font-style:italic;color:var(--terra-2);font-weight:300}
#results-section .traits-head .right{
  text-align:right;font-family:var(--mono);font-size:10px;font-weight:500;
  letter-spacing:.18em;text-transform:uppercase;color:var(--mute);line-height:1.6;
}
#results-section .traits-head .right b{
  display:block;font-family:var(--serif);font-size:18px;
  letter-spacing:.08em;color:var(--terra-2);font-weight:500;margin-top:2px;
}

#results-section .trait{
  display:grid;
  grid-template-columns:56px 1fr 56px;
  gap:var(--s6);align-items:center;
  padding:var(--s6) 0;position:relative;
}
#results-section .trait + .trait{border-top:1px dashed var(--line-2)}

#results-section .letter{
  width:56px;height:56px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--serif);font-weight:400;font-size:26px;line-height:1;
  letter-spacing:-.01em;position:relative;
  font-variation-settings:"opsz" 144;transition:all .3s;
}
#results-section .letter.active{color:#fff;box-shadow:0 8px 20px -8px currentColor}
#results-section .letter.inactive{background:var(--bg-2);color:var(--mute);border:1px solid var(--line)}

#results-section .c1 .letter.active{background:linear-gradient(180deg,#4A7BC4,#2E5A9C)}
#results-section .c1 .fill{background:linear-gradient(90deg,#5F8BD6,#3E6DB5)}
#results-section .c1 .indicator{color:#3E6DB5}

#results-section .c2 .letter.active{background:linear-gradient(180deg,#DD6530,#B9441A)}
#results-section .c2 .fill{background:linear-gradient(90deg,#EE8050,#D65A28)}
#results-section .c2 .indicator{color:#D65A28}

#results-section .c3 .letter.active{background:linear-gradient(180deg,#6B8C52,#4A6638)}
#results-section .c3 .fill{background:linear-gradient(90deg,#83A768,#5B7A46)}
#results-section .c3 .indicator{color:#5B7A46}

#results-section .c4 .letter.active{background:linear-gradient(180deg,#C69442,#96671F)}
#results-section .c4 .fill{background:linear-gradient(90deg,#DDA859,#B98536)}
#results-section .c4 .indicator{color:#B98536}

#results-section .trait-center{min-width:0}
#results-section .top-row{
  display:flex;align-items:baseline;justify-content:space-between;
  margin-bottom:var(--s4);
}
#results-section .trait-name{
  font-family:var(--serif);font-weight:500;font-size:19px;
  letter-spacing:-.015em;color:var(--ink);
  font-variation-settings:"opsz" 144;
}
#results-section .trait-name .sub{
  font-family:var(--sans);font-weight:400;font-size:12px;
  color:var(--mute);margin-left:8px;letter-spacing:0;
}
#results-section .vals{
  display:flex;align-items:baseline;gap:6px;
  font-family:var(--mono);font-size:11px;font-weight:500;color:var(--mute);
}
#results-section .vals .dom{font-family:var(--serif);font-size:16px;font-weight:500;letter-spacing:-.01em;color:var(--ink)}
#results-section .vals .dom::after{content:"%";font-size:11px;opacity:.7;margin-left:1px}
#results-section .vals .vs{opacity:.5}
#results-section .vals .opp::after{content:"%";font-size:9px;opacity:.6;margin-left:1px}

#results-section .bar-wrap{position:relative;padding:6px 0}
#results-section .bar{
  height:4px;border-radius:999px;background:var(--bg-3);
  position:relative;overflow:hidden;
}
#results-section .results-page .trait .fill{
  position:absolute;top:0;bottom:0;border-radius:999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
#results-section .indicator{
  position:absolute;top:50%;transform:translate(-50%,-50%);
  width:16px;height:16px;border-radius:50%;
  background:var(--paper);border:3px solid currentColor;
  box-shadow:0 2px 6px rgba(19,28,51,.18);z-index:2;
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
#results-section .center-tick{
  position:absolute;top:-4px;bottom:-4px;left:50%;width:1px;
  background:var(--line-2);transform:translateX(-50%);
}
#results-section .poles{display:flex;justify-content:space-between;margin-top:var(--s4)}
#results-section .pole{
  font-family:var(--mono);font-size:9.5px;font-weight:500;
  letter-spacing:.18em;text-transform:uppercase;color:var(--mute);
}
#results-section .pole.active{color:var(--ink)}

#results-section .traits-foot{
  margin-top:var(--s7);padding-top:var(--s6);
  border-top:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;
  gap:var(--s4);flex-wrap:wrap;
}
#results-section .traits-foot p{
  font-family:var(--serif);font-style:italic;font-weight:300;
  font-size:13px;color:var(--ink-3);line-height:1.5;max-width:480px;
}
#results-section .traits-foot .legend{
  display:flex;gap:var(--s4);
  font-family:var(--mono);font-size:9px;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:var(--mute);
}
#results-section .traits-foot .legend span{display:flex;align-items:center;gap:6px}
#results-section .traits-foot .legend i{width:8px;height:8px;border-radius:50%}

/* ============ CERTIFICATE (NAVY PREVIEW — kept as-is) ============ */
#results-section .cert-preview-navy {
  background: linear-gradient(135deg, #0f1a35, #1a2e52);
  border-radius: 14px;
  padding: 28px 32px 28px 0;
  display: flex;
  gap: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px -14px rgba(15, 26, 53, .45);
  border: 1px solid rgba(201, 169, 97, .18);
}
#results-section .cert-navy-sidebar {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}
#results-section .cert-navy-sidebar::before {
  content: '';
  position: absolute;
  top: 18px; bottom: 18px;
  left: 50%; transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 169, 97, .3), transparent);
}
#results-section .cert-navy-sidebar-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Georgia, serif;
  font-size: 7.5px;
  letter-spacing: 0.22em;
  color: #c9a961;
  text-transform: uppercase;
  white-space: nowrap;
}
#results-section .cert-navy-sidebar-sub {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Georgia, serif;
  font-size: 6.5px;
  letter-spacing: 0.18em;
  color: rgba(201, 169, 97, .5);
  text-transform: uppercase;
  white-space: nowrap;
}
#results-section .cert-navy-body {
  flex: 1;
  padding: 0 0 0 12px;
  position: relative;
}
#results-section .cert-navy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
#results-section .cert-navy-logo { height: 28px; width: auto; }
#results-section .cert-navy-id { font-family: Georgia, serif; font-size: 8px; color: #c9a961; }
#results-section .cert-navy-rule { height: 1px; background: #dcd6c2; margin-bottom: 12px; }
#results-section .cert-navy-label { font-family: Georgia, serif; font-size: 8px; letter-spacing: 0.2em; color: #6b6a5e; margin-bottom: 4px; }
#results-section .cert-navy-name { font-family: Georgia, serif; font-size: 28px; font-weight: bold; color: #fff; line-height: 1.1; }
#results-section .cert-navy-accent { width: 40px; height: 2px; background: #c9a961; margin: 8px 0; }
#results-section .cert-navy-desc { font-family: Georgia, serif; font-style: italic; font-size: 10px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
#results-section .cert-navy-type { font-family: Georgia, serif; font-size: 52px; font-weight: bold; color: #fff; letter-spacing: 0.05em; line-height: 1; }
#results-section .cert-navy-nick { font-family: Georgia, serif; font-style: italic; font-size: 16px; color: #c9a961; margin-top: 2px; }
#results-section .cert-navy-stamp { position: absolute; right: 24px; bottom: 60px; width: 80px; height: 80px; }
#results-section .cert-navy-stamp img { width: 100%; height: 100%; object-fit: contain; }
#results-section .cert-navy-bottom-rule { height: 1px; background: rgba(220,214,194,.3); margin: 14px 0 10px; }
#results-section .cert-navy-footer { display: flex; justify-content: space-between; gap: 12px; }
#results-section .cert-navy-footer > div { display: flex; flex-direction: column; }
#results-section .cert-navy-foot-label { font-family: Georgia, serif; font-size: 7px; letter-spacing: 0.18em; color: rgba(201,169,97,.6); margin-bottom: 2px; text-transform: uppercase; }
#results-section .cert-navy-foot-val { font-family: Georgia, serif; font-size: 10px; color: #fff; }

/* ============ V3 CERTIFICATE (Cream Style) ============ */
#results-section .cert-section .label{display:block;text-align:center;margin-bottom:var(--s7)}
#results-section .cert{
  position:relative;border-radius:var(--r-md);overflow:hidden;
  background:linear-gradient(180deg,#FBF6EB,#F3E8CD);
  border:1px solid var(--line-2);
  display:flex;min-height:248px;box-shadow:var(--sh-2);
}
#results-section .cert::after{
  content:"";position:absolute;inset:10px 10px 10px 70px;
  border:1px solid rgba(138,48,18,.12);pointer-events:none;border-radius:4px;
}
#results-section .cert .sash{
  width:56px;flex-shrink:0;
  background:linear-gradient(180deg,#172846,#0B1428);
  display:flex;align-items:center;justify-content:center;position:relative;
}
#results-section .cert .sash::before{
  content:"";position:absolute;top:var(--s3);bottom:var(--s3);
  left:50%;transform:translateX(-50%);
  width:1px;background:rgba(215,185,120,.3);
}
#results-section .cert .sash span{
  writing-mode:vertical-rl;transform:rotate(180deg);
  font-family:var(--mono);font-size:8.5px;font-weight:500;
  letter-spacing:.3em;text-transform:uppercase;color:#D7B978;
}
#results-section .cert .body{flex:1;padding:var(--s7) var(--s8);position:relative;display:flex;flex-direction:column}
#results-section .cert .top{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:var(--s4);
  border-bottom:1px solid rgba(138,48,18,.12);
}
#results-section .cert .brand{font-family:var(--serif);font-size:13px;font-weight:500;color:var(--ink);letter-spacing:-.005em}
#results-section .cert .brand b{color:var(--terra-2);font-style:italic;font-weight:500}
#results-section .cert .brand span{color:var(--mute);font-weight:400;font-style:normal;margin-left:6px}
#results-section .cert .valid{
  font-family:var(--mono);font-size:9px;font-weight:500;
  letter-spacing:.2em;text-transform:uppercase;color:var(--mute);
  display:flex;align-items:center;gap:var(--s2);
}
#results-section .cert .valid::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--leaf)}
#results-section .cert .content{padding:var(--s5) 0;flex:1}
#results-section .cert .presented{
  font-family:var(--mono);font-size:9px;font-weight:500;
  letter-spacing:.24em;text-transform:uppercase;color:var(--mute);
}
#results-section .cert h4{font-family:var(--serif);font-weight:500;font-size:24px;color:var(--ink);margin-top:var(--s1);letter-spacing:-.01em}
#results-section .cert .desc{font-size:12px;color:var(--ink-3);margin-top:var(--s1);font-family:var(--serif);font-style:italic;font-weight:300}
#results-section .cert .big{
  font-family:var(--serif);font-weight:400;font-size:48px;color:var(--ink);
  margin-top:var(--s3);letter-spacing:.03em;line-height:1;
  font-variation-settings:"opsz" 144;
}
#results-section .cert .italic-sub{font-family:var(--serif);font-style:italic;font-weight:300;color:var(--terra-2);font-size:13px;margin-top:var(--s1)}
#results-section .cert .meta{
  display:grid;grid-template-columns:repeat(3,auto);
  gap:var(--s7);padding-top:var(--s5);
  border-top:1px solid rgba(138,48,18,.12);margin-top:auto;
}
#results-section .cert .meta .k{font-family:var(--mono);font-size:8.5px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--mute)}
#results-section .cert .meta .v{font-family:var(--serif);font-size:12px;font-weight:500;color:var(--ink);margin-top:3px;letter-spacing:-.005em}
#results-section .cert .seal{
  position:absolute;right:var(--s8);bottom:var(--s6);
  width:56px;height:56px;border-radius:50%;
  background:radial-gradient(circle at 34% 30%,#DD6530,#8A3012);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px -4px rgba(138,48,18,.5),inset 0 -2px 4px rgba(0,0,0,.25);
}
#results-section .cert .seal::before{content:"";position:absolute;inset:4px;border-radius:50%;border:1px dashed rgba(251,227,195,.4)}
#results-section .cert .seal span{font-family:var(--serif);font-weight:600;font-size:11px;color:#FBE3C3;letter-spacing:.06em;position:relative}

/* ============ BUTTONS ============ */
#results-section .results-page .btn{
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  gap:10px !important;
  font-family:var(--sans) !important;font-weight:600 !important;font-size:12px !important;
  letter-spacing:.12em !important;text-transform:uppercase !important;
  padding:13px 28px !important;border-radius:999px !important;
  cursor:pointer !important;border:none !important;text-decoration:none !important;
  transition:all .25s cubic-bezier(.2,.8,.2,1) !important;
  width:100% !important;line-height:1.3 !important;
  margin:0 !important;
  -webkit-appearance:none !important;appearance:none !important;
  box-sizing:border-box !important;
  min-height:0 !important;max-height:none !important;
  text-align:center !important;
}
#results-section .results-page .btn svg{width:15px !important;height:15px !important;flex-shrink:0 !important}
#results-section .results-page .btn-primary{
  background:linear-gradient(180deg,#E26834,#B9441A) !important;color:#fff !important;
  border:none !important;
  box-shadow:
    0 8px 20px -8px rgba(185,68,26,.55),
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -1px 0 rgba(0,0,0,.12) !important;
}
#results-section .results-page .btn-primary:hover{
  transform:translateY(-1px) !important;
  box-shadow:
    0 12px 28px -10px rgba(185,68,26,.65),
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -1px 0 rgba(0,0,0,.12) !important;
}
#results-section .results-page .btn-ghost{
  background:transparent !important;color:var(--terra-2) !important;
  border:1.5px solid var(--terra) !important;
  box-shadow:none !important;
}
#results-section .results-page .btn-ghost:hover{background:var(--terra) !important;color:#fff !important}
#results-section .results-page .btn-dark{
  background:linear-gradient(180deg,#1E2D48,#0E172D) !important;color:#fff !important;
  border:none !important;
  box-shadow:0 8px 20px -8px rgba(14,23,45,.45),inset 0 1px 0 rgba(255,255,255,.12) !important;
}
#results-section .results-page .btn-dark:hover{transform:translateY(-1px) !important}
#results-section .cert-preview-img{
  width:100% !important;height:auto !important;display:block !important;
  border-radius:var(--r-md) !important;
  box-shadow:0 12px 40px -10px rgba(15,26,53,.18),0 4px 12px -4px rgba(0,0,0,.06) !important;
  border:1px solid var(--line-2) !important;
}
#results-section .cert-dl{margin-top:var(--s5) !important}

/* ============ CAROUSEL CARD ============ */
#results-section .rel-card { text-align: center; padding: 40px 36px; }
#results-section .ic-eye {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(180deg, #FDEFD4, #F5D29C);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s5);
  border: 1px solid rgba(185,133,54,.3);
  box-shadow: inset 0 -2px 4px rgba(185,133,54,.15), 0 4px 12px -4px rgba(185,133,54,.25);
}
#results-section .rel-card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 24px;
  color: var(--ink); letter-spacing: -.015em;
  font-variation-settings: "opsz" 144;
}
#results-section .rel-chip {
  display: inline-block;
  background: var(--terra-tint); color: var(--terra-2);
  padding: var(--s2) var(--s5); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin-top: var(--s3); border: 1px solid rgba(214,90,40,.18);
}
#results-section .rel-desc {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 16px; line-height: 1.6; color: var(--ink-3);
  max-width: 440px; margin: var(--s5) auto 0;
}
#results-section .rel-nav {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s4); margin-top: var(--s7);
}
#results-section .rel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-2); cursor: pointer; transition: all .2s;
}
#results-section .rel-dot.active { background: var(--terra); transform: scale(1.3); }
#results-section .rel-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; color: var(--ink-3);
  transition: all .2s;
}
#results-section .rel-arrow:hover { border-color: var(--terra); color: var(--terra-2); }

/* ============ REPORT ============ */
#results-section .report{
  display:grid;grid-template-columns:240px 1fr;
  gap:var(--s8);align-items:center;padding:var(--s8);
}
#results-section .report-visual{position:relative;height:220px;display:flex;align-items:center;justify-content:center}
#results-section .book{
  width:132px;height:176px;border-radius:3px 10px 10px 3px;
  background:linear-gradient(135deg,#1E2D48,#0B1428);
  box-shadow:-10px 14px 32px -10px rgba(19,28,51,.45),inset 2px 0 4px rgba(0,0,0,.3);
  padding:var(--s5) var(--s4);color:#fff;position:relative;
}
#results-section .book::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:5px;
  background:linear-gradient(180deg,#DD6530,#8A3012);border-radius:3px 0 0 3px;
}
#results-section .book::after{
  content:"";position:absolute;right:6px;top:var(--s4);bottom:var(--s4);
  width:1px;background:rgba(255,255,255,.08);
}
#results-section .book .b-label{font-family:var(--serif);font-size:11px;line-height:1.35;font-weight:400;opacity:.9;letter-spacing:-.005em}
#results-section .book .b-type{
  position:absolute;bottom:var(--s5);left:var(--s4);
  font-family:var(--serif);font-size:34px;font-weight:400;
  letter-spacing:.03em;line-height:1;
}
#results-section .book .b-line{position:absolute;bottom:var(--s5);right:var(--s4);width:14px;height:1px;background:var(--terra)}
#results-section .pg{
  position:absolute;width:84px;height:112px;border-radius:2px;
  background:#fff;border:1px solid var(--line);
  padding:var(--s3) var(--s3);display:flex;flex-direction:column;gap:4px;
  box-shadow:0 4px 12px -4px rgba(19,28,51,.12);
}
#results-section .pg1{right:44px;top:32px;transform:rotate(5deg);z-index:2}
#results-section .pg2{right:6px;top:50px;transform:rotate(-3deg);z-index:1}
#results-section .pg i{display:block;height:3px;background:var(--bg-3);border-radius:2px}
#results-section .pg i:first-child{background:var(--terra);width:55%}
#results-section .pg i:nth-child(2){width:90%}
#results-section .pg i:nth-child(3){width:75%}
#results-section .pg i:nth-child(4){width:85%}
#results-section .pg i:nth-child(5){width:60%}
#results-section .pg i:nth-child(6){width:80%}

#results-section .report-info h3{
  font-family:var(--serif);font-weight:300;font-size:28px;
  line-height:1.15;color:var(--ink);letter-spacing:-.02em;
  font-variation-settings:"opsz" 144;
}
#results-section .report-info h3 em{font-style:italic;color:var(--terra-2);font-weight:300}
#results-section .report-info p{color:var(--ink-3);font-size:14px;line-height:1.6;margin-top:var(--s3);max-width:360px}
#results-section .report-stats{
  display:flex;gap:var(--s8);margin-top:var(--s5);padding:var(--s5) 0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
#results-section .report-stats div{font-family:var(--serif)}
#results-section .report-stats .n{font-size:26px;font-weight:400;color:var(--terra-2);line-height:1;letter-spacing:-.01em}
#results-section .report-stats .l{
  font-family:var(--mono);font-size:9px;font-weight:500;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--mute);display:block;margin-top:var(--s2);
}
#results-section .report-info .btn{margin-top:var(--s5)}

/* ============ SECTION TITLE ============ */
#results-section .section-label{
  font-family:var(--mono);font-size:10px;font-weight:500;
  letter-spacing:.24em;text-transform:uppercase;color:var(--mute);
  display:flex;align-items:center;justify-content:center;gap:var(--s4);
  margin-bottom:var(--s7);
}
#results-section .section-label::before,
#results-section .section-label::after{
  content:"";flex:0 0 36px;height:1px;background:var(--line-2);
}

#results-section .cardtitle{
  display:flex;align-items:center;gap:var(--s4);
  padding-bottom:var(--s6);margin-bottom:var(--s6);
  border-bottom:1px solid var(--line);
}
#results-section .cardtitle .ic{
  width:40px;height:40px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
#results-section .cardtitle .ic.terra{background:var(--terra-tint);color:var(--terra-2)}
#results-section .cardtitle .ic.green{background:var(--leaf-soft);color:var(--leaf)}
#results-section .cardtitle .ic.gold{background:var(--gold-soft);color:var(--gold)}
#results-section .cardtitle .ic.blush{background:#F4DED4;color:#A04B38}
#results-section .cardtitle .ic.star{background:var(--gold-soft);color:var(--gold)}
#results-section .cardtitle .ic svg{width:18px;height:18px}
#results-section .cardtitle .t{
  font-family:var(--serif);font-weight:400;font-size:22px;
  letter-spacing:-.015em;color:var(--ink);
  font-variation-settings:"opsz" 144;
}
#results-section .cardtitle .c{
  margin-left:auto;font-family:var(--mono);font-size:10px;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:var(--mute);
}

/* ============ CHIPS ============ */
#results-section .chips{display:grid;grid-template-columns:1fr 1fr;gap:var(--s3)}
#results-section .chip{
  display:flex;align-items:center;gap:var(--s3);
  background:var(--bg-2);border:1px solid var(--line);
  border-radius:var(--r-sm);padding:var(--s4) var(--s5);
  font-size:14px;font-weight:500;color:var(--ink);
  letter-spacing:-.005em;transition:all .2s;
}
#results-section .chip:hover{background:var(--bg-3);transform:translateY(-1px)}
#results-section .chip .dot{
  width:20px;height:20px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:700;
}
#results-section .chip.strength .dot{background:var(--terra);color:#fff}
#results-section .chip.growth .dot{background:var(--leaf);color:#fff}

/* list-style overrides for JS-generated <li> items */
#results-section .chips li,
#results-section #rd-strengths li,
#results-section #rd-weaknesses li {
  display:flex;align-items:center;gap:var(--s3);
  background:var(--bg-2);border:1px solid var(--line);
  border-radius:var(--r-sm);padding:var(--s4) var(--s5);
  font-size:14px;font-weight:500;color:var(--ink);
  letter-spacing:-.005em;transition:all .2s;
  list-style:none;
}
#results-section .chips li:hover,
#results-section #rd-strengths li:hover,
#results-section #rd-weaknesses li:hover {
  background:var(--bg-3);transform:translateY(-1px);
}
#results-section #rd-strengths li::before {
  content: '\2713';
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--terra); color: #fff;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
#results-section #rd-weaknesses li::before {
  content: '+';
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* ============ CAREER ============ */
#results-section .career-chips{display:flex;flex-wrap:wrap;gap:var(--s2)}
#results-section .career-chip,
#results-section .career-chips .chip{
  background:var(--paper);border:1px solid var(--line-2);
  padding:var(--s3) var(--s4);border-radius:999px;
  font-size:13px;font-weight:500;color:var(--ink);
  display:inline-flex;align-items:center;gap:var(--s2);
  transition:all .2s;letter-spacing:-.005em;
}
#results-section .career-chip:hover,
#results-section .career-chips .chip:hover{border-color:var(--terra);color:var(--terra-2)}
#results-section .career-chip::before,
#results-section .career-chips .chip::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--terra)}

/* ============ RELATIONSHIPS ============ */
#results-section .rel-quote{
  font-family:var(--serif);font-style:italic;font-weight:300;
  font-size:20px;line-height:1.55;color:var(--ink);
  padding:var(--s2) 0 var(--s5) var(--s7);
  position:relative;letter-spacing:-.01em;
  font-variation-settings:"opsz" 144;
}
#results-section .rel-quote::before{
  content:"\201C";font-family:var(--serif);font-weight:300;
  font-size:80px;color:var(--terra-soft);
  position:absolute;left:-8px;top:-16px;line-height:1;
  font-variation-settings:"opsz" 144;
}
#results-section .compat-row{
  display:flex;align-items:center;gap:var(--s3);flex-wrap:wrap;
  margin-top:var(--s5);padding-top:var(--s5);
  border-top:1px dashed var(--line-2);
}
#results-section .compat-row .lab{
  font-family:var(--mono);font-size:9.5px;font-weight:600;
  letter-spacing:.18em;text-transform:uppercase;color:var(--terra-2);
  margin-right:var(--s2);
}
#results-section .compat-types{display:flex;gap:8px;flex-wrap:wrap}
#results-section .compat-pill,
#results-section .compat-types span{
  background:var(--terra-tint);color:var(--terra-2);
  padding:var(--s2) var(--s4);border-radius:999px;
  font-family:var(--serif);font-weight:500;font-size:14px;
  border:1px solid rgba(214,90,40,.2);letter-spacing:-.005em;
}

/* ============ FAMOUS ============ */
#results-section .famous{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--s6) var(--s4)}
#results-section .person{text-align:center}
#results-section .person .av,
#results-section #rd-famous > .famous .avatar,
#results-section #rd-famous > div .av{
  width:56px;height:56px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--serif);font-weight:500;font-size:15px;
  margin:0 auto var(--s3);
  border:1px solid rgba(0,0,0,.04);
  box-shadow:var(--sh-1);letter-spacing:-.01em;
}
#results-section .person:nth-child(1) .av,
#results-section #rd-famous > :nth-child(1) .av,
#results-section #rd-famous > :nth-child(1) .avatar{background:#FDE2C2;color:#B9441A}
#results-section .person:nth-child(2) .av,
#results-section #rd-famous > :nth-child(2) .av,
#results-section #rd-famous > :nth-child(2) .avatar{background:#D4E0F0;color:#2B4F87}
#results-section .person:nth-child(3) .av,
#results-section #rd-famous > :nth-child(3) .av,
#results-section #rd-famous > :nth-child(3) .avatar{background:#DCE6CC;color:#4A6638}
#results-section .person:nth-child(4) .av,
#results-section #rd-famous > :nth-child(4) .av,
#results-section #rd-famous > :nth-child(4) .avatar{background:#E6D9EE;color:#5E3D78}
#results-section .person:nth-child(5) .av,
#results-section #rd-famous > :nth-child(5) .av,
#results-section #rd-famous > :nth-child(5) .avatar{background:#D4E0F0;color:#2B4F87}
#results-section .person:nth-child(6) .av,
#results-section #rd-famous > :nth-child(6) .av,
#results-section #rd-famous > :nth-child(6) .avatar{background:#DCE6CC;color:#4A6638}
#results-section .person:nth-child(7) .av,
#results-section #rd-famous > :nth-child(7) .av,
#results-section #rd-famous > :nth-child(7) .avatar{background:#F2CFB6;color:#8A3012}
#results-section .person:nth-child(8) .av,
#results-section #rd-famous > :nth-child(8) .av,
#results-section #rd-famous > :nth-child(8) .avatar{background:#EED6CC;color:#7E3E2C}
#results-section .person .n,
#results-section #rd-famous > div .name{font-size:12.5px;color:var(--ink);font-weight:500;line-height:1.25;letter-spacing:-.005em}
#results-section .person .r,
#results-section #rd-famous > div .role{
  font-family:var(--mono);font-size:9px;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--mute);margin-top:3px;
}

/* ============ CTA ============ */
#results-section .cta-block{
  padding:var(--s6);background:var(--paper);
  border:1px dashed var(--line-2);border-radius:var(--r-lg);
}

/* ============ FOOTER ============ */
#results-section .foot{
  text-align:center;margin-top:var(--s8);padding:var(--s6) 0;
  display:flex;align-items:center;justify-content:center;gap:var(--s4);
}
#results-section .foot span,
#results-section .foot{
  font-family:var(--mono);font-size:9.5px;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;color:var(--mute);
}
#results-section .foot .dot,
#results-section .foot .d{width:3px;height:3px;border-radius:50%;background:var(--terra);letter-spacing:0}

/* ============ FREE EBOOK SECTION ============ */
#results-section .ebook-section{
  padding:0;overflow:hidden;
  background:linear-gradient(135deg,#FFFBF5 0%,#FFF8EE 50%,#FFF3E0 100%);
  border:1px solid var(--line-2);
}
#results-section .ebook-inner{
  display:grid;grid-template-columns:240px 1fr;
  gap:var(--s8);align-items:center;padding:var(--s8);
}
#results-section .ebook-visual{
  position:relative;display:flex;align-items:center;justify-content:center;
  height:220px;
}
#results-section .ebook-glow{
  position:absolute;width:160px;height:160px;border-radius:50%;
  background:radial-gradient(circle,rgba(221,101,48,.15),transparent 70%);
  top:50%;left:50%;transform:translate(-50%,-50%);
  pointer-events:none;z-index:0;
}
#results-section .ebook-book{
  position:relative;z-index:1;
  width:132px;height:176px;border-radius:3px 10px 10px 3px;
  perspective:600px;
}
#results-section .ebook-book-spine{
  position:absolute;left:0;top:0;bottom:0;width:5px;
  background:linear-gradient(180deg,#2dd4bf,#0d9488);
  border-radius:3px 0 0 3px;z-index:2;
}
#results-section .ebook-book-cover{
  width:100%;height:100%;
  background:linear-gradient(135deg,#0F1B2D,#1A2D4A);
  border-radius:3px 10px 10px 3px;
  padding:16px 14px;color:#fff;position:relative;overflow:hidden;
  box-shadow:-10px 14px 32px -10px rgba(19,28,51,.45),inset 2px 0 4px rgba(0,0,0,.3);
}
#results-section .ebook-book-cover::after{
  content:"";position:absolute;right:6px;top:14px;bottom:14px;
  width:1px;background:rgba(255,255,255,.08);
}
#results-section .ebook-book-badge{
  position:absolute;top:10px;right:10px;
  background:linear-gradient(135deg,#2dd4bf,#0d9488);
  color:#fff;font-family:var(--sans);font-size:8px;font-weight:700;
  letter-spacing:.15em;text-transform:uppercase;
  padding:3px 8px;border-radius:4px;
}
#results-section .ebook-book-type{
  font-family:var(--serif);font-size:34px;font-weight:400;
  letter-spacing:.03em;line-height:1;margin-top:8px;
  color:#2dd4bf;
}
#results-section .ebook-book-title{
  font-family:var(--serif);font-size:11px;line-height:1.35;
  font-weight:400;opacity:.85;margin-top:auto;
  position:absolute;bottom:40px;left:14px;
}
#results-section .ebook-book-pages{
  position:absolute;bottom:16px;left:14px;
  font-family:var(--mono);font-size:8px;font-weight:500;
  letter-spacing:.15em;text-transform:uppercase;
  color:rgba(255,255,255,.5);
}
#results-section .ebook-info{position:relative}
#results-section .ebook-tag{
  display:inline-flex;align-items:center;gap:6px;
  font-family:var(--mono);font-size:10px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;
  color:#0d9488;margin-bottom:var(--s3);
}
#results-section .ebook-tag svg{stroke:#0d9488}
#results-section .ebook-info h3{
  font-family:var(--serif);font-weight:300;font-size:26px;
  line-height:1.2;color:var(--ink);letter-spacing:-.02em;
  font-variation-settings:"opsz" 144;
}
#results-section .ebook-info h3 em{font-style:italic;color:#0d9488;font-weight:300}
#results-section .ebook-info p{
  color:var(--ink-3);font-size:13px;line-height:1.6;
  margin-top:var(--s3);max-width:360px;
}
#results-section .ebook-features{
  display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;
  margin-top:var(--s4);
}
#results-section .ebook-features span{
  display:flex;align-items:center;gap:6px;
  font-size:12px;color:var(--ink-2);font-weight:500;
}
#results-section .ebook-features svg{stroke:#0d9488;flex-shrink:0}
#results-section .btn-ebook{
  display:inline-flex;align-items:center;gap:8px;
  margin-top:var(--s5);padding:13px 28px;
  background:linear-gradient(135deg,#2dd4bf,#0d9488);
  color:#fff;border:none;border-radius:999px;
  font-family:var(--sans);font-size:14px;font-weight:600;
  cursor:pointer;text-decoration:none;
  transition:all .25s ease;
  box-shadow:0 4px 16px -4px rgba(13,148,136,.4);
}
#results-section .btn-ebook:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 24px -4px rgba(13,148,136,.5);
}
#results-section .btn-ebook svg{width:18px;height:18px}

/* ============ RESPONSIVE ============ */
@media (max-width:720px){
  #results-section .results-page{padding:var(--s6) var(--s4) var(--s10)}
  #results-section .hero{padding:var(--s10) var(--s6) var(--s9)}
  #results-section .results-page .card{padding:var(--s6)}
  #results-section .congrats{padding:var(--s8) var(--s5)}
  #results-section .badges,#results-section .chips{grid-template-columns:1fr}
  #results-section .ebook-inner{grid-template-columns:1fr;gap:var(--s6);padding:var(--s7) var(--s6)}
  #results-section .ebook-visual{height:180px}
  #results-section .ebook-features{grid-template-columns:1fr}
  #results-section .report{grid-template-columns:1fr;gap:var(--s6);padding:var(--s7) var(--s6)}
  #results-section .report-visual{height:200px}
  #results-section .famous{grid-template-columns:repeat(2,1fr)}
  #results-section .cert{min-height:auto}
  #results-section .cert .body{padding:var(--s5)}
  #results-section .cert .big{font-size:36px}
  #results-section .cert .meta{gap:var(--s4);grid-template-columns:1fr}
  #results-section .cert .seal{width:44px;height:44px;right:var(--s5);bottom:var(--s5)}
  #results-section .type-card{padding:var(--s8) var(--s5)}
  #results-section .corner{display:none}
  #results-section .traits-card{padding:var(--s7) var(--s5)}
  #results-section .traits-head{flex-direction:column;align-items:flex-start;gap:var(--s3)}
  #results-section .traits-head .right{text-align:left}
  #results-section .trait{grid-template-columns:42px 1fr 42px;gap:var(--s3)}
  #results-section .letter{width:42px;height:42px;font-size:20px;border-radius:11px}
  #results-section .trait-name{font-size:17px}
  #results-section .trait-name .sub{display:block;margin-left:0;margin-top:2px}
  #results-section .rel-card{padding:var(--s7) var(--s5)}
  #results-section .cardtitle .t{font-size:18px}
}

/* ========== WordPress Theme Overrides ============== */
#results-section,
#results-section *,
#results-section *::before,
#results-section *::after {
  box-sizing: border-box !important;
}

#results-section {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.entry-content #results-section,
.post-content #results-section,
.site-content #results-section,
.page-content #results-section,
.content-area #results-section,
article #results-section,
.type-page #results-section,
.singular #results-section,
.ast-container #results-section,
.ast-single-post #results-section {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* WordPress theme button resets — prevent WP themes from bloating buttons */
#results-section button,
#results-section .results-page button,
.entry-content #results-section button,
.post-content #results-section button,
.ast-container #results-section button {
  padding: 13px 28px !important;
  line-height: 1.3 !important;
  min-height: 0 !important;
  height: auto !important;
  font-size: inherit !important;
  border-radius: 999px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none;
}
/* Re-apply specific button shadows after reset */
#results-section .results-page .btn-primary {
  box-shadow:
    0 8px 20px -8px rgba(185,68,26,.55),
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -1px 0 rgba(0,0,0,.12) !important;
}
#results-section .results-page .btn-dark {
  box-shadow: 0 8px 20px -8px rgba(14,23,45,.45),inset 0 1px 0 rgba(255,255,255,.12) !important;
}

@media (max-width: 480px) {
  #results-section .results-page {
    padding: 16px 10px 48px !important;
  }
  #results-section .hero {
    padding: 40px 16px 32px !important;
  }
  #results-section .hero h1 {
    font-size: 36px !important;
  }
  #results-section .results-page .card {
    padding: 20px 14px !important;
  }
  #results-section .type-card {
    padding: 40px 16px !important;
  }
  #results-section .type-card .glyph {
    font-size: 80px !important;
  }
  #results-section .traits-card {
    padding: 24px 14px !important;
  }
  #results-section .trait {
    grid-template-columns: 36px 1fr 36px !important;
    gap: 8px !important;
  }
  #results-section .letter {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
  }
  #results-section .trait-name {
    font-size: 15px !important;
  }
  #results-section .traits-head h3 {
    font-size: 24px !important;
  }
  #results-section .congrats h2 {
    font-size: 28px !important;
  }
  #results-section .report {
    padding: 20px 14px !important;
  }
  #results-section .report-info h3 {
    font-size: 22px !important;
  }
  /* V3 cert mobile */
  #results-section .cert {
    flex-direction: column !important;
    min-height: auto !important;
  }
  #results-section .cert .sash {
    width: 100% !important;
    height: 36px !important;
    flex-direction: row !important;
  }
  #results-section .cert .sash span {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    font-size: 7.5px !important;
  }
  #results-section .cert .body {
    padding: 16px !important;
  }
  #results-section .cert .big {
    font-size: 32px !important;
  }
  #results-section .cert .meta {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  #results-section .cert .seal {
    width: 40px !important;
    height: 40px !important;
    right: 14px !important;
    bottom: 14px !important;
  }
  #results-section .cert h4 {
    font-size: 20px !important;
  }
  /* V3 buttons mobile */
  #results-section .results-page .btn {
    padding: 12px 20px !important;
    font-size: 11px !important;
  }
  #results-section .foot {
    font-size: 8px !important;
    gap: 8px !important;
    letter-spacing: 0.18em !important;
  }
  #results-section img {
    max-width: 100% !important;
    height: auto !important;
  }
  #results-section .results-page > * {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT REPORT CARD — CHAMPAGNE LUXE (with Hourglass Blur)
   Full re-skin of .co-report-card. Keeps original markup classes
   intact (.co-certified, .co-type-big, .co-type-caption, .co-traits,
   .co-trait-row, .co-trait-head, .co-bar) so script.js continues
   to populate trait bars without modification.

   Toggled via admin (MBTI Test → Test Settings → Checkout Preview):
     data-preview-mode="show" → preview visible
     data-preview-mode="blur" → spoiler blurred + hourglass veil shown
   ═══════════════════════════════════════════════════════════════ */

/* ── Card shell ─────────────────────────────────────────────── */
#checkout-section .co-report-card {
    position: relative !important;
    background: linear-gradient(160deg, #FFFAEF 0%, #F5E9D0 60%, #E5D2A8 100%) !important;
    color: #2E2010 !important;
    border-radius: 28px !important;
    padding: 34px 30px 28px !important;
    overflow: hidden !important;
    box-shadow: 0 30px 80px -30px rgba(120,80,20,.25), inset 0 1px 0 rgba(255,255,255,.6) !important;
    animation: chmpCardIn .6s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-report-card::before {
    content: "" !important;
    position: absolute !important;
    top: -40px !important; right: -40px !important;
    width: 200px !important; height: 200px !important;
    inset: auto !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(244,194,107,.4) 0%, transparent 65%) !important;
    pointer-events: none !important;
    animation: chmpGlow 5s ease-in-out infinite;
}
#checkout-section .co-report-card::after {
    content: "";
    position: absolute;
    bottom: -50px; left: -50px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166,121,42,.18) 0%, transparent 65%);
    pointer-events: none;
    animation: chmpGlow 6s ease-in-out infinite reverse;
}
#checkout-section .co-report-card > * { position: relative; z-index: 1; }

/* ── Header (uses original .co-certified element with new inner spans) ── */
#checkout-section .co-certified {
    display: block !important;
    text-align: center !important;
    color: inherit !important;
    margin-bottom: 16px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    font-size: inherit !important;
    gap: 0 !important;
    animation: chmpFadeUp .5s .1s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-certified::before { display: none !important; }
#checkout-section .co-orn-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 13px;
    color: #6F4F18;
    margin-bottom: 6px;
}
#checkout-section .co-orn-line::before,
#checkout-section .co-orn-line::after {
    content: "";
    width: 18px;
    height: 1px;
    background: #A6792A;
}
#checkout-section .co-small-cap {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(46,32,16,.55);
}

/* ── Type letters — gold gradient italic ─────────────────────── */
#checkout-section .co-type-big {
    font-family: 'Fraunces', serif !important;
    font-weight: 400 !important;
    font-size: clamp(78px, 10vw, 104px) !important;
    letter-spacing: .02em !important;
    line-height: 1 !important;
    text-align: center !important;
    padding: 4px 0 !important;
    background: linear-gradient(180deg, #6F4F18 0%, #A6792A 50%, #D8A94B 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #A6792A !important; /* fallback */
    text-shadow: 0 1px 0 rgba(255,255,255,.5) !important;
    font-style: italic !important;
    animation: chmpTypeReveal .9s .25s cubic-bezier(.2,.8,.2,1) both;
}

/* ── Nickname caption ────────────────────────────────────────── */
#checkout-section .co-type-caption {
    text-align: center !important;
    font-family: 'Fraunces', serif !important;
    font-style: normal !important;
    font-size: 16px !important;
    color: rgba(46,32,16,.7) !important;
    margin: 4px 0 22px !important;
    font-weight: 400 !important;
    animation: chmpFadeUp .5s .45s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-type-caption::after {
    content: "" !important;
    display: block !important;
    width: 28px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, #A6792A, transparent) !important;
    margin: 14px auto 0 !important;
}

/* ── Trait bars ──────────────────────────────────────────────── */
#checkout-section .co-traits {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
    padding: 0 4px !important;
}
#checkout-section .co-trait-row {
    font-size: 12px !important;
    animation: chmpFadeUp .5s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-trait-row:nth-child(1) { animation-delay: .55s; }
#checkout-section .co-trait-row:nth-child(2) { animation-delay: .65s; }
#checkout-section .co-trait-row:nth-child(3) { animation-delay: .75s; }
#checkout-section .co-trait-row:nth-child(4) { animation-delay: .85s; }
#checkout-section .co-trait-head {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 6px !important;
    align-items: baseline !important;
    color: inherit !important;
    font-size: 12px !important;
}
#checkout-section .co-trait-head b {
    font-family: 'Fraunces', serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    color: #2E2010 !important;
}
#checkout-section .co-trait-head span {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    color: #6F4F18 !important;
    letter-spacing: .04em !important;
}
#checkout-section .co-bar {
    height: 5px !important;
    background: rgba(46,32,16,.08) !important;
    border-radius: 100px !important;
    overflow: hidden !important;
    position: relative !important;
}
#checkout-section .co-bar i {
    display: block !important;
    height: 100% !important;
    background: linear-gradient(90deg, #C8973D, #6F4F18) !important;
    border-radius: 100px !important;
    transform-origin: left !important;
    animation: chmpBarFill 1.2s cubic-bezier(.2,.8,.2,1) both !important;
}
#checkout-section .co-trait-row:nth-child(1) .co-bar i { animation-delay: .55s !important; }
#checkout-section .co-trait-row:nth-child(2) .co-bar i { animation-delay: .70s !important; }
#checkout-section .co-trait-row:nth-child(3) .co-bar i { animation-delay: .85s !important; }
#checkout-section .co-trait-row:nth-child(4) .co-bar i { animation-delay: 1.00s !important; }

/* ── Lock callout (29 more insights) ─────────────────────────── */
#checkout-section .co-lock-overlay {
    margin-top: 6px !important;
    padding: 14px 16px !important;
    background: rgba(255,255,255,.45) !important;
    border: 1px solid rgba(166,121,42,.2) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: chmpFadeUp .5s 1s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-lock-overlay svg { color: #A6792A !important; flex-shrink: 0 !important; }
#checkout-section .co-lock-overlay p {
    font-size: 12px !important;
    color: rgba(46,32,16,.75) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}
#checkout-section .co-lock-overlay p b {
    color: #2E2010 !important;
    font-family: 'Fraunces', serif !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
    margin-bottom: 2px !important;
    display: block !important;
}

/* ── Countdown timer ─────────────────────────────────────────── */
#checkout-section .co-countdown-block {
    margin-top: 14px !important;
    padding: 14px !important;
    background: rgba(255,255,255,.45) !important;
    border: 1px solid rgba(166,121,42,.2) !important;
    border-radius: 14px !important;
    text-align: center !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: chmpFadeUp .5s 1.1s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-count-lbl {
    font-size: 10px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: #6F4F18 !important;
    margin-bottom: 8px !important;
    display: block !important;
}
#checkout-section .co-timer { display: flex !important; justify-content: center !important; gap: 6px !important; }
#checkout-section .co-timer-cell {
    background: transparent !important;
    border: 0 !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    min-width: 48px !important;
}
#checkout-section .co-timer-cell .co-n {
    font-family: 'Fraunces', serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    display: block !important;
    color: #2E2010 !important;
}
#checkout-section .co-timer-cell .co-u {
    font-size: 8px !important;
    color: rgba(46,32,16,.5) !important;
    text-transform: uppercase !important;
    letter-spacing: .1em !important;
    margin-top: 3px !important;
    display: block !important;
}
#checkout-section .co-timer-sep {
    font-family: 'Fraunces', serif !important;
    font-size: 22px !important;
    color: rgba(166,121,42,.5) !important;
    align-self: center !important;
}

/* ── CTA button ──────────────────────────────────────────────── */
#checkout-section .co-cta-wrap { margin-top: 14px !important; animation: chmpFadeUp .5s 1.2s cubic-bezier(.2,.8,.2,1) both; }
#checkout-section .co-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 18px 22px !important;
    background: linear-gradient(180deg, #2E2010, #0B1020) !important;
    color: #FFFAEF !important;
    border: none !important;
    border-radius: 100px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 12px 28px -10px rgba(46,32,16,.45) !important;
    transition: transform .15s ease, box-shadow .2s ease !important;
}
#checkout-section .co-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 36px -10px rgba(46,32,16,.55) !important;
}
#checkout-section .co-cta svg { width: 16px !important; height: 16px !important; }

/* ── BLUR MODE: spoiler region ───────────────────────────────── */
#checkout-section .co-report-card[data-preview-mode="blur"] .co-type-big,
#checkout-section .co-report-card[data-preview-mode="blur"] .co-type-caption,
#checkout-section .co-report-card[data-preview-mode="blur"] .co-traits {
    filter: blur(18px) saturate(1.1) !important;
    -webkit-filter: blur(18px) saturate(1.1) !important;
    pointer-events: none !important;
    user-select: none !important;
    transition: filter .35s ease !important;
}

#checkout-section .co-report-card[data-preview-mode="show"] .co-blur-veil { display: none !important; }

/* ── BLUR VEIL — soft champagne fog with hourglass centerpiece ── */
#checkout-section .co-blur-veil {
    position: absolute;
    /* top/bottom set by inline JS to bound the type+traits region */
    top: 50px; bottom: 100px; left: 0; right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(232,196,118,.65) 0%, rgba(140,98,32,.9) 100%);
    backdrop-filter: blur(8px) saturate(1.25);
    -webkit-backdrop-filter: blur(8px) saturate(1.25);
    box-shadow: inset 0 1px 0 rgba(255,240,200,.45);
    animation: chmpVeilIn .6s .2s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-blur-shimmer {
    position: absolute;
    inset: -50% -50%;
    background: linear-gradient(115deg,
        transparent 30%,
        rgba(255,250,239,.55) 48%,
        rgba(244,194,107,.35) 50%,
        rgba(255,250,239,.55) 52%,
        transparent 70%);
    transform: translateX(-100%);
    animation: chmpShimmer 5s 1.2s ease-in-out infinite;
    mix-blend-mode: overlay;
    pointer-events: none;
}
#checkout-section .co-blur-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 24px;
    max-width: 300px;
}
#checkout-section .co-blur-orn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    animation: chmpFadeUp .5s .55s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-blur-orn::before,
#checkout-section .co-blur-orn::after {
    content: "";
    width: 14px; height: 1px;
    background: rgba(255,240,200,.7);
}
#checkout-section .co-blur-orn span {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #FBF3DC;
}
#checkout-section .co-blur-badge {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(140deg, #FFFAEF 0%, #D8A94B 50%, #6F4F18 100%);
    color: #FFFAEF;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    box-shadow:
        0 12px 28px -8px rgba(166,121,42,.5),
        inset 0 2px 0 rgba(255,255,255,.5),
        inset 0 -2px 0 rgba(0,0,0,.1);
    position: relative;
    animation:
        chmpBadgeIn .7s .4s cubic-bezier(.2,.8,.2,1) both,
        chmpFloat 3.5s 1.1s ease-in-out infinite;
}
#checkout-section .co-blur-hg {
    animation: chmpHgFlip 6s 1.4s ease-in-out infinite;
    transform-origin: center;
}
#checkout-section .co-blur-title {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 400;
    color: #FFFAEF;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -.01em;
    text-shadow: 0 1px 2px rgba(46,32,16,.35);
    animation: chmpFadeUp .5s .65s cubic-bezier(.2,.8,.2,1) both;
}
#checkout-section .co-blur-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255,250,239,.88);
    max-width: 240px;
    animation: chmpFadeUp .5s .75s cubic-bezier(.2,.8,.2,1) both;
}

/* ── Animation keyframes (chmp prefix to avoid theme collisions) ── */
@keyframes chmpCardIn {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chmpFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes chmpTypeReveal {
    from { opacity: 0; transform: translateY(10px); letter-spacing: .15em; }
    to   { opacity: 1; transform: translateY(0); letter-spacing: .02em; }
}
@keyframes chmpBarFill { from { width: 0; } }
@keyframes chmpVeilIn {
    from { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
    to   { opacity: 1; }
}
@keyframes chmpShimmer {
    0%       { transform: translateX(-100%); opacity: 0; }
    20%, 60% { opacity: 1; }
    80%,100% { transform: translateX(100%); opacity: 0; }
}
@keyframes chmpBadgeIn {
    0%   { opacity: 0; transform: scale(.5) rotate(-20deg); }
    60%  { transform: scale(1.08) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes chmpFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-3px); }
}
@keyframes chmpHgFlip {
    0%,45%   { transform: rotate(0); }
    50%      { transform: rotate(180deg); }
    95%,100% { transform: rotate(180deg); }
}
@keyframes chmpGlow {
    0%,100% { opacity: .3; }
    50%     { opacity: 1; }
}

/* Mobile tightening */
@media (max-width: 640px) {
    #checkout-section .co-report-card { padding: 28px 22px 24px !important; border-radius: 22px !important; }
    #checkout-section .co-type-big { font-size: 68px !important; }
    #checkout-section .co-blur-title { font-size: 21px; }
    #checkout-section .co-blur-badge { width: 50px; height: 50px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    #checkout-section .co-report-card,
    #checkout-section .co-report-card *,
    #checkout-section .co-report-card *::before,
    #checkout-section .co-report-card *::after { animation: none !important; }
}
