/* ============ Tokens ============ */
:root {
  --bg: #07080c;
  --bg-2: #0c0e15;
  --surface: #0f1219;
  --surface-2: #141824;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #e8ecf3;
  --muted: #8a93a6;
  --muted-2: #5e6679;
  --brand: #17a8c4;
  --brand-2: #5fd3e8;
  --accent: #8be9ff;
  --accent-2: #0e7d94;
  --ok: #34d399;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  --grad: linear-gradient(135deg, #17a8c4 0%, #5fd3e8 50%, #8be9ff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Raleway', 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
  perspective: 1500px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1200px, 92%); margin-inline: auto; }

h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-weight: 600; }
p { margin: 0 0 1em; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-2);
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(95,211,232,0.05);
  margin-bottom: 1.2rem;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link-inline { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad);
  z-index: 100;
  box-shadow: 0 0 14px rgba(23,168,196,0.6);
  transition: width .15s linear;
}

/* ============ Cursor spotlight ============ */
.cursor-spot {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  margin-left: -260px; margin-top: -260px;
  background: radial-gradient(circle, rgba(23,168,196,0.18), transparent 60%);
  pointer-events: none;
  z-index: -1;
  transition: opacity .4s, transform .12s ease-out;
  opacity: 0;
  filter: blur(20px);
  will-change: transform;
}
.cursor-spot.visible { opacity: 1; }
@media (hover: none) { .cursor-spot { display: none; } }

/* ============ Animated mesh / orbs ============ */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
.bg-mesh .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.orb-1 {
  width: 700px; height: 700px;
  top: -10%; left: -10%;
  background: radial-gradient(circle, rgba(23,168,196,0.7), transparent 65%);
  animation: orbFloat1 22s ease-in-out infinite;
}
.orb-2 {
  width: 600px; height: 600px;
  top: 20%; right: -15%;
  background: radial-gradient(circle, rgba(139,233,255,0.5), transparent 65%);
  animation: orbFloat2 26s ease-in-out infinite;
}
.orb-3 {
  width: 500px; height: 500px;
  bottom: -10%; left: 30%;
  background: radial-gradient(circle, rgba(14,125,148,0.6), transparent 65%);
  animation: orbFloat3 30s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(120px, 80px) scale(1.15); }
  66% { transform: translate(-60px, 160px) scale(0.9); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-180px, 100px) scale(1.2); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  40% { transform: translate(80px, -120px) scale(1.1); }
  80% { transform: translate(-100px, -40px) scale(0.95); }
}

/* ============ Backdrops ============ */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  z-index: -2;
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 700px;
  background:
    radial-gradient(circle at 30% 30%, rgba(23,168,196,0.35), transparent 55%),
    radial-gradient(circle at 70% 50%, rgba(139,233,255,0.25), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(14,125,148,0.25), transparent 55%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

/* ============ Buttons ============ */
.primary-btn, .ghost-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.primary-btn {
  background: var(--text);
  color: #0a0c12;
  box-shadow: 0 10px 30px -10px rgba(255,255,255,0.25);
}
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(255,255,255,0.35); }
.ghost-btn {
  border: 1px solid var(--line-2);
  color: var(--text);
}
.ghost-btn:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }
.lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.full { width: 100%; justify-content: center; }
.block { display: block; text-align: center; }

