/* =========================================================
   AI FILMING – public site styles
   Palette: deep black + orange → pink → violet → blue light
   Type: Unbounded (display) / Manrope (body)
   ========================================================= */

:root {
  --bg: #05040b;
  --bg-2: #0c0a18;
  --bg-3: #141127;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f2ff;
  --muted: #a8a4c2;
  --dim: #6f6a8e;

  --orange: #ff8a3d;
  --pink: #f0469c;
  --violet: #8b5cf6;
  --blue: #4f7cff;
  --green: #34d399;
  --grad: linear-gradient(100deg, var(--orange) 0%, var(--pink) 38%, var(--violet) 70%, var(--blue) 100%);

  --glass: rgba(20, 17, 39, .55);
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 30px -8px rgba(240, 70, 156, .65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(240, 70, 156, .8); }
.btn-glass { background: rgba(255, 255, 255, .08); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .15); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- header ---------- */
/* The glass background lives on ::before so the header never becomes a containing
   block for the fixed mobile menu (backdrop-filter would trap it). */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(5, 4, 11, .72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: opacity .3s ease;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s, background-color .2s; }
.main-nav > a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-auth { display: flex; gap: 8px; margin-left: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) 32px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(5, 4, 11, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a { font-family: var(--font-display); font-size: 24px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-auth { margin: 24px 0 0; flex-direction: column; }
  .nav-auth .btn { height: 52px; }
  .nav-auth .btn-ghost { border-color: var(--line-2); }
}

/* =========================================================
   HERO – tilted, drifting poster wall
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 940px);
  display: flex; align-items: center;
  padding: 120px 0 72px;
}
.hero-wall {
  position: absolute; inset: -10% -6% -10% 34%; z-index: -2;
}
.wall-tilt {
  display: flex; gap: 18px; height: 100%;
  transform: perspective(1600px) rotateY(-14deg) rotateX(6deg) rotateZ(-6deg);
  transform-origin: left center;
}
.wall-col { flex: 0 0 clamp(130px, 13vw, 190px); overflow: visible; }
.wall-track { display: flex; flex-direction: column; gap: 18px; animation: drift-up 70s linear infinite; }
.wall-col--1 .wall-track, .wall-col--3 .wall-track { animation-name: drift-down; animation-duration: 82s; }
.wall-col--1 { margin-top: -120px; }
.wall-col--2 { margin-top: -40px; }
.wall-track img {
  width: 100%; aspect-ratio: 186 / 326; object-fit: cover;
  border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9);
}
@keyframes drift-up   { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes drift-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 18% 55%, rgba(139, 92, 246, .22), transparent 70%),
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, rgba(5,4,11,.82) 48%, rgba(5,4,11,.25) 75%, rgba(5,4,11,.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%),
    linear-gradient(180deg, rgba(5,4,11,.8) 0%, transparent 18%);
}
.hero-content { position: relative; }
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.035em;
  max-width: 11ch;
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.hero-title::after {
  content: ""; display: block; width: min(320px, 60%); height: 6px; margin-top: 28px;
  border-radius: 6px; background: var(--grad);
  box-shadow: 0 0 30px rgba(240, 70, 156, .7);
}
.hero-lead { margin-top: 28px; max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #cfcbe6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 36px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-features li { display: inline-flex; align-items: center; }
.hero-features li + li::before { content: "•"; margin: 0 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 18px; }

@media (max-width: 820px) {
  .hero { min-height: 92svh; align-items: flex-end; padding-bottom: 56px; }
  .hero-wall { inset: -8% -30% 30% -10%; opacity: .75; }
  .wall-tilt { transform: perspective(1200px) rotateX(18deg) rotateZ(-10deg); transform-origin: center top; justify-content: center; }
  .wall-col { flex-basis: 34vw; }
  .hero-shade { background:
    linear-gradient(0deg, var(--bg) 0%, var(--bg) 34%, rgba(5,4,11,.7) 58%, rgba(5,4,11,.25) 100%),
    radial-gradient(80% 50% at 30% 80%, rgba(139,92,246,.25), transparent 70%); }
  .hero-features { font-size: 13px; }
}

/* =========================================================
   MOVIE ROWS & CARDS
   ========================================================= */
.movies-zone { position: relative; padding-bottom: 24px; }
.movie-row { padding: 28px 0 8px; }
.movie-row--featured { padding-top: 8px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.row-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.01em; }
.movie-row--featured .row-title { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.row-controls { display: flex; align-items: center; gap: 8px; }
.row-link { color: var(--muted); font-weight: 600; font-size: 14px; margin-right: 6px; white-space: nowrap; }
.row-link:hover { color: var(--text); }
.row-arrow {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
  transition: background-color .2s;
}
.row-arrow:hover { background: rgba(255,255,255,.14); }
.row-arrow:disabled { opacity: .3; cursor: default; }
@media (max-width: 640px) { .row-arrow { display: none; } }

.row-track {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 6px var(--edge) 22px;
  scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }

.movie-card { flex: 0 0 auto; width: clamp(132px, 14vw, 172px); scroll-snap-align: start; position: relative; }
.movie-card--featured { width: clamp(168px, 19vw, 236px); }

.poster {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-3);
  aspect-ratio: 186 / 326; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px rgba(0,0,0,.9);
  transition: transform .3s ease, box-shadow .3s ease;
}
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.poster-hover {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 14px; text-align: left;
  background: linear-gradient(0deg, rgba(5,4,11,.97) 0%, rgba(5,4,11,.86) 45%, rgba(5,4,11,.2) 100%);
  opacity: 0; transition: opacity .25s ease;
}
.poster-genre { font-size: 11.5px; font-weight: 700; color: #ffb27d; }
.poster-desc { font-size: 12.5px; line-height: 1.45; color: #ddd9f2; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.play-pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; color: #0b0817; font-weight: 800; font-size: 13px;
}
@media (hover: hover) {
  .movie-card:hover .poster { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(240,70,156,.55), 0 26px 50px -18px rgba(139,92,246,.6); }
  .movie-card:hover .poster img { transform: scale(1.06); }
  .movie-card:hover .poster-hover, .poster:focus-visible .poster-hover { opacity: 1; }
}
.card-meta { padding: 12px 2px 0; }
.card-title { font-size: 14.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-genre { font-size: 13px; color: var(--muted); margin-top: 2px; }
.card-genre span { color: var(--dim); margin-left: 4px; }
.card-desc { font-size: 13px; color: var(--muted); margin-top: 6px; }
.movie-card--featured .card-title { font-size: 16px; }
.movie-card--featured .btn { margin-top: 12px; }

/* ranked (Trending) */
.movie-row--ranked .row-track { gap: 8px; }
.movie-row--ranked .movie-card { width: auto; display: grid; grid-template-columns: auto clamp(118px, 12vw, 150px); grid-template-areas: "num poster" ". meta"; align-items: end; }
.movie-row--ranked .poster { grid-area: poster; }
.movie-row--ranked .rank-num { grid-area: num; }
.movie-row--ranked .card-meta { grid-area: meta; min-width: 0; }
.rank-num {
  font-family: var(--font-display); font-weight: 800; line-height: .78; letter-spacing: -.08em;
  font-size: clamp(5.5rem, 10vw, 8.5rem);
  color: var(--bg); -webkit-text-stroke: 2px rgba(255,255,255,.35);
  margin-right: -14px; position: relative; z-index: 0; user-select: none;
}
.movie-row--ranked .poster { z-index: 1; }
.movie-row--ranked .movie-card:nth-child(-n+3) .rank-num { -webkit-text-stroke: 0; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* =========================================================
   FEATURED BANNER
   ========================================================= */
.banner { position: relative; isolation: isolate; overflow: hidden; margin: 48px 0 24px; padding: clamp(56px, 8vw, 104px) 0; border-block: 1px solid var(--line); }
.banner-bg {
  position: absolute; inset: -60px; z-index: -2;
  background-size: cover; background-position: center 30%;
  filter: blur(46px) saturate(1.5) brightness(.5); transform: scale(1.1);
}
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,4,11,.92) 0%, rgba(5,4,11,.65) 55%, rgba(5,4,11,.2) 100%);
}
.banner-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 48px; }
.banner-kicker { font-weight: 700; color: #ffb27d; font-size: 15px; }
.banner-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.03em; margin-top: 10px; }
.banner-tagline { margin-top: 10px; font-size: 1.15rem; color: #e6e1ff; font-style: italic; }
.banner-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.badge { border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 8px; font-size: 12px; color: var(--text); }
.banner-synopsis { margin-top: 18px; max-width: 56ch; color: #d8d4ee; font-size: 1.05rem; }
.banner-creator { margin-top: 14px; color: var(--dim); font-size: 14px; }
.banner-poster { justify-self: center; position: relative; }
.banner-poster img {
  width: clamp(200px, 22vw, 280px); aspect-ratio: 186 / 326; object-fit: cover; border-radius: 20px;
  transform: rotate(3deg);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px -30px rgba(255, 90, 40, .75), 0 30px 60px -30px rgba(0,0,0,.9);
}
@media (max-width: 760px) {
  .banner-inner { grid-template-columns: 1fr; gap: 32px; }
  .banner-poster { order: -1; justify-self: start; }
  .banner-poster img { width: 160px; transform: rotate(-2deg); }
  .banner::before { background: linear-gradient(180deg, rgba(5,4,11,.5), rgba(5,4,11,.92) 45%); }
}

/* =========================================================
   GENERIC SECTION
   ========================================================= */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.03em; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 60ch; }

/* =========================================================
   HOW IT WORKS – film strip
   ========================================================= */
.how { padding-bottom: 0; }
.filmstrip {
  position: relative; padding: 46px 0;
  background: linear-gradient(180deg, #0a0816, #0e0b1d);
  border-block: 1px solid var(--line);
}
.filmstrip::before, .filmstrip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background-image: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,.08) 14px 32px, transparent 32px 40px);
  border-radius: 3px;
}
.filmstrip::before { top: 14px; }
.filmstrip::after { bottom: 14px; }
.steps { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.step-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2);
}
.step-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: saturate(1.1) brightness(.7); }
.step-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,4,11,.9), rgba(5,4,11,.05) 70%); }
.step-num {
  position: absolute; left: 12px; bottom: 6px; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-icon {
  position: absolute; right: 10px; top: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(5,4,11,.55); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.step-title { margin-top: 16px; font-size: 16px; font-weight: 700; }
.step-desc { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 600px)  { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } .step-num { font-size: 2rem; } }

/* =========================================================
   FEATURES – bento
   ========================================================= */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "char char char story story story"
    "scene scene prompt prompt video video"
    "time time proj proj video video";
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  padding: 26px; background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line);
}
.tile > p, .tile-over > p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 46ch; }
.tile-head { display: flex; align-items: center; gap: 10px; }
.tile-head .icon { color: #ffb27d; }
.tile-head h3 { font-size: 17px; font-weight: 700; }
.tile--character { grid-area: char; }
.tile--story { grid-area: story; }
.tile--scene { grid-area: scene; }
.tile--prompt { grid-area: prompt; }
.tile--video { grid-area: video; padding: 0; min-height: 380px; display: flex; }
.tile--timeline { grid-area: time; }
.tile--projects { grid-area: proj; }

.mock-script { margin-top: 18px; padding: 16px; border-radius: 12px; background: rgba(5,4,11,.6); border: 1px solid var(--line); font-size: 13.5px; color: #cfcbe6; display: grid; gap: 8px; }
.mock-script b { color: var(--text); margin-right: 6px; }
.ms-idea { color: #ffb27d; font-weight: 600; }

.mock-char { margin-top: 18px; display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(5,4,11,.6); border: 1px solid var(--line); }
.mock-char img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; border-radius: 10px; flex: 0 0 auto; }
.mc-name { font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line); color: #d8d4ee; }
.chip .icon { width: 13px; height: 13px; }
.chip--ok { color: var(--green); border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }

.mock-scene { margin: 18px 0 0; display: grid; gap: 1px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.mock-scene div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; background: rgba(5,4,11,.85); font-size: 13.5px; }
.mock-scene dt { color: var(--dim); }
.mock-scene dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }

.mock-prompt { margin: 18px 0 0; padding: 16px; border-radius: 12px; background: rgba(5,4,11,.85); border: 1px solid var(--line); white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.6; color: #cfcbe6; }
.mock-prompt span { color: #ff9ccc; }

.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.tile--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,4,11,.96) 18%, rgba(5,4,11,.3) 70%, rgba(5,4,11,.1)); }
.tile-over { position: relative; z-index: 1; margin-top: auto; padding: 26px; width: 100%; }
.mock-job { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 10px; padding: 14px; border-radius: 12px; background: rgba(5,4,11,.7); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 600; }
.job-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,61,.2); animation: pulse 1.6s ease-in-out infinite; }
.job-pct { color: var(--muted); }
.job-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.job-bar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,138,61,0); } }

