:root {
  color-scheme: dark;
  --bg: #050607;
  --graphite: #0a0d11;
  --graphite-2: #10151b;
  --panel: rgba(15, 18, 24, 0.72);
  --panel-strong: rgba(9, 11, 15, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --gold: #e8c168;
  --gold-2: #fff1bd;
  --blue: #86d7ff;
  --violet: #9d88ff;
  --green: #7ff6be;
  --red: #ff7d8a;
  --text: #f8f5ec;
  --muted: #9da6b5;
  --soft: #d9dee7;
  --max: 1180px;
  --radius: 30px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(232, 193, 104, 0.14), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(157, 136, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #030405 0%, #080b0f 48%, #050607 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 78%);
  animation: gridDrift 22s linear infinite;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  opacity: 0.7;
}

.ambient__grid {
  position: absolute;
  inset: -18%;
  z-index: 0;
  background:
    linear-gradient(116deg, transparent 0 46%, rgba(232, 193, 104, 0.07) 47%, transparent 48%),
    linear-gradient(64deg, transparent 0 49%, rgba(134, 215, 255, 0.06) 50%, transparent 51%);
  animation: lineSweep 18s ease-in-out infinite alternate;
}

.ambient__noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px);
  background-size: 46px 46px, 71px 71px;
  mix-blend-mode: screen;
}

.ambient__orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.34;
  animation: ambientFloat 16s var(--ease) infinite alternate;
}

.ambient__orb--gold {
  width: 460px;
  height: 460px;
  top: -150px;
  left: 8%;
  background: rgba(232, 193, 104, 0.66);
}

.ambient__orb--violet {
  width: 520px;
  height: 520px;
  top: 8%;
  right: -180px;
  background: rgba(157, 136, 255, 0.42);
  animation-delay: -4s;
}

.ambient__orb--blue {
  width: 360px;
  height: 360px;
  left: 45%;
  bottom: 12%;
  background: rgba(134, 215, 255, 0.24);
  animation-delay: -8s;
}

.floating-logo {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(232, 193, 104, 0.24);
  border-radius: 22px;
  background: rgba(7, 9, 12, 0.58);
  box-shadow: 0 0 36px rgba(232, 193, 104, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateX(-50%);
  animation: logoBreathe 5.8s var(--ease) infinite;
  backdrop-filter: blur(18px);
}

.floating-logo img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(1.08) contrast(1.05);
}

.page-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-top: 96px;
  overflow: clip;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 6, 7, 0.7);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(24px);
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  color: #151006;
  background: linear-gradient(135deg, #fff8d9 0%, var(--gold) 50%, #8a6429 100%);
  box-shadow: 0 0 34px rgba(232, 193, 104, 0.32);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold-2);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 231, 163, 0.5);
  border-radius: 999px;
  color: #171106;
  background: linear-gradient(135deg, #fff7d8 0%, var(--gold) 48%, #9d7333 100%);
  box-shadow: 0 16px 42px rgba(232, 193, 104, 0.22);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -70% 78% -70% -35%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  transform: rotate(18deg);
  animation: shimmer 5.8s ease-in-out infinite;
}

.btn:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(255, 247, 216, 0.84);
  box-shadow: 0 28px 72px rgba(232, 193, 104, 0.34);
}

.btn--small {
  min-height: 40px;
  padding: 10px 15px;
  font-size: 13px;
}

.btn--ghost,
.btn--dark {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.btn--dark {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(232, 193, 104, 0.28);
}

.btn--service {
  width: 100%;
  margin-top: auto;
}

.hero,
.section,
.quote-section,
.enterprise-cta {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero {
  padding: 90px 0 82px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1400px, calc(100% - 36px));
  max-width: 1400px;
  margin: 0 auto;
  flex-direction: column;
  gap: 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.hero__logo-stage {
  position: relative;
  z-index: 2;
  contain: layout paint;
  display: grid;
  min-height: 230px;
  place-items: center;
  margin: 0;
  overflow: hidden;
}

.hero__logo-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  pointer-events: none;
  width: min(560px, 88vw);
  height: min(560px, 88vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(232, 193, 104, 0.28), transparent 44%),
    radial-gradient(circle, rgba(134, 215, 255, 0.16), transparent 62%);
  filter: blur(8px);
  transform: translate(-50%, -50%);
  animation: glowPulse 6.8s var(--ease) infinite;
}

.hero__logo-shell {
  position: relative;
  z-index: 1;
  width: min(280px, 58vw);
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(232, 193, 104, 0.3);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.025));
  box-shadow: 0 0 72px rgba(232, 193, 104, 0.22), 0 40px 120px rgba(0, 0, 0, 0.55);
  animation: heroLogoFloat 7s var(--ease) infinite;
}

