/* ============================================================
   Apex Angle Studios — apxangle.com
   ============================================================ */

:root {
  --bg: #0a0a08;
  --bg-soft: #111110;
  --card: #161614;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f4f0;
  --muted: #a3a39c;
  --accent: #d2ff00;
  --accent-dim: #b8e000;
  --font-body: "Archivo", -apple-system, sans-serif;
  --font-display: "Archivo", sans-serif;
}

/* expanded width for all display type (Archivo variable font, wdth axis) */
.hero-title, .section-title, .contact-title, .brand-mark, .stat-num,
.step-num, .plat h3, .creators-list span, .faq-item summary,
.pc-title, .tlogo, .contact-mail {
  font-stretch: 125%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  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;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.accent { color: var(--accent); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s);
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* masked line reveal for display titles */
.tline { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.tline-in {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}
.tline:nth-child(2) .tline-in { transition-delay: 0.12s; }
.tline:nth-child(3) .tline-in { transition-delay: 0.24s; }
body.loaded .hero-title .tline-in { transform: none; }
.section-title.in .tline-in, .contact-title.in .tline-in { transform: none; }
.section-title.reveal, .contact-title.reveal { filter: none; transform: none; opacity: 1; transition: none; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 40px;
  background: linear-gradient(rgba(10, 10, 8, 0.92), rgba(10, 10, 8, 0.75));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.header.hidden { transform: translateY(-101%); }
.header.scrolled { border-bottom-color: var(--line); }

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--text); }
.brand-mark { display: block; }
.logo-apx { display: block; height: 30px; width: auto; }
.footer .logo-apx { height: 26px; }
.brand-divider { width: 1px; height: 34px; background: var(--line); }
.brand-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1.5;
}
.brand-name em { font-style: normal; color: var(--accent); font-size: 10px; letter-spacing: 0.5em; }

.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav a:hover { opacity: 1; color: var(--accent); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.btn-cta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transition: background 0.25s; }
.btn-cta { position: relative; overflow: hidden; z-index: 0; transition: color 0.3s, transform 0.3s; }
.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
  border-radius: inherit;
}
.btn-cta:hover { color: #0a0a08; transform: translateY(-1px); }
.btn-cta:hover::before { transform: none; }
.btn-cta:hover .dot { background: #0a0a08; }
.btn-cta .dot { transition: background 0.3s; }

.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
@keyframes blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-60px, 40px) scale(1.15); }
  100% { transform: translate(40px, -30px) scale(0.95); }
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 560px; height: 560px;
  right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(210, 255, 0, 0.09), transparent 65%);
  animation: blob-drift 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 480px; height: 480px;
  left: -160px; bottom: -60px;
  background: radial-gradient(circle, rgba(210, 255, 0, 0.05), transparent 65%);
  animation: blob-drift 20s ease-in-out infinite alternate-reverse;
}
.hero-inner, .trusted { position: relative; z-index: 1; }

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-3%, -2%); }
  30% { transform: translate(2%, -4%); }
  50% { transform: translate(-4%, 3%); }
  70% { transform: translate(3%, 2%); }
  90% { transform: translate(-2%, 4%); }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 78% 30%, rgba(210, 255, 0, 0.05), transparent 60%),
    radial-gradient(ellipse 55% 45% at 15% 75%, rgba(210, 255, 0, 0.03), transparent 60%),
    var(--bg);
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  align-items: center;
  gap: 24px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 40px 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 18px;
  border: 1px solid rgba(210, 255, 0, 0.35);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.hero-sub { margin-top: 28px; max-width: 440px; color: var(--muted); font-size: 17px; }

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
  margin-top: 48px;
  max-width: 620px;
}
.feature .ficon { width: 34px; height: 34px; color: var(--accent); }
.feature h4 {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}
.feature p { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 52px;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.scroll-circle {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  transition: background 0.25s, color 0.25s;
}
.scroll-circle svg { width: 22px; height: 22px; }
.scroll-cue:hover .scroll-circle { background: var(--accent); color: #0a0a08; }

/* --- tilted phone cards --- */
.hero-cards { position: relative; height: 100%; min-height: 560px; perspective: 1400px; }
.cards-tilt {
  position: absolute;
  top: 50%;
  left: 55%;
  transform:
    translate(-50%, -50%)
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    rotate(-8deg) scale(1.04);
  display: flex;
  gap: 22px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}
.card-col { transition: transform 0.2s ease-out; }
.card-col { display: flex; flex-direction: column; gap: 22px; }
.col-up { margin-top: -60px; }
.col-down { margin-top: 60px; }

.pcard {
  position: relative;
  width: 158px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s, box-shadow 0.5s;
  cursor: pointer;
}
.pcard:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(210, 255, 0, 0.55);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7), 0 0 44px rgba(210, 255, 0, 0.12);
}
.pcard .pc-video { transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.pcard:hover .pc-video { transform: scale(1.07); }
.pc-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.72) 100%);
  z-index: 1;
}
.pcard::after {
  z-index: 2;
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 14px;
  height: 18px;
  background: rgba(255,255,255,0.75);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
  opacity: 0.7;
}
.pc-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.pc-meta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.pc-meta svg { width: 12px; height: 12px; fill: currentColor; }