.mock-timeline { position: relative; margin-top: 22px; display: flex; gap: 4px; height: 96px; padding: 8px; border-radius: 12px; background: rgba(5,4,11,.7); border: 1px solid var(--line); }
.tl-clip { flex: 0 0 var(--w); border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.tl-clip img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.tl-head { position: absolute; top: 2px; bottom: 2px; left: 41%; width: 2px; background: var(--pink); box-shadow: 0 0 10px var(--pink); border-radius: 2px; }

.mock-projects { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.mock-projects li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: rgba(5,4,11,.6); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.mock-projects img { width: 30px; height: 40px; object-fit: cover; border-radius: 6px; }
.mock-projects span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.st--done { color: var(--green); background: rgba(52,211,153,.1); }
.st--gen  { color: #ffb27d; background: rgba(255,138,61,.12); }
.st--draft{ color: var(--muted); background: rgba(255,255,255,.07); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas:
    "char char" "story story" "scene prompt" "video video" "time proj"; }
  .tile--video { min-height: 420px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "char" "story" "scene" "prompt" "video" "time" "proj"; }
  .mock-char { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   PRICING
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px;
  border-radius: var(--radius-l); background: rgba(255,255,255,.035); border: 1px solid var(--line);
}
.plan--hot {
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(240,70,156,.7);
}
.plan-flag { position: absolute; top: -12px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--grad); font-size: 12px; font-weight: 800; }
.plan-name { font-size: 18px; font-weight: 700; }
.plan-price { margin-top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; }
.plan-price .cur { font-size: 1.3rem; vertical-align: top; margin-right: 2px; }
.plan-price .per { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-credits { margin-top: 10px; color: #ffb27d; font-weight: 700; font-size: 14px; }
.plan-feats { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14.5px; color: #d8d4ee; flex: 1; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; }
.plan-feats .icon { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.plans-note { margin-top: 28px; color: var(--muted); text-align: center; }
.plans-note a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 4px; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 580px)  { .plans { grid-template-columns: 1fr; } }

/* =========================================================
   TESTIMONIALS & FAQ
   ========================================================= */
.quotes { padding-top: 0; }
.quotes .section-title { margin-bottom: 36px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { margin: 0; padding: 28px; border-radius: var(--radius-l); background: rgba(255,255,255,.035); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: #e6e1ff; }
.quote figcaption { color: var(--muted); font-size: 14px; }
.quote figcaption b { color: var(--text); margin-right: 6px; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

.faq { padding-top: 0; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: rgba(255,255,255,.035); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); max-width: 66ch; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0 clamp(72px, 9vw, 110px); text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 50% 100%, rgba(139,92,246,.35), transparent 70%), radial-gradient(40% 50% at 30% 90%, rgba(255,138,61,.22), transparent 70%); }
.cta-fan { display: flex; justify-content: center; align-items: flex-start; margin-bottom: clamp(48px, 6vw, 72px); }
.cta-fan img {
  width: clamp(110px, 13vw, 160px); aspect-ratio: 186 / 326; object-fit: cover; border-radius: 14px;
  margin-inline: -18px;
  transform: rotate(calc(var(--i) * 7deg)) translateY(calc(var(--i) * var(--i) * 6px));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 50px -20px rgba(0,0,0,.9);
}
.cta-fan img:nth-child(3) { z-index: 2; transform: translateY(-10px) scale(1.08); }
.cta-fan img:nth-child(2), .cta-fan img:nth-child(4) { z-index: 1; }
.cta-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4.4vw, 3.4rem); letter-spacing: -.03em; max-width: 18ch; margin-inline: auto; }
.cta-copy p { margin: 16px 0 30px; color: var(--muted); font-size: 1.08rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: #04030a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-tag { margin-top: 14px; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.site-footer nav a { color: var(--muted); font-size: 14px; }
.site-footer nav a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* =========================================================
   MODAL & TOASTS
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,2,8,.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s ease; }
.modal-card {
  position: relative; isolation: isolate; overflow: hidden; width: min(860px, 100%); max-height: calc(100svh - 40px); overflow-y: auto;
  border-radius: var(--radius-l); border: 1px solid var(--line-2); background: var(--bg-2);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); animation: rise .25s ease;
}
.modal-bg { position: absolute; inset: -60px; z-index: -1; background-size: cover; background-position: center; filter: blur(50px) saturate(1.4) brightness(.35); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5,4,11,.6); display: grid; place-items: center; }
.modal-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 36px; align-items: center; }
.modal-body img { width: 220px; aspect-ratio: 186 / 326; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -25px rgba(0,0,0,.9); }
.modal-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.03em; padding-right: 40px; }
.modal-syn { margin-top: 16px; color: #d8d4ee; }
@media (max-width: 640px) {
  .modal { align-items: end; padding: 0; }
  .modal-card { border-radius: var(--radius-l) var(--radius-l) 0 0; max-height: 92svh; }
  .modal-body { grid-template-columns: 1fr; padding: 28px 22px calc(28px + env(safe-area-inset-bottom, 0px)); gap: 20px; }
  .modal-body img { width: 130px; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.toast-stack { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; gap: 10px; }
.toast { max-width: 340px; padding: 14px 18px; border-radius: 14px; background: rgba(20,17,39,.95); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); font-size: 14px; animation: rise .25s ease; }
.toast b { display: block; margin-bottom: 2px; }

body.no-scroll { overflow: hidden; }

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