.hero__logo-shell::after {
  content: "";
  position: absolute;
  inset: -40% 75% -40% -30%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
  transform: rotate(18deg);
  animation: reflectionSweep 6.8s ease-in-out infinite;
}

.hero__logo-shell img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 28px;
  object-fit: cover;
  object-position: center 15%;
  filter: saturate(1.08) contrast(1.06);
}

.hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(232, 193, 104, 0.24);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 8%, rgba(232, 193, 104, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(13, 16, 22, 0.72);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.46);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(232, 193, 104, 0.28);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(232, 193, 104, 0.08);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.068em;
}

h1 span {
  display: block;
  margin-top: 14px;
  color: var(--gold-2);
  font-size: 0.72em;
  letter-spacing: -0.058em;
}

.hero__lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.45;
}

.no-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.no-chain span,
.outcome-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #f7efe1;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.hero__sub {
  margin: 18px 0 0;
  color: var(--gold-2);
  font-size: 18px;
  font-weight: 900;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.actions--center {
  justify-content: center;
}

.hero__system {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 193, 104, 0.16), transparent 30%),
    radial-gradient(circle at 80% 16%, rgba(134, 215, 255, 0.12), transparent 34%),
    rgba(9, 11, 15, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 100px rgba(0, 0, 0, 0.44);
}

.hero-lines {
  position: absolute;
  inset: 7%;
  z-index: 1;
  pointer-events: none;
  width: 86%;
  height: 86%;
  opacity: 0.8;
}

.line {
  fill: none;
  stroke: rgba(232, 193, 104, 0.38);
  stroke-width: 1.4;
  stroke-dasharray: 12 18;
  animation: dashFlow 12s linear infinite;
}

.line--two {
  stroke: rgba(134, 215, 255, 0.3);
  animation-duration: 15s;
}

.line--three {
  stroke: rgba(255, 255, 255, 0.22);
  animation-duration: 10s;
}

.system-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 112px;
  min-height: 54px;
  place-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(12, 15, 20, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  color: var(--soft);
  font-weight: 900;
  backdrop-filter: blur(18px);
}

.system-node--core {
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  border-color: rgba(232, 193, 104, 0.38);
  border-radius: 50%;
  color: var(--text);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(232, 193, 104, 0.24), rgba(255, 255, 255, 0.04)),
    rgba(8, 10, 14, 0.86);
  animation: nodePulse 5.5s var(--ease) infinite;
}

.system-node--core span {
  font-size: 44px;
  line-height: 1;
  color: var(--gold-2);
}

.system-node--core strong {
  font-size: 13px;
}

.system-node--user { top: 44%; left: 7%; }
.system-node--api { top: 18%; left: 38%; }
.system-node--crm { top: 44%; right: 8%; }
.system-node--billing { bottom: 13%; left: 20%; }
.system-node--analytics { bottom: 15%; right: 18%; }

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 28px 0;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    rgba(8, 10, 14, 0.68);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
}

.section-heading {
  max-width: 760px;
}

.section-heading--center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.enterprise-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.section-heading p:not(.eyebrow),
.enterprise-cta p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.split-compare,
.ba-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
}

.split-compare > *,
.ba-grid > *,
.pipeline > *,
.service-grid > * {
  min-width: 0;
}

.compare-card,
.ba-card,
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.36s var(--ease), box-shadow 0.36s var(--ease), border-color 0.36s var(--ease);
}

.compare-card,
.ba-card {
  padding: 28px;
}

.compare-card::before,
.service-card::before,
.ba-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232, 193, 104, 0.18), transparent 48%);
  transition: opacity 0.36s var(--ease);
}

.compare-card:hover,
.ba-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 193, 104, 0.36);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), 0 0 38px rgba(232, 193, 104, 0.12);
}

.compare-card:hover::before,
.service-card:hover::before,
.ba-card:hover::before {
  opacity: 1;
}

.compare-label {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--gold-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.compare-card ul,
.ba-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
}

