/* ============================================================================
   ORBIT AI — Design System
   Plain multi-page static site. One stylesheet to rule every page.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   0. TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Color */
  --bg: #05070B;
  --surface: #10131B;
  --surface-2: #151925;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);

  --cyan: #00E5FF;
  --blue: #4F7CFF;
  --violet: #7B61FF;
  --green: #32FF9C;
  --amber: #FFB547;
  --red: #FF5470;

  --text: #FFFFFF;
  --muted: #9AA4B2;
  --faint: #5D6570;

  --glow-cyan: 0 0 40px rgba(0, 229, 255, .35);

  /* Gradients */
  --brand-grad: linear-gradient(90deg, #00E5FF 0%, #4F7CFF 55%, #7B61FF 100%);
  --brand-grad-btn: linear-gradient(90deg, #00E5FF, #4F7CFF);

  /* Elevation */
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 40px -30px rgba(0, 0, 0, .8);
  --glass: rgba(16, 19, 27, .7);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --r-btn: 10px;
  --r-card: 16px;
  --r-panel: 20px;

  /* Spacing scale (8px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Motion */
  --micro: .18s ease;
  --reveal-ease: .6s cubic-bezier(.16, 1, .3, 1);
}

/* ---------------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; color: var(--text); line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(0, 229, 255, .28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   ANIMATED PAGE BACKGROUND (fixed, low-cost, GPU-friendly)
   ------------------------------------------------------------------------- */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
/* faint grid + base tint */
body::before {
  background:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
}
/* drifting neon nebula */
body::after {
  z-index: -1;
  background:
    radial-gradient(38vw 38vw at 12% 8%, rgba(0, 229, 255, .10), transparent 60%),
    radial-gradient(42vw 42vw at 88% 4%, rgba(123, 97, 255, .10), transparent 62%),
    radial-gradient(50vw 40vw at 60% 100%, rgba(79, 124, 255, .07), transparent 65%);
  opacity: .9;
  animation: bgdrift 26s ease-in-out infinite alternate;
}
@keyframes bgdrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 1.5%, 0) scale(1.05); }
}

/* ---------------------------------------------------------------------------
   1. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(64px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 7vw, 80px); }

.center { text-align: center; }
.center .lead,
.center .eyebrow { margin-inline: auto; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.divider {
  height: 1px;
  border: 0;
  background: var(--border);
  margin-block: var(--s-6);
}

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

.eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
}

/* Section title block helper */
.section-head { max-width: 640px; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: 12px; }

/* Headings scale */
h1 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 650; line-height: 1.15; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }

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

/* Grids */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------------------
   PILLS / TAGS / BADGES
   ------------------------------------------------------------------------- */
.pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 500;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  color: var(--muted);
}
.pill::before, .badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.pill.no-dot::before, .badge.no-dot::before { display: none; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 229, 255, .10);
  border: 1px solid rgba(0, 229, 255, .22);
}
.tag-live {
  color: var(--red);
  background: rgba(255, 84, 112, .10);
  border-color: rgba(255, 84, 112, .28);
}
.tag-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 7px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: livepulse 1.6s ease-in-out infinite;
}
@keyframes livepulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------------------------------------------------------------------------
   2. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--micro), box-shadow var(--micro),
              background var(--micro), border-color var(--micro), color var(--micro);
}

.btn-primary {
  background: var(--brand-grad-btn);
  color: #05070B;
  border-color: transparent;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--glow-cyan); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, .06);
  transform: translateY(-1px);
}

.btn-lg { padding: 15px 26px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* 2.1 OS download tiles */
.os-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.btn-os {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  min-width: 210px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: transform var(--micro), box-shadow var(--micro), border-color var(--micro);
}
.btn-os:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}
.os-icon { color: var(--text); flex: 0 0 auto; display: grid; place-items: center; }
.os-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.os-small { font-size: .72rem; color: var(--muted); font-weight: 500; }
.os-label > span:last-child,
.os-name { font-size: .95rem; font-weight: 700; color: var(--text); }

/* ---------------------------------------------------------------------------
   1. NAV
   ------------------------------------------------------------------------- */
/* The #nav wrapper must not create a box, or the sticky header would only
   stick within that 64px wrapper and scroll away. display:contents lets the
   header behave as a direct child of <body> so it stays pinned on scroll. */
#nav, #footer { display: contents; }
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: rgba(8, 10, 16, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--micro), border-color var(--micro);
}
.nav.scrolled { background: rgba(8, 10, 16, .88); border-bottom-color: var(--border-strong); }

