/* ReelStar — site styles */
:root {
  --bg: #07070b;
  --bg-2: #0e0e16;
  --card: #13131d;
  --card-2: #181826;
  --line: #24243a;
  --text: #f4f3fa;
  --muted: #a3a1b8;
  --dim: #6f6d86;
  --accent: #a855f7;
  --accent-2: #f59e0b;
  --accent-3: #ec4899;
  --grad: linear-gradient(110deg, #a855f7 0%, #ec4899 50%, #f59e0b 100%);
  --radius: 18px;
  --max: 1180px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--muted); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 1.1rem;
}
.eyebrow::before { content: "★"; color: var(--accent-2); }
section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px rgba(236, 72, 153, .6); }
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(236, 72, 153, .8); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7,7,11,.78); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.035em; display: flex; align-items: flex-start; line-height: 1; }
.logo .spark { width: .5em; height: .5em; fill: var(--accent-2); margin: -.18em 0 0 .06em; flex: none; }
.logo .ai { color: var(--dim); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: .95rem; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links .btn { padding: 11px 20px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.hero-video { position: absolute; inset: 0; z-index: 0; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(168,85,247,.25), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(245,158,11,.18), transparent 55%),
    linear-gradient(180deg, rgba(7,7,11,.35) 0%, rgba(7,7,11,.6) 60%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 600px; color: #cfcde0; margin: 1.2rem 0 2.2rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.hero-meta div { font-size: .9rem; color: var(--dim); }
.hero-meta strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--text); letter-spacing: -0.02em; }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-family: var(--font-head); font-size: 1.25rem; color: var(--dim); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "★"; color: var(--accent); font-size: .9rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: border-color .25s, transform .25s;
}
.card:hover { border-color: #3a3a5c; transform: translateY(-4px); }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem;
  background: rgba(168,85,247,.12); border: 1px solid rgba(168,85,247,.3); margin-bottom: 20px;
}
.card p { margin: 0; font-size: .97rem; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { font-size: .92rem; color: var(--muted); padding: 5px 0 5px 22px; position: relative; }
.card li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* Showreel */
.reel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.reel { grid-column: span 2; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); position: relative; cursor: pointer; }
.reel.feature { grid-column: span 4; grid-row: span 2; }
.reel .thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--card-2); }
.reel.feature .thumb { aspect-ratio: auto; height: 100%; min-height: 360px; }
.reel .thumb img, .reel .thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.reel:hover .thumb img, .reel:hover .thumb video { transform: scale(1.04); }
.reel .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75));
}
.reel .play span {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
  display: grid; place-items: center; font-size: 1.3rem; border: 1px solid rgba(255,255,255,.25); transition: transform .25s, background .25s;
}
.reel:hover .play span { transform: scale(1.1); background: rgba(168,85,247,.55); }
.reel .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; }
.reel .info h3 { margin: 0 0 2px; font-size: 1.1rem; }
.reel .info p { margin: 0; font-size: .85rem; color: #cfcde0; }
.reel .tag { position: absolute; top: 14px; left: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15); }
.reel.soon { cursor: default; }
.reel.soon .thumb { display: grid; place-items: center; background:
  radial-gradient(circle at 30% 30%, rgba(168,85,247,.28), transparent 60%),
  radial-gradient(circle at 75% 75%, rgba(245,158,11,.2), transparent 60%), var(--card-2); }
.reel.soon .thumb .soon-label {
  position: absolute; top: 14px; right: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2); padding: 5px 10px; border-radius: 999px; border: 1px dashed rgba(245,158,11,.5);
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 30px; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step.card { padding-top: 90px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { display: flex; flex-direction: column; }
.price.popular { background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; position: relative; }
.price .badge { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price h3 { font-size: 1.4rem; margin-bottom: .25em; }
.price .for { font-size: .92rem; margin-bottom: 1.3rem; min-height: 3em; }
.price .amount { font-family: var(--font-head); font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price .amount small { font-size: 1rem; color: var(--dim); font-weight: 500; font-family: var(--font-body); letter-spacing: 0; }
.price .from { font-size: .8rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.price ul { flex: 1; margin: 24px 0 28px; }
.price li::before { content: "✓"; color: #4ade80; }
.price .btn { width: 100%; }
.addons { margin-top: 60px; }
.addon-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.addon-row:last-child { border-bottom: 0; }
.addon-row span { color: var(--muted); }
.addon-row strong { font-family: var(--font-head); white-space: nowrap; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-head); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; }

/* Trust strip */
.trust { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .card { background: transparent; border: 0; padding: 0; }
.trust .card:hover { transform: none; }

/* CTA */
.cta-band {
  border-radius: 28px; padding: 70px 56px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(168,85,247,.45), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(245,158,11,.35), transparent 55%),
    var(--card);
  border: 1px solid var(--line);
}
.cta-band h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 560px; margin: 0 auto 2rem; color: #d6d4e6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item .icon { margin: 0; flex: none; }
.contact-item h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); }
.contact-item a:hover { color: var(--text); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .85rem; font-weight: 600; margin: 0 0 7px; color: #d6d4e6; }
.field { margin-bottom: 18px; }
input, select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font: inherit; font-size: .97rem; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(168,85,247,.2); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--dim); margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 600; }

/* Page header (inner pages) */
.page-head { padding: 170px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 520px; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, rgba(168,85,247,.28), transparent 60%);
}
.page-head p { max-width: 620px; margin: 0 auto; font-size: 1.15rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 40px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 14px; font-family: var(--font-body); }
.foot a { display: block; color: var(--muted); padding: 4px 0; font-size: .95rem; }
.foot a:hover { color: var(--text); }
.foot a.logo { display: inline-flex; font-size: 1.45rem; padding: 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--dim); }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.88); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal video { max-height: 85vh; width: min(1100px, 100%); border-radius: 16px; background: #000; }
.modal-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 980px) {
  .grid-3, .grid-4, .price-grid { grid-template-columns: 1fr 1fr; }
  .reel-grid { grid-template-columns: 1fr 1fr; }
  .reel, .reel.feature { grid-column: span 2; grid-row: auto; }
  .reel.feature .thumb { min-height: 0; aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(7,7,11,.97); border-bottom: 1px solid var(--line); padding: 10px 16px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; border-bottom: 0; }
  .menu-toggle { display: block; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4, .price-grid, form .row { grid-template-columns: 1fr; }
  .reel, .reel.feature { grid-column: span 2; }
  .hero-meta { gap: 26px; }
  .cta-band { padding: 50px 22px; }
  .foot { grid-template-columns: 1fr; }
  .addon-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}