/* ============ Header (light) ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow .3s ease, background .3s ease;
  color: #0e1119;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.15);
}
.site-header .logo-img {
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.site-header .nav-main a { color: #5e6679; }
.site-header .nav-main a:hover { color: #0e1119; }
.site-header .nav-main a[aria-current="page"] { color: var(--brand); }
.site-header .ghost-btn {
  border-color: rgba(0,0,0,0.12);
  color: #0e1119;
}
.site-header .ghost-btn:hover { border-color: #0e1119; background: rgba(0,0,0,0.04); }
.site-header .primary-btn {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(23,168,196,0.55);
}
.site-header .primary-btn:hover { background: var(--accent-2); }
.site-header .hamburger {
  border-color: rgba(0,0,0,0.12);
}
.site-header .hamburger span { background: #0e1119; }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 4%;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}
.mobile-nav a { padding: 0.75rem 0.4rem; border-bottom: 1px solid rgba(0,0,0,0.08); color: #0e1119; }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}
.logo { display: inline-flex; align-items: center; gap: 0.7rem; font-family: 'Raleway', sans-serif; font-weight: 600; }
.logo-img {
  height: 38px; width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,0.4);
}
.logo-sub {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.7rem;
  border-left: 1px solid var(--line-2);
}
.nav-main { display: flex; gap: 1.8rem; align-items: center; }
.nav-main > a, .nav-main .nav-trigger {
  font-size: 0.94rem;
  color: var(--muted);
  position: relative;
  transition: color .2s;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.nav-main > a:hover, .nav-main .nav-trigger:hover { color: var(--text); }
.nav-chev {
  font-size: 0.7rem;
  transition: transform .25s;
}
.nav-dropdown { position: relative; }
.nav-dropdown:hover .nav-chev { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 460px;
  background: rgba(15,18,25,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 0.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
  z-index: 60;
}
.nav-menu::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: rgba(15,18,25,0.98);
  border: 1px solid var(--line-2);
  border-right: 0; border-bottom: 0;
}
.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--text);
  transition: background .2s;
}
.nav-menu a:hover { background: rgba(23,168,196,0.08); }
.nm-ico {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(23,168,196,0.12);
  color: var(--brand);
  font-size: 0.95rem;
}
.nav-menu strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.1rem;
}
.nav-menu em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}
.nm-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 0.3rem; padding-top: 0.85rem !important; }

/* Header light theme overrides */
.site-header .nav-trigger { color: #5e6679; }
.site-header .nav-trigger:hover { color: #0e1119; }
.site-header .nav-menu {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.18);
}
.site-header .nav-menu::before {
  background: rgba(255,255,255,0.98);
  border-color: rgba(0,0,0,0.08);
}
.site-header .nav-menu a { color: #0e1119; }
.site-header .nav-menu a:hover { background: rgba(23,168,196,0.08); }
.site-header .nav-menu strong { color: #0e1119; }
.site-header .nav-menu em { color: #5e6679; }
.site-header .nav-menu .nm-all { border-color: rgba(0,0,0,0.08); }

/* Mobile nav groups */
.mn-group {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 1rem 0.4rem 0.3rem;
  border-bottom: 0 !important;
}
.mn-sub { padding-left: 1rem !important; color: #5e6679 !important; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.hamburger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line-2); }
.hamburger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav.open { display: flex; }

/* ============ Hero ============ */
.hero {
  padding: 5rem 0 6rem;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.45rem 0.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 540px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { font-size: 0.85rem; color: var(--muted); }

/* ============ Hero title reveals ============ */
.hero-title { margin: 0 0 1.5rem; }
.hero-line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}
.hero-line > * { display: inline-block; }
.hero-line { animation: lineReveal 1s cubic-bezier(.2,.8,.2,1) both; }
.hero-line:nth-child(1) { animation-delay: 0.05s; }
.hero-line:nth-child(2) { animation-delay: 0.15s; }
.hero-line:nth-child(3) { animation-delay: 0.25s; }
@keyframes lineReveal {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-strike {
  position: relative;
  white-space: nowrap;
}
.hero-strike::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.18em;
  height: 0.08em;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  animation: strikeDraw 1.4s cubic-bezier(.6,.05,.3,1) 1.2s forwards;
}
@keyframes strikeDraw {
  to { transform: scaleX(1); }
}

/* ============ Rotator ============ */
.rotator {
  display: inline-grid;
  vertical-align: middle;
  height: 1em;
  overflow: hidden;
}
.rotator b {
  grid-area: 1/1;
  font-weight: 500;
  color: var(--brand-2);
  animation: rotateWord 12s infinite;
  opacity: 0;
}
.rotator b:nth-child(1) { animation-delay: 0s; }
.rotator b:nth-child(2) { animation-delay: 2.4s; }
.rotator b:nth-child(3) { animation-delay: 4.8s; }
.rotator b:nth-child(4) { animation-delay: 7.2s; }
.rotator b:nth-child(5) { animation-delay: 9.6s; }
@keyframes rotateWord {
  0%, 16%, 100% { opacity: 0; transform: translateY(100%); }
  3%, 13% { opacity: 1; transform: translateY(0); }
}

/* ============ Hero stage (animated control room) ============ */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  perspective: 1600px;
  transform-style: preserve-3d;
  padding: 1rem;
}
.stage-bg {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(23,168,196,0.15) inset;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.stage-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1) brightness(0.55) hue-rotate(-10deg);
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.02) translate(0,0); }
  100% { transform: scale(1.18) translate(-2%, -3%); }
}
.stage-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(23,168,196,0.35) 0%, transparent 55%),
    linear-gradient(135deg, rgba(7,8,12,0.2) 0%, rgba(7,8,12,0.85) 100%);
  pointer-events: none;
}
.stage-scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(23,168,196,0.18) 50%, transparent 100%);
  opacity: 0.5;
  animation: scanline 4.5s linear infinite;
  pointer-events: none;
  height: 30%;
}
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

/* Floating panels */
.panel {
  position: absolute;
  background: rgba(15,18,25,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(23,168,196,0.08) inset;
  font-family: 'JetBrains Mono', monospace;
  z-index: 2;
  animation: floaty 8s ease-in-out infinite;
  will-change: transform;
}
.panel::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(23,168,196,0.4), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.panel-head {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.7rem;
  color: var(--muted-2);
}
.ph-dot { width: 9px; height: 9px; border-radius: 50%; }
.ph-red { background: #ff5f57; }
.ph-yel { background: #ffbd2e; }
.ph-grn { background: #28c940; }
.ph-title { margin-left: 0.4rem; color: var(--muted); }
.panel-body { padding: 0.6rem 0.9rem 0.8rem; }

/* Render queue panel */
.panel-queue {
  top: 6%;
  left: 4%;
  width: 60%;
  animation-delay: 0s;
}
.job {
  display: grid;
  grid-template-columns: 10px 1fr 60px;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.66rem;
  color: var(--text);
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.job:last-child { border-bottom: 0; }
.job-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}
.job-dot.warn { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; animation: pulseDot 1.4s infinite; }
.job-dot.idle { background: var(--muted-2); box-shadow: none; }
@keyframes pulseDot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.job-name {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--brand-2);
}
.job-pct {
  display: grid; grid-template-columns: 1fr 28px; gap: 4px;
  align-items: center;
}
.job-pct b {
  display: block;
  height: 4px;
  width: var(--p);
  background: var(--grad);
  border-radius: 2px;
  animation: barFill 1.6s cubic-bezier(.2,.8,.2,1);
}
@keyframes barFill { from { width: 0; } }
.job-pct em { font-style: normal; font-size: 0.6rem; color: var(--muted); text-align: right; }

/* Counter panel */
.panel-counter {
  top: 36%;
  right: 4%;
  width: 46%;
  padding: 1.1rem 1.3rem;
  animation-delay: 1.5s;
}
.counter-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.counter-label {
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.counter-spark { margin-top: 0.7rem; height: 30px; }
.counter-spark svg { width: 100%; height: 100%; }
.spark-line {
  fill: none;
  stroke: url(#sparkGrad);
  stroke: var(--brand);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(23,168,196,0.5));
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: sparkDraw 2.4s ease-out 0.5s forwards, sparkPulse 4s ease-in-out 3s infinite;
}
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }
@keyframes sparkPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(23,168,196,0.4)); }
  50% { filter: drop-shadow(0 0 14px rgba(23,168,196,0.8)); }
}

