/* ═══════════════════════════════════════════════════════════════
   AI UNIVERSITY — LIQUID GLASS
   Palette: #4D343E plum · #8F8AA3 violet · #9897AC lavender
            #EDD1D0 rose · #99736A taupe
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg:       #100A0E;
    --bg-2:     #171015;
    --plum:     #4D343E;
    --violet:   #8F8AA3;
    --lav:      #9897AC;
    --rose:     #EDD1D0;
    --taupe:    #99736A;
    --ink:      #F4ECEA;
    --ink-dim:  #B4A9B2;
    --ink-soft: #D8CDD3;
    --line:     rgba(237, 209, 208, .13);
    --radius:   26px;
    --ease:     cubic-bezier(.16, 1, .3, 1);
    --font:     'Manrope', system-ui, -apple-system, sans-serif;
    --serif:    'Instrument Serif', Georgia, serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--rose); color: #2A161F; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(152, 151, 172, .25); border-radius: 99px; border: 2px solid var(--bg); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

/* ═══════════ LIQUID BACKGROUND ═══════════ */
.liquid { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob-a {
    width: 75vw; height: 75vw; top: -28%; left: -22%;
    background: radial-gradient(circle, rgba(143, 138, 163, .3) 8%, rgba(143, 138, 163, .12) 38%, transparent 68%);
    animation: drift-a 46s ease-in-out infinite alternate;
}
.blob-b {
    width: 68vw; height: 68vw; bottom: -30%; right: -20%;
    background: radial-gradient(circle, rgba(153, 115, 106, .28) 8%, rgba(153, 115, 106, .1) 38%, transparent 68%);
    animation: drift-b 52s ease-in-out infinite alternate;
}
.blob-c {
    width: 90vw; height: 90vw; top: 18%; left: 8%;
    background: radial-gradient(circle, rgba(77, 52, 62, .45) 10%, rgba(77, 52, 62, .18) 40%, transparent 70%);
    animation: drift-c 60s ease-in-out infinite alternate;
}
.blob-d {
    width: 40vw; height: 40vw; top: 6%; right: 6%;
    background: radial-gradient(circle, rgba(237, 209, 208, .1) 10%, rgba(237, 209, 208, .04) 40%, transparent 66%);
    animation: drift-a 38s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a { to { transform: translate(9vw, 12vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-11vw, -9vh) scale(1.12); } }
@keyframes drift-c { to { transform: translate(-7vw, 8vh) scale(.92); } }

.grain {
    position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════ GLASS ═══════════ */
.glass {
    position: relative;
    background: linear-gradient(145deg, rgba(237, 209, 208, .07), rgba(152, 151, 172, .035) 42%, rgba(77, 52, 62, .07));
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow:
        0 24px 60px -22px rgba(8, 4, 7, .7),
        inset 0 1px 0 rgba(255, 255, 255, .09),
        inset 0 -1px 0 rgba(0, 0, 0, .22);
}
.glass-inset {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(237, 209, 208, .12);
    border-radius: 14px;
}

/* ═══════════ TYPE ═══════════ */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 {
    font-size: clamp(3.2rem, 10vw, 7.4rem);
    font-weight: 800; letter-spacing: -.045em; line-height: .98;
}
h2 {
    font-size: clamp(2.3rem, 6vw, 4.3rem);
    font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
}
h1 em.serif, h2 em.serif {
    background: linear-gradient(100deg, var(--rose) 20%, var(--lav) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-right: .06em; /* keep italic overhang unclipped */
}
.eyebrow {
    display: inline-block; font-size: .72rem; font-weight: 700;
    letter-spacing: .34em; color: var(--taupe); text-transform: uppercase;
}
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(42px, 7vw, 72px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-sub { color: var(--ink-dim); font-size: clamp(1.02rem, 1.6vw, 1.18rem); margin-top: 20px; }

/* ═══════════ LAYOUT ═══════════ */
.wrap { max-width: 1120px; margin: 0 auto; padding: clamp(80px, 12vw, 150px) 24px; }
.wrap-narrow { max-width: 760px; }

/* ═══════════ BUTTONS ═══════════ */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 34px; border-radius: 999px; font-weight: 700; font-size: .98rem;
    letter-spacing: .01em; overflow: hidden; white-space: nowrap;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease);
}
.btn::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%);
    background-size: 260% 100%; background-position: 130% 0;
    transition: background-position 1s var(--ease); pointer-events: none;
    mix-blend-mode: soft-light;
}
.btn:hover::after { background-position: -130% 0; }
.btn-solid {
    background: linear-gradient(135deg, #F5E1DF, var(--rose) 45%, #DCBAB5);
    color: #2A161F;
    box-shadow: 0 10px 36px -10px rgba(237, 209, 208, .5), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -12px rgba(237, 209, 208, .65), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost {
    background: rgba(237, 209, 208, .05);
    border: 1px solid rgba(237, 209, 208, .22); color: var(--ink);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(237, 209, 208, .5); background: rgba(237, 209, 208, .1); }
.btn-sm { padding: 10px 22px; font-size: .86rem; }
.btn-lg { padding: 19px 44px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ═══════════ NAV ═══════════ */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 16px; }
.nav-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 9px 10px 9px 22px; border-radius: 999px;
    background: rgba(16, 10, 14, .35);
    -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(237, 209, 208, .1);
    box-shadow: 0 12px 40px -18px rgba(8, 4, 7, .8), inset 0 1px 0 rgba(255, 255, 255, .07);
    transition: background .5s var(--ease), border-color .5s var(--ease);
}
#nav.scrolled .nav-inner { background: rgba(16, 10, 14, .72); border-color: rgba(237, 209, 208, .16); }
.brand { font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem; }
.brand em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--rose); }
.nav-links { display: flex; gap: 26px; font-size: .9rem; font-weight: 600; color: var(--ink-dim); }
.nav-links a { cursor: pointer; transition: color .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(237, 209, 208, .1); }
.lang button { padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--ink-dim); transition: all .3s; }
.lang button.on { background: rgba(237, 209, 208, .9); color: #2A161F; }

/* ═══════════ HERO ═══════════ */
#hero {
    position: relative; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 24px 80px; text-align: center; overflow: hidden;
}
.hero-inner { max-width: 900px; position: relative; z-index: 2; }
.chip {
    display: inline-block; padding: 9px 20px; border-radius: 999px;
    font-size: .7rem; font-weight: 700; letter-spacing: .3em; color: var(--lav);
    background: rgba(152, 151, 172, .09); border: 1px solid rgba(152, 151, 172, .22);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
#hero .chip { margin-bottom: 34px; }
#hero h1 span { display: block; }
#hero h1 em.serif { display: block; }
.hero-sub { color: var(--ink-dim); font-size: clamp(1.06rem, 2vw, 1.3rem); max-width: 620px; margin: 30px auto 0; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 42px; }

.hero-orb {
    position: absolute; z-index: 1; width: clamp(340px, 46vw, 640px); aspect-ratio: 1;
    right: -8%; top: 12%; border-radius: 50%; pointer-events: none;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .16), transparent 42%),
        radial-gradient(circle at 68% 74%, rgba(237, 209, 208, .1), transparent 50%),
        linear-gradient(160deg, rgba(152, 151, 172, .1), rgba(77, 52, 62, .16));
    border: 1px solid rgba(237, 209, 208, .14);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18), inset -30px -40px 90px rgba(77, 52, 62, .35), 0 40px 120px -40px rgba(8, 4, 7, .8);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    animation: orb-float 14s ease-in-out infinite alternate;
    opacity: .8;
}
@keyframes orb-float { to { transform: translateY(-36px) rotate(6deg); } }

