/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.011em;
}

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f10;
  --bg-3: #141416;
  --bg-alt: #f5f5f3;
  --card: #111113;
  --card-hover: #161618;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --fg: #ededed;
  --fg-dim: #8a8a8f;
  --fg-dimmer: #5a5a5f;
  --accent: #d4ff3a;
  --accent-2: #8fff4a;
  --accent-soft: rgba(212, 255, 58, 0.12);
  --success: #4ade80;
  --dark-fg: #0a0a0a;
  --dark-fg-dim: #56565a;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

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

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .1s linear;
  box-shadow: 0 0 10px var(--accent);
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,255,58,0.08) 0%, transparent 60%),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
  pointer-events: none;
  transform: translateY(var(--grid-parallax, 0));
  transition: transform .1s linear;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--dark-fg);
  font-weight: 600;
}
.btn-primary:hover {
  background: #e7ff55;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(212, 255, 58, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.03);
}
.btn-line {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-line:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-line-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.1); }
}
.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
  padding: 15px 22px;
  font-size: 15px;
}
.btn-arrow {
  transition: transform .2s ease;
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.88);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--fg);
  white-space: nowrap;
}
.brand-mark {
  width: 26px; height: 26px;
  flex-shrink: 0;
}
.brand-sub {
  color: var(--fg-dim);
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  color: var(--fg-dim);
  font-weight: 450;
  transition: color .15s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s var(--ease);
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-links a:hover::after { width: 100%; }
.nav-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 90px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 13px;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.02);
  margin-bottom: 36px;
  font-weight: 450;
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2s ease-in-out infinite;
}
.pill-sep { color: var(--fg-dimmer); }
.pill-link { color: var(--fg); font-weight: 500; }

.display {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-lead {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: relative;
  height: 520px;
  perspective: 1400px;
}
.hv-glow {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 30% 30%, rgba(212,255,58,0.25), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(74,222,128,0.15), transparent 50%);
  filter: blur(60px);
  z-index: 0;
  animation: glowShift 8s ease-in-out infinite;
}
@keyframes glowShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -10px) scale(1.05); }
}
.hv-card {
  position: absolute;
  background: rgba(20, 20, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  z-index: 1;
}
.hv-main {
  top: 40px;
  left: 20px;
  right: 20px;
  padding: 20px;
  transform: rotateY(-8deg) rotateX(3deg);
  animation: floatMain 6s ease-in-out infinite;
}
@keyframes floatMain {
  0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(3deg) translateY(-10px); }
}
.hv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.hv-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}
.hv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.2);
  animation: pulse 1.8s ease-in-out infinite;
}
.hv-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
}
.hv-metric {
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  position: relative;
}
.hv-metric-label {
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}
.hv-metric-val {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hv-spark {
  position: absolute;
  right: 0; top: 12px;
  width: 120px; height: 40px;
}
.hv-spark svg { width: 100%; height: 100%; }
.spark-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: sparkDraw 3s var(--ease) .3s forwards;
  filter: drop-shadow(0 0 6px rgba(212,255,58,0.5));
}
@keyframes sparkDraw {
  to { stroke-dashoffset: 0; }
}
.hv-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hv-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
}
.hv-r-label { color: var(--fg-dim); }
.hv-r-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--fg);
  font-weight: 500;
}
.hv-r-trend {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
}
.hv-r-trend.good { color: var(--success); }

.hv-mini {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.hv-mini-1 {
  top: 0;
  right: 0;
  animation: floatMini 4s ease-in-out infinite;
}
.hv-mini-2 {
  bottom: 60px;
  left: 0;
  animation: floatMini 4s ease-in-out .8s infinite;
}
.hv-mini-3 {
  bottom: 0;
  right: 20px;
  animation: floatMini 4s ease-in-out 1.6s infinite;
}
@keyframes floatMini {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mini-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.2);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.mini-icon {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  flex-shrink: 0;
}
.mini-bars span {
  width: 4px;
  height: var(--h);
  background: var(--accent);
  border-radius: 1px;
  animation: barPulse 1.5s ease-in-out infinite;
}
.mini-bars span:nth-child(1) { animation-delay: 0s; }
.mini-bars span:nth-child(2) { animation-delay: 0.15s; }
.mini-bars span:nth-child(3) { animation-delay: 0.3s; }
.mini-bars span:nth-child(4) { animation-delay: 0.45s; }
@keyframes barPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.mini-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.2;
}
.mini-sub {
  font-size: 11px;
  color: var(--fg-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* ===== TICKER ===== */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ticker-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
}
.ticker-track {
  display: flex;
  gap: 40px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-dim);
  font-family: 'JetBrains Mono', monospace;
}
.t-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.15);
  animation: pulse 2s ease-in-out infinite;
}