/* GPU panel */
.panel-gpu {
  bottom: 6%;
  left: 6%;
  width: 54%;
  padding: 0.9rem 1rem;
  animation-delay: 3s;
}
.gpu-head {
  display: flex; justify-content: space-between;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.gpu-status { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ok); }
.gpu-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  margin-bottom: 0.7rem;
}
.gpu-grid i {
  aspect-ratio: 1;
  background: rgba(23,168,196,0.18);
  border-radius: 2px;
  display: block;
  animation: gpuFlicker 3s ease-in-out infinite;
}
.gpu-grid i:nth-child(odd) { animation-delay: 0.3s; }
.gpu-grid i:nth-child(3n) { animation-delay: 0.6s; }
.gpu-grid i:nth-child(5n) { animation-delay: 0.9s; }
.gpu-grid i.g-h {
  background: var(--brand);
  box-shadow: 0 0 6px var(--brand);
}
@keyframes gpuFlicker {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.gpu-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; font-size: 0.6rem; color: var(--muted); }
.m { display: grid; grid-template-columns: 32px 1fr; gap: 0.3rem; align-items: center; }
.m-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.m-bar b { display: block; height: 100%; width: var(--w); background: var(--grad); border-radius: 2px; animation: barFill 1.8s cubic-bezier(.2,.8,.2,1); }

/* Code rain */
.code-rain {
  position: absolute;
  bottom: 10%;
  right: 6%;
  width: 42%;
  display: flex; flex-direction: column;
  gap: 0.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  color: var(--brand-2);
  z-index: 2;
  pointer-events: none;
}
.code-rain span {
  opacity: 0;
  background: rgba(7,8,12,0.7);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border-left: 2px solid var(--brand);
  animation: codeIn 0.6s ease-out forwards;
}
.code-rain span:nth-child(1) { animation-delay: 1.2s; }
.code-rain span:nth-child(2) { animation-delay: 1.8s; }
.code-rain span:nth-child(3) { animation-delay: 2.4s; }
.code-rain span:nth-child(4) { animation-delay: 3.0s; color: var(--ok); border-color: var(--ok); }
@keyframes codeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Hero strip */
.hero-strip {
  margin-top: 2.5rem;
  padding: 0.9rem 0;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.strip-track {
  display: flex; gap: 3rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.strip-track span { display: inline-flex; align-items: center; gap: 0.7rem; }
.strip-track i { color: var(--brand); font-style: normal; }
.rig {
  position: relative;
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}
.rig-screen {
  background: linear-gradient(135deg, #0e1119 0%, #161a26 100%);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}
.rig-screen::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(139,233,255,0.18), transparent 50%);
  pointer-events: none;
}
.rig-bar { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.rig-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3d; }
.rig-bar i:nth-child(1) { background: #ff5f57; }
.rig-bar i:nth-child(2) { background: #ffbd2e; }
.rig-bar i:nth-child(3) { background: #28c940; }

.rig-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}
.meter { display: grid; grid-template-columns: 38px 1fr 36px; align-items: center; gap: 0.5rem; color: var(--muted); }
.meter em { font-style: normal; color: var(--text); text-align: right; }
.meter .bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.meter .bar b {
  display: block; height: 100%; width: var(--w);
  background: var(--grad);
  border-radius: 999px;
  animation: meterFill 1.4s ease-out;
}
@keyframes meterFill { from { width: 0; } to { width: var(--w); } }

.rig-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-bottom: 0.9rem; }
.frame {
  aspect-ratio: 16/10;
  border-radius: 6px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  animation: scan 3s linear infinite;
}
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.f1 { background: linear-gradient(135deg, #ff5b2e, #ffb86b); }
.f2 { background: linear-gradient(135deg, #6ee7ff, #8b5cf6); }
.f3 { background: linear-gradient(135deg, #34d399, #6ee7ff); }
.f4 { background: linear-gradient(135deg, #8b5cf6, #ff5b2e); }

.rig-status {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: pulse 2s infinite;
}
.rig-base {
  width: 60%;
  height: 14px;
  margin: -2px auto 0;
  background: linear-gradient(180deg, #1a1f2c, #0a0c12);
  border-radius: 0 0 14px 14px;
  border: 1px solid var(--line);
  border-top: 0;
}

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(20,24,36,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}
.float-card strong { display: block; font-weight: 500; }
.float-card span { font-size: 0.78rem; color: var(--muted); }
.card-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--grad); color: #0a0c12; font-size: 1rem; }
.card-a { top: 8%; right: -8%; animation: float 6s ease-in-out infinite; }
.card-b { bottom: 12%; left: -10%; animation: float 6s ease-in-out infinite 3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============ Marquee ============ */
.marquee {
  border-block: 1px solid var(--line);
  padding: 1.6rem 0;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.marquee-track {
  display: flex; gap: 4rem;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--muted-2);
  letter-spacing: -0.02em;
}
.marquee-track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section {
  padding: 7rem 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent);
  border-block: 1px solid var(--line);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head.left { text-align: left; max-width: 460px; margin: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.card {
  position: relative;
  padding: 2rem 1.7rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, border-color .3s ease;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(23,168,196,0.08), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--brand);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); margin-bottom: 1.2rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ticks li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1.4rem;
  position: relative;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 14px; height: 5px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* Equipment cards */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.equip-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  display: block;
}
.equip-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 30px 60px -20px rgba(23,168,196,0.25); }
.equip-art {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #0a0c12;
}
.equip-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
  filter: saturate(0.95);
}
.equip-card:hover .equip-art img { transform: scale(1.06); }
.equip-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,18,25,0.85));
}
.equip-meta { padding: 1.5rem; position: relative; }
.equip-meta h3 {
  margin-bottom: 0.4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.ec-arrow {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--brand);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.equip-card:hover .ec-arrow { transform: translateX(6px); }
.equip-meta p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.link-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--brand-2);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.why-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.why-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(23,168,196,0.1);
  border: 1px solid rgba(23,168,196,0.3);
  display: grid; place-items: center;
  color: var(--brand);
  font-size: 1.2rem;
}
.why-item strong { display: block; font-size: 1.05rem; margin-bottom: 0.3rem; font-family: 'Raleway', sans-serif; }
.why-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.quote-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,233,255,0.18), transparent 60%);
  pointer-events: none;
}
.quote-mark { width: 36px; height: 36px; color: var(--brand); margin-bottom: 1rem; }
.quote-card blockquote {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  color: var(--text);
}
.quote-card footer strong { display: block; }
.quote-card footer span { color: var(--muted); font-size: 0.88rem; }

/* Process */
.process {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  counter-reset: step;
}
.process li {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-right: 0;
  position: relative;
}
.process li:last-child { border-right: 1px solid var(--line); }
.process li:first-child { border-top-left-radius: var(--radius-lg); border-bottom-left-radius: var(--radius-lg); }
.process li:last-child { border-top-right-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
.process .step {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--brand);
  margin-bottom: 1rem;
}
.process h4 { font-family: 'Raleway', sans-serif; font-size: 1.1rem; margin-bottom: 0.4rem; }
.process p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  transition: border-color .25s, background .25s;
}
.faq-list details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq-list summary {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.chev {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--muted);
  transition: transform .3s, color .3s, border-color .3s;
}
details[open] .chev { transform: rotate(45deg); color: var(--brand); border-color: var(--brand); }
.faq-list details p { color: var(--muted); margin: 1rem 0 0; }

/* Contact */
.section-contact { padding-bottom: 5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.ci-row {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 1rem; align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.ci-row:last-child { border-bottom: 1px solid var(--line); }
.ci-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(139,233,255,0.08);
  border: 1px solid rgba(139,233,255,0.2);
  color: var(--accent);
  font-size: 1.2rem;
}
.ci-row strong { display: block; font-family: 'Raleway', sans-serif; margin-bottom: 0.2rem; }
.ci-row span { color: var(--muted); font-size: 0.92rem; }

.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line-2);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(0,0,0,0.5);
}
.contact-form textarea { resize: vertical; }
.form-note { margin: 0; padding: 0.8rem 1rem; border-radius: 10px; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); color: var(--ok); font-size: 0.9rem; }
.form-helper { margin: 0.5rem 0 0; text-align: center; font-size: 0.8rem; }

