@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg:        #050507;
  --bg2:       #0a0a0f;
  --surface:   #0f0f16;
  --surface2:  #16161f;
  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,255,255,0.1);

  --red:       #ff3d2e;
  --orange:    #ff6b1a;
  --gold:      #ffb347;
  --fire: linear-gradient(135deg, #ff3d2e 0%, #ff6b1a 50%, #ffb347 100%);

  --white:     #f2efe9;
  --muted:     #5c5c6e;
  --muted2:    #9090a8;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── FILM GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(5,5,7,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--fire);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
}
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: .06em; color: var(--white);
}
.nav-brand-text span { background: var(--fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted2); text-decoration: none; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-back {
  font-size: .8rem; color: var(--muted2); text-decoration: none;
  display: flex; align-items: center; gap: .4rem; transition: color .2s;
}
.nav-back:hover { color: var(--orange); }
.btn-nav {
  background: var(--fire); color: var(--white);
  padding: .5rem 1.3rem; border-radius: 6px;
  font-size: .82rem; font-weight: 600; text-decoration: none;
  font-family: var(--font-body); letter-spacing: .03em;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 0 20px rgba(255,61,46,0.3);
}
.btn-nav:hover { opacity: .9; transform: translateY(-1px); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 4rem 5rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 70% at 60% 40%, rgba(255,61,46,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(255,107,26,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 10% 20%, rgba(255,179,71,0.05) 0%, transparent 50%);
}
.hero-scanlines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .03;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,1) 2px, rgba(255,255,255,1) 4px);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 6rem;
  align-items: center; width: 100%; max-width: 1400px; margin: 0 auto;
}
.hero-left {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,61,46,0.08); border: 1px solid rgba(255,61,46,0.25);
  padding: .38rem 1rem; border-radius: 100px; margin-bottom: 2rem;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 8rem);
  line-height: .9; letter-spacing: .03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
h1.hero-title .fire-text {
  background: var(--fire);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: block;
}
h1.hero-title .ghost-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,239,233,0.15);
  display: block;
}
.hero-desc {
  font-size: 1.05rem; line-height: 1.78; color: var(--muted2);
  font-weight: 300; max-width: 520px; margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.btn-fire {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--fire); color: var(--white);
  padding: .9rem 2rem; border-radius: 7px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 32px rgba(255,61,46,0.3);
  font-family: var(--font-body);
}
.btn-fire:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(255,61,46,0.5); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1px solid var(--border2); color: var(--white);
  padding: .9rem 2rem; border-radius: 7px;
  font-size: .95rem; text-decoration: none; font-weight: 400;
  transition: border-color .2s, background .2s;
  font-family: var(--font-body);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.03); }