/* ===== LOGOS ===== */
.logos {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  color: var(--fg-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  margin-bottom: 32px;
  font-family: 'JetBrains Mono', monospace;
}
.logos-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.logos-row span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--fg-dimmer);
  transition: color .25s var(--ease), transform .25s var(--ease);
  font-family: 'Inter', sans-serif;
  cursor: default;
}
.logos-row span:hover {
  color: var(--fg);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 140px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
  color: var(--dark-fg);
}
.section-head {
  max-width: 780px;
  margin-bottom: 80px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
}
.eyebrow.light { color: var(--dark-fg-dim); }
.eb-bar {
  width: 24px; height: 1px;
  background: var(--accent);
  transition: width .4s var(--ease);
}
.in-view .eb-bar { width: 48px; }
.eb-bar.light { background: var(--dark-fg); }
h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--fg);
}
.section-alt h2 { color: var(--dark-fg); }

/* ===== SPLIT / WORD REVEAL ===== */
[data-split] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  filter: blur(6px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
}
[data-split].in-view .word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
[data-split] .word.space { width: 0.3em; }

/* ===== REVEAL (simple) ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.in-view[data-reveal], [data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SLOT ANIMATIONS ===== */
[data-slot="left"] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-slot="right"] {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-slot="up"] {
  opacity: 0;
  transform: translateY(50px) scale(0.98);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-slot].in-view {
  opacity: 1;
  transform: none;
}

[data-slide-up] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-slide-up].in-view {
  opacity: 1;
  transform: none;
}

/* ===== BENTO ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, transform .4s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.bento-card.in-view::before {
  transform: translateX(100%);
}
.bento-card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
  transform: translateY(-3px);
}
.bento-main { grid-column: span 3; grid-row: span 2; }
.bento-sla { grid-column: span 3; }
.bento-sec { grid-column: span 2; }
.bento-scale { grid-column: span 2; }
.bento-price { grid-column: span 2; }

.bento-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}
.bento-card h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 10px;
}
.bento-card p, .bento-sub {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
}

/* Stack */
.stack {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
}
.stack-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.bento-main.in-view .stack-row { opacity: 1; transform: none; }
.bento-main.in-view .stack-row:nth-child(1) { transition-delay: .3s; }
.bento-main.in-view .stack-row:nth-child(2) { transition-delay: .45s; }
.bento-main.in-view .stack-row:nth-child(3) { transition-delay: .6s; }