.contact-map {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.6);
  transition: filter .3s;
}
.contact-map:hover { filter: invert(1) hue-rotate(180deg) saturate(0.8); }
.contact-map iframe { display: block; }

/* ============ Legal / About pages ============ */
.legal-page {
  padding: 9rem 0 5rem;
  position: relative;
}
.legal-page .container { max-width: 820px; }
.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}
.legal-page .legal-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.7rem;
  color: var(--text);
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--brand-2);
}
.legal-page p, .legal-page li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-page p { margin-bottom: 1.1rem; }
.legal-page ul, .legal-page ol {
  margin: 0 0 1.4rem;
  padding-left: 1.4rem;
}
.legal-page li { margin-bottom: 0.5rem; }
.legal-page strong { color: var(--text); font-weight: 500; }
.legal-page a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* About page sections */
.about-hero {
  text-align: center;
  padding: 9rem 0 4rem;
}
.about-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1.2rem;
}
.about-hero .lead { max-width: 660px; margin: 0 auto; }

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 3rem 0;
}
.about-stat {
  padding: 2rem 1.5rem;
  background: var(--surface);
  text-align: center;
}
.about-stat strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}
.about-stat span { color: var(--muted); font-size: 0.88rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.value-card {
  padding: 2rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .25s;
}
.value-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.value-card .v-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--brand);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.94rem; margin: 0; line-height: 1.6; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-grid h5 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.2rem;
}
.footer-grid div { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-grid a { color: var(--muted); font-size: 0.92rem; transition: color .2s; }
.footer-grid a:hover { color: var(--text); }
.socials { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}
.socials a:hover { background: var(--surface); border-color: var(--brand); color: var(--brand); }

.footer-base {
  display: flex; justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted-2);
}
.footer-base a:hover { color: var(--text); }

/* ============ Cinematic 3D Reveal System ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Direction variants */
.reveal-up { transform: translateY(60px) rotateX(8deg); transform-origin: center bottom; }
.reveal-up.in { transform: translateY(0) rotateX(0); }

.reveal-left { transform: translateX(-60px) rotateY(8deg); transform-origin: left center; }
.reveal-left.in { transform: translateX(0) rotateY(0); }

.reveal-right { transform: translateX(60px) rotateY(-8deg); transform-origin: right center; }
.reveal-right.in { transform: translateX(0) rotateY(0); }

.reveal-scale { transform: scale(0.92) translateY(30px); }
.reveal-scale.in { transform: scale(1) translateY(0); }

.reveal-3d {
  transform: translateY(80px) rotateX(15deg) scale(0.96);
  transform-origin: center bottom;
  transition: opacity 1.1s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.reveal-3d.in { transform: translateY(0) rotateX(0) scale(1); }

.reveal-tilt {
  transform: translateY(40px) rotate(-2deg) scale(0.97);
}
.reveal-tilt.in { transform: translateY(0) rotate(0) scale(1); }

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.54s; }