.compare-card li,
.ba-card li {
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.compare-card--bad {
  border-color: rgba(255, 125, 138, 0.2);
}

.compare-card--good,
.ba-card--after {
  border-color: rgba(232, 193, 104, 0.3);
  background: linear-gradient(180deg, rgba(232, 193, 104, 0.08), rgba(255, 255, 255, 0.035));
}

.compare-bridge {
  position: relative;
  display: grid;
  width: 84px;
  place-items: center;
}

.compare-bridge span {
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 125, 138, 0.18), rgba(232, 193, 104, 0.72));
  box-shadow: 0 0 18px rgba(232, 193, 104, 0.3);
  animation: bridgeFlow 3.6s ease-in-out infinite;
}

.compare-bridge span:nth-child(2) { animation-delay: -1.2s; }
.compare-bridge span:nth-child(3) { animation-delay: -2.4s; }

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 40px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(232, 193, 104, 0.22);
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.22);
}

.pipeline-line {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232, 193, 104, 0.68), rgba(134, 215, 255, 0.42), transparent);
  transform: translateY(-50%);
  pointer-events: none;
}

.pipeline-line::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 28px rgba(232, 193, 104, 0.72);
  animation: pipelineParticle 5.4s linear infinite;
}

.pipeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 132px;
  align-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(9, 11, 15, 0.78);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pipeline-step span,
.service-index {
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
}

.pipeline-step strong {
  font-size: 17px;
  line-height: 1.2;
}

.pipeline-step.is-active {
  transform: translateY(-6px);
  border-color: rgba(232, 193, 104, 0.46);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 34px rgba(232, 193, 104, 0.14);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
  margin-top: 38px;
}

.systems-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1180px;
  margin: 38px auto 0;
  overflow: hidden;
}

.video-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 193, 104, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(232, 193, 104, 0.1), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024)),
    rgba(9, 11, 15, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.34s var(--ease), border-color 0.34s var(--ease), box-shadow 0.34s var(--ease);
}

.systems-video-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 28px;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232, 193, 104, 0.16), transparent 48%);
  transition: opacity 0.34s var(--ease);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 193, 104, 0.38);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 34px rgba(232, 193, 104, 0.12);
}

.video-card:hover::before {
  opacity: 1;
}

.video-card--featured {
  border-color: rgba(232, 193, 104, 0.36);
  background:
    radial-gradient(circle at 18% 0%, rgba(232, 193, 104, 0.16), transparent 40%),
    radial-gradient(circle at 78% 16%, rgba(134, 215, 255, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.026)),
    rgba(9, 11, 15, 0.82);
}

.video-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 20%, rgba(232, 193, 104, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    #050607;
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  background: #050607;
  object-fit: contain;
  filter: brightness(0.82) saturate(0.92);
}

.systems-video,
.systems-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border-radius: 22px;
}

.video-copy {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.video-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.video-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.video-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.service-card {
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  animation: cardFloat 7s var(--ease) infinite;
}

.service-card:nth-child(2) { animation-delay: -1.1s; }
.service-card:nth-child(3) { animation-delay: -2.2s; }
.service-card:nth-child(4) { animation-delay: -3.3s; }
.service-card:nth-child(5) { animation-delay: -4.4s; }

.service-card--featured {
  border-color: rgba(232, 193, 104, 0.42);
  background: linear-gradient(180deg, rgba(232, 193, 104, 0.13), rgba(255, 255, 255, 0.045));
}

.service-card h3,
.service-card p,
.service-card strong,
.service-card a,
.service-index {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.service-card strong {
  display: block;
  margin-top: auto;
  color: var(--gold-2);
  font-size: 20px;
  letter-spacing: -0.035em;
}

.outcome-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  min-width: 0;
}

.quote-section {
  display: grid;
  min-height: 520px;
  place-items: center;
  margin: 34px 0;
  margin-inline: auto;
  width: min(var(--max), calc(100% - 36px));
  padding: clamp(34px, 7vw, 88px);
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 50%, rgba(232, 193, 104, 0.2), transparent 46%),
    radial-gradient(circle at 50% 0%, rgba(134, 215, 255, 0.1), transparent 48%);
}

.quote-section blockquote {
  max-width: 1060px;
  margin: 0;
  text-align: center;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.08em;
  text-shadow: 0 0 48px rgba(232, 193, 104, 0.22);
  animation: quoteGlow 7s var(--ease) infinite;
}

