/* ============================================================
   GLOBAL TEXT OVERRIDE — black + bold everywhere
   (except where light text is required: btn-primary, footer, console)
   ============================================================ */
body, body * {
  color: #000000 !important;
  font-weight: 700 !important;
}
/* keep stronger weights for big display type */
.display, .h2, .hero-meta strong, .stat-num, .price-num {
  font-weight: 800 !important;
}

/* keep elements that need white / coloured text on dark backgrounds */
.btn-primary,
.btn-primary *,
.footer .footer-bottom,
.footer .footer-bottom span,
.footer h5,
.footer-brand p,
.footer-meta,
.footer-meta span,
.footer-col a,
.footer-col li,
.footer-brand .brand-text,
.console *,
.console-status,
.console-status .live-dot,
.cs-item,
.kpi-label,
.kpi-value,
.kpi-sub,
.event .msg,
.event .time,
.chart-label,
.console-title,
.plan-tag,
.grad-text { color: revert !important; }

.btn-primary, .btn-primary * { color: #ffffff !important; }
.footer, .footer * { color: rgba(255,255,255,0.85) !important; }
.footer h5, .footer-brand .brand-text { color: #ffffff !important; }
.footer .footer-col a:hover { color: #FF580A !important; }

/* dark console keeps its dark theme */
.console-title { color: rgba(255,255,255,0.5) !important; }
.console-status { color: #22e7a8 !important; }
.cs-item { color: rgba(255,255,255,0.55) !important; }
.cs-item.active { color: #FF580A !important; }
.kpi-label, .kpi-sub, .event .time, .chart-label { color: rgba(255,255,255,0.5) !important; }
.kpi-value { color: #ffffff !important; }
.event .msg { color: rgba(255,255,255,0.75) !important; }

/* gradient text retains the gradient (background-clip:text) */
.grad-text {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

/* eyebrow / orange accents stay orange but italic */
.eyebrow, .bento-content .learn { color: #c2410c !important; }

/* plan-tag (gradient pill background) keeps white text */
.plan-tag { color: #ffffff !important; }


/* ============================================================
   CLUSTRIX GLOBAL — Premium Light Enterprise Landing
   Inspired by Linear, Vercel, Stripe, Resend aesthetics.
   ============================================================ */

:root {
  /* LIGHT CHARCOAL GREY base + DARK ORANGE accent — distinct, not blended */
  --bg: #b8bcc4;              /* light charcoal grey */
  --bg-2: #a8adb6;            /* slightly deeper grey */
  --bg-3: #1c1917;            /* footer dark */
  --panel: rgba(255, 255, 255, 0.92);
  --panel-2: #ffffff;
  --line: rgba(30, 30, 35, 0.14);
  --line-2: rgba(30, 30, 35, 0.22);
  --line-strong: rgba(30, 30, 35, 0.34);

  --text: #0a0a0a;            /* near-black for max contrast */
  --text-2: #1a1a1a;
  --text-dim: #2c2c2c;
  --text-soft: #3f3f3f;
  --text-tertiary: #525252;

  /* Willpower Orange brand accent system (#FF580A) */
  --cyan: #FF580A;
  --cyan-bright: #FF580A;
  --cyan-soft: #ffe9dc;
  --violet: #c2410c;
  --violet-bright: #ea580c;
  --violet-soft: #ffe1cc;
  --magenta: #FF580A;
  --amber: #FF580A;
  --amber-soft: #ffe9dc;
  --green: #65a30d;
  --red: #b91c1c;

  --grad-1: linear-gradient(135deg, #000000 0%, #FF580A 100%);
  --grad-2: linear-gradient(135deg, #FF580A 0%, #c2410c 100%);
  --grad-3: linear-gradient(135deg, #000000 0%, #FF580A 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #f5f5f4 100%);

  --shadow-sm: 0 2px 4px rgba(15, 15, 20, 0.1), 0 3px 6px rgba(15, 15, 20, 0.12);
  --shadow-md: 0 10px 24px rgba(15, 15, 20, 0.14), 0 6px 10px rgba(15, 15, 20, 0.1);
  --shadow-lg: 0 26px 56px -16px rgba(15, 15, 20, 0.3), 0 14px 24px -8px rgba(15, 15, 20, 0.18);
  --shadow-xl: 0 36px 80px -24px rgba(15, 15, 20, 0.4), 0 20px 40px -16px rgba(15, 15, 20, 0.24);
  --shadow-glow: 0 0 0 1px rgba(194, 65, 12, 0.4), 0 20px 50px -12px rgba(194, 65, 12, 0.4);

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  /* White → Willpower Orange, 156deg */
  background: linear-gradient(156deg, #FFFFFF 0%, #FF580A 100%);
  background-attachment: fixed;
  color: var(--text);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ============================================================
   BACKGROUND LAYERS — subtle for light theme
   ============================================================ */
.bg-mesh {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: -3;
  pointer-events: none;
}
#grid-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.35;
  pointer-events: none;
}
.bg-glow { display: none; }
.bg-glow-1 { display: none; }
.bg-glow-2 { display: none; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -40px); }
}

/* Subtle dot pattern overlay across body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(30, 30, 35, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -2;
  pointer-events: none;
  mask: radial-gradient(ellipse at center, black 0%, transparent 85%);
  -webkit-mask: radial-gradient(ellipse at center, black 0%, transparent 85%);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}
.grad-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 2.2rem;
  line-height: 1.6;
  font-weight: 500;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #c2410c;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.eyebrow .line {
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #c2410c);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.94rem;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .lucide { font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, #0a0e1a 0%, #1e2538 100%);
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 4px 12px -4px rgba(10, 14, 26, 0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1e2538 0%, #0a0e1a 100%);
  box-shadow: 0 12px 28px -8px rgba(10, 14, 26, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: #ffffff;
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-text { color: var(--text); }
.brand-dot { color: var(--cyan); font-weight: 700; }
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 600;
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  min-height: 600px;
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid rgba(255, 88, 10, 0.35);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #c2410c;
  margin-bottom: 1.6rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 153, 184, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(0, 153, 184, 0); }
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  width: 100%;
  align-items: start;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.hero-meta strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ----- HERO VISUAL — REAL WORLD MAP + CONNECTIVITY ----- */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* allow the map to bleed slightly past the column edge */
  overflow: visible;
}
.globe-stack {
  position: relative;
  width: 110%;
  max-width: none;
  aspect-ratio: 950 / 620;
  display: block;
  /* soft horizontal vignette + slight top/bottom fade */
  mask-image:
    linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,0.4) 4%,
      black 12%,
      black 88%,
      rgba(0,0,0,0.4) 96%,
      transparent 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,0.6) 0%,
      black 12%,
      black 88%,
      rgba(0,0,0,0.6) 100%);
  -webkit-mask-image:
    linear-gradient(to right,
      transparent 0%,
      rgba(0,0,0,0.4) 4%,
      black 12%,
      black 88%,
      rgba(0,0,0,0.4) 96%,
      transparent 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,0.6) 0%,
      black 12%,
      black 88%,
      rgba(0,0,0,0.6) 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
.globe-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 60px rgba(40, 20, 5, 0.22));
  animation: globeFloat 10s ease-in-out infinite;
}
.globe-svg .map-vector {
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}
.globe-svg .map-vector path {
  vector-effect: non-scaling-stroke;
}
@keyframes globeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Pulsing data center nodes */
.node {
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgba(255, 88, 10, 0.75));
  animation: nodePulse 2.2s ease-in-out infinite;
}
.node:nth-of-type(1)  { animation-delay: 0s;    }
.node:nth-of-type(2)  { animation-delay: 0.18s; }
.node:nth-of-type(3)  { animation-delay: 0.36s; }
.node:nth-of-type(4)  { animation-delay: 0.54s; }
.node:nth-of-type(5)  { animation-delay: 0.72s; }
.node:nth-of-type(6)  { animation-delay: 0.9s;  }
.node:nth-of-type(7)  { animation-delay: 1.08s; }
.node:nth-of-type(8)  { animation-delay: 1.26s; }
.node:nth-of-type(9)  { animation-delay: 1.44s; }
.node:nth-of-type(10) { animation-delay: 1.62s; }
.node:nth-of-type(11) { animation-delay: 1.8s;  }
.node:nth-of-type(12) { animation-delay: 1.98s; }
@keyframes nodePulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1;   }
}

/* Halo glow rings around major hubs (slow pulse) */
.node-halo {
  transform-origin: center;
  animation: haloPulse 3.6s ease-in-out infinite;
}
.node-halo:nth-of-type(2) { animation-delay: 0.6s; }
.node-halo:nth-of-type(3) { animation-delay: 1.2s; }
.node-halo:nth-of-type(4) { animation-delay: 1.8s; }
.node-halo:nth-of-type(5) { animation-delay: 2.4s; }
@keyframes haloPulse {
  0%, 100% { opacity: 0.35; transform-box: fill-box; transform: scale(0.85); }
  50%      { opacity: 0.9;  transform-box: fill-box; transform: scale(1.35); }
}

/* Animated arc dashes — data flowing along flight paths */
.arc {
  animation: arcFlow 4s linear infinite;
}
.arc:nth-of-type(2n)  { animation-duration: 4.6s; animation-delay: -0.7s; }
.arc:nth-of-type(3n)  { animation-duration: 5.4s; animation-delay: -1.4s; }
.arc:nth-of-type(5n)  { animation-duration: 3.4s; animation-delay: -2.1s; }
.arc:nth-of-type(7n)  { animation-duration: 4.2s; animation-delay: -2.8s; }
.arc:nth-of-type(11n) { animation-duration: 5.0s; animation-delay: -3.5s; }
@keyframes arcFlow {
  to { stroke-dashoffset: -120; }
}

/* Map dots subtle pulse (alternating) */
.map-dots circle { opacity: 0.7; }
.map-dots circle:nth-child(7n) { fill: rgba(255, 88, 10, 0.4); }
.map-dots circle:nth-child(13n) { fill: rgba(255, 88, 10, 0.55); }

/* ----- TICKER ----- */
.ticker {
  margin-top: 60px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}
.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  font-weight: 600;
}
.ticker-track span:nth-child(odd) { color: var(--text); font-weight: 700; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 80px 0;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stats-grid::before { display: none; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 4px;
  position: relative;
  z-index: 1;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  display: inline-block;
  letter-spacing: -0.02em;
}
.stat-suffix { display: none; }
.stat-label {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
  margin-bottom: 60px;
  max-width: 760px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow { justify-content: center; }
.section-lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-top: 18px;
  max-width: 620px;
  line-height: 1.6;
  font-weight: 500;
}
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   SERVICES BENTO
   ============================================================ */
.services { padding: 100px 0; }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.bento-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.bento-card::before { display: none; }
.bento-card:hover {
  border-color: rgba(0, 153, 184, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bento-card:hover::before { opacity: 1; }

.bento-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: #000000;
  padding: 0;
}
.bento-icon .lucide { font-size: 1.5rem; }
.bento-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.bento-content p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.bento-content .learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bento-shape { display: none; }

/* bento explicit grid placement — clean, balanced, no gaps */
.bento-1  { grid-column: 1 / 4; grid-row: 1 / 3; }   /* big card top-left (3w × 2h) */
.bento-2  { grid-column: 4 / 7; grid-row: 1 / 2; }   /* top-right (3w × 1h) */
.bento-3  { grid-column: 4 / 7; grid-row: 2 / 3; }   /* mid-right (3w × 1h) */
.bento-4  { grid-column: 1 / 3; grid-row: 3 / 4; }   /* row 3 left (2w × 1h) */
.bento-5  { grid-column: 3 / 5; grid-row: 3 / 4; }   /* row 3 center (2w × 1h) */
.bento-6  { grid-column: 5 / 7; grid-row: 3 / 4; }   /* row 3 right (2w × 1h) */
.bento-7  { grid-column: 1 / 3; grid-row: 4 / 5; }   /* row 4 left (2w × 1h) */
.bento-8  { grid-column: 3 / 5; grid-row: 4 / 5; }   /* row 4 center (2w × 1h) */
.bento-9  { grid-column: 5 / 7; grid-row: 4 / 5; }   /* row 4 right (2w × 1h) */
.bento-10 { grid-column: 1 / 7; grid-row: 5 / 6; }   /* full-width row 5 */

.bento-10 {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
}
.bento-10 .bento-icon { flex-shrink: 0; }
.bento-10 .bento-content { flex: 1; max-width: none; }
.bento-10 .bento-shape {
  bottom: auto;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
}

.bento-1::after { display: none; }

/* ============================================================
   PLATFORM / OPS CONSOLE — kept DARK as premium contrast
   ============================================================ */
.platform {
  padding: 100px 0 60px;
}
.console {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0b1124 0%, #060812 100%);
  border: 1px solid #1a2240;
  overflow: hidden;
  box-shadow:
    0 50px 100px -30px rgba(15, 23, 42, 0.4),
    0 30px 60px -15px rgba(99, 102, 241, 0.2),
    0 0 0 1px rgba(99, 102, 241, 0.1);
  position: relative;
}
.console::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(0, 184, 212, 0.4), transparent 50%);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255, 255, 255, 0.02);
}
.console-dots { display: flex; gap: 6px; }
.console-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.console-dots span:nth-child(1) { background: #fb7185; }
.console-dots span:nth-child(2) { background: #fbbf24; }
.console-dots span:nth-child(3) { background: #22e7a8; }
.console-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex: 1;
  text-align: center;
}
.console-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #22e7a8;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22e7a8;
  box-shadow: 0 0 12px #22e7a8;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 231, 168, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(34, 231, 168, 0); }
}
.console-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 460px;
}
.console-sidebar {
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 22px 14px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  cursor: default;
  transition: all 0.2s;
}
.cs-item:hover { background: rgba(255, 255, 255, 0.04); color: rgba(255,255,255,0.85); }
.cs-item.active {
  background: linear-gradient(90deg, rgba(0, 184, 212, 0.15), transparent);
  color: #00d9ff;
  border-left: 2px solid #00d9ff;
  padding-left: 10px;
}
.cs-item .lucide { font-size: 0.95rem; }
.console-main { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.console-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kpi {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.kpi-label {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 500;
}
.kpi-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.kpi-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-left: 4px;
  font-weight: 400;
}
.kpi-bar {
  margin-top: 10px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.kpi-bar div {
  height: 100%;
  background: linear-gradient(90deg, #00d9ff, #818cf8);
  border-radius: 2px;
}

.console-chart {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}
.console-chart svg { width: 100%; height: 120px; display: block; }
.chart-label {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  font-weight: 500;
}
.console-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.event {
  display: grid;
  grid-template-columns: 14px 80px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.015);
}
.event .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.event.ok .dot { background: #22e7a8; box-shadow: 0 0 8px #22e7a8; }
.event.warn .dot { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.event .time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.event .msg { color: rgba(255,255,255,0.75); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 100px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.step:hover {
  border-color: rgba(0, 153, 184, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}
.step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.step p { font-size: 0.92rem; color: var(--text-dim); line-height: 1.55; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 60px 0 100px; }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.quote:hover {
  border-color: rgba(0, 153, 184, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.quote .lucide-quote {
  font-size: 1.6rem;
  color: var(--cyan);
  opacity: 0.5;
  margin-bottom: 16px;
}
.quote blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.quote figcaption strong {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.quote figcaption span {
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 100px 0; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 12px;
}
.plan {
  position: relative;
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.plan-feat {
  border-color: transparent;
  box-shadow: var(--shadow-xl), 0 0 0 1.5px var(--cyan);
  background: #ffffff;
  position: relative;
}
.plan-feat::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: var(--grad-1);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad-1);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.4);
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.plan-price {
  font-family: 'Space Grotesk', sans-serif;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.price-num {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.price-unit {
  font-size: 1rem;
  color: var(--text-soft);
}
.plan-tagline {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
  margin-bottom: 28px;
}
.plan-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
}
.plan-feats li .lucide {
  color: var(--green);
  font-size: 0.92rem;
}

/* The "Choose Professional" button on featured plan — keep dark/primary */
.plan-feat .btn-primary { box-shadow: 0 8px 20px -4px rgba(10, 14, 26, 0.4); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding: 60px 0; }
.cta-inner {
  position: relative;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask: radial-gradient(circle at 50% 0%, black, transparent 70%);
  -webkit-mask: radial-gradient(circle at 50% 0%, black, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 20px auto 32px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 80px 0 30px;
  margin-top: 60px;
  background: var(--bg-3);
  color: rgba(255,255,255,0.7);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(124, 58, 237, 0.18), transparent 60%);
  pointer-events: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer .brand-text { color: #ffffff; }
.footer .brand-dot { color: var(--cyan-bright); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  margin: 16px 0 22px;
  max-width: 360px;
  line-height: 1.55;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.footer-meta .lucide {
  color: var(--cyan-bright);
  margin-right: 8px;
}
.footer-col h5 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-tag {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 380px; }
  .orb-stack { width: 320px; height: 320px; }

  /* Bento collapses to 4-col layout */
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .bento-1  { grid-column: 1 / 5; grid-row: auto / span 2; }
  .bento-2  { grid-column: 1 / 5; grid-row: auto; }
  .bento-3  { grid-column: 1 / 5; grid-row: auto; }
  .bento-4  { grid-column: 1 / 3; grid-row: auto; }
  .bento-5  { grid-column: 3 / 5; grid-row: auto; }
  .bento-6  { grid-column: 1 / 3; grid-row: auto; }
  .bento-7  { grid-column: 3 / 5; grid-row: auto; }
  .bento-8  { grid-column: 1 / 3; grid-row: auto; }
  .bento-9  { grid-column: 3 / 5; grid-row: auto; }
  .bento-10 { grid-column: 1 / 5; grid-row: auto; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid .stat:nth-child(n+4) { padding-top: 18px; }
  .console-kpis { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card { grid-column: 1 / -1 !important; grid-row: auto !important; min-height: 180px; }
  .bento-10 { flex-direction: column; align-items: flex-start; }
  .bento-1::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .stat + .stat::before { display: none; }
  .console-body { grid-template-columns: 1fr; }
  .console-sidebar { display: none; }
  .console-kpis { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .nav-cta .btn-ghost { display: none; }
  .cta-inner { padding: 50px 24px; }
}