/* Section depth — each section gets a subtle perspective lift */
.section, .showcase, .pipeline, .testi, .coverage, .bvr, .usecases {
  position: relative;
}
.section-head { perspective: 1000px; }

/* Sticky-ish floating accents (decorative bg shapes) */
.deco-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}
.deco-orb-tl { top: -10%; left: -8%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(23,168,196,0.18), transparent 60%); }
.deco-orb-br { bottom: -10%; right: -8%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(95,211,232,0.14), transparent 60%); }
.section > .container, .showcase > .container, .testi > .container, .coverage > .container, .bvr > .container, .usecases > .container, .pipeline > .container { position: relative; z-index: 1; }

/* ============ Catalog page ============ */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.catalog-controls {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
.search-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.search-ico {
  position: absolute; left: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--muted);
  pointer-events: none;
}
.search-wrap input[type="search"] {
  width: 100%;
  padding: 0.95rem 1.2rem 0.95rem 3rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.search-wrap input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(23,168,196,0.1);
}
.search-wrap input[type="search"]::-webkit-search-cancel-button { filter: invert(1) opacity(0.6); }

.filter-pills {
  display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center;
}
.pill {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: all .25s;
}
.pill:hover { color: var(--text); border-color: var(--text); }
.pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(23,168,196,0.6);
}

.catalog-section { padding: 3rem 0; border-top: 1px solid var(--line); }
.catalog-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.catalog-head h2 { margin: 0; }
.catalog-head .count { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 24px 50px -20px rgba(23,168,196,0.2); }
.product-img {
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.4rem;
  transition: transform .5s ease;
}
.product:hover .product-img img { transform: scale(1.04); }
.product-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-img-link { display: block; }
.product-name-link { color: inherit; transition: color .2s; }
.product-name-link:hover { color: var(--brand); }
.product .tag {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-2);
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(95,211,232,0.3);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.product h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.product .specs { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.88rem; color: var(--muted); }
.product .specs li::before { content: '— '; color: var(--muted-2); }
.product .price {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.product .price strong { font-family: 'Raleway', sans-serif; font-size: 1.05rem; }
.product .price small { color: var(--muted-2); font-size: 0.78rem; }
.price-ask {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.price-ask::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}
.product .req {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--brand);
}

/* ============ Showcase ============ */
.showcase {
  padding: 6rem 0;
  position: relative;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.showcase-bullets { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.sb { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.sb-num {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--brand);
  background: rgba(23,168,196,0.06);
}
.sb strong { display: block; font-family: 'Raleway', sans-serif; margin-bottom: 0.2rem; font-size: 1.05rem; }
.sb span { color: var(--muted); font-size: 0.92rem; }

.showcase-art {
  position: relative;
  aspect-ratio: 4 / 3;
  perspective: 1000px;
}
.showcase-img-wrap {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.showcase-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) hue-rotate(-15deg) brightness(0.7);
  animation: kenburns 25s ease-in-out infinite alternate;
}
.showcase-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(7,8,12,0.7) 100%),
    linear-gradient(45deg, rgba(23,168,196,0.18), transparent 60%);
  pointer-events: none;
}
.showcase-grid-ov {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(23,168,196,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,168,196,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mix-blend-mode: screen;
  pointer-events: none;
}
.showcase-badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: rgba(7,8,12,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text);
  z-index: 2;
}
.showcase-badge.top { top: 1.2rem; left: 1.2rem; }
.showcase-badge.bottom { bottom: 1.2rem; right: 1.2rem; color: var(--brand-2); }
.showcase-badge.bottom span { color: var(--ok); font-weight: 600; }

/* ============ Pipeline integration ============ */
.pipeline { padding: 7rem 0; }
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pipe-tile {
  background: var(--surface);
  padding: 1.6rem 1rem;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  transition: color .3s, background .3s;
  cursor: default;
}
.pipe-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s;
  z-index: 0;
}
.pipe-tile span { position: relative; z-index: 1; }
.pipe-tile:hover { color: #0a0c12; }
.pipe-tile:hover::before { opacity: 1; }

/* ============ Magnetic & tilt ============ */
.magnetic { transition: transform .25s cubic-bezier(.2,.8,.2,1); will-change: transform; }
[data-tilt] { transition: transform .35s cubic-bezier(.2,.8,.2,1); will-change: transform; transform-style: preserve-3d; }

/* ============ Product detail page ============ */
.breadcrumb {
  padding: 1.5rem 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.crumb-sep { margin: 0 0.6rem; color: var(--muted-2); }
.crumb-current { color: var(--text); }

.product-hero {
  padding: 3rem 0 5rem;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.product-gallery { position: relative; }
.gallery-main {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery-main::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(23,168,196,0.08), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(95,211,232,0.06), transparent 60%);
  pointer-events: none;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}
.gallery-badge {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(7,8,12,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  z-index: 2;
}

.product-info { display: flex; flex-direction: column; }
.product-info h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.product-headline {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  color: var(--brand-2);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.product-desc, .product-summary {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.product-cta {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.product-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.quick-item {
  background: var(--surface);
  padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.quick-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}
.quick-val {
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Specs table */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.specs-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: 0; }
.spec-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.spec-val {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* Best for list */
.bestfor-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}
.bestfor-list li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color .25s, transform .25s;
}
.bestfor-list li:hover { border-color: var(--brand); transform: translateX(3px); }
.bestfor-list li span {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(23,168,196,0.12);
  color: var(--brand);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Included grid */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.included-card {
  padding: 1.8rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .3s, transform .3s;
}
.included-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.inc-ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(23,168,196,0.1);
  border: 1px solid rgba(23,168,196,0.25);
  color: var(--brand);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.included-card h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.included-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* CTA strip */
.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(23,168,196,0.18), transparent 60%);
  pointer-events: none;
}
.cta-strip h2 { margin: 0.5rem 0 0.5rem; }
.cta-strip p { margin: 0; }
.cta-strip > * { position: relative; z-index: 1; }

/* ============ Use cases grid ============ */
.usecases { padding-top: 6rem; padding-bottom: 6rem; }
.uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}
.uc-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .35s, border-color .35s, box-shadow .35s;
  min-height: 340px;
}
.uc-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 30px 60px -20px rgba(23,168,196,0.25); }
.uc-art {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) brightness(0.55) hue-rotate(-15deg);
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .35s;
}
.uc-card:hover .uc-art { transform: scale(1.08); filter: saturate(1) brightness(0.45); }
.uc-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7,8,12,0.92));
}
.uc-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1.5rem;
  z-index: 1;
}
.uc-meta .kicker { margin-bottom: 0.7rem; background: rgba(0,0,0,0.4); }
.uc-meta h3 { margin-bottom: 0.4rem; }
.uc-meta p { color: rgba(232,236,243,0.78); font-size: 0.92rem; margin-bottom: 1rem; }
.uc-meta .link-arrow { color: var(--brand-2); }