.stack-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #4ade80);
  color: var(--dark-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.stack-row:nth-child(2) .stack-avatar {
  background: linear-gradient(135deg, #ff8a5c, #ff6b4a);
}
.stack-row:nth-child(3) .stack-avatar {
  background: linear-gradient(135deg, #6ea8ff, #4a7fff);
}
.stack-meta { flex: 1; }
.stack-name {
  font-size: 14px;
  color: var(--fg);
  font-weight: 500;
}
.stack-role {
  font-size: 12px;
  color: var(--fg-dim);
}
.stack-status {
  font-size: 11px;
  color: var(--success);
  padding: 4px 8px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pulse-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.8s ease-in-out infinite;
}

/* SLA */
.sla-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sla-item {
  background: var(--card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-card:hover .sla-item { background: var(--card-hover); }
.sla-label {
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}
.sla-value {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.sla-value span {
  font-size: 16px;
  color: var(--fg-dim);
  margin-left: 2px;
}
.sla-trend {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: var(--success);
}

/* Security */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 14px;
}
.cert {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--fg);
  font-family: 'JetBrains Mono', monospace;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.bento-sec.in-view .cert { opacity: 1; transform: none; }
.bento-sec.in-view .cert:nth-child(1) { transition-delay: .2s; }
.bento-sec.in-view .cert:nth-child(2) { transition-delay: .32s; }
.bento-sec.in-view .cert:nth-child(3) { transition-delay: .44s; }
.bento-sec.in-view .cert:nth-child(4) { transition-delay: .56s; }

/* Scale bars */
.scale-bars {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding-top: 12px;
}
.scale-bars .bar {
  flex: 1;
  height: 0;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(212,255,58,0.3) 100%);
  border-radius: 3px 3px 0 0;
  transition: height 1s var(--ease) .1s;
}
.bento-scale.in-view .bar { height: var(--h); }
.bento-scale.in-view .bar:nth-child(1) { transition-delay: .1s; }
.bento-scale.in-view .bar:nth-child(2) { transition-delay: .16s; }
.bento-scale.in-view .bar:nth-child(3) { transition-delay: .22s; }
.bento-scale.in-view .bar:nth-child(4) { transition-delay: .28s; }
.bento-scale.in-view .bar:nth-child(5) { transition-delay: .34s; }
.bento-scale.in-view .bar:nth-child(6) { transition-delay: .4s; }
.bento-scale.in-view .bar:nth-child(7) { transition-delay: .46s; }
.bento-scale.in-view .bar:nth-child(8) { transition-delay: .52s; }
.bento-scale.in-view .bar:nth-child(9) { transition-delay: .58s; }

/* Price tags */
.price-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.price-tags span {
  font-size: 12px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  font-family: 'JetBrains Mono', monospace;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.bento-price.in-view .price-tags span { opacity: 1; transform: none; }
.bento-price.in-view .price-tags span:nth-child(1) { transition-delay: .2s; }
.bento-price.in-view .price-tags span:nth-child(2) { transition-delay: .32s; }
.bento-price.in-view .price-tags span:nth-child(3) { transition-delay: .44s; }

/* ===== SERVICES LIST ===== */
.svc-list {
  border-top: 1px solid var(--border);
}
.svc {
  display: grid;
  grid-template-columns: 60px 1fr auto 40px;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding .3s var(--ease), background .25s ease;
  cursor: pointer;
  position: relative;
}
.svc::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
  pointer-events: none;
}
.svc:hover::after { transform: scaleX(1); }
.svc:hover {
  padding-left: 20px;
  padding-right: 20px;
}
.svc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--fg-dimmer);
  font-weight: 500;
  transition: color .2s ease;
  position: relative; z-index: 1;
}
.svc:hover .svc-num { color: var(--accent); }
.svc-body {
  position: relative; z-index: 1;
}
.svc-body h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 4px;
  transition: color .2s ease;
}
.svc:hover .svc-body h3 { color: var(--accent); }
.svc-body p {
  font-size: 15px;
  color: var(--fg-dim);
}
.svc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative; z-index: 1;
}
.svc-tags span {
  font-size: 12px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg-dim);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.svc-arrow {
  font-size: 20px;
  color: var(--fg-dimmer);
  transition: all .3s var(--ease);
  position: relative; z-index: 1;
}
.svc:hover .svc-arrow {
  color: var(--accent);
  transform: translateX(8px);
}

/* ===== NUMBERS ===== */
.numbers-head {
  max-width: 720px;
  margin-bottom: 72px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(10,10,10,0.1);
}
.num-card {
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.num-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0;
  height: 2px;
  background: var(--dark-fg);
  transition: width .9s var(--ease) .2s;
}
.num-card.in-view::before { width: 40px; }

