/* ============================================================
   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, .footer-col h5 { color: #ffffff !important; }
/* Explicit overrides — higher specificity than the revert block above */
.footer .footer-col a,
.footer .footer-col li,
.footer .footer-col li a { color: rgba(255,255,255,0.78) !important; }
.footer .footer-col a:hover { color: #FF580A !important; }
.footer .footer-brand p { color: rgba(255,255,255,0.7) !important; }
.footer .footer-meta,
.footer .footer-meta span { color: rgba(255,255,255,0.78) !important; }
.footer .footer-bottom,
.footer .footer-bottom span,
.footer .footer-tag { color: rgba(255,255,255,0.55) !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: 1760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: #FFFFFF;       /* solid fallback that matches the top of the gradient */
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: transparent;
  color: var(--text);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Gradient layer — fixed-positioned div behind everything. Works identically on iOS, Android, Chrome, Firefox, Safari. */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;   /* iOS dynamic viewport */
  background: linear-gradient(156deg, #FFFFFF 0%, #FF580A 100%);
  z-index: -10;
  pointer-events: none;
}

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 48px; }
/* On ultra-wide displays (2560px+), allow even more breathing room */
@media (min-width: 2200px) { .container { max-width: 2000px; } }
@media (max-width: 1024px) { .container { padding: 0 24px; } }
@media (max-width: 600px)  { .container { padding: 0 16px; } }

/* ============================================================
   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: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9100;
  padding: 6px 0;
  /* Solid white default — overridden by inline <style> from settings (Nav appearance admin) */
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  /* Drop shadow gives clear visual separation from the page gradient on every device */
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  /* Force GPU layer — fixes iOS Safari rendering quirks with position:fixed */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  transition: box-shadow 0.3s;
}
/* Desktop: cluster logo + menu + CTA tightly together, centred in the bar */
.nav .container.nav-inner {
  padding-left: 20px;
  padding-right: 20px;
  gap: 16px;
  max-width: 100%;
  justify-content: center;
}
/* Mobile-specific overrides — must come AFTER the global container rules */
@media (max-width: 1024px) {
  .nav .container.nav-inner {
    padding-left: 18px !important;
    padding-right: 18px !important;
    gap: 12px;
    justify-content: space-between;   /* logo left, hamburger right */
  }
}
/* Body padding-top tracks the nav height (logo + 12px padding) */
body { padding-top: 196px; }
@media (max-width: 1024px) { body { padding-top: 104px; } }
@media (max-width: 768px)  { body { padding-top: 92px; } }
@media (max-width: 600px)  { body { padding-top: 86px; } }
@media (max-width: 380px)  { body { padding-top: 76px; } }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
/* Header brand — logo only */
.brand > img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  margin-left: 0;
  max-width: 40vw;   /* never let logo exceed 40% of viewport — guarantees mobile fit */
}
.footer-brand .brand > img {
  width: 280px;
  height: auto;
  max-height: 200px;
  margin-bottom: 8px;
  object-fit: contain;
}
/* Footer brand: icon + visible company name */
.footer-brand-stack {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800 !important;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  line-height: 1;
}
@media (max-width: 640px) {
  .footer-brand-stack { gap: 12px; }
  .footer-brand-name { font-size: 1.35rem; }
}
@media (max-width: 1024px) {
  .brand > img { width: 88px; height: 88px; }
}
@media (max-width: 768px) {
  .brand > img { width: 76px; height: 76px; }
  .footer-brand .brand > img { width: 220px; height: auto; max-height: 160px; }
}
@media (max-width: 600px) {
  .brand > img { width: 70px; height: 70px; }
}
@media (max-width: 380px) {
  .brand > img { width: 60px !important; height: 60px !important; }
}
.brand-text { color: var(--text); }
.brand-dot { color: var(--cyan); font-weight: 700; }

/* mobile-only nav items hidden on desktop */
.mobile-only { display: none !important; }
@media (max-width: 1024px) { .mobile-only { display: inline-block !important; } }

/* ===== Mobile hamburger menu (≤1024px) =====
   Absolute-positioned within the nav so it's always anchored to the right
   regardless of flex/justify-content quirks in portrait vs landscape. */