/* ============ Buy vs Rent ============ */
.bvr { padding: 7rem 0; }
.bvr-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}
.bvr-card {
  padding: 2.2rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.bvr-buy { opacity: 0.85; }
.bvr-rent {
  border-color: rgba(23,168,196,0.4);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: 0 30px 60px -20px rgba(23,168,196,0.18);
}
.bvr-rent::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(23,168,196,0.18), transparent 60%);
  pointer-events: none;
}
.bvr-head { position: relative; z-index: 1; margin-bottom: 1.5rem; }
.bvr-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.bvr-rent .bvr-label { color: var(--brand); }
.bvr-head h3 { font-size: 1.6rem; margin: 0; font-family: 'Raleway', sans-serif; }
.bvr-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; position: relative; z-index: 1; }
.bvr-list li {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 0.7rem; align-items: center;
  font-size: 0.95rem;
  color: var(--text);
}
.bvr-x, .bvr-c {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
}
.bvr-x { background: rgba(255,255,255,0.05); color: var(--muted-2); }
.bvr-c { background: var(--brand); color: #fff; box-shadow: 0 0 12px rgba(23,168,196,0.5); }
.bvr-vs {
  align-self: center;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.bvr-cta { text-align: center; }

/* ============ Testimonials ============ */
.testi { padding: 7rem 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.testi-card {
  padding: 2rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  position: relative;
  overflow: hidden;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.testi-card:hover { border-color: var(--brand); box-shadow: 0 30px 50px -20px rgba(23,168,196,0.18); }
.testi-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(23,168,196,0.12), transparent 60%);
  pointer-events: none;
}
.testi-card .quote-mark { width: 28px; height: 28px; color: var(--brand); margin-bottom: 1rem; opacity: 0.7; }
.testi-card blockquote {
  font-family: 'Raleway', sans-serif;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  color: var(--text);
  position: relative; z-index: 1;
}
.testi-card footer { display: flex; flex-direction: column; gap: 0.2rem; position: relative; z-index: 1; }
.testi-card footer strong { font-family: 'Raleway', sans-serif; font-weight: 500; }
.testi-card footer span { color: var(--muted); font-size: 0.85rem; }

/* ============ Coverage ============ */
.coverage { padding: 7rem 0; }
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.cov-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.cov-city {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .25s, transform .25s;
}
.cov-city:hover { border-color: var(--brand); transform: translateX(4px); }
.cov-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  animation: pulseDot 2s infinite;
}
.cov-city > div { display: contents; }
.cov-city strong {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text);
  display: block;
}
.cov-city em {
  font-style: normal;
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ============ Category page hero ============ */
.cat-hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
.cat-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cat-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.45) hue-rotate(-15deg);
  animation: kenburns 25s ease-in-out infinite alternate;
}
.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,12,0.5) 0%, rgba(7,8,12,0.95) 100%),
    radial-gradient(ellipse at 30% 30%, rgba(23,168,196,0.25), transparent 60%);
  z-index: -1;
}
.cat-hero-inner { position: relative; z-index: 1; }
.breadcrumb.light {
  padding: 0;
  margin-bottom: 2rem;
}
.cat-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.cat-lead {
  font-size: 1.15rem;
  color: rgba(232,236,243,0.85);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.cat-meta {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 600px;
}
.cat-meta div { display: flex; flex-direction: column; }
.cat-meta strong {
  font-family: 'Raleway', sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cat-meta span { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }

.cat-use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.use-card {
  padding: 1.8rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .25s;
}
.use-card:hover { border-color: var(--brand); transform: translateY(-4px); }
.use-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--brand);
  margin-bottom: 0.8rem;
  letter-spacing: 0.1em;
}
.use-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.use-card p { color: var(--muted); font-size: 0.94rem; margin: 0; line-height: 1.6; }

/* ============ Product highlights ============ */
.highlights-section { padding: 5rem 0 3rem; }
.highlights-grid {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.7rem;
}
.hl-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s, background .25s;
}
.hl-item:hover {
  border-color: var(--brand);
  transform: translateX(3px);
  background: linear-gradient(90deg, rgba(23,168,196,0.05), var(--surface));
}
.hl-ico {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(23,168,196,0.12);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.hl-text {
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--text);
}

