@import "tailwindcss";

:root {
  --ink: #f4f1ff;
  --muted: #a5a0b8;
  --line: rgba(255,255,255,.12);
  --surface: #0c0b12;
  --surface-2: #13111d;
  --violet: #8b5cf6;
  --violet-bright: #ad8cff;
  --lime: #d7ff72;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #08070c; }
body { margin: 0; color: var(--ink); background: #08070c; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
main { overflow: hidden; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 40; height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(22px,4vw,64px); border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; width: max-content; font-size: 22px; font-weight: 750; letter-spacing: -.04em; }
.brand i, .footer-brand i { color: var(--violet-bright); font-style: normal; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; margin-right: 9px; border-radius: 50%; background: white; color: #0b0910; }
.desktop-nav { display: flex; gap: 36px; font-size: 13px; color: #d5d0e2; }
.desktop-nav a, .text-link { transition: color .2s ease; }
.desktop-nav a:hover, .text-link:hover { color: white; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.text-link { font-size: 13px; color: #d5d0e2; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; color: #0d0a13; background: white; font-weight: 730; font-size: 14px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 42px rgba(147,91,255,.32); background: #f4efff; }
.button-primary { background: var(--lime); box-shadow: 0 15px 50px rgba(198,255,74,.12); }
.button-dark { color: white; background: #15121c; border: 1px solid rgba(255,255,255,.16); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 12px; }
.button-wide { min-width: 190px; }
.menu-toggle { display: none; color: white; border: 0; background: transparent; }
.mobile-menu { position: absolute; top: 74px; left: 16px; right: 16px; padding: 24px; display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10,9,15,.96); backdrop-filter: blur(20px); }

.eyebrow { margin: 0 0 18px; color: var(--violet-bright); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; }
.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; padding: 128px clamp(22px,5vw,78px) clamp(50px,7vw,92px); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #100d18; }
.ambient-video,.ambient-video video { width:100%;height:100%; }
.ambient-video { position:absolute;inset:0;overflow:hidden;background:#100d18; }
.ambient-video video { display:block;object-fit:cover;filter:saturate(.86) contrast(1.06); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,6,10,.93) 0%, rgba(7,6,10,.66) 38%, rgba(7,6,10,.18) 70%), linear-gradient(0deg, rgba(7,6,10,.82), transparent 65%); }
.hero-copy { width: min(820px, 100%); animation: hero-in .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 12px; color: #d9d4e5; text-transform: uppercase; letter-spacing: .13em; }
.hero-kicker::before { content: ""; width: 26px; height: 1px; background: var(--lime); }
.hero h1 { max-width: 810px; margin: 0; font-size: clamp(58px,8.5vw,136px); font-weight: 650; line-height: .82; letter-spacing: -.072em; }
.hero h1 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.hero-bottom { display: flex; align-items: center; gap: 34px; margin-top: 36px; }
.hero-bottom p { max-width: 410px; margin: 0; color: #c0bacd; font-size: 15px; line-height: 1.6; }
.scroll-cue { position: absolute; right: 4vw; bottom: 4vw; display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-cue::after { content:""; width: 1px; height: 64px; background: linear-gradient(white, transparent); }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c0a11; }
.ticker-track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.ticker span { padding: 22px 38px; color: #918b9e; font-size: 11px; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
.ticker i { color: var(--violet-bright); font-style: normal; margin-right: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: clamp(84px,10vw,150px) clamp(22px,6vw,90px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 58px; }
.section-head h2, .editorial-title { max-width: 800px; margin: 0; font-size: clamp(42px,6vw,90px); line-height: .95; letter-spacing: -.055em; font-weight: 630; }
.section-head > p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.story-rail { display: grid; grid-template-columns: repeat(4, minmax(260px,1fr)); gap: 14px; overflow-x: auto; scrollbar-width: none; }
.story-card { min-height: 470px; position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); isolation: isolate; }
.story-card .ambient-video { z-index:-2;transition:transform .7s cubic-bezier(.2,.8,.2,1); }
.story-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(transparent 35%, rgba(5,4,8,.9)); }
.story-card:hover .ambient-video { transform:scale(1.035); }
.story-card-copy { width: 100%; padding: 28px; }
.story-card-copy span { color: #d6d0df; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.story-card-copy h3 { margin: 8px 0 0; font-size: 23px; letter-spacing: -.03em; }

.workflow { background: #e7e3ee; color: #17131e; }
.workflow .eyebrow { color: #634c9a; }
.workflow-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(0,0,0,.18); }
.workflow-step { padding: 30px 26px 0 0; border-right: 1px solid rgba(0,0,0,.18); min-height: 230px; }
.workflow-step + .workflow-step { padding-left: 26px; }
.workflow-step:last-child { border-right: 0; }
.workflow-step span { font-size: 11px; color: #7d7487; }
.workflow-step h3 { margin: 64px 0 10px; font-size: 24px; letter-spacing: -.04em; }
.workflow-step p { margin: 0; color: #635c69; font-size: 13px; line-height: 1.6; }
.workflow-screen { margin-top: 58px; min-height: 500px; position: relative; overflow: hidden; border-radius: 24px; background: #11101a; box-shadow: 0 40px 100px rgba(47,31,77,.18); }
.workflow-screen img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.workflow-screen::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent, rgba(139,92,246,.12)); }

.capabilities { padding-top: 0; }
.feature-row { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; min-height: 620px; border-top: 1px solid var(--line); }
.feature-row:nth-child(even) .feature-media { order: -1; }
.feature-copy { padding: 70px clamp(20px,7vw,110px); }
.feature-copy h3 { margin: 0 0 24px; max-width: 520px; font-size: clamp(38px,5vw,72px); line-height: .98; letter-spacing: -.055em; font-weight: 620; }
.feature-copy p { max-width: 430px; color: var(--muted); line-height: 1.8; }
.feature-media { height: 100%; min-height: 620px; position: relative; overflow: hidden; }
.feature-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.inline-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 13px; }

.creator-section { background: #110e19; }
.creator-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.creator-tabs button { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #aaa3b6; font-size: 12px; cursor:pointer; }
.creator-tabs button.active { color: #110e19; background: var(--lime); border-color: var(--lime); }
.creator-stage { display:grid; grid-template-columns: 1.1fr .9fr; min-height: 600px; overflow:hidden; border-radius: 24px; background:#1a1624; }
.creator-stage img { width:100%; height:100%; min-height:600px; object-fit:cover; }
.creator-stage-copy { display:flex; flex-direction:column; justify-content:flex-end; padding: clamp(38px,6vw,90px); }
.creator-stage-copy h3 { margin:0 0 18px; font-size: clamp(40px,5vw,70px); line-height:.95; letter-spacing:-.05em; }
.creator-stage-copy p { color:var(--muted); line-height:1.7; }

.proof-line { display:grid; grid-template-columns: 1fr 1fr 1fr; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.proof-item { padding:50px; border-right:1px solid var(--line); }
.proof-item:last-child { border-right:0; }
.proof-item strong { display:block; font-size:clamp(42px,5vw,74px); font-weight:550; letter-spacing:-.06em; }
.proof-item span { color:var(--muted); font-size:12px; }

.faq-list { max-width:920px; margin-left:auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:30px; padding:28px 0; cursor:pointer; font-size:clamp(18px,2vw,25px); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; color:var(--violet-bright); font-size:28px; font-weight:300; }
.faq-item[open] summary::after { content:"−"; }
.faq-item p { max-width:680px; margin:0; padding:0 0 28px; color:var(--muted); line-height:1.7; }

.reveal { opacity:0; transform:translateY(34px); transition:opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity:1; transform:none; }

.page-hero { min-height: 68vh; display:flex; align-items:flex-end; position:relative; padding:150px clamp(22px,6vw,90px) 76px; border-bottom:1px solid var(--line); }
.page-hero h1 { max-width:1000px; margin:0; font-size:clamp(54px,8vw,120px); line-height:.88; letter-spacing:-.065em; font-weight:640; }
.page-hero p { max-width:460px; margin:28px 0 0; color:var(--muted); line-height:1.7; }
.page-hero-media { position:absolute; inset:0; z-index:-2; }
.page-hero-media img { width:100%; height:100%; object-fit:cover; filter:saturate(.75); }
.page-hero-media::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,6,10,.95),rgba(7,6,10,.3)),linear-gradient(0deg,rgba(7,6,10,.84),transparent); }
.content-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.content-tile { min-height:330px; padding:34px; background:#0a090e; transition:background .25s ease; }
.content-tile:hover { background:#12101a; }
.content-tile span { color:var(--violet-bright); font-size:10px; letter-spacing:.14em; text-transform:uppercase; }
.content-tile h2, .content-tile h3 { margin:80px 0 14px; font-size:30px; letter-spacing:-.04em; }
.content-tile p { margin:0; color:var(--muted); line-height:1.65; font-size:13px; }
.article { max-width:850px; margin:0 auto; padding:150px 24px; }
.article h1 { font-size:clamp(50px,8vw,88px); line-height:.96; letter-spacing:-.055em; }
.article h2 { margin-top:60px; font-size:34px; letter-spacing:-.035em; }
.article p, .article li { color:#b7b1c1; font-size:17px; line-height:1.85; }

.site-footer { padding:clamp(80px,10vw,140px) clamp(22px,6vw,90px) 28px; background:#d7ff72; color:#11130b; }
.footer-lead { position:relative; padding-bottom:100px; border-bottom:1px solid rgba(0,0,0,.2); }
.footer-lead .eyebrow { color:#525f28; }
.footer-lead h2 { margin:0; font-size:clamp(55px,9vw,130px); line-height:.84; letter-spacing:-.07em; font-weight:640; }
.circle-link { position:absolute; right:0; bottom:48px; width:76px; height:76px; display:grid; place-items:center; border-radius:50%; color:white; background:#14170c; transition:transform .25s ease; }
.circle-link:hover { transform:rotate(10deg) scale(1.05); }
.footer-grid { display:grid; grid-template-columns:2fr repeat(4,1fr); gap:40px; padding:70px 0; }
.footer-brand strong { font-size:25px; letter-spacing:-.04em; }
.footer-brand i { color:#6946bd; }
.footer-brand p { color:#4e552e; font-size:13px; line-height:1.6; }
.footer-title { margin:0 0 18px; color:#606936; font-size:10px; font-weight:750; letter-spacing:.15em; text-transform:uppercase; }
.footer-grid > div:not(:first-child) a { display:block; margin:11px 0; font-size:13px; }
.footer-bottom { display:flex; justify-content:space-between; padding-top:24px; border-top:1px solid rgba(0,0,0,.2); font-size:11px; color:#525a31; }

@media (max-width: 900px) {
  .site-header { height:74px; grid-template-columns:1fr auto; }
  .desktop-nav, .desktop-only { display:none; }
  .menu-toggle { display:grid; place-items:center; }
  .hero { padding-bottom:50px; }
  .hero::after { background:linear-gradient(0deg,rgba(7,6,10,.94),rgba(7,6,10,.2)); }
  .hero-bottom { align-items:flex-start; flex-direction:column; }
  .scroll-cue { display:none; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .story-rail { grid-template-columns:repeat(4,80vw); margin-right:-22px; }
  .workflow-grid { grid-template-columns:1fr 1fr; }
  .workflow-step:nth-child(2) { border-right:0; }
  .workflow-step { border-bottom:1px solid rgba(0,0,0,.18); }
  .workflow-screen { min-height:340px; }
  .feature-row { grid-template-columns:1fr; }
  .feature-row:nth-child(even) .feature-media { order:0; }
  .feature-media { min-height:430px; }
  .creator-stage { grid-template-columns:1fr; }
  .creator-stage img { min-height:410px; }
  .proof-line { grid-template-columns:1fr; }
  .proof-item { border-right:0; border-bottom:1px solid var(--line); }
  .content-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}

@media (max-width: 600px) {
  .button-small { min-height:38px; padding:0 14px; }
  .brand { font-size:19px; }
  .brand-mark { width:27px; height:27px; }
  .hero h1 { font-size:clamp(58px,20vw,84px); }
  .section { padding-left:22px; padding-right:22px; }
  .workflow-grid { grid-template-columns:1fr; }
  .workflow-step { border-right:0; padding:24px 0!important; min-height:0; }
  .workflow-step h3 { margin:35px 0 8px; }
  .content-grid { grid-template-columns:1fr; }
  .creator-stage-copy { padding:34px 26px 42px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:30px 18px; }
  .circle-link { width:62px; height:62px; bottom:32px; }
  .footer-lead { padding-bottom:120px; }
  .footer-bottom { gap:20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

.wizard-shell, .dashboard-shell { min-height:100vh; padding:130px clamp(22px,5vw,72px) 100px; background:radial-gradient(circle at 75% 0,rgba(126,82,219,.18),transparent 28%),#09080d; }
.wizard-top, .dashboard-head { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; max-width:1400px; margin:0 auto 42px; }
.wizard-top h1, .dashboard-head h1 { margin:0; font-size:clamp(42px,6vw,76px); line-height:.9; letter-spacing:-.055em; }
.step-track { display:flex; gap:8px; }
.step-track span { width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:#777181;font-size:11px; }
.step-track span.active { background:var(--lime);color:#10120a;border-color:var(--lime); }
.wizard-panel { max-width:1400px;margin:auto;display:grid;grid-template-columns:1fr 360px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#100e16; }
.wizard-main { padding:clamp(26px,4vw,56px);border-right:1px solid var(--line); }
.wizard-side { padding:clamp(26px,4vw,42px);display:flex;flex-direction:column;gap:40px; }
.field-label { display:flex;justify-content:space-between;margin-bottom:14px;color:#d4cfdd;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.1em; }
.wizard-main textarea { width:100%;min-height:220px;resize:vertical;padding:22px;border:1px solid var(--line);border-radius:16px;outline:none;color:white;background:#09080d;line-height:1.7;transition:border-color .2s; }
.wizard-main textarea:focus { border-color:var(--violet-bright); }
.char-count { margin-top:8px;text-align:right;color:#655f6e;font-size:10px; }
.option-block { margin-top:34px; }
.style-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:10px; }
.style-grid button { height:150px;position:relative;overflow:hidden;border:1px solid transparent;border-radius:14px;background:#111;color:white;cursor:pointer; }
.style-grid img { object-fit:cover;filter:brightness(.7); }
.style-grid span { position:absolute;left:14px;bottom:13px;font-size:12px;font-weight:700; }
.style-grid button.selected { border-color:var(--lime); }
.style-grid i { position:absolute;right:9px;top:9px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--lime);color:#111; }
.ratio-row { display:grid;grid-template-columns:repeat(3,1fr);gap:8px; }
.ratio-row button { height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:12px;color:#918b9c;background:transparent;cursor:pointer;font-size:10px; }
.ratio-row button.selected { color:white;border-color:var(--violet-bright);background:rgba(139,92,246,.1); }
.ratio-row i { height:24px;max-width:36px;border:1px solid currentColor; }
.wizard-side input[type=range] { width:100%;accent-color:var(--lime); }
.range-labels { display:flex;justify-content:space-between;color:#6f6976;font-size:10px; }
.generate-note { display:flex;align-items:flex-start;gap:11px;margin-top:auto;padding:15px;border:1px solid rgba(215,255,114,.22);border-radius:12px;color:var(--lime);background:rgba(215,255,114,.055); }
.generate-note p { display:flex;flex-direction:column;gap:3px;margin:0; }
.generate-note strong { color:white;font-size:11px; }
.generate-note span { color:var(--muted);font-size:10px;line-height:1.45; }
.wizard-side .button { margin-top:auto; }
.storyboard-panel { max-width:1400px;margin:auto; }
.storyboard-head { display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:30px; }
.storyboard-head h2 { margin:0;font-size:clamp(30px,4vw,50px);letter-spacing:-.04em; }
.storyboard-head>p { max-width:360px;color:var(--muted);font-size:13px;line-height:1.6; }
.storyboard-guide { display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;padding:16px 18px;border:1px solid rgba(215,255,114,.25);border-radius:14px;background:rgba(215,255,114,.06); }
.storyboard-guide>div { display:flex;align-items:center;gap:13px;color:var(--lime); }
.storyboard-guide p { display:flex;flex-direction:column;gap:3px;margin:0; }
.storyboard-guide strong { color:white;font-size:13px; }
.storyboard-guide p span { color:var(--muted);font-size:11px;line-height:1.5; }
.storyboard-guide>span { flex:0 0 auto;padding:8px 11px;border-radius:999px;color:#111;background:var(--lime);font-size:10px;font-weight:800; }
.scene-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:12px; }
.scene-grid article { position:relative;padding-bottom:9px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#0e0c13;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.scene-grid article:hover { transform:translateY(-2px);border-color:rgba(255,255,255,.24); }
.scene-grid article.editing { border-color:var(--lime);box-shadow:0 0 0 2px rgba(215,255,114,.08); }
.scene-image { height:180px;position:relative;display:block;cursor:pointer;overflow:hidden; }
.scene-image img { object-fit:cover; }
.scene-image span { position:absolute;left:12px;top:12px;padding:6px 8px;border-radius:6px;background:rgba(0,0,0,.6);font-size:9px; }
.scene-image i { position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;color:#111;background:rgba(255,255,255,.92);font-size:9px;font-style:normal;font-weight:800;opacity:0;transform:translateY(5px);transition:opacity .2s ease,transform .2s ease; }
.scene-grid article:hover .scene-image i,.scene-grid article.editing .scene-image i { opacity:1;transform:none; }
.scene-grid article textarea { width:calc(100% - 28px);min-height:78px;margin:9px 14px 0;padding:8px;border:1px solid transparent;border-radius:8px;resize:vertical;outline:none;color:#bbb4c2;background:transparent;font-size:12px;line-height:1.55;transition:border-color .2s ease,background .2s ease; }
.scene-grid article textarea:hover { background:rgba(255,255,255,.035); }
.scene-grid article textarea:focus { border-color:rgba(215,255,114,.45);background:#09080d;color:white; }
.scene-grid article small { display:block;margin:0 21px 5px;text-align:right;color:#5f5966;font-size:8px; }
.wizard-actions { display:flex;justify-content:space-between;margin-top:30px; }
.wizard-actions>div { display:flex;align-items:center;gap:15px; }
.wizard-actions>div>span { color:var(--muted);font-size:11px; }
.generation-panel { min-height:570px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center; }
.generation-orbit { width:120px;height:120px;position:relative;display:grid;place-items:center;margin-bottom:38px;border:1px solid rgba(215,255,114,.3);border-radius:50%;color:var(--lime); }
.generation-orbit i { position:absolute;inset:-14px;border:1px solid rgba(139,92,246,.3);border-radius:50%;animation:spin 4s linear infinite; }
.generation-orbit i::before { content:"";position:absolute;width:7px;height:7px;top:9px;left:22px;border-radius:50%;background:var(--violet-bright);box-shadow:0 0 20px var(--violet); }
.generation-orbit i:nth-child(2) { inset:-31px;animation-direction:reverse;animation-duration:6s; }
.generation-orbit i:nth-child(3) { inset:-48px;animation-duration:9s; }
@keyframes spin { to { transform:rotate(360deg); } }
.generation-panel h2 { margin:0;font-size:80px;letter-spacing:-.07em; }
.generation-panel>p:not(.eyebrow) { color:var(--muted); }
.generation-panel small { color:#686270; }
.generation-error { width:min(620px,90vw);display:flex;flex-direction:column;align-items:center;color:#ff9d9d; }
.generation-error .eyebrow { margin-top:20px;color:#ff9d9d; }
.generation-error h2 { margin:0 0 16px;font-size:clamp(36px,6vw,64px);line-height:.96; }
.generation-error>p:not(.eyebrow) { max-width:500px;margin:0;color:var(--muted);line-height:1.6; }
.generation-error>div { display:flex;align-items:center;gap:4px;margin-top:24px; }
.generation-error .restart { margin:0 0 0 18px; }
.progress-bar { width:min(500px,80vw);height:3px;margin:26px 0;background:#24202c; }
.progress-bar span { display:block;height:100%;background:linear-gradient(90deg,var(--violet),var(--lime));transition:width .12s linear; }
.result-panel { max-width:1400px;margin:auto;padding-top:24px;display:grid;grid-template-columns:.75fr 1.25fr;align-items:center;gap:clamp(30px,6vw,90px);min-height:500px;position:relative; }
.result-copy h2 { margin:0 0 22px;font-size:clamp(48px,7vw,90px);line-height:.92;letter-spacing:-.06em; }
.result-copy>p:not(.eyebrow) { max-width:460px;color:var(--muted);line-height:1.7; }
.result-copy .button { margin-top:20px; }
.restart { display:block;margin:18px 0 0 24px;border:0;color:#8d8696;background:transparent;cursor:pointer;font-size:12px;text-decoration:underline; }
.result-player { width:100%;min-height:360px;aspect-ratio:16/9;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:24px;box-shadow:0 30px 100px rgba(86,48,169,.25);background-color:#111;background-position:center;background-size:cover; }
.result-player.ratio-916 { width:min(100%,39.375vh);min-height:0;aspect-ratio:9/16;justify-self:center; }
.result-player.ratio-11 { width:min(100%,70vh);min-height:0;aspect-ratio:1;justify-self:center; }
.result-player video { width:100%;height:100%;display:block;position:absolute;inset:0;object-fit:cover;pointer-events:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;background:#050506; }
.result-player>button { position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:86px;height:86px;display:grid;place-items:center;border:0;border-radius:50%;color:#17121d;background:rgba(255,255,255,.9);cursor:pointer;transition:transform .18s ease; }
.result-player>button:active { transform:translate(-50%,-50%) scale(.94); }
.player-meta { position:absolute;inset:auto 0 0;display:flex;justify-content:space-between;padding:28px;color:#eee;background:linear-gradient(transparent,rgba(0,0,0,.75));font-size:11px; }
.toast { position:fixed;left:50%;bottom:30px;transform:translateX(-50%);padding:13px 18px;border:1px solid var(--line);border-radius:999px;background:#191620;box-shadow:0 16px 50px rgba(0,0,0,.4);font-size:12px; }
.download-backdrop { position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(5,4,8,.74);backdrop-filter:blur(12px);animation:modal-fade .2s ease both; }
@keyframes modal-fade { from { opacity:0; } to { opacity:1; } }
.download-dialog { width:min(520px,100%);position:relative;padding:34px;border:1px solid rgba(255,255,255,.16);border-radius:22px;background:#15121c;box-shadow:0 30px 120px rgba(0,0,0,.65);animation:dialog-in .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes dialog-in { from { opacity:0;transform:translateY(16px) scale(.98); } to { opacity:1;transform:none; } }
.dialog-close { position:absolute;right:18px;top:18px;width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:white;background:transparent;cursor:pointer; }
.archive-icon { width:54px;height:54px;display:grid;place-items:center;margin-bottom:24px;border-radius:15px;color:#15121c;background:var(--lime); }
.download-dialog h2 { max-width:410px;margin:0;font-size:clamp(32px,5vw,47px);line-height:.98;letter-spacing:-.05em; }
.dialog-lead { margin:14px 0 24px;color:var(--muted);font-size:13px;line-height:1.6; }
.download-dialog ol { margin:0 0 25px;padding:0;list-style:none;border-top:1px solid var(--line); }
.download-dialog li { display:flex;gap:14px;padding:15px 0;border-bottom:1px solid var(--line); }
.download-dialog li>span { width:25px;height:25px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:#15121c;background:#eeeaf4;font-size:10px;font-weight:800; }
.download-dialog li strong { display:block;margin:3px 0 4px;font-size:12px; }
.download-dialog li p { margin:0;color:var(--muted);font-size:11px;line-height:1.5; }
.dialog-download { width:100%; }
.download-dialog>small { display:block;margin-top:12px;text-align:center;color:#746d7e;font-size:9px;text-transform:uppercase;letter-spacing:.1em; }
.download-error { padding:10px;border:1px solid rgba(255,90,90,.3);border-radius:8px;color:#ff9d9d;background:rgba(255,50,50,.08);font-size:11px; }
.dashboard-shell { padding-top:160px; }
.project-grid { max-width:1400px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }
.project-grid article>div { aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:16px; }
.project-grid img { object-fit:cover; }
.project-grid svg { position:absolute;left:50%;top:50%;transform:translate(-50%,-50%); }
.project-grid h2 { margin:15px 0 6px;font-size:16px; }
.project-grid p { margin:0;color:var(--muted);font-size:11px; }
.empty-state { min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid var(--line);border-radius:24px;color:var(--muted); }
.empty-state h2 { margin:22px 0 8px;color:white;font-size:34px;letter-spacing:-.04em; }
.empty-state p { margin:0 0 25px; }
@media(max-width:900px){.wizard-panel{grid-template-columns:1fr}.wizard-main{border-right:0;border-bottom:1px solid var(--line)}.result-panel{grid-template-columns:1fr}.style-grid{grid-template-columns:1fr 1fr}.scene-grid{grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.wizard-top,.dashboard-head,.storyboard-head{align-items:flex-start;flex-direction:column}.step-track{align-self:stretch}.step-track span{flex:1;border-radius:10px}.scene-grid,.project-grid{grid-template-columns:1fr}.storyboard-guide{align-items:flex-start;flex-direction:column}.wizard-actions{gap:10px;align-items:stretch;flex-direction:column}.wizard-actions .button{flex:1;padding:0 14px}.wizard-actions>div{align-items:stretch;flex-direction:column}.wizard-actions>div>span{text-align:center}.generation-error>div{flex-direction:column;gap:16px}.generation-error .restart{margin:0}.download-dialog{padding:27px 22px}.download-dialog h2{padding-right:30px}}
.tools-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line); }
.tool-card { min-width:0;padding:24px 24px 48px;background:#09080d; }
.tool-card-image { aspect-ratio:1.35;position:relative;overflow:hidden;border-radius:16px; }
.tool-card-image img { object-fit:cover;transition:transform .6s ease; }
.tool-card:hover img { transform:scale(1.05); }
.tool-card-image svg { position:absolute;right:16px;top:16px;width:36px;height:36px;padding:9px;border-radius:50%;color:#111;background:white; }
.tool-card>p { margin:22px 0 8px;color:var(--violet-bright);font-size:9px;text-transform:uppercase;letter-spacing:.15em; }
.tool-card h2 { margin:0 0 10px;font-size:26px;letter-spacing:-.04em; }
.tool-card>span { color:var(--muted);font-size:12px;line-height:1.6; }
.tool-hero { min-height:100vh;position:relative;display:flex;align-items:flex-end;padding:140px clamp(22px,6vw,90px) 80px; }
.tool-hero-image { position:absolute;inset:0;z-index:-2; }
.tool-hero-image img { object-fit:cover; }
.tool-hero-image::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,6,10,.96),rgba(7,6,10,.25)),linear-gradient(0deg,rgba(7,6,10,.88),transparent); }
.tool-hero-copy { max-width:820px; }
.tool-hero h1 { margin:0;font-size:clamp(60px,9vw,132px);line-height:.86;letter-spacing:-.07em;font-weight:630; }
.tool-hero-copy>p:not(.eyebrow) { max-width:530px;margin:30px 0;color:#c0bac9;line-height:1.7; }
.tool-steps { display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line); }
.tool-steps article { min-height:260px;padding:30px;border-right:1px solid var(--line); }
.tool-steps article:last-child { border-right:0; }
.tool-steps span { color:var(--violet-bright);font-size:11px; }
.tool-steps h2 { margin:80px 0 12px;font-size:26px;letter-spacing:-.04em; }
.tool-steps p { max-width:280px;color:var(--muted);font-size:13px;line-height:1.65; }
.tool-callout { min-height:80vh;position:relative;display:flex;align-items:center;padding:80px clamp(22px,7vw,110px);isolation:isolate; }
.tool-callout>img { z-index:-2;object-fit:cover; }
.tool-callout::after { content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,6,10,.96),rgba(7,6,10,.12)); }
.tool-callout h2 { margin:0 0 30px;font-size:clamp(48px,7vw,96px);line-height:.9;letter-spacing:-.06em; }
@media(max-width:900px){.tools-grid{grid-template-columns:1fr 1fr}.tool-steps{grid-template-columns:1fr}.tool-steps article{border-right:0;border-bottom:1px solid var(--line);min-height:220px}}
@media(max-width:600px){.tools-grid{grid-template-columns:1fr}.tool-hero{min-height:85vh}}
.welcome { position:fixed;z-index:80;right:24px;bottom:24px;width:min(390px,calc(100vw - 32px));padding:30px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(21,17,29,.96);box-shadow:0 24px 100px rgba(0,0,0,.55);backdrop-filter:blur(20px);animation:popup-in .5s ease both; }
@keyframes popup-in{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:none}}
.welcome>button { position:absolute;right:16px;top:16px;display:grid;place-items:center;padding:7px;border:1px solid var(--line);border-radius:50%;color:white;background:transparent;cursor:pointer; }
.welcome h2 { margin:0 0 10px;font-size:34px;line-height:1;letter-spacing:-.045em; }
.welcome>p:not(.eyebrow) { color:var(--muted);font-size:13px;line-height:1.6; }
.welcome .button { margin-top:10px; }
.pricing-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1px;padding:1px;background:var(--line); }
.pricing-grid article { min-height:500px;padding:clamp(30px,5vw,70px);background:#0b090f; }
.pricing-grid article.featured { background:#171020; }
.pricing-grid h2 { margin:50px 0 12px;font-size:60px;letter-spacing:-.06em; }
.pricing-grid h2 small { font-size:11px;color:var(--muted);letter-spacing:0; }
.pricing-grid article>p:not(.eyebrow),.pricing-grid li { color:var(--muted);font-size:13px;line-height:1.7; }
.pricing-grid ul { min-height:145px;margin:35px 0;padding:0;list-style:none; }
.pricing-grid li { margin:10px 0; }
.pricing-grid li::before { content:"✓";margin-right:10px;color:var(--lime); }
@media(max-width:800px){.pricing-grid{grid-template-columns:1fr}.welcome{right:16px;bottom:16px}}