.hero-stats { display: flex; gap: 2.5rem; }
.hstat { }
.hstat-num {
  font-family: var(--font-display); font-size: 2.2rem; letter-spacing: .04em;
  background: var(--fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hstat-label { font-size: .75rem; color: var(--muted); margin-top: .25rem; letter-spacing: .05em; }

/* hero right — cinematic dashboard mockup */
.hero-right { position: relative; }
.studio-mockup {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.8), 0 0 60px rgba(255,61,46,0.08);
}
.mockup-titlebar {
  background: var(--surface2); padding: .6rem 1rem;
  display: flex; align-items: center; gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.mtb-dot { width: 9px; height: 9px; border-radius: 50%; }
.mtb-dot.r { background: #ff5f57; }
.mtb-dot.y { background: #febc2e; }
.mtb-dot.g { background: #28c840; }
.mtb-title {
  margin-left: .8rem; font-size: .75rem; color: var(--muted2);
  font-weight: 500; letter-spacing: .05em;
}
.mockup-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; }

/* scene cards in mockup */
.scene-row {
  display: flex; gap: .7rem; align-items: stretch;
}
.scene-thumb {
  width: 90px; height: 54px; border-radius: 6px; flex-shrink: 0;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.scene-thumb.t1 { background: linear-gradient(135deg, #1a1225, #2d1b69); }
.scene-thumb.t2 { background: linear-gradient(135deg, #0d1f0d, #1a3a1a); }
.scene-thumb.t3 { background: linear-gradient(135deg, #1f0d0d, #3a1a1a); }
.scene-thumb.t4 { background: linear-gradient(135deg, #1a1a0d, #3a3a1a); }
.scene-thumb-icon { font-size: 1.2rem; }
.scene-info { flex: 1; }
.scene-label {
  font-size: .72rem; font-weight: 600; color: var(--white);
  letter-spacing: .04em; margin-bottom: .2rem;
}
.scene-meta { font-size: .68rem; color: var(--muted); }
.scene-bar { height: 3px; background: var(--border); border-radius: 2px; margin-top: .5rem; overflow: hidden; }
.scene-bar-fill { height: 100%; border-radius: 2px; background: var(--fire); }
.scene-status {
  font-size: .65rem; padding: .2rem .55rem; border-radius: 4px;
  font-weight: 600; letter-spacing: .06em; align-self: center; flex-shrink: 0;
}
.ss-done  { background: rgba(40,200,64,0.12); color: #28c840; }
.ss-proc  { background: rgba(255,107,26,0.12); color: var(--orange); }
.ss-wait  { background: rgba(255,255,255,0.06); color: var(--muted2); }

/* timeline strip */
.mockup-timeline {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: .8rem 1.2rem;
}
.tl-label { font-size: .65rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.tl-track {
  height: 28px; background: var(--surface); border-radius: 6px;
  display: flex; align-items: center; padding: 0 .4rem; gap: .3rem; overflow: hidden;
}
.tl-block {
  height: 18px; border-radius: 3px; display: flex; align-items: center;
  justify-content: center; font-size: .6rem; font-weight: 600;
  letter-spacing: .04em; padding: 0 .5rem; flex-shrink: 0;
}
.tl-b1 { width: 20%; background: rgba(255,61,46,0.25); color: var(--red); border: 1px solid rgba(255,61,46,0.3); }
.tl-b2 { width: 15%; background: rgba(255,107,26,0.2); color: var(--orange); border: 1px solid rgba(255,107,26,0.25); }
.tl-b3 { width: 25%; background: rgba(255,179,71,0.15); color: var(--gold); border: 1px solid rgba(255,179,71,0.2); }
.tl-b4 { width: 18%; background: rgba(255,61,46,0.25); color: var(--red); border: 1px solid rgba(255,61,46,0.3); }
.tl-cursor {
  width: 2px; height: 28px; background: var(--red);
  margin-left: auto; flex-shrink: 0;
  box-shadow: 0 0 6px var(--red);
}

/* glow badge */
.hero-badge {
  position: absolute; top: -1rem; right: -1.5rem;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 12px; padding: .9rem 1.2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,.5);
  min-width: 150px;
}
.hb-label { font-size: .68rem; color: var(--muted); margin-bottom: .35rem; letter-spacing: .06em; }
.hb-val {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .04em;
  background: var(--fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hb-sub { font-size: .7rem; color: var(--muted2); margin-top: .1rem; }

/* ── SECTION COMMONS ── */
section { padding: 6rem 4rem; }
.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--orange); }
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: .04em; line-height: .95; color: var(--white);
}
h2.section-title .fire { background: var(--fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
p.section-sub {
  font-size: .97rem; line-height: 1.75; color: var(--muted2);
  font-weight: 300; max-width: 600px; margin-top: 1rem;
}

/* ── FEATURES ── */
#features { background: var(--bg2); position: relative; overflow: hidden; }
#features::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,61,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.features-header { max-width: 700px; margin-bottom: 4rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.feat {
  background: var(--bg2); padding: 2.5rem;
  transition: background .3s;
  position: relative;
}
.feat:hover { background: var(--surface); }
.feat.span2 { grid-column: span 2; }
.feat-icon {
  width: 46px; height: 46px; border-radius: 10px; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: rgba(255,61,46,0.08); border: 1px solid rgba(255,61,46,0.2);
  flex-shrink: 0;
}
.feat h3 {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .05em;
  color: var(--white); margin-bottom: .6rem;
}
.feat p { font-size: .88rem; color: var(--muted2); line-height: 1.7; }
.feat-tag {
  display: inline-block; margin-top: 1rem; margin-right: .4rem;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); background: rgba(255,107,26,0.08);
  border: 1px solid rgba(255,107,26,0.2);
  padding: .2rem .65rem; border-radius: 4px;
}
/* wide feature with demo */
.feat-demo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.json-block {
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: 10px; padding: 1.2rem; font-family: 'Courier New', monospace;
  font-size: .72rem; line-height: 1.6; color: var(--muted2);
  overflow: hidden;
}
.json-key   { color: var(--gold); }
.json-val   { color: #7ec8e3; }
.json-str   { color: #98d982; }
.json-num   { color: var(--orange); }
.json-brace { color: var(--muted2); }

/* ── HOW IT WORKS ── */
#how { background: var(--bg); }
.how-header { margin-bottom: 4rem; }
.pipeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.pipeline::before {
  content: ''; position: absolute;
  top: 2.1rem; left: calc(12.5% + 1rem); right: calc(12.5% + 1rem); height: 1px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
  z-index: 0;
}
.pipe-step {
  text-align: center; padding: 0 1.5rem; position: relative; z-index: 1;
}
.pipe-num {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .04em;
  background: var(--fire); color: var(--white);
  box-shadow: 0 0 24px rgba(255,61,46,0.4);
}
.pipe-step h4 {
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .06em;
  color: var(--white); margin-bottom: .5rem;
}
.pipe-step p { font-size: .84rem; color: var(--muted2); line-height: 1.65; }
.pipe-icon { font-size: 1.5rem; margin-bottom: .7rem; }

/* ── GALLERY ── */
#gallery { background: var(--bg2); }
.gallery-header { margin-bottom: 3rem; }

.gallery-tabs {
  display: flex; gap: .5rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.gtab {
  background: none; border: 1px solid var(--border2);
  color: var(--muted2); padding: .45rem 1.2rem; border-radius: 100px;
  font-family: var(--font-body); font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: all .2s; letter-spacing: .04em;
}
.gtab.active, .gtab:hover {
  background: rgba(255,61,46,0.1); border-color: rgba(255,61,46,0.35); color: var(--orange);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gitem {
  border-radius: 12px; overflow: hidden; position: relative;
  cursor: pointer; border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  background: var(--surface);
}
.gitem:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 20px rgba(255,61,46,0.1);
  border-color: rgba(255,61,46,0.3);
}
.gitem.gitem-wide { grid-column: span 2; }

/* screenshot fills full width, auto height */
.gitem img {
  width: 100%; height: auto;
  object-fit: cover; object-position: top center;
  display: block; transition: transform .4s ease;
}
.gitem:hover img { transform: scale(1.02); }

/* label always visible at bottom */
.gitem-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(5,5,7,0.92) 0%, rgba(5,5,7,0.5) 50%, transparent 100%);
  padding: 2.5rem 1rem 1rem;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.gitem-tag {
  display: inline-block; font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); background: rgba(255,107,26,0.18);
  border: 1px solid rgba(255,107,26,0.3);
  padding: .18rem .6rem; border-radius: 4px;
  margin-bottom: .4rem; width: fit-content;
}
.gitem-title {
  font-family: var(--font-display); font-size: 1rem;
  letter-spacing: .05em; color: var(--white); margin-bottom: .2rem;
}
.gitem-desc {
  font-size: .75rem; color: var(--muted2); line-height: 1.45;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
  opacity: 0;
}
.gitem:hover .gitem-desc { max-height: 80px; opacity: 1; }

/* ── LIGHTBOX ── */
.a-lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.a-lightbox.open { display: flex; }
.a-lb-inner {
  max-width: 1100px; width: 90vw;
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
.a-lb-inner img {
  max-height: 72vh; width: auto; max-width: 100%;
  border-radius: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.8);
  display: block;
}
.a-lb-caption {
  text-align: center;
}
.a-lb-tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); background: rgba(255,107,26,0.12);
  border: 1px solid rgba(255,107,26,0.3);
  padding: .2rem .7rem; border-radius: 4px; margin-bottom: .5rem;
}
.a-lb-title {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .06em;
  color: var(--white); margin-bottom: .3rem;
}
.a-lb-desc { font-size: .88rem; color: var(--muted2); max-width: 600px; }
.a-lb-close {
  position: fixed; top: 1.5rem; right: 2rem;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border2);
  color: var(--white); font-size: 1.2rem; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 1001;
}
.a-lb-close:hover { background: rgba(255,255,255,0.15); }
.a-lb-prev, .a-lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.06); border: 1px solid var(--border2);
  color: var(--white); font-size: 1.8rem; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 1001;
}
.a-lb-prev { left: 1.5rem; }
.a-lb-next { right: 1.5rem; }
.a-lb-prev:hover, .a-lb-next:hover { background: rgba(255,61,46,0.2); border-color: rgba(255,61,46,0.4); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gitem.gitem-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gitem.gitem-wide { grid-column: auto; }
}
#usecases { background: var(--bg2); }
.cases-header { margin-bottom: 4rem; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
  border-radius: 16px; padding: 2.2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.case-card:hover {
  border-color: rgba(255,61,46,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 30px rgba(255,61,46,0.06);
}
.case-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--fire); opacity: 0; transition: opacity .3s;
}
.case-card:hover::before { opacity: 1; }
.case-icon { font-size: 2rem; margin-bottom: 1.2rem; }
.case-card h3 {
  font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .05em;
  color: var(--white); margin-bottom: .6rem;
}
.case-card p { font-size: .87rem; color: var(--muted2); line-height: 1.68; }
.case-tag {
  display: inline-block; margin-top: 1.2rem;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); background: rgba(255,107,26,0.08);
  border: 1px solid rgba(255,107,26,0.2);
  padding: .22rem .65rem; border-radius: 4px;
}

/* ── CTA ── */
#cta {
  background: var(--bg); padding: 8rem 4rem;
  text-align: center; position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,61,46,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: .04em; line-height: .9; color: var(--white);
  margin-bottom: 1.5rem;
}
.cta-inner h2 .fire { background: var(--fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.cta-inner p { color: var(--muted2); font-size: 1rem; margin-bottom: 2.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 1.8rem 4rem; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .08em;
  color: var(--white);
}
.footer-brand span { background: var(--fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
footer p { font-size: .8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .8rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── FADE IN ── */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { display: none; }
  .pipeline { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .pipeline::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feat.span2 { grid-column: auto; }
  .feat-demo { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  section, #hero, #cta { padding: 5rem 1.5rem; }
  .cases-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .nav-links { display: none; }
  h1.hero-title { font-size: 4rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}