.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 1px; height: 58px; background: rgba(237, 209, 208, .16); overflow: hidden; }
.scroll-cue span { position: absolute; left: -1px; width: 3px; height: 14px; border-radius: 3px; background: var(--rose); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { top: -20%; opacity: 0; } 30% { opacity: 1; } 100% { top: 110%; opacity: 0; } }

/* ═══════════ CARDS ═══════════ */
.card { padding: 34px 32px; overflow: hidden; transition: transform .6s var(--ease), border-color .6s var(--ease); }
.card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .09) 50%, transparent 58%);
    background-size: 300% 100%; background-position: 140% 0;
    transition: background-position 1.4s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(237, 209, 208, .26); }
.card:hover::after { background-position: -140% 0; }
.card-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--taupe); display: block; margin-bottom: 14px; }
.card h3 { font-size: 1.42rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.card p { color: var(--ink-dim); font-size: .96rem; }

.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ═══════════ PROOF ═══════════ */
.proof-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px; grid-auto-flow: dense; gap: 16px;
}
.proof-win {
    overflow: hidden; cursor: zoom-in; border-radius: 22px;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.proof-win.tall { grid-row: span 2; }
.proof-win[data-empty] { display: none; }
.proof-win img, .proof-win video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-win:hover { transform: translateY(-5px) scale(1.012); border-color: rgba(237, 209, 208, .3); box-shadow: 0 30px 70px -24px rgba(8, 4, 7, .85), inset 0 1px 0 rgba(255, 255, 255, .09); }
.proof-label {
    position: absolute; left: 12px; bottom: 12px; z-index: 2;
    padding: 6px 13px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
    color: var(--ink); background: rgba(16, 10, 14, .55);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(237, 209, 208, .18);
}
.proof-live {
    position: absolute; right: 12px; top: 12px; z-index: 2; width: 9px; height: 9px; border-radius: 50%;
    background: var(--rose); box-shadow: 0 0 0 0 rgba(237, 209, 208, .5); animation: pulse 2.2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(237, 209, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 209, 208, 0); } }