.nav-toggle {
  display: none;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  z-index: 9200;
  position: relative;
}
.nav-toggle span {
  display: block !important;
  width: 22px !important;
  height: 2.5px !important;
  background: #0a0a0a !important;
  margin: 3px 0 !important;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  /* Hamburger anchored absolute to the nav so it's ALWAYS visible regardless of flex flow */
  .nav { position: fixed !important; }
  .nav-toggle {
    display: flex !important;
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9200 !important;
  }
  .nav-toggle.open { transform: translateY(-50%) !important; }
  /* Make sure brand has room and doesn't push hamburger off-screen */
  .brand { max-width: calc(100% - 80px); }
  .nav-cta { display: none !important; }
  .nav-cta .btn { display: none !important; }   /* belt + braces — hide every CTA button on mobile */
  .nav-links {
    display: none !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 110px 40px 56px;     /* 40px L+R gives a real visible gap */
    box-sizing: border-box;
    gap: 6px;
    font-size: 1.05rem;
    z-index: 9000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    /* Each item is auto-width inside a fixed max — actually visually inset from screen */
    width: calc(100% - 24px);   /* extra inset from drawer's content area */
    max-width: 320px;
    padding: 18px 24px;
    box-sizing: border-box;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 1.1rem;
    color: #1a1a1a !important;
    border-radius: 10px;
    margin: 0 auto;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a:active,
  .nav-links a:hover { background: rgba(255, 88, 10, 0.08); }
  .nav-links a.mobile-only {
    width: calc(100% - 24px);
    max-width: 320px;
    margin: 10px auto 0;
    padding: 18px 24px;
    box-sizing: border-box;
    background: #FF580A;
    color: #fff !important;
    border-radius: 12px;
    border-bottom: 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
  }
  .nav-links a.mobile-only:first-of-type {
    background: transparent;
    color: #1a1a1a !important;
    border: 1.5px solid rgba(0,0,0,0.15);
    margin-top: 28px;
  }
  /* Hamburger button sits above the open drawer */
  .nav-toggle { position: relative; z-index: 9001; }
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 1.05rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.01em;
  /* no flex:1 — let it shrink to its content width so logo and CTA sit close on either side */
  flex: 0 1 auto;
  justify-content: center;
  padding: 0;
}
.nav-links a { transition: color 0.2s; padding: 6px 4px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

/* ============================================================
   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 elliptical vignette — fully transparent on every edge → opaque in centre.
     Eliminates the hard rectangular edge so the map blends into the page bg. */
  mask-image: radial-gradient(
    ellipse 70% 80% at 50% 50%,
    #000 30%,
    rgba(0,0,0,0.7) 55%,
    rgba(0,0,0,0.25) 80%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 80% at 50% 50%,
    #000 30%,
    rgba(0,0,0,0.7) 55%,
    rgba(0,0,0,0.25) 80%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}
.globe-svg {
  width: 100%;
  height: 100%;
  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: #000000;          /* pure black */
  color: rgba(255,255,255,0.7);
  position: relative;
}
.footer::before { display: none; }   /* remove the blue/purple gradient overlay */
.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
   ============================================================ */
/* =================================================================
   RESPONSIVE BREAKPOINTS
   xxl  ≥ 2200px   ultra-wide / 4K
   xl   1440-2199  large desktop (default sizing)
   lg   1280-1439  small desktop
   md   1024-1279  laptop / large tablet landscape
   tablet  768-1023  tablet portrait
   mobile  ≤767     phones
   ================================================================= */

/* === Ultra-wide / 4K (≥2200px) === */
@media (min-width: 2200px) {
  html { font-size: 18px; }   /* upscale rem-based sizing */
  .hero { padding: 120px 0 100px; }
  .display { font-size: clamp(3.5rem, 6vw, 6rem); }
}

/* === Small desktop (≤1280px) === */
@media (max-width: 1279px) {
  .nav-links { gap: 24px; font-size: 1rem; }
  .nav-inner { gap: 18px; }
  .brand > img { width: 140px; height: 140px; }
  body { padding-top: 160px; }
}

/* === Laptop / tablet landscape (≤1024px) === */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 32px; }
  .hero-visual { height: 380px; max-width: 100%; }
  .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: 1.2fr 1fr 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .display { font-size: clamp(2.4rem, 5vw, 3.6rem); }
}