.ba-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.enterprise-cta {
  margin: 34px 0 78px;
  margin-inline: auto;
  width: min(var(--max), calc(100% - 36px));
  padding: clamp(36px, 6vw, 78px);
  border: 1px solid rgba(232, 193, 104, 0.3);
  border-radius: 40px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 193, 104, 0.18), transparent 50%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(8, 10, 14, 0.76);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.44);
}

.request-form {
  display: grid;
  max-width: 760px;
  margin: 30px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.request-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--gold-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-form__message,
.request-form button {
  grid-column: 1 / -1;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.26);
  font: inherit;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  padding: 13px 14px;
}

.request-form textarea {
  resize: vertical;
}

.request-status {
  min-height: 24px;
  margin: 14px auto 0;
  color: var(--gold-2);
  font-weight: 800;
}

.systems-footer {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 52px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(232, 193, 104, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    rgba(8, 10, 14, 0.72);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.systems-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
}

.systems-footer a {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.systems-footer a:hover {
  text-decoration: underline;
}

.systems-footer p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes logoBreathe {
  0%, 100% { opacity: 0.82; transform: translate3d(-50%, 0, 0) scale(1); box-shadow: 0 0 28px rgba(232, 193, 104, 0.16); }
  50% { opacity: 1; transform: translate3d(-50%, 0, 0) scale(1.03); box-shadow: 0 0 42px rgba(232, 193, 104, 0.26); }
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.025); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.76; transform: translate3d(-50%, -50%, 0) scale(0.98); }
  50% { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1.04); }
}

@keyframes reflectionSweep {
  0%, 42% { transform: translateX(0) rotate(18deg); }
  66%, 100% { transform: translateX(260%) rotate(18deg); }
}

@keyframes shimmer {
  0%, 45% { transform: translateX(0) rotate(18deg); }
  68%, 100% { transform: translateX(260%) rotate(18deg); }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -160; }
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 42px rgba(232, 193, 104, 0.16); }
  50% { box-shadow: 0 0 70px rgba(232, 193, 104, 0.3); }
}

@keyframes bridgeFlow {
  0%, 100% { opacity: 0.38; transform: scaleX(0.82); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes pipelineParticle {
  from { transform: translateX(0); }
  to { transform: translateX(1000px); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes quoteGlow {
  0%, 100% { text-shadow: 0 0 34px rgba(232, 193, 104, 0.16); }
  50% { text-shadow: 0 0 68px rgba(232, 193, 104, 0.3); }
}

@keyframes ambientFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, 18px, 0) scale(1.08); }
}

@keyframes gridDrift {
  to { background-position: 64px 64px; }
}

@keyframes lineSweep {
  from { transform: translateX(-2%) rotate(0deg); }
  to { transform: translateX(2%) rotate(1deg); }
}

@media (max-width: 1120px) {
  .hero-grid,
  .split-compare {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .compare-bridge {
    display: none;
  }

  .pipeline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .systems-video-card,
  .systems-video-card.is-featured {
    grid-column: auto !important;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: 100%;
    padding-top: 86px;
  }

  .floating-logo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .topbar {
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 46px;
  }

  .hero-inner {
    width: min(100% - 24px, 1400px);
  }

  .hero__logo-stage {
    min-height: 170px;
  }

  .hero__system {
    min-height: 390px;
  }

  .system-node {
    min-width: 92px;
    max-width: 120px;
    font-size: 13px;
  }

  .system-node--core {
    width: 138px;
    height: 138px;
  }

  .system-node--api {
    top: 13%;
    left: 32%;
  }

  .system-node--billing {
    left: 9%;
  }

  .system-node--analytics {
    right: 9%;
  }

  .pipeline,
  .systems-video-grid,
  .service-grid,
  .request-form,
  .ba-grid {
    grid-template-columns: 1fr;
  }

  .systems-video-card,
  .systems-video-card.is-featured {
    grid-column: auto !important;
  }

  .pipeline-line {
    top: 28px;
    bottom: 28px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(232, 193, 104, 0.68), rgba(134, 215, 255, 0.42), transparent);
  }

  .pipeline-line::after {
    animation-name: pipelineParticleY;
  }

  .quote-section {
    min-height: 360px;
  }
}

@keyframes pipelineParticleY {
  from { transform: translateY(0); }
  to { transform: translateY(1000px); }
}

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