.nav-inner {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; filter: drop-shadow(0 0 7px rgba(79, 124, 255, .55)); }
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.brand-ai {
  background: linear-gradient(115deg, #22D3EE, #4F7CFF 45%, #8B5CF6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative;
  font-size: .9rem;
  color: var(--muted);
  transition: color var(--micro);
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  border-radius: 2px;
}

.nav-cta { padding: 8px 16px; font-size: .85rem; }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  position: relative;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--micro), opacity var(--micro);
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--micro), opacity var(--micro);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  z-index: 49;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--micro), transform var(--micro), visibility var(--micro);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu .nav-link {
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-link.active::after { display: none; }
.mobile-menu .btn { margin-top: 16px; }

/* ---------------------------------------------------------------------------
   2. FOOTER
   ------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 64px 0 32px;
  position: relative;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: .92rem; }

.footer-col { display: flex; flex-direction: column; }
.footer-head {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.footer-link {
  color: var(--muted);
  font-size: .92rem;
  padding: 5px 0;
  transition: color var(--micro);
}
.footer-link:hover { color: var(--text); }

.footer-bottom {
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--faint);
  font-size: .8rem;
}

/* ---------------------------------------------------------------------------
   4. HERO
   ------------------------------------------------------------------------- */
/* ---- Base hero (download / features / pricing / contact) ---- */
.hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(600px circle at 50% 0%, rgba(0, 229, 255, .10), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-copy h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); line-height: 1.05; }
.hero-copy .lead { max-width: 520px; }
.hero-copy .badge { margin-bottom: 2px; }
/* text-only centered heroes (features/pricing/contact use .hero-copy.center) */
.hero-copy.center { align-items: center; text-align: center; }
.hero-copy.center .lead { max-width: 620px; margin-inline: auto; }
.hero-note { color: var(--faint); font-size: .8rem; }
.hero-visual { display: grid; place-items: center; }

/* ============ HOME · signature centered hero ============ */
.hero-home {
  overflow: hidden;
  min-height: min(84vh, 780px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(48px, 6vh, 84px) 0 clamp(44px, 6vh, 88px);
}
.hero-home::before { display: none; }
/* animated aurora backdrop */
.hero-aura {
  position: absolute;
  inset: -25% -12% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 24% 30%, rgba(0, 229, 255, .24), transparent 60%),
    radial-gradient(36% 44% at 76% 30%, rgba(123, 97, 255, .24), transparent 60%),
    radial-gradient(46% 52% at 50% 82%, rgba(79, 124, 255, .18), transparent 62%);
  filter: blur(36px);
  animation: aura 24s ease-in-out infinite alternate;
}
@keyframes aura {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1);   opacity: .85; }
  100% { transform: translate3d(2%, 2%, 0)  scale(1.14); opacity: 1; }
}
/* the 3D orb as a glowing centerpiece behind the words */
.hero-orb-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: clamp(520px, 60vw, 900px);
  aspect-ratio: 1;
  opacity: .85;
  z-index: 1;
  pointer-events: none;
}
/* soft halo behind the wireframe orb */
.hero-orb-bg::before {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(0, 229, 255, .30), rgba(123, 97, 255, .12) 55%, transparent 72%);
  filter: blur(38px);
}
.hero-orb-bg canvas { position: relative; display: block; }