/* === Tablet portrait (≤768px) === */
@media (max-width: 768px) {
  .hero { padding: 50px 0 40px; }
  .hero-visual { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 28px; }
  .stat + .stat::before { display: none; }
  .quote, .plan { padding: 28px; }
  .display { font-size: clamp(2rem, 7vw, 2.8rem); }
  .lede { font-size: 1.05rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-lg { width: 100%; justify-content: center; }
}

/* === Mobile (≤640px) === */
@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: 20px; gap: 16px; }
  .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; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-inner { padding: 40px 20px; }
  .display { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .container { padding: 0 16px !important; }
  /* tighten section vertical padding on phones */
  section { padding-top: 50px !important; padding-bottom: 50px !important; }
}

/* === Tiny phones (≤380px) === */
@media (max-width: 380px) {
  .brand > img { width: 56px !important; height: 56px !important; }
  .nav-toggle span { width: 22px; }
  .btn-lg { padding: 12px 18px; font-size: 0.95rem; }
  .footer-brand .brand > img { width: 96px; height: 96px; }
}

/* =================================================================
   GLOBAL RESPONSIVE OVERRIDES — catches inline-style grids in Blade
   files that bypass class-based media queries.
   ================================================================= */

/* All flex/grid containers should not overflow horizontally on small screens */
@media (max-width: 1024px) {
  /* 4-column inline grids → 2 columns on tablet */
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  /* Fixed-width sidebar + content layouts collapse to single column */
  [style*="grid-template-columns: 200px 1fr"],
  [style*="grid-template-columns: 220px 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  /* All multi-column inline grids → single column on phones */
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.4fr"],
  [style*="grid-template-columns: 0.9fr"],
  [style*="grid-template-columns: 72px"],
  [style*="grid-template-columns: 14px"] {
    grid-template-columns: 1fr !important;
  }
  /* Inline padding/margin/gap reductions */
  [style*="padding: 50px"] { padding: 28px !important; }
  [style*="padding: 60px"] { padding: 32px !important; }
  [style*="padding: 80px"] { padding: 40px !important; }
  [style*="gap: 50px"] { gap: 28px !important; }
  [style*="gap: 40px"] { gap: 24px !important; }
}

/* Status page bar chart — 90 columns of dots — stays at full width but scrolls horizontally on tiny screens */
@media (max-width: 600px) {
  [style*="grid-template-columns: repeat(90"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Ensure images and tables never overflow viewport */
img, video, iframe, table {
  max-width: 100%;
  height: auto;
}
table { display: block; overflow-x: auto; }

/* Pre/code blocks scroll instead of breaking layout */
pre, code {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  word-wrap: break-word;
}

/* Ensure no element ever causes horizontal scroll on the body */
html, body { max-width: 100vw; overflow-x: hidden; }

/* All section containers should use available width */
section, .section, .container > div { max-width: 100%; }

/* Buttons stack full-width on mobile when in a hero/cta context */
@media (max-width: 600px) {
  .hero-ctas, .cta-inner > .btn-group { flex-direction: column; gap: 12px; }
  .hero-ctas .btn, .cta-inner .btn { width: 100%; justify-content: center; }
}

/* Form inputs — make sure they fit on phones */
@media (max-width: 600px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  textarea,
  select {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;   /* prevents iOS Safari from auto-zooming on focus */
  }
}

/* Cards/sections that used inline padding=28-40px get extra breathing room on phone */
@media (max-width: 600px) {
  [style*="padding: 28px"] { padding: 18px !important; }
  [style*="padding: 40px"] { padding: 22px !important; }
  [style*="padding: 60px 50px"] { padding: 28px 22px !important; }
}

/* Hide non-essential decorations on phones to free up screen */
@media (max-width: 600px) {
  .bg-mesh, #grid-canvas { opacity: 0.5; }
}

/* =================================================================
   SITE NOTICE — animated brand-orange banner
   ================================================================= */
@keyframes noticeGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes noticeShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
@keyframes noticeIconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  50%      { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
@keyframes noticeDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
@keyframes noticeSlideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes noticeIconBounce {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-4px) rotate(8deg); }
}

.site-notice {
  position: relative;
  z-index: 30;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  /* Animated multi-stop gradient that subtly shifts */
  background: linear-gradient(
    120deg,
    #FF580A 0%,
    #ff7a3a 25%,
    #c2410c 50%,
    #ff6a25 75%,
    #FF580A 100%
  );
  background-size: 300% 100%;
  animation: noticeGradient 14s ease-in-out infinite, noticeSlideDown 0.7s cubic-bezier(0.2,0.8,0.2,1);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 6px 20px rgba(255, 88, 10, 0.32), inset 0 -1px 0 rgba(255,255,255,0.18);
}
/* Subtle dot-pattern overlay */
.site-notice::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 1;
}
/* Diagonal shimmer that sweeps across every ~7s */
.site-notice::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  animation: noticeShimmer 7s ease-in-out infinite;
  animation-delay: 1.5s;
}
.site-notice .container.site-notice-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  max-width: 100%;
  position: relative;
  z-index: 3;
}
.site-notice-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: noticeIconPulse 2.5s ease-in-out infinite;
  position: relative;
}
.site-notice-icon .lucide {
  font-size: 24px;
  color: #fff !important;
  animation: noticeIconBounce 3s ease-in-out infinite;
  display: inline-block;
}
/* Tiny "live" dot top-right of the icon */
.site-notice-icon::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22e7a8;
  box-shadow: 0 0 0 2px #FF580A, 0 0 12px rgba(34,231,168,0.7);
  animation: noticeDotPulse 1.2s ease-in-out infinite;
}
/* === Scrolling marquee text — simple inline-block transform pattern === */
@keyframes noticeMarqueeScroll {
  0%   { transform: translate3d(100%, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}
.site-notice-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.site-notice-marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: noticeMarqueeScroll 22s linear infinite;
  will-change: transform;
}
.site-notice:hover .site-notice-marquee-track { animation-play-state: paused; }
.site-notice-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.site-notice-dot {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.65rem;
  font-weight: 700 !important;
  margin: 0 8px;
}
.site-notice-close {
  flex-shrink: 0;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
  color: #fff;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.site-notice-close:hover {
  background: rgba(255,255,255,0.32);
  transform: rotate(90deg);
  border-color: rgba(255,255,255,0.5);
}
.site-notice-close .lucide { color: #fff !important; font-size: 18px; }
/* Smooth dismiss */
.site-notice {
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, margin 0.4s ease;
  max-height: 200px;
}
.site-notice.dismissed {
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  .site-notice .container.site-notice-inner {
    flex-direction: row;
    align-items: flex-start;
    padding: 13px 16px;
    gap: 12px;
  }
  .site-notice-icon { width: 40px; height: 40px; }
  .site-notice-icon .lucide { font-size: 20px; }
  .site-notice-text strong { font-size: 0.95rem; }
  .site-notice-text p { font-size: 0.85rem; line-height: 1.45; }
  .site-notice-close { width: 34px; height: 34px; }
}
/* Respect prefers-reduced-motion — kill animations for users who request it */
@media (prefers-reduced-motion: reduce) {
  .site-notice,
  .site-notice::after,
  .site-notice-icon,
  .site-notice-icon .lucide,
  .site-notice-icon::after { animation: none !important; }
}

@media (max-width: 768px) {
  .site-notice-marquee-track { animation-duration: 26s; gap: 20px; }
  .site-notice-item { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-notice-marquee-track { animation: none !important; transform: none !important; }
}

/* =================================================================
   TOP-OF-PAGE MARQUEE STRIP (above the nav)
   Uses HTML5 <marquee> tag — guaranteed scrolling on every browser.
   ================================================================= */
.top-marquee {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9200;
  background: linear-gradient(90deg, #FF580A 0%, #c2410c 50%, #FF580A 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 2px 10px rgba(255, 88, 10, 0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.top-marquee marquee {
  font-family: 'Inter', system-ui, sans-serif;
}
.top-marquee strong {
  color: #fff !important;
  font-weight: 800 !important;
}
/* Push the nav down by the marquee height (~38px) */
.nav { top: 38px !important; }
body { padding-top: 234px; }   /* marquee 38 + nav 196 */
@media (max-width: 1024px) { body { padding-top: 162px; } .top-marquee { padding: 8px 0; font-size: 0.88rem; } }
@media (max-width: 768px)  { body { padding-top: 150px; } .top-marquee { font-size: 0.82rem; padding: 7px 0; } }
@media (max-width: 600px)  { body { padding-top: 140px; } }
@media (max-width: 380px)  { body { padding-top: 128px; } }