.proof-hint { text-align: center; color: var(--ink-dim); font-size: .82rem; margin-top: 22px; letter-spacing: .04em; }

.honest { max-width: 720px; margin: clamp(56px, 9vw, 96px) auto 0; padding: clamp(36px, 6vw, 56px); text-align: center; }
.honest-q {
    font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15;
    background: linear-gradient(100deg, var(--rose) 25%, var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 18px;
}
.honest-a { color: var(--ink-soft); font-size: clamp(1rem, 1.8vw, 1.14rem); max-width: 560px; margin: 0 auto; }

/* ═══════════ REEL STUDIO ═══════════ */
.badge-both {
    display: inline-block; padding: 9px 20px; border-radius: 999px; margin-bottom: 20px;
    font-size: .7rem; font-weight: 800; letter-spacing: .28em; color: #2A161F;
    background: linear-gradient(135deg, #F5E1DF, var(--rose) 50%, #DCBAB5);
    box-shadow: 0 8px 28px -8px rgba(237, 209, 208, .5);
}
.studio-demo { max-width: 900px; margin: 0 auto clamp(40px, 6vw, 64px); overflow: hidden; cursor: zoom-in; }
.studio-demo[data-empty] { display: none; }
.studio-demo video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.studio-steps { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: stretch; gap: 0; }
.step { display: flex; flex-direction: column; }
.step .card-num { margin-bottom: 10px; }
.step-visual {
    border-radius: 16px; aspect-ratio: 16 / 10; margin-bottom: 22px; overflow: hidden; position: relative;
    border: 1px solid rgba(237, 209, 208, .1);
}
.step-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.step-visual::before { content: ""; position: absolute; inset: 0; }
.step-visual.v1 { background: radial-gradient(circle at 28% 24%, rgba(152, 151, 172, .5), transparent 55%), linear-gradient(150deg, rgba(77, 52, 62, .7), rgba(16, 10, 14, .9)); }
.step-visual.v2 { background: radial-gradient(circle at 70% 30%, rgba(237, 209, 208, .28), transparent 52%), linear-gradient(150deg, rgba(77, 52, 62, .75), rgba(16, 10, 14, .9)); }
.step-visual.v3 { background: radial-gradient(circle at 45% 70%, rgba(153, 115, 106, .45), transparent 55%), linear-gradient(150deg, rgba(77, 52, 62, .7), rgba(16, 10, 14, .9)); }
.step-visual .glyph {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 2.1rem; opacity: .75;
}
.step-link { display: flex; align-items: center; justify-content: center; position: relative; }
.step-link::before { content: ""; width: 100%; height: 1px; background: rgba(237, 209, 208, .18); }
.step-link i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 12px rgba(237, 209, 208, .8); animation: flow 2.6s linear infinite; }
@keyframes flow { 0% { left: 4%; opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { left: 88%; opacity: 0; } }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: clamp(36px, 6vw, 56px); }

/* ═══════════ PRICING ═══════════ */
.plans { display: grid; grid-template-columns: 1fr 1.06fr; gap: 20px; max-width: 960px; margin: 0 auto; align-items: stretch; }
.plan { padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; height: 100%; }
.plan-name { font-size: .78rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--lav); }
.plan-name-rose { color: var(--rose); }
.plan-price { font-size: clamp(2.4rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; margin: 16px 0 4px; }
.plan-price small { font-size: 1rem; font-weight: 600; color: var(--ink-dim); letter-spacing: 0; margin-left: 6px; }
.plan-price-rose { background: linear-gradient(100deg, var(--rose) 30%, var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price-rose small { -webkit-text-fill-color: var(--ink-dim); }
.plan-list { list-style: none; margin: 22px 0 30px; flex: 1; }
.plan-list li { position: relative; padding-left: 30px; margin: 13px 0; color: var(--ink-soft); font-size: .97rem; line-height: 1.45; }
.plan-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    font-weight: 800; color: var(--lav);
}
.plan-featured .plan-list li::before { color: var(--rose); }
.plan-featured .plan-list li:first-child { color: var(--ink); font-weight: 600; }
.plan-list li.hot { color: var(--ink); }
.plan-list li.hot::before { color: var(--rose); }
.plan-list li b { color: var(--rose); font-weight: 800; }

/* Animated conic border around the featured plan */
.plan-frame { position: relative; border-radius: var(--radius); padding: 1px; overflow: hidden; isolation: isolate; }
.plan-frame::before {
    content: ""; position: absolute; inset: -120%; z-index: -1;
    background: conic-gradient(from 0deg,
        transparent 0deg, rgba(237, 209, 208, .85) 42deg, rgba(152, 151, 172, .5) 80deg, transparent 130deg,
        transparent 180deg, rgba(153, 115, 106, .7) 230deg, rgba(237, 209, 208, .4) 268deg, transparent 320deg);
    animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.plan-featured {
    border: 0; border-radius: calc(var(--radius) - 1px);
    background: linear-gradient(150deg, rgba(43, 27, 36, .94), rgba(23, 14, 20, .96)),
                linear-gradient(145deg, rgba(237, 209, 208, .08), rgba(77, 52, 62, .1));
}
.plan-badge {
    position: absolute; top: -1px; right: 26px; padding: 7px 15px;
    border-radius: 0 0 12px 12px; font-size: .62rem; font-weight: 800; letter-spacing: .22em;
    color: #2A161F; background: linear-gradient(135deg, #F5E1DF, var(--rose) 55%, #DCBAB5);
}
.purchase-badge[hidden] { display: none; }
.purchase-badge {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px 6px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(237, 209, 208, .16);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: .68rem; font-weight: 700; color: var(--ink-dim); white-space: nowrap;
}
.purchase-badge::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
    background: var(--rose); box-shadow: 0 0 0 0 rgba(237, 209, 208, .5); animation: pulse 2.2s infinite;
}
.purchase-badge b { color: var(--ink); font-weight: 800; }
.plan-featured .purchase-badge { top: 34px; }

.pay-toggle { display: inline-flex; gap: 3px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(237, 209, 208, .12); margin-top: 20px; align-self: flex-start; }
.pay-toggle button { padding: 8px 18px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ink-dim); transition: all .35s var(--ease); }
.pay-toggle button.on { background: rgba(237, 209, 208, .92); color: #2A161F; box-shadow: 0 4px 16px -4px rgba(237, 209, 208, .5); }

/* Price roll: stable width while the number ratchets */
.plan-price { font-variant-numeric: tabular-nums; }
#ai-price-row.pop { animation: price-pop .55s var(--ease); }
@keyframes price-pop {
    0%   { transform: scale(.985); }
    45%  { transform: scale(1.02); }
    100% { transform: scale(1); }
}
#ai-price-unit.note-in, .pay-note.note-in { animation: note-in .5s var(--ease); }
@keyframes note-in {
    from { opacity: 0; transform: translateY(7px); filter: blur(5px); }
    to   { opacity: 1; transform: none; filter: none; }
}
.pay-notes { min-height: 3em; }
.pay-note { color: var(--ink-dim); font-size: .88rem; }
.spots { margin-top: 14px; font-size: .84rem; color: var(--taupe); font-weight: 600; letter-spacing: .02em; }
.spots b { color: var(--rose); font-weight: 800; }
.launch-note { text-align: center; color: var(--ink-dim); font-size: .92rem; max-width: 540px; margin: 44px auto 0; }

/* ═══════════ FAQ ═══════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { border-radius: 20px; overflow: hidden; transition: border-color .5s var(--ease); }
.faq[open] { border-color: rgba(237, 209, 208, .3); }
.faq summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 21px 26px; cursor: pointer; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: 0 0 14px; height: 14px; transition: transform .45s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; background: var(--rose); border-radius: 2px; }
.faq summary i::before { left: 6px; top: 0; width: 2px; height: 14px; }
.faq summary i::after { left: 0; top: 6px; width: 14px; height: 2px; }
.faq[open] summary i { transform: rotate(45deg); }
.faq p { padding: 0 26px 22px; color: var(--ink-dim); font-size: .95rem; max-width: 640px; animation: faq-in .55s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ═══════════ FINAL ═══════════ */
.final-inner { text-align: center; padding: clamp(30px, 6vw, 60px) 0 40px; }
.final-inner h2 { margin-bottom: 38px; }

/* ═══════════ FOOTER ═══════════ */
footer { border-top: 1px solid rgba(237, 209, 208, .08); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-dim); }
.foot-links a:hover { color: var(--ink); }
.foot-copy { font-size: .85rem; color: rgba(180, 169, 178, .6); }

/* ═══════════ MODALS ═══════════ */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop {
    position: absolute; inset: 0; background: rgba(9, 5, 8, .66);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    animation: fade-in .4s var(--ease);
}
@keyframes fade-in { from { opacity: 0; } }
.modal-box {
    position: relative; width: 100%; max-width: 430px; padding: 36px 32px;
    background: linear-gradient(150deg, rgba(43, 27, 36, .92), rgba(23, 14, 20, .95));
    animation: modal-in .55s var(--ease);
    max-height: 92svh; overflow-y: auto;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.modal-x { position: absolute; top: 16px; right: 18px; color: var(--ink-dim); font-size: .95rem; padding: 6px; transition: color .3s; }
.modal-x:hover { color: var(--ink); }
.modal-box h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.modal-sub { color: var(--ink-dim); font-size: .92rem; margin: 8px 0 22px; }
.modal-tier { display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; margin-bottom: 20px; font-size: .92rem; font-weight: 600; color: var(--ink-dim); }
.modal-tier b { color: var(--rose); font-weight: 800; }
#join-fs label, #buy-fs label { display: block; margin-bottom: 15px; }
#join-fs label span, #buy-fs label span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 7px; }
#join-fs input[type="text"], #join-fs input[type="email"], #buy-fs input[type="email"] {
    width: 100%; padding: 13px 16px; border-radius: 13px; font: inherit; color: var(--ink);
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(237, 209, 208, .15);
    transition: border-color .3s, box-shadow .3s; outline: none;
}
#join-fs input:focus, #buy-fs input:focus { border-color: rgba(237, 209, 208, .55); box-shadow: 0 0 0 4px rgba(237, 209, 208, .09); }
#join-fs .btn, #buy-fs .btn { margin-top: 6px; }
.modal-legal { font-size: .74rem; color: rgba(180, 169, 178, .65); margin-top: 15px; line-height: 1.5; }
.modal-legal a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.modal-error { margin-top: 12px; font-size: .84rem; color: #E8A0A0; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; }
.consent-row input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--rose); flex-shrink: 0; }
.consent-row span { font-size: .78rem; line-height: 1.5; color: var(--ink-dim); }
.consent-row a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
#join-success { text-align: center; padding: 12px 0 4px; }
.success-mark {
    width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 800; color: #2A161F;
    background: linear-gradient(135deg, #F5E1DF, var(--rose) 55%, #DCBAB5);
    box-shadow: 0 14px 40px -10px rgba(237, 209, 208, .55);
}
#join-success .btn { margin-top: 24px; }

/* Lightbox */
.lightbox-frame { position: relative; max-width: min(1000px, 94vw); animation: modal-in .5s var(--ease); }
.lightbox-frame .modal-x { top: -40px; right: 0; }
#lightbox-slot img, #lightbox-slot video {
    max-width: 100%; max-height: 84svh; border-radius: 18px;
    border: 1px solid rgba(237, 209, 208, .2);
    box-shadow: 0 40px 120px -30px rgba(8, 4, 7, .9);
}
.lightbox-caption {
    max-width: 62ch; margin: 22px auto 0; padding: 0 8px;
    text-align: center; font-size: 1rem; line-height: 1.55; color: var(--ink-dim);
    animation: fade-in .6s var(--ease) .18s both;
}
.step.has-shot { cursor: zoom-in; }