/* ============ Apps strip ============ */
.apps-strip {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.apps-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.apps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.app-tag {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Raleway', sans-serif;
  transition: border-color .2s, color .2s, background .2s;
}
.app-tag:hover {
  border-color: var(--brand);
  color: var(--brand-2);
  background: rgba(23,168,196,0.05);
}

/* ============ Catalog filters ============ */
.catalog-tools {
  display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap;
}
.sort-select {
  padding: 0.7rem 2rem 0.7rem 0.95rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%238a93a6' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px;
  transition: border-color .2s;
}
.sort-select:hover { border-color: var(--text); }
.sort-select:focus { outline: none; border-color: var(--brand); }

.filter-toggle { display: none; }

.filter-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.filter-panel::-webkit-scrollbar { width: 6px; }
.filter-panel::-webkit-scrollbar-track { background: transparent; }
.filter-panel::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.facet-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.8rem;
}
.facet-head h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.facet-clear {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--brand);
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: background .2s;
}
.facet-clear:hover { background: rgba(23,168,196,0.1); }

.facet {
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
}
.facet:last-child { border-bottom: 0; }
.facet > summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
}
.facet > summary::-webkit-details-marker { display: none; }
.facet-chev {
  font-size: 0.75rem;
  color: var(--muted-2);
  transition: transform .25s;
}
.facet[open] .facet-chev { transform: rotate(180deg); }

.facet-options {
  display: flex; flex-direction: column;
  gap: 0.2rem;
  padding: 0.4rem 0 0.6rem;
  max-height: 220px;
  overflow-y: auto;
}
.facet-options::-webkit-scrollbar { width: 4px; }
.facet-options::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 2px; }

.facet-opt {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--text);
  transition: background .15s;
}
.facet-opt:hover { background: rgba(23,168,196,0.05); }
.facet-opt input {
  width: 16px; height: 16px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all .15s;
}
.facet-opt input:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.facet-opt input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.facet-name { color: var(--text); }
.facet-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted-2);
}
.facet-opt:has(input:checked) .facet-name { color: var(--brand-2); font-weight: 500; }