.num-val {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--dark-fg);
  font-variant-numeric: tabular-nums;
}
.num-val span {
  color: var(--dark-fg-dim);
  font-weight: 400;
}
.num-val > span:first-child {
  color: var(--dark-fg);
  font-weight: 500;
}
.num-lbl {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-fg);
  margin-top: 16px;
}
.num-sub {
  font-size: 13px;
  color: var(--dark-fg-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* ===== WORKFLOW ===== */
.section-flow {
  padding: 140px 0;
}
.flow-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}
.flow-sticky {
  position: sticky;
  top: 100px;
}
.flow-sticky h2 {
  margin-bottom: 20px;
}
.flow-intro {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.55;
  margin-bottom: 40px;
}
.flow-progress {
  height: 2px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 16px;
  max-width: 300px;
}
.flow-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .5s var(--ease);
  box-shadow: 0 0 8px var(--accent);
}
.flow-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--fg-dim);
  display: flex;
  gap: 4px;
}
.flow-count-current {
  color: var(--accent);
  font-weight: 500;
}
.flow-scroll {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.flow-step {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  transition: all .4s var(--ease);
  opacity: 0.5;
  transform: translateY(24px);
}
.flow-step.in-view {
  opacity: 1;
  transform: translateY(0);
}
.flow-step.active {
  border-color: var(--accent);
  background: var(--card-hover);
  box-shadow: 0 20px 60px -20px rgba(212, 255, 58, 0.15);
}
.flow-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.flow-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--fg-dim);
  font-weight: 500;
  transition: color .3s ease;
}
.flow-step.active .flow-num { color: var(--accent); }
.flow-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.flow-step h4 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 12px;
}
.flow-step > p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}
.flow-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.flow-deliverables span {
  font-size: 12px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* ===== QUOTE ===== */
.section-quote {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.section-quote blockquote {
  max-width: 960px;
  margin: 0 auto;
}
.section-quote p {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 40px;
}
[data-split-quote] p .word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity .6s var(--ease);
}
[data-split-quote] p .word.active {
  opacity: 1;
}
.section-quote footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.q-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #4ade80);
  color: var(--dark-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.q-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
.q-role {
  font-size: 13px;
  color: var(--fg-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* ===== CTA / CONTACT ===== */
.section-cta {
  padding: 140px 0;
}
.cta-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.cta-copy h2 {
  margin-bottom: 24px;
}
.cta-copy > p {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.55;
  margin-bottom: 48px;
  max-width: 420px;
}
.cta-meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.meta-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
}
.meta-label {
  font-size: 12px;
  color: var(--fg-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.meta-item a, .meta-item span {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.5;
}
.meta-item a:hover { color: var(--accent); }

.cta-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field > span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'JetBrains Mono', monospace;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--fg);
  font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-dimmer);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
}
.field textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a8a8f' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-success {
  margin-top: 16px;
  padding: 14px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 8px;
  color: var(--success);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.success-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.2);
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-tag {
  font-size: 15px;
  color: var(--fg-dim);
  max-width: 320px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-cols h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
}
.footer-cols a, .footer-cols span {
  display: block;
  font-size: 14px;
  color: var(--fg-dim);
  padding: 6px 0;
}
.footer-cols a:hover { color: var(--fg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--fg-dimmer);
  font-family: 'JetBrains Mono', monospace;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a:hover { color: var(--fg); }

/* ===== MOBILE NAV PANEL (shared) ===== */
.nav-links.open {
  display: flex !important;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  gap: 4px;
  border-bottom: 1px solid var(--border);
  animation: slideDown .3s var(--ease-out);
  z-index: 99;
}
.nav-links.open a {
  font-size: 17px;
  color: var(--fg);
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.nav-links.open a:last-of-type { border-bottom: none; }
.nav-links.open a::after { display: none; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hamburger.open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}
.hamburger span {
  transition: transform .25s var(--ease);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 440px; max-width: 560px; margin: 0 auto; }
  .flow-layout { grid-template-columns: 1fr; gap: 50px; }
  .flow-sticky { position: static; }
}
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .bento-main { grid-column: span 2; grid-row: auto; }
  .bento-sla { grid-column: span 2; }
  .bento-sec { grid-column: span 2; }
  .bento-scale { grid-column: span 1; }
  .bento-price { grid-column: span 1; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  html, body { overflow-x: hidden; }
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .nav-links { display: none; }
  .nav-right .btn-ghost { display: none; }
  .nav-right .btn-primary { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; gap: 16px; }
  .nav { z-index: 100; }

  .hero { padding: 40px 0 0; }
  .hero-grid { padding-bottom: 48px; gap: 36px; }
  .pill {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 24px;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .pill-link { display: none; }
  .pill-sep { display: none; }
  .display { font-size: clamp(36px, 9vw, 52px); margin-bottom: 20px; }
  .hero-lead { font-size: 16px; margin-bottom: 28px; }

  /* Hero visual: abandon absolute positioning on mobile, use grid flow */
  .hero-visual {
    height: auto !important;
    max-width: 100%;
    perspective: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    overflow: visible;
  }
  .hv-glow { display: none; }
  .hv-card {
    position: static !important;
    transform: none !important;
    animation: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--card);
  }
  .hv-main {
    grid-column: 1 / -1;
    padding: 18px;
  }
  .hv-mini {
    width: 100%;
    min-width: 0;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hv-mini > div { min-width: 0; }
  .hv-metric-val { font-size: 32px; }
  .hv-spark { width: 90px; height: 36px; }

  .ticker { padding: 12px 0; }
  .ticker-wrap { gap: 16px; }
  .ticker-label { padding: 3px 8px; font-size: 10px; }
  .ticker-item { font-size: 12px; }
  .ticker-track { gap: 28px; animation-duration: 30s; }

  .logos { padding: 40px 0; }
  .logos-row { justify-content: center; gap: 20px 28px; }
  .logos-row span { font-size: 13px; letter-spacing: 0.15em; }

  .section, .section-flow, .section-cta, .section-quote { padding: 72px 0; }
  .section-head { margin-bottom: 48px; }
  h2 { font-size: clamp(28px, 7vw, 40px); }

  .bento { gap: 12px; }
  .bento-card { padding: 22px; border-radius: 14px; }
  .bento-card h3 { font-size: 20px; }

  .sla-value { font-size: 24px; }
  .scale-bars { height: 80px; }

  .cta-wrap { grid-template-columns: 1fr; gap: 40px; }
  .cta-copy > p { font-size: 16px; margin-bottom: 32px; }
  .cta-meta { gap: 20px; padding-top: 28px; }
  .meta-item { grid-template-columns: 80px 1fr; gap: 12px; }

  .svc {
    grid-template-columns: 36px 1fr 24px;
    gap: 14px;
    padding: 22px 0;
  }
  .svc:hover { padding-left: 0; padding-right: 0; }
  .svc-tags { display: none; }
  .svc-body h3 { font-size: 18px; }
  .svc-body p { font-size: 14px; }

  .flow-step { padding: 26px 22px; }
  .flow-step h4 { font-size: 20px; }
  .flow-progress { max-width: none; }

  .section-quote blockquote { padding: 0 4px; }
  .section-quote p { margin-bottom: 28px; }

  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .cta-form { padding: 24px 20px; border-radius: 14px; }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;        /* prevent iOS zoom on focus */
    padding: 13px 14px;
  }

  .footer { padding: 64px 0 28px; }
  .footer-inner { gap: 48px; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .btn, .btn-lg { min-height: 44px; }   /* touch target */
  .btn-lg { padding: 13px 20px; }

  .svc-arrow, .hamburger { min-width: 44px; min-height: 44px; }
  .hamburger {
    align-items: center;
    justify-content: center;
  }

  .bento-scale, .bento-price { grid-column: span 2; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 10px 16px; }

  .pill { font-size: 11px; padding: 5px 10px; }
  .display { font-size: 36px; line-height: 1.02; }
  .hero-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hv-main { padding: 14px; }
  .hv-main .hv-title { font-size: 12px; }
  .hv-metric-val { font-size: 28px; }
  .hv-spark { width: 72px; height: 32px; }
  .hv-row { padding: 8px 10px; font-size: 11px; gap: 8px; }
  .hv-mini { padding: 10px; gap: 6px; }
  .mini-title { font-size: 11px; line-height: 1.3; }
  .mini-sub { font-size: 10px; }
  .mini-bars { height: 20px; }
  .mini-icon { width: 18px; height: 18px; }

  .bento { grid-template-columns: 1fr; }
  .bento-main, .bento-sla, .bento-sec, .bento-scale, .bento-price { grid-column: span 1; }
  .bento-card { padding: 20px; }
  .sla-grid { border-radius: 10px; }
  .sla-item { padding: 14px; }
  .sla-value { font-size: 22px; }
  .sla-value span { font-size: 13px; }

  .numbers-grid { grid-template-columns: 1fr; gap: 12px; }
  .num-card { padding: 28px 0 0; }
  .num-val { font-size: clamp(44px, 14vw, 64px); }

  .svc-num { font-size: 12px; }
  .svc-body h3 { font-size: 17px; }

  .flow-step { padding: 22px 18px; border-radius: 12px; }
  .flow-head { margin-bottom: 18px; }
  .flow-step h4 { font-size: 19px; }
  .flow-step > p { font-size: 14px; margin-bottom: 16px; }

  .section-quote p { font-size: 20px; line-height: 1.4; }

  .cta-form { padding: 20px 16px; }
  .meta-item { grid-template-columns: 1fr; gap: 4px; }
  .meta-item a, .meta-item span { font-size: 14px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 11px;
  }
  .footer-legal { flex-wrap: wrap; gap: 14px; }
}

/* Remove expensive effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  .hv-main, .hv-mini-1, .hv-mini-2, .hv-mini-3 { animation: none; }
  .hv-glow { animation: none; }
  .grid-bg { transform: none !important; }
  [data-parallax] { transform: none !important; }
  .bento-card:hover { transform: none; }
  .btn:hover { transform: none; }
}

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