/* series posters (AI-generated via Kling); background color = fallback while loading */
.g1 { background: #2b0a12 url(../img/crown-of-lies.jpg) center/cover no-repeat; }
.g2 { background: #240b05 url(../img/midnight-vows.jpg) center/cover no-repeat; }
.g3 { background: #071619 url(../img/the-heir-returns.jpg) center/cover no-repeat; }
.g4 { background: #1e1504 url(../img/second-chance-ceo.jpg) center/cover no-repeat; }
.g5 { background: #120b1e url(../img/silent-empire.jpg) center/cover no-repeat; }
.g6 { background: #05140f url(../img/blood-and-roses.jpg) center/cover no-repeat; }
.g7 { background: #180508 url(../img/fatal-contract.jpg) center/cover no-repeat; }
.g8 { background: #14110e url(../img/masked-bride.jpg) center/cover no-repeat; }

/* --- trusted strip --- */
.trusted {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 30px 40px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.trusted-copy { flex-shrink: 0; max-width: 380px; }
.trusted-copy h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.trusted-copy p { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.trusted-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}
.marquee {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 14px; padding-right: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tlogo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: color 0.25s;
}
.tlogo:hover { color: rgba(255, 255, 255, 0.8); }
.tlogo small { font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; vertical-align: middle; }

/* ============ SECTIONS ============ */
.section { padding: 110px 0; border-top: 1px solid var(--line); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-sub { margin-top: 24px; max-width: 560px; color: var(--muted); font-size: 17px; }

/* ---- stats ---- */
.stats { background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat { border-left: 1px solid var(--line); padding-left: 26px; transition: border-color 0.4s; }
.stat:hover { border-left-color: var(--accent); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 4.4vw, 68px);
  color: var(--accent);
  line-height: 1;
}
.stat-label { display: block; margin-top: 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---- production steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); }
.step { position: relative; background: var(--bg); padding: 36px 28px 44px; transition: background 0.3s; }
.step:hover { background: var(--card); }
.step::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.step:hover::after { width: 100%; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent); }
.step h3 { margin-top: 46px; font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.step p { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---- platforms ---- */
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.plat {
  padding: 34px 30px 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.3s, transform 0.3s;
}
.plat:hover { border-color: rgba(210, 255, 0, 0.4); transform: translateY(-4px); }
.plat h3 { font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.plat p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.plat-more { background: linear-gradient(140deg, rgba(210,255,0,0.1), rgba(210,255,0,0.02)); border-color: rgba(210,255,0,0.35); }
.plat-more h3 { color: var(--accent); }
.link-arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.link-arrow::after { content: " →"; }

/* ---- creators ---- */
.creators { background: var(--bg-soft); }
.creators-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.creators-copy .btn-cta { margin-top: 36px; }
.creators-list { list-style: none; }
.creators-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.creators-list li:first-child { border-top: 1px solid var(--line); }
.creators-list span { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.creators-list em { font-style: normal; color: var(--muted); font-size: 14.5px; }

/* ---- about ---- */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; max-width: 1000px; }
.about-cols p { color: var(--muted); font-size: 18px; line-height: 1.75; }

/* ---- faq ---- */
.faq-list { margin-top: 56px; max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-plus { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 18px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.3s;
}
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item p { padding: 0 4px 28px; color: var(--muted); max-width: 720px; }
.faq-item[open] p { animation: faq-open 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

/* ---- contact ---- */
.contact { text-align: center; padding: 150px 0; background:
  radial-gradient(ellipse 50% 60% at 50% 100%, rgba(210, 255, 0, 0.07), transparent 65%), var(--bg); }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.04;
  text-transform: uppercase;
}
.contact-mail {
  position: relative;
  margin-top: 44px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 34px);
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 8px;
  transition: letter-spacing 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-mail::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-mail:hover { letter-spacing: 0.04em; }
.contact-mail:hover::after { transform: scaleX(0.92); transform-origin: right; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 28px; margin-left: auto; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { width: 100%; margin-top: 10px; color: rgba(255,255,255,0.3); font-size: 12.5px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-cards { display: none; }
  .hero-sub, .hero-features { max-width: 640px; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex;
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 8, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 0 20px;
  }
  .nav.open a { padding: 14px 40px; font-size: 15px; }

  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .creators-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-cols { grid-template-columns: 1fr; gap: 24px; }
  .trusted { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section { padding: 80px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .header { padding: 14px 22px; }
  .brand-name { display: none; }
  .brand-divider { display: none; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { gap: 28px; }
  .hero { padding-top: 84px; }
  .hero-inner { padding: 20px 22px 40px; }
  .trusted { padding: 24px 22px; }
  .trusted-logos { gap: 20px; }
  .tlogo { font-size: 16px; }
}


/* ============ FINISHING TOUCHES ============ */
::selection { background: var(--accent); color: #0a0a08; }

html { scrollbar-width: thin; scrollbar-color: #2e2e2a var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2e2e2a; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3d3d38; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

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


/* ============ TZ v2: B2B COMPONENTS ============ */

/* capability pills (workflow strip) */
.cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
}
.cap-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.cap-pill:hover { color: var(--text); border-color: rgba(210, 255, 0, 0.4); }

/* CTA rows + ghost button */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; align-items: center; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* stats: text metric + prefix + footnote */
.stat-text { font-size: clamp(30px, 2.9vw, 46px); line-height: 1.05; padding: 6px 0; display: block; }
.stat-pre {
  font-style: normal;
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.stat .stat-num > span { font: inherit; color: inherit; }
.stats-note { margin-top: 40px; font-size: 12.5px; color: rgba(255, 255, 255, 0.35); max-width: 560px; }

/* steps: title-only tiles + CTA tile */
.step h3 { font-size: 17px; line-height: 1.35; }
.step-cta {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(140deg, rgba(210, 255, 0, 0.12), rgba(210, 255, 0, 0.03));
  transition: background 0.3s;
}
.step-cta h3 { color: var(--accent); }
.step-cta:hover { background: rgba(210, 255, 0, 0.16); }

/* capabilities grid (for platforms & studios) */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.cap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 26px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s;
}
.cap:hover { border-color: rgba(210, 255, 0, 0.4); transform: translateY(-3px); }
.cap-ico { color: var(--accent); font-size: 18px; font-weight: 700; line-height: 1.4; }
.cap p { font-size: 15px; line-height: 1.55; color: var(--text); }

/* request form */
.req-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  width: 100%;
  max-width: 780px;
  margin-top: 48px;
  text-align: left;
}
.req-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.req-form .form-full { grid-column: 1 / -1; }
.req-form input, .req-form select, .req-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.25s, background 0.25s;
  appearance: none;
}
.req-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3a39c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.req-form select option { background: #161614; color: var(--text); }
.req-form textarea { resize: vertical; min-height: 120px; }
.req-form input::placeholder, .req-form textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.req-form input:focus, .req-form select:focus, .req-form textarea:focus {
  outline: none;
  border-color: rgba(210, 255, 0, 0.55);
  background: rgba(255, 255, 255, 0.05);
}
.form-submit {
  grid-column: 1 / -1;
  justify-self: start;
  cursor: pointer;
  font-family: var(--font-body);
  background: none;
}
.contact-alt { margin-top: 34px; font-size: 14.5px; color: var(--muted); }
.contact-alt a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(210, 255, 0, 0.4); }
.contact-alt a:hover { border-bottom-color: var(--accent); }

@media (max-width: 860px) {
  .cap-grid { grid-template-columns: 1fr; }
  .req-form { grid-template-columns: 1fr; }
  .trusted-copy { max-width: none; }
}