/* Active filter chips */
.active-filters {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.active-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.4rem 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(23,168,196,0.1);
  border: 1px solid rgba(23,168,196,0.3);
  color: var(--brand-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all .2s;
}
.active-chip:hover { background: rgba(23,168,196,0.2); border-color: var(--brand); }
.active-chip span {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  font-size: 0.7rem;
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
}
.empty-state .kicker { display: inline-block; margin-bottom: 1rem; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto; }

/* ============ Responsive ============ */
/* ============ Tablet (≤ 960) ============ */
@media (max-width: 960px) {
  .container { width: min(1200px, 94%); }

  /* Header */
  .nav-main { display: none; }
  .hamburger { display: flex; }
  .hide-sm { display: none; }
  .logo-sub { display: none; }

  /* Hero */
  .hero { padding: 2.5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual, .hero-stage { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .panel-counter { right: 2%; width: 50%; }
  .panel-queue { left: 2%; width: 66%; }
  .panel-gpu { left: 4%; width: 60%; }
  .code-rain { display: none; }

  /* Layout collapse */
  .showcase-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-grid, .faq-wrap, .contact-grid, .product-hero-grid, .product-detail-grid, .coverage-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .bvr-grid { grid-template-columns: 1fr; }
  .bvr-vs { justify-self: center; }
  .cta-strip { grid-template-columns: 1fr; padding: 2rem; gap: 1.5rem; }
  .spec-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1rem 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section { padding: 4.5rem 0; }
  .showcase, .pipeline, .testi, .coverage, .bvr, .usecases { padding: 4.5rem 0; }
  .process li { border-right: 1px solid var(--line); border-radius: var(--radius)!important; margin-bottom: 0.5rem; }

  /* Filters */
  .filter-layout { grid-template-columns: 1fr; }
  .filter-panel {
    position: fixed;
    top: 0; left: 0;
    width: 88vw; max-width: 360px;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    z-index: 80;
    transform: translateX(-100%);
    transition: transform .3s;
    border-right: 1px solid var(--line-2);
  }
  .filter-panel.open { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }

  /* Mega menu */
  .nav-menu { width: min(420px, 92vw); grid-template-columns: 1fr; }

  /* Category meta */
  .cat-meta { flex-wrap: wrap; gap: 1.5rem; }

  /* Catalog tools */
  .catalog-head { gap: 1rem; }
  .catalog-tools { width: 100%; }
}

/* ============ Mobile (≤ 720) ============ */
@media (max-width: 720px) {
  /* Container & spacing */
  .container { width: min(1200px, 92%); }
  .section { padding: 3.5rem 0; }
  .showcase, .pipeline, .testi, .coverage, .bvr, .usecases { padding: 3.5rem 0; }
  .hero { padding: 1.5rem 0 3rem; }

  /* Typography */
  h1 { font-size: clamp(2rem, 8vw, 2.8rem) !important; letter-spacing: -0.025em; }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2.1rem); }
  h3 { font-size: 1.15rem; }
  .hero-title { margin-bottom: 1.2rem; }
  .lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .section-head { margin-bottom: 2.5rem; }

  /* Hero CTAs full width */
  .hero-cta { flex-direction: column; gap: 0.5rem; align-items: stretch; }
  .hero-cta .primary-btn, .hero-cta .ghost-btn { justify-content: center; }
  .lg { padding: 0.85rem 1.2rem; font-size: 0.95rem; }

  /* Hero stage */
  .hero-stage { max-width: 100%; }
  .panel { font-size: 0.9em; }
  .panel-queue { left: 3%; width: 68%; top: 4%; }
  .panel-counter { right: 3%; width: 52%; top: 32%; padding: 0.85rem 1rem; }
  .counter-num { font-size: 1.7rem; }
  .panel-gpu { left: 4%; bottom: 4%; width: 64%; padding: 0.7rem 0.85rem; }
  .gpu-grid { grid-template-columns: repeat(8, 1fr); gap: 2px; }

  /* Eyebrow & rotator */
  .eyebrow { font-size: 0.7rem; padding: 0.35rem 0.65rem; }

  /* Header */
  .nav-wrap { padding: 0.7rem 0; gap: 0.6rem; }
  .logo-img { height: 32px; }
  .site-header .primary-btn { padding: 0.55rem 0.85rem; font-size: 0.85rem; }
  .site-header .primary-btn span { display: none; }

  /* Cards */
  .cards-grid, .equip-grid, .uc-grid, .testi-grid, .pipeline-grid, .product-grid, .included-grid, .bestfor-list, .highlights-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .pipeline-grid { grid-template-columns: 1fr 1fr; }
  .uc-card { min-height: 280px; }
  .card { padding: 1.6rem 1.4rem; }
  .equip-meta { padding: 1.2rem; }
  .quote-card { padding: 2rem 1.5rem; }
  .quote-card blockquote { font-size: 1.1rem; }

  /* Coverage cities */
  .cov-cities { grid-template-columns: 1fr; }

  /* BVR */
  .bvr-card { padding: 1.8rem 1.4rem; }
  .bvr-head h3 { font-size: 1.3rem; }
  .bvr-list li { font-size: 0.9rem; }

  /* Process */
  .process { display: flex; flex-direction: column; }

  /* Hero strip */
  .hero-strip { margin-top: 2rem; }
  .strip-track { font-size: 0.7rem; gap: 2rem; }

  /* Marquee */
  .marquee-track { font-size: 1.1rem; gap: 2.5rem; }

  /* FAQ */
  .faq-list summary { font-size: 0.95rem; }
  .faq-list details { padding: 1rem 1.1rem; }

  /* Forms */
  .contact-form { padding: 1.5rem; }
  .contact-form .row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-base { flex-direction: column; gap: 0.5rem; text-align: center; }
  .site-footer { padding: 3rem 0 1.5rem; }

  /* Catalog page */
  .page-hero { padding: 5rem 0 2.5rem; }
  .catalog-controls { margin-top: 1.8rem; }
  .filter-pills { gap: 0.3rem; }
  .pill { font-size: 0.7rem; padding: 0.4rem 0.7rem; }
  .catalog-head {
    flex-direction: column; align-items: flex-start; gap: 0.8rem;
  }
  .catalog-tools { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .catalog-tools .search-wrap { max-width: 100% !important; }
  .sort-select { width: 100%; }
  .filter-toggle { width: 100%; justify-content: center; }

  /* Category page */
  .cat-hero { padding: 6rem 0 3rem; }
  .cat-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .cat-lead { font-size: 1rem; }
  .cat-meta { gap: 1.2rem; padding-top: 1rem; }
  .cat-meta strong { font-size: 1.4rem; }
  .cat-meta span { font-size: 0.75rem; }

  /* Product detail */
  .product-hero { padding: 1.5rem 0 3rem; }
  .product-info h1 { margin-top: 0.3rem; margin-bottom: 0.7rem; }
  .product-headline { font-size: 1.1rem; margin-bottom: 1rem; }
  .product-summary, .product-desc { font-size: 0.96rem; margin-bottom: 1.5rem; }
  .product-cta { flex-direction: column; align-items: stretch; }
  .product-cta .primary-btn, .product-cta .ghost-btn { justify-content: center; }
  .product-quick { grid-template-columns: 1fr 1fr; }
  .breadcrumb { font-size: 0.7rem; padding: 1rem 0 0; }
  .crumb-sep { margin: 0 0.4rem; }

  /* Highlights */
  .hl-item { padding: 0.95rem 1.05rem; gap: 0.75rem; }
  .hl-text { font-size: 0.9rem; }

  /* Specs table */
  .specs-table { border-radius: var(--radius); }
  .spec-row { padding: 0.9rem 1.1rem; }
  .spec-key { font-size: 0.7rem; }
  .spec-val { font-size: 0.9rem; }

  /* CTA strip */
  .cta-strip { padding: 1.8rem 1.4rem; gap: 1rem; text-align: left; }
  .cta-strip .primary-btn { width: 100%; justify-content: center; }

  /* Apps strip */
  .apps-strip { margin-top: 1.5rem; padding-top: 1.2rem; }
  .app-tag { font-size: 0.74rem; padding: 0.3rem 0.6rem; }

  /* Search input - bigger touch targets */
  .search-wrap input[type="search"] { padding: 0.85rem 1rem 0.85rem 2.7rem; font-size: 0.92rem; }
  .search-ico { left: 0.95rem; }

  /* Mobile filter overlay backdrop */
  body.filter-open::after {
    content: '';
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 79;
  }

  /* Buttons - touch-friendly */
  .primary-btn, .ghost-btn { min-height: 42px; }
  details summary { min-height: 36px; }

  /* Showcase art */
  .showcase-art { aspect-ratio: 16/10; }
  .showcase-badge { font-size: 0.72rem; padding: 0.45rem 0.8rem; }

  /* Why list */
  .why-list { gap: 1.2rem; }
  .why-item { gap: 0.8rem; }
  .why-num { width: 38px; height: 38px; font-size: 1.05rem; }

  /* Floating panels - keep readable */
  .float-card { font-size: 0.74rem; padding: 0.55rem 0.7rem; }
}

/* ============ Small mobile (≤ 420) ============ */
@media (max-width: 420px) {
  .pipeline-grid { grid-template-columns: 1fr; }
  .panel-counter { width: 56%; }
  .counter-num { font-size: 1.45rem; }
  .gallery-main img { padding: 1.5rem; }
  .product-img img { padding: 1rem; }
  .bvr-vs { width: 48px; height: 48px; font-size: 0.85rem; }
  .nav-menu { width: 92vw; }
  .filter-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.4rem; -webkit-overflow-scrolling: touch; }
  .filter-pills::-webkit-scrollbar { display: none; }
  .pill { white-space: nowrap; }
  .testi-card blockquote { font-size: 1rem; }
  .strip-track { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