/* Standalone 3D orb used on features / download hero-visuals */
.feature-orb {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.feature-orb::before {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(0, 229, 255, .28), rgba(123, 97, 255, .12) 55%, transparent 72%);
  filter: blur(34px);
}
.feature-orb canvas { position: relative; display: block; }
.hero-home .container { position: relative; z-index: 2; }
.hero-home .hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 860px;
  margin-inline: auto;
}
/* readability scrim so the headline reads over the orb */
.hero-home .hero-inner::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(58% 52% at 50% 46%, rgba(5, 7, 11, .74), transparent 74%);
}
.hero-home h1 {
  font-size: clamp(2.9rem, 7vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -.022em;
  max-width: 15ch;
}
.hero-home .lead {
  max-width: 620px;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}
.hero-home .badge { margin-bottom: 2px; }

/* 4.1 The orb */
.hero-orb {
  position: relative;
  width: clamp(240px, 32vw, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
/* blurred halo */
.hero-orb::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(0, 229, 255, .38), rgba(123, 97, 255, .18) 55%, transparent 72%);
  filter: blur(40px);
  z-index: 0;
}
/* core */
.hero-orb .orb-core {
  position: relative;
  z-index: 2;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7bdcff, #00E5FF 40%, #4F7CFF 75%, #7B61FF);
  box-shadow:
    0 0 80px 10px rgba(0, 229, 255, .45),
    inset 0 0 40px rgba(255, 255, 255, .25);
  animation: orbpulse 6s ease-in-out infinite;
}
/* rings */
.hero-orb .orb-ring {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.hero-orb .orb-ring-1 {
  width: 72%; height: 72%;
  border: 1px solid rgba(0, 229, 255, .25);
  animation: orbspin 18s linear infinite;
}
.hero-orb .orb-ring-2 {
  width: 100%; height: 100%;
  border: 1px solid rgba(123, 97, 255, .20);
  animation: orbspin 24s linear infinite reverse;
}
/* orbiting dots */
.hero-orb .orb-ring::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.hero-orb .orb-ring-2::before {
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

@keyframes orbpulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 0 100px 16px rgba(0, 229, 255, .55), inset 0 0 44px rgba(255, 255, 255, .3); }
}
@keyframes orbspin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------------
   CARDS + FEATURES
   ------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--micro), border-color var(--micro);
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 229, 255, .08);
  border: 1px solid var(--border);
  color: var(--cyan);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-title { font-size: 1.25rem; font-weight: 600; }
.feature-text { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------------------
   5.2 AGENT CARDS
   ------------------------------------------------------------------------- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.agent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform var(--micro), border-color var(--micro);
}
.agent-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, currentColor, transparent);
  color: var(--faint);
  opacity: .5;
  transition: opacity var(--micro);
}
.agent-card:hover { transform: translateY(-2px); }
.agent-card:hover::before { opacity: 1; }
.agent-led {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}
.agent-name { font-size: 1.1rem; font-weight: 650; color: var(--text); }
.agent-role { color: var(--muted); font-size: .85rem; }
.agent-card p { color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------------------
   5.3 STATS + PROOF
   ------------------------------------------------------------------------- */
.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: var(--muted);
}
.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 500;
}
.proof-item::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .04em;
}

/* ---------------------------------------------------------------------------
   5.4 PANEL (watch-it-work / audit log)
   ------------------------------------------------------------------------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  padding: 32px;
  box-shadow: var(--card-shadow);
}
.panel pre,
.panel .log {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
  overflow-x: auto;
}
.log-line { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.log-line::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--faint);
}
.log-line.ok::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.log-line.pending::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.log-line.kill::before { background: var(--red); box-shadow: 0 0 8px var(--red); }
.log-time { color: var(--faint); }

/* ---------------------------------------------------------------------------
   5.5 PRICING
   ------------------------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  transition: transform var(--micro), border-color var(--micro);
}
.tier-name {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tier-price { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; line-height: 1; }
.tier-period { font-size: .9rem; font-weight: 400; color: var(--muted); margin-left: 4px; }
.tier-desc { color: var(--muted); font-size: .92rem; }
.tier-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}
.tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--muted);
}
.tier-list li svg {
  width: 14px; height: 14px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--cyan);
}
.tier-cta { margin-top: auto; }

.tier.featured {
  border: 1px solid rgba(0, 229, 255, .5);
  box-shadow: var(--glow-cyan);
  transform: scale(1.03);
  z-index: 1;
}
.tier.featured:hover { transform: scale(1.03) translateY(-2px); }
.tier .pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 229, 255, .14);
  border-color: rgba(0, 229, 255, .4);
  color: var(--text);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   5.6 FAQ
   ------------------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q svg {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform var(--micro);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--cyan); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  color: var(--muted);
  font-size: .95rem;
  transition: max-height var(--reveal-ease), opacity var(--micro), padding var(--reveal-ease);
}
.faq-item.open .faq-a {
  max-height: 400px;
  opacity: 1;
  padding: 0 20px 20px;
}

/* ---------------------------------------------------------------------------
   5.7 BLOG
   ------------------------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: transform var(--micro), border-color var(--micro);
}
.post-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.post-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(120px circle at 78% 30%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(135deg, rgba(0, 229, 255, .28), rgba(123, 97, 255, .28));
  overflow: hidden;
  display: grid;
  place-items: center;
}
/* illustrated thumbnail artwork */
.thumb-art {
  position: relative;
  z-index: 1;
  width: 40%;
  max-width: 120px;
  height: auto;
  opacity: .96;
  transition: transform var(--panel, .28s) var(--ease, ease);
}
.post-card:hover .thumb-art { transform: scale(1.06); }
.post-thumb::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .3), rgba(0, 229, 255, .2) 45%, transparent 70%);
  filter: blur(6px);
  opacity: .7;
}
.post-thumb.violet { background: radial-gradient(120px circle at 78% 30%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, rgba(123, 97, 255, .30), rgba(79, 124, 255, .28)); }
.post-thumb.green { background: radial-gradient(120px circle at 78% 30%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, rgba(50, 255, 156, .26), rgba(0, 229, 255, .26)); }
.post-thumb.amber { background: radial-gradient(120px circle at 78% 30%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, rgba(255, 181, 71, .28), rgba(255, 84, 112, .24)); }
.post-thumb.blue { background: radial-gradient(120px circle at 78% 30%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, rgba(79, 124, 255, .30), rgba(0, 229, 255, .24)); }