/* ═══════════ REVEAL ═══════════ */
.rv { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }
.d4 { transition-delay: .52s; }

/* ═══════════ YOUTUBE WIDGET ═══════════ */
.yt-widget { position: relative; }
.yt-btn {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 0, 51, .28);
    transition: border-color .3s, background .3s;
    animation: yt-glow 3.2s ease-in-out infinite;
}
.yt-btn svg { display: block; animation: yt-nudge 7s ease-in-out infinite; }
.yt-btn:hover, .yt-btn[aria-expanded="true"] {
    border-color: rgba(255, 0, 51, .55);
    background: rgba(255, 0, 51, .1);
}
@keyframes yt-glow {
    0%, 100% { box-shadow: 0 0 12px -6px rgba(255, 0, 51, .4); }
    50%      { box-shadow: 0 0 26px -4px rgba(255, 0, 51, .75); }
}
@keyframes yt-nudge {
    0%, 84%, 100% { transform: none; }
    87% { transform: rotate(-8deg) scale(1.1); }
    91% { transform: rotate(6deg) scale(1.1); }
    95% { transform: rotate(-2deg) scale(1.04); }
}
.yt-shield {
    position: fixed; z-index: 49; top: 84px; left: 50%;
    max-width: min(320px, calc(100vw - 24px));
    padding: 11px 18px; border-radius: 16px;
    background: rgba(16, 10, 14, .92);
    -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 0, 51, .38);
    box-shadow: 0 18px 44px -14px rgba(8, 4, 7, .9), 0 0 30px -10px rgba(255, 0, 51, .45);
    font-family: var(--serif); font-style: italic; font-size: .98rem; color: var(--rose);
    white-space: nowrap; cursor: pointer;
    opacity: 0; transform: translateY(10px) scale(.88); pointer-events: none;
    transition: opacity .5s var(--ease), transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.yt-shield::before {
    content: ''; position: absolute; top: -6px; left: var(--arrow-x, 50%);
    width: 11px; height: 11px; margin-left: -6px; transform: rotate(45deg);
    background: rgba(16, 10, 14, .92);
    border-left: 1px solid rgba(255, 0, 51, .38);
    border-top: 1px solid rgba(255, 0, 51, .38);
}
.yt-shield.show { opacity: 1; transform: none; pointer-events: auto; }
.yt-pop {
    position: absolute; top: calc(100% + 18px); right: -8px;
    width: min(300px, calc(100vw - 32px));
    padding: 18px; border-radius: 22px;
    background: rgba(16, 10, 14, .88);
    -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(237, 209, 208, .14);
    box-shadow: 0 24px 60px -18px rgba(8, 4, 7, .9), inset 0 1px 0 rgba(255, 255, 255, .07);
    opacity: 0; transform: translateY(-8px) scale(.97); pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    z-index: 60;
}
.yt-pop::before {
    content: ''; position: absolute; top: -6px; right: 20px;
    width: 12px; height: 12px; transform: rotate(45deg);
    background: rgba(16, 10, 14, .88);
    border-left: 1px solid rgba(237, 209, 208, .14);
    border-top: 1px solid rgba(237, 209, 208, .14);
}
.yt-pop.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.yt-pop-head { display: flex; align-items: center; gap: 13px; }
.yt-avatar {
    width: 52px; height: 52px; border-radius: 999px; display: block;
    border: 2px solid rgba(255, 0, 51, .55);
    box-shadow: 0 0 18px -4px rgba(255, 0, 51, .45);
}
.yt-pop-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yt-pop-id b { font-size: .96rem; font-weight: 800; letter-spacing: -.01em; }
.yt-pop-id span { font-size: .76rem; color: var(--ink-dim); }
.yt-pop-sub { margin: 12px 0 14px; font-size: .84rem; line-height: 1.5; color: var(--ink-dim); }
.yt-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 11px 16px; border-radius: 999px;
    font-size: .86rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #FF0033, #C00027);
    box-shadow: 0 10px 28px -10px rgba(255, 0, 51, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.yt-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 0, 51, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 960px) {
    .studio-steps { grid-template-columns: 1fr; gap: 14px; }
    .step-link { display: none; }
    .plans { grid-template-columns: 1fr; max-width: 520px; }
    .hero-orb { right: -30%; opacity: .5; }
}
@media (max-width: 760px) {
    .nav-links { display: none; }
    /* anchor YT popover to the nav pill instead of the tiny button */
    .yt-widget { position: static; }
    .yt-pop { right: 6px; top: calc(100% + 10px); }
    .yt-pop::before { display: none; }
    .yt-btn { width: 40px; height: 40px; }
    .yt-btn svg { width: 22px; height: 22px; }
    .triptych { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
    .wrap { padding-left: 18px; padding-right: 18px; }
    .card { padding: 28px 24px; }
    .foot-inner { flex-direction: column; text-align: center; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .rv { opacity: 1; transform: none; filter: none; }
}