.post-card > .post-body,
.post-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: var(--faint);
}
.post-tag {
  display: inline-flex;
  padding: 3px 9px;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 229, 255, .10);
  border: 1px solid rgba(0, 229, 255, .22);
}
.post-title {
  font-size: 1.25rem;
  font-weight: 600;
  transition: color var(--micro);
}
.post-card:hover .post-title { color: var(--cyan); }
.post-excerpt {
  color: var(--muted);
  font-size: .9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* featured post spanning two columns */
.post-card.featured { grid-column: span 2; }
.post-card.featured .post-thumb { aspect-ratio: 21 / 9; }

/* ---------------------------------------------------------------------------
   5.8 ARTICLE
   ------------------------------------------------------------------------- */
.article { max-width: 720px; margin-inline: auto; }
.article-head { margin-bottom: 32px; }
.article-head h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  margin: 14px 0 18px;
}
.article-head .post-meta { font-size: .85rem; margin-bottom: 24px; }
.article-hero-band {
  height: 220px;
  border-radius: var(--r-panel);
  border: 1px solid var(--border);
  background:
    radial-gradient(200px circle at 80% 20%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(135deg, rgba(0, 229, 255, .3), rgba(123, 97, 255, .3));
}
.article-body { font-size: 1.075rem; line-height: 1.75; color: var(--text); }
.article-body p { margin-bottom: 20px; color: #d6dbe4; }
.article-body h2 { margin-top: 48px; margin-bottom: 16px; }
.article-body h3 { margin-top: 32px; margin-bottom: 12px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 20px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; color: #d6dbe4; }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  margin: 28px 0;
  padding-left: 20px;
  border-left: 3px solid var(--cyan);
  font-style: italic;
  color: var(--muted);
  font-size: 1.15rem;
}
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 6px;
}
.article-body pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875rem;
  line-height: 1.7;
}
.article-body pre code { background: none; padding: 0; }

/* ---------------------------------------------------------------------------
   5.9 CONTACT
   ------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.input, .textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color var(--micro), box-shadow var(--micro);
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .15);
}
.textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; gap: 12px; }

.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--cyan);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item .ci-label { font-size: .8rem; color: var(--faint); }
.contact-item .ci-value { font-size: .95rem; color: var(--text); font-weight: 500; }

/* ---------------------------------------------------------------------------
   5.10 CTA BAND
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 229, 255, .06), transparent), var(--surface);
  border-block: 1px solid var(--border);
  border-radius: var(--r-panel);
  padding: 56px;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, .18), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-inner h2 { margin-bottom: 4px; }
.cta-inner .os-buttons { justify-content: center; }

/* ---------------------------------------------------------------------------
   MOTION: REVEAL
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--reveal-ease), transform var(--reveal-ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }

  .hero-home { min-height: auto; padding-top: clamp(80px, 12vh, 120px); }
  .hero-orb-bg { width: clamp(420px, 90vw, 620px); opacity: .45; }
  /* two-column heroes on other pages stack on mobile */
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { order: 1; align-items: center; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-visual { order: 2; }

  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.featured { grid-column: span 2; }

  .pricing { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .tier.featured { transform: none; }
  .tier.featured:hover { transform: translateY(-2px); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .nav-inner { padding-inline: 16px; }
  .section { padding-block: 64px; }

  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: auto; }
  .pricing { grid-template-columns: 1fr; }

  .card, .feature { padding: 20px; }
  .panel { padding: 20px; }
  .cta-band { padding: 40px 24px; }

  .os-buttons { flex-direction: column; align-items: stretch; }
  .btn-os { width: 100%; min-width: 0; }
  .os-buttons .btn { width: 100%; }
  .form-actions .btn { width: 100%; }

  .proof { gap: 16px 24px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  body::after { animation: none; }
}
