/* =========================================================================
   XONWARE — PREMIUM DESIGN OVERLAY
   Inspired by Comviva (telecom premium), Accenture (editorial scale),
   Splynx (product-led ISP). Bold. Dark. Dramatic. Big numbers forward.
   ========================================================================= */

/* ---- Premium tokens ---------------------------------------------------- */
:root {
  --t-mega:    clamp(2.6rem, 4.4vw, 5rem);
  --t-huge:    clamp(2.4rem, 3.8vw, 4rem);
  --shadow-premium: 0 40px 100px -30px rgba(10, 20, 40, 0.45), 0 16px 32px -16px rgba(10, 20, 40, 0.25);
  --premium-blue:   #0B1830;
  --premium-deep:   #060D1F;
}

/* ---- Premium hero (dark, full-bleed) ---------------------------------- */
.hero--premium {
  position: relative;
  background: linear-gradient(180deg, var(--premium-deep) 0%, var(--ink-900) 50%, var(--premium-blue) 100%);
  color: #fff;
  padding-top: clamp(140px, 16vw, 200px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(37, 99, 235, 0.32), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 197, 63, 0.20), transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(34, 211, 238, 0.22), transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.hero--premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.hero-premium__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-premium__grid { grid-template-columns: 1fr; gap: 56px; }
}

/* Award/recognition chip row above headline */
.hero-premium__awards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--s-6);
}
.award-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}
.award-chip__star {
  width: 14px; height: 14px;
  display: inline-grid; place-items: center;
  color: var(--leaf-400);
}

/* Mega headline */
.hero-premium__headline {
  font-size: var(--t-mega);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #fff;
  text-wrap: balance;
  margin-bottom: var(--s-6);
}
.hero-premium__headline .accent-grad {
  background: linear-gradient(115deg, #fff 0%, var(--cyan-400) 40%, var(--leaf-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-premium__headline em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

.hero-premium__sub {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  margin-bottom: var(--s-8);
  text-wrap: pretty;
}
.hero-premium__sub strong { color: #fff; font-weight: 600; }

.hero-premium__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-10);
}

/* Premium button overrides for dark hero */
.btn--premium {
  background: linear-gradient(180deg, var(--leaf-500), var(--leaf-600));
  color: var(--ink-900);
  font-weight: 600;
  padding: 18px 32px;
  font-size: 15px;
  box-shadow: 0 0 0 1px rgba(139,197,63,0.4), 0 20px 40px -12px rgba(139, 197, 63, 0.42);
  letter-spacing: -0.005em;
}
.btn--premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(139,197,63,0.5), 0 24px 48px -8px rgba(139, 197, 63, 0.55);
}
.btn--outline-light {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.40);
}

/* Inline mini-stats under CTAs */
.hero-premium__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-premium__stat { padding-right: var(--s-5); border-right: 1px solid rgba(255,255,255,0.08); }
.hero-premium__stat:last-child { border-right: 0; padding-right: 0; }
.hero-premium__stat-value {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-premium__stat-suffix { color: var(--leaf-400); }
.hero-premium__stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  letter-spacing: 0.02em;
  line-height: 1.35;
  max-width: 18ch;
}

/* ---- Hero NOC card (right column) ------------------------------------- */
.hero-premium__display {
  position: relative;
}
.premium-noc {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 4px;
  box-shadow:
    0 60px 120px -30px rgba(0, 0, 0, 0.55),
    0 20px 40px -16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(20px);
}
.premium-noc__inner {
  position: relative;
  background: linear-gradient(180deg, #0F1E3C, #060D1F);
  border-radius: calc(var(--r-xl) - 4px);
  overflow: hidden;
}

.premium-noc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.premium-noc__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.premium-noc__live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf-500);
  box-shadow: 0 0 0 4px rgba(139, 197, 63, 0.20);
  animation: dot-pulse 2s ease-in-out infinite;
}
.premium-noc__ts {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.premium-noc__body { padding: 20px; }

.premium-noc__kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.p-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.p-kpi__label {
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}
.p-kpi__value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.p-kpi__delta {
  font-size: 11px;
  font-weight: 500;
  color: var(--leaf-400);
  margin-top: 2px;
}
.p-kpi__delta.is-down { color: #FCA5A5; }

/* Sparkline area chart */
.premium-noc__chart {
  height: 120px;
  position: relative;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  padding: 12px;
  overflow: hidden;
}
.premium-noc__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.premium-noc__chart-label {
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}
.premium-noc__chart-val {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.premium-noc__chart svg { height: 70%; width: 100%; }

/* Live ops feed */
.premium-noc__feed {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  overflow: hidden;
}
.premium-noc__feed-head {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.feed-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.feed-row:last-child { border-bottom: 0; }
.feed-row__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--leaf-500);
  margin: 0 auto;
}
.feed-row__dot--cyan { background: var(--cyan-400); }
.feed-row__dot--amber{ background: #F59E0B; }
.feed-row__ts {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.40);
}

/* Floating glass badge over the NOC */
.premium-noc__badge {
  position: absolute;
  top: -16px; right: -16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.4);
  font-size: 12px;
  z-index: 3;
  animation: float 6s ease-in-out infinite alternate;
}
.premium-noc__badge-label {
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.premium-noc__badge-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-100);
  letter-spacing: -0.02em;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* ---- Mega stats band (Comviva-style "25+ / 2Bn+ / 100+" ) ------------ */
.mega-stats {
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0;
  border-block: 1px solid rgba(255,255,255,0.06);
}
.mega-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(37, 99, 235, 0.20), transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(139, 197, 63, 0.16), transparent 50%);
  z-index: 0;
}
.mega-stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}
@media (max-width: 900px) { .mega-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
@media (max-width: 480px) { .mega-stats__grid { grid-template-columns: 1fr; } }

.mega-stat { text-align: left; }
.mega-stat__value {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.mega-stat__unit { color: var(--leaf-400); -webkit-text-fill-color: var(--leaf-400); }
.mega-stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: var(--s-3);
  letter-spacing: 0.01em;
  line-height: 1.4;
  max-width: 24ch;
}

/* ---- Section heading premium style ----------------------------------- */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-12);
}
.sec-head--center { text-align: center; align-items: center; }
.sec-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(139,197,63,0.10));
  border: 1px solid rgba(37, 99, 235, 0.20);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
  width: fit-content;
}
.section--dark .sec-head__eyebrow {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--cyan-300);
}
.sec-head__title {
  font-size: var(--t-huge);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink-100);
  text-wrap: balance;
  max-width: 22ch;
}
.sec-head--center .sec-head__title { max-width: 24ch; margin-inline: auto; }
.section--dark .sec-head__title { color: #fff; }
.sec-head__title .accent-grad {
  background: linear-gradient(115deg, var(--ink-700) 0%, var(--cyan-500) 50%, var(--leaf-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--dark .sec-head__title .accent-grad {
  background: linear-gradient(115deg, #fff 0%, var(--cyan-400) 50%, var(--leaf-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-head__sub {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 60ch;
}
.section--dark .sec-head__sub { color: rgba(255, 255, 255, 0.65); }
.sec-head--center .sec-head__sub { margin-inline: auto; text-align: center; }

/* ---- Tabbed product showcase (Splynx-style) ------------------------- */
.tabshow {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--s-10);
  align-items: stretch;
}
@media (max-width: 900px) {
  .tabshow { grid-template-columns: 1fr; gap: var(--s-6); }
  .tabshow__tabs { display: flex; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 8px; }
}

.tabshow__tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}
.tabshow__tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  cursor: pointer;
  text-align: left;
  transition: all var(--d-base);
  width: 100%;
  position: relative;
}
.tabshow__tab:hover { border-color: var(--ink-20); transform: translateX(2px); }
.tabshow__tab.is-active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
  box-shadow: 0 12px 32px -8px rgba(15, 30, 60, 0.30);
}
.tabshow__tab.is-active::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.tabshow__tab-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-600));
  color: #fff;
  flex-shrink: 0;
}
.tabshow__tab.is-active .tabshow__tab-icon {
  background: linear-gradient(135deg, var(--leaf-500), var(--cyan-400));
  color: var(--ink-900);
}
.tabshow__tab-text { flex: 1; min-width: 0; }
.tabshow__tab-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 2px;
}
.tabshow__tab-sub {
  font-size: 12.5px;
  color: var(--ink-60);
  letter-spacing: 0.01em;
}
.tabshow__tab.is-active .tabshow__tab-sub { color: rgba(255,255,255,0.65); }

/* Panels */
.tabshow__panels {
  position: relative;
  min-height: 540px;
}
.tabshow__panel {
  display: none;
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-10);
  height: 100%;
}
.tabshow__panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  animation: panel-in 0.5s var(--ease-out);
}
@media (max-width: 1100px) {
  .tabshow__panel.is-active { grid-template-columns: 1fr; }
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.tabshow__panel-body { display: flex; flex-direction: column; gap: var(--s-4); }
.tabshow__panel-title {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-100);
  text-wrap: balance;
}
.tabshow__panel-sub { color: var(--ink-60); line-height: 1.55; }
.tabshow__panel-list { display: flex; flex-direction: column; gap: 10px; margin-top: var(--s-4); }
.tabshow__panel-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-80);
  line-height: 1.5;
}
.tabshow__panel-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 7px;
  border-left: 2px solid var(--leaf-500);
  border-bottom: 2px solid var(--leaf-500);
  transform: rotate(-45deg);
}

/* Panel right: stylised product visual */
.tabshow__visual {
  position: relative;
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  color: #fff;
}

/* ---- Trusted logo wall ---------------------------------------------- */
.logo-wall {
  background: var(--paper-2);
  padding: var(--s-12) 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.logo-wall__head {
  text-align: center;
  margin-bottom: var(--s-8);
}
.logo-wall__head-text {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.logo-wall__head-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-100);
  margin-top: 12px;
}

.logo-wall__track {
  display: flex;
  gap: var(--s-12);
  width: max-content;
  animation: marquee 38s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-wall__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 160px;
  height: 60px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-40);
  transition: color var(--d-base);
  white-space: nowrap;
}
.logo-wall__item:hover { color: var(--ink-100); }

/* ---- Case-study tiles (Splynx-style) -------------------------------- */
.cases {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 1100px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .cases { grid-template-columns: 1fr; } }

.case-tile {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-8);
  min-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  transition: transform var(--d-base);
}
.case-tile:hover { transform: translateY(-4px); }
.case-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.45;
  z-index: -1;
}
.case-tile--1::before { background: radial-gradient(120% 100% at 100% 0%, rgba(34, 211, 238, 0.35), transparent 60%), radial-gradient(80% 100% at 0% 100%, rgba(37, 99, 235, 0.30), transparent 60%); }
.case-tile--2::before { background: radial-gradient(120% 100% at 0% 0%, rgba(139, 197, 63, 0.30), transparent 60%), radial-gradient(80% 100% at 100% 100%, rgba(37, 99, 235, 0.25), transparent 60%); }
.case-tile--3::before { background: radial-gradient(120% 100% at 50% 0%, rgba(220, 38, 38, 0.25), transparent 60%), radial-gradient(80% 100% at 50% 100%, rgba(139, 197, 63, 0.25), transparent 60%); }

.case-tile__metric {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.case-tile__metric span { color: var(--leaf-400); }
.case-tile__body { display: flex; flex-direction: column; gap: var(--s-3); }
.case-tile__title {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #fff;
}
.case-tile__sub { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.5; max-width: 32ch; }
.case-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-top: var(--s-4);
  letter-spacing: 0.01em;
}
.case-tile__cta svg { transition: transform var(--d-base); }
.case-tile:hover .case-tile__cta svg { transform: translateX(4px); }

/* ---- Big testimonial cards (Comviva-style) -------------------------- */
.bigtests {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
@media (max-width: 900px) { .bigtests { grid-template-columns: 1fr; } }

.bigtest {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  padding: var(--s-10);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.bigtest::before {
  content: '"';
  position: absolute;
  top: -40px; right: -10px;
  font-family: 'Instrument Serif', serif;
  font-size: 220px;
  line-height: 1;
  color: var(--line-2);
  z-index: -1;
  font-style: italic;
}
.bigtest__company {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-100);
  letter-spacing: -0.01em;
}
.bigtest__company-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink-700), var(--leaf-500));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
}
.bigtest__quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-100);
  margin: var(--s-2) 0;
}
.bigtest__attrib {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.bigtest__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-700), var(--cyan-500));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.bigtest__name {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-100);
}
.bigtest__role {
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 2px;
}

/* ---- Awards strip --------------------------------------------------- */
.awards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .awards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .awards { grid-template-columns: 1fr; } }

.award {
  position: relative;
  padding: var(--s-6) var(--s-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all var(--d-base);
  overflow: hidden;
}
.award:hover { border-color: rgba(34, 211, 238, 0.40); transform: translateY(-4px); background: rgba(255,255,255,0.06); }
.award__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.20), rgba(139, 197, 63, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.35);
  display: grid; place-items: center;
  margin: 0 auto var(--s-4);
  color: var(--cyan-400);
}
.award__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 6px;
}
.award__sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.4;
}

/* ---- Header — always light, dark navy text on every page ----------- */
.site-header {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(15, 30, 60, 0.08) !important;
}
.site-header .nav__item {
  color: var(--ink-700);
  font-weight: 500;
}
.site-header .nav__item:hover {
  color: var(--ink-900);
  background: rgba(26, 35, 126, 0.06);
}
.site-header .nav__item.is-active { color: var(--ink-700); }
.site-header .nav__item.is-active::after {
  background: linear-gradient(90deg, var(--ink-700), var(--leaf-500));
}

/* Book Demo button — navy pill on light header, force inline arrow */
.site-header .nav__cta {
  /* .magnetic class sets display:inline-block which makes the SVG wrap below
     the text. Re-assert inline-flex with !important to keep them on one row. */
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  color: #fff;
  border: 0;
  box-shadow: 0 6px 20px -8px rgba(26, 35, 126, 0.40);
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header .nav__cta:hover {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(26, 35, 126, 0.55);
}
.site-header .nav__cta svg { flex-shrink: 0; }

/* Hamburger toggle bars — navy on light bg */
.site-header .nav-toggle__bar,
.site-header .nav-toggle__bar::before,
.site-header .nav-toggle__bar::after {
  background: var(--ink-700);
}

/* ---- Header email contact link ------------------------------------ */
.nav__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-right: 4px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-700);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all var(--d-base);
}
.nav__contact:hover {
  color: var(--ink-900);
  background: rgba(26, 35, 126, 0.06);
  border-color: rgba(26, 35, 126, 0.10);
}
.nav__contact svg {
  flex-shrink: 0;
  color: var(--leaf-700);
}
/* On tablet: show just the icon to save space */
@media (max-width: 1200px) {
  .nav__contact-label { display: none; }
  .nav__contact { padding: 8px 10px; }
}
/* On mobile: hide entirely (the email is in the footer) */
@media (max-width: 768px) {
  .nav__contact { display: none; }
}

/* =========================================================================
   HERO SLIDER — 3 rotating slides
   ========================================================================= */
.hero-slider {
  position: relative;
  background: linear-gradient(180deg, #060A18 0%, #0A1224 50%, #0F1A33 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  min-height: 720px;
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(60px, 7vw, 100px);
}
.hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(26, 35, 126, 0.45), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 197, 63, 0.18), transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(26, 35, 126, 0.30), transparent 65%);
  z-index: 0;
}
.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 95% 75% at 50% 40%, #000 30%, transparent 80%);
  z-index: 0;
}

.slider-stage {
  position: relative;
  z-index: 2;
}

.slide {
  display: none;
  opacity: 0;
  animation: slide-in 0.7s var(--ease-out) forwards;
}
.slide.is-active { display: block; opacity: 1; }
@keyframes slide-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Slider dots / pagination */
.slider-dots {
  position: absolute;
  bottom: clamp(28px, 4vw, 56px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
}
.slider-dot {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.20);
  cursor: pointer;
  border: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background var(--d-base);
}
.slider-dot.is-active {
  background: rgba(255, 255, 255, 0.30);
}
.slider-dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--leaf-500), var(--leaf-400));
  transform-origin: left;
  animation: dot-progress 7s linear forwards;
}
@keyframes dot-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.slider-counter {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.50);
  margin-left: 12px;
  min-width: 50px;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--d-base);
}
.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.30);
}
.slider-arrow--prev { left: clamp(16px, 2vw, 32px); }
.slider-arrow--next { right: clamp(16px, 2vw, 32px); }
@media (max-width: 900px) { .slider-arrow { display: none; } }

/* Slide content layouts */
.slide-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.slide-grid--centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .slide-grid { grid-template-columns: 1fr; }
}

.slide__tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--s-6);
  align-items: center;
}
.slide-grid--centered .slide__tag-row { justify-content: center; }

.slide__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.01em;
}
.slide__pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf-500);
  box-shadow: 0 0 0 3px rgba(139, 197, 63, 0.20);
  animation: dot-pulse 2s ease-in-out infinite;
}
.slide__pill-num {
  font-family: 'Geist Mono', monospace;
  font-weight: 600;
  color: var(--leaf-400);
}

.slide__headline {
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #fff;
  text-wrap: balance;
  margin-bottom: var(--s-5);
}
.slide__headline em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.slide__headline .grad-leaf {
  background: linear-gradient(105deg, #fff 0%, var(--leaf-400) 70%, var(--leaf-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.slide__headline .grad-mixed {
  background: linear-gradient(115deg, #fff 0%, #fff 30%, var(--leaf-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slide__sub {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 58ch;
  margin-bottom: var(--s-7);
}
.slide-grid--centered .slide__sub { margin-inline: auto; max-width: 70ch; }
.slide__sub strong { color: #fff; font-weight: 600; }

.slide__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}
.slide-grid--centered .slide__cta { justify-content: center; }

/* Numeric stats panel for slide 2 */
.slide__nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  margin-top: var(--s-2);
}
.slide-num {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: clamp(16px, 1.8vw, 22px);
  backdrop-filter: blur(12px);
}
.slide-num__value {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.slide-num__value .unit { color: var(--leaf-400); }
.slide-num__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* Slide 3 — MikroTik flow visual */
.mikrotik-flow {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.55);
}
.mtflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-5);
  align-items: center;
}
.mtflow__node {
  background: rgba(26, 35, 126, 0.30);
  border: 1px solid rgba(139, 197, 63, 0.35);
  border-radius: var(--r-md);
  padding: var(--s-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mtflow__node--gui::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 0% 0%, rgba(139, 197, 63, 0.20), transparent 60%);
}
.mtflow__node--router::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 100% 100%, rgba(139, 197, 63, 0.20), transparent 60%);
}
.mtflow__label {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf-400);
  position: relative;
  z-index: 1;
}
.mtflow__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.mtflow__sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.mtflow__arrow svg { width: 80px; height: 24px; }
@media (max-width: 720px) {
  .mtflow { grid-template-columns: 1fr; }
  .mtflow__arrow { transform: rotate(90deg); }
}

.mtflow-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: var(--s-5);
}
.mtflow-action {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mtflow-action__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--leaf-500);
}
@media (max-width: 720px) { .mtflow-actions { grid-template-columns: 1fr; } }

/* Replacement strip for slide 2 (the "Replaces X" subline pattern from PDF) */
.replaces-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: var(--s-6);
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--leaf-500);
  border-radius: 4px 8px 8px 4px;
}
.replaces-strip__label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf-400);
}
.replaces-strip__items {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.80);
}
.replaces-strip__items strike {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.55);
  margin-right: 6px;
}

/* =========================================================================
   PAYMENT GATEWAY LOGO GRID
   ========================================================================= */
.gw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 540px) { .gw-grid { grid-template-columns: repeat(2, 1fr); } }

.gw-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  height: 64px;
  transition: all var(--d-base);
}
.gw-card:hover {
  border-color: var(--leaf-500);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(26, 35, 126, 0.18);
}
.gw-card img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  display: block;
}

/* =========================================================================
   PAGE HERO — animated banner system (used on inner pages)
   ========================================================================= */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, #060A18 0%, #0A1224 50%, #0F1A33 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(60px, 7vw, 90px);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(26, 35, 126, 0.40), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 197, 63, 0.15), transparent 65%);
  z-index: 0;
}

/* Animated SVG banner layer (sits between gradient and content) */
.page-hero__banner {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}
.page-hero__banner svg {
  width: 100%;
  height: 100%;
  display: block;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}

/* ----- Platform banner: 3-layer flow ----- */
.banner-platform .layer {
  fill: none;
  stroke: rgba(139, 197, 63, 0.30);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
  animation: dash-flow 30s linear infinite;
}
.banner-platform .layer--core { stroke: rgba(34, 211, 238, 0.40); }
.banner-platform .packet { fill: var(--leaf-500); }
.banner-platform .node {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}
@keyframes dash-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -200; } }

/* ----- Modules banner: pulsing grid of cells ----- */
.banner-modules .cell {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.10);
  animation: cell-pulse 4s ease-in-out infinite alternate;
}
.banner-modules .cell--accent {
  fill: rgba(139, 197, 63, 0.10);
  stroke: rgba(139, 197, 63, 0.30);
}
@keyframes cell-pulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* ----- Industries banner: connection web ----- */
.banner-industries .link {
  stroke: rgba(139, 197, 63, 0.30);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  animation: dash-flow 40s linear infinite;
}
.banner-industries .hub {
  fill: rgba(139, 197, 63, 0.50);
  animation: hub-pulse 3s ease-in-out infinite;
}
.banner-industries .hub--cyan { fill: rgba(34, 211, 238, 0.55); animation-delay: -1.5s; }
@keyframes hub-pulse {
  0%, 100% { r: 4; opacity: 0.6; }
  50%      { r: 7; opacity: 1; }
}

/* ----- Mobile banner: phone signal waves ----- */
.banner-mobile .wave {
  fill: none;
  stroke: rgba(139, 197, 63, 0.35);
  stroke-width: 1.2;
  animation: wave-expand-mobile 6s ease-out infinite;
  transform-origin: center;
}
@keyframes wave-expand-mobile {
  0%   { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.banner-mobile .device {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.20);
  stroke-width: 1.2;
}

/* ----- Generic/about banner: floating geometry ----- */
.banner-about .float {
  fill: rgba(139, 197, 63, 0.18);
  animation: float 8s ease-in-out infinite alternate;
}
.banner-about .float--cyan { fill: rgba(34, 211, 238, 0.18); animation-delay: -3s; }
.banner-about .ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

/* Common: ambient grid behind banner content */
.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 95% 75% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__banner * { animation: none !important; }
}

/* =========================================================================
   v4.0 — LIGHT-THEME DOMINANT (per build brief)
   Hero flips from dark navy to premium white with animated fiber lines.
   Deep navy = authority text. Green = accent. Cyan = subtle glow.
   ========================================================================= */

/* Override the dark hero-slider with light treatment */
.hero-slider {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(139, 197, 63, 0.10), transparent 65%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(26, 35, 126, 0.06), transparent 65%),
    linear-gradient(180deg, #FAFBFD 0%, #F1F4FA 100%);
  color: var(--ink-100);
}
.hero-slider::before {
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(34, 211, 238, 0.10), transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(139, 197, 63, 0.10), transparent 65%);
}
.hero-slider::after {
  background-image:
    linear-gradient(rgba(26, 35, 126, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 35, 126, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 95% 75% at 50% 40%, #000 30%, transparent 80%);
}

/* Animated fiber-line layer over the light hero */
.hero-slider .hero-fiber {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-slider .hero-fiber svg { width: 100%; height: 100%; display: block; }
.hero-fiber .fiber-line {
  fill: none;
  stroke-width: 1.2;
  stroke-dasharray: 4 8;
  animation: fiber-flow 18s linear infinite;
}
.hero-fiber .fiber-line--blue { stroke: rgba(26, 35, 126, 0.20); }
.hero-fiber .fiber-line--green { stroke: rgba(139, 197, 63, 0.30); animation-duration: 22s; }
.hero-fiber .fiber-line--cyan { stroke: rgba(34, 211, 238, 0.25); animation-duration: 26s; }
.hero-fiber .fiber-node {
  fill: rgba(139, 197, 63, 0.85);
  animation: fiber-pulse 3s ease-in-out infinite;
}
.hero-fiber .fiber-node--blue { fill: rgba(26, 35, 126, 0.65); animation-delay: -1.5s; }
@keyframes fiber-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -240; }
}
@keyframes fiber-pulse {
  0%,100% { r: 3; opacity: 0.55; }
  50%     { r: 6; opacity: 1; }
}

/* Light hero text colors (override slide__headline white) */
.hero-slider .slide__headline { color: var(--ink-100); }
.hero-slider .slide__headline .grad-leaf {
  background: linear-gradient(105deg, var(--ink-700) 0%, var(--ink-700) 35%, var(--leaf-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-slider .slide__sub { color: var(--ink-60); }
.hero-slider .slide__sub strong { color: var(--ink-100); }

/* Hero pills on light background */
.hero-slider .slide__pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(26, 35, 126, 0.10);
  color: var(--ink-700);
  box-shadow: 0 4px 12px -4px rgba(26, 35, 126, 0.08);
}
.hero-slider .slide__pill-dot { background: var(--leaf-500); box-shadow: 0 0 0 3px rgba(139, 197, 63, 0.20); }
.hero-slider .slide__pill-num { color: var(--leaf-700); }

/* Premium CTA button on light hero — keep dark pill (good contrast) */
.hero-slider .btn--premium {
  /* unchanged: green pill — works on light */
}
.hero-slider .btn--outline-light {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-700);
  border: 1px solid rgba(26, 35, 126, 0.20);
  backdrop-filter: blur(8px);
}
.hero-slider .btn--outline-light:hover {
  background: #fff;
  border-color: rgba(26, 35, 126, 0.40);
  color: var(--ink-900);
}

/* Replaces strip on light hero */
.hero-slider .replaces-strip {
  background: rgba(255, 255, 255, 0.7);
  border-left-color: var(--leaf-500);
  backdrop-filter: blur(8px);
}
.hero-slider .replaces-strip__label { color: var(--leaf-700); }
.hero-slider .replaces-strip__items {
  color: var(--ink-80);
}
.hero-slider .replaces-strip__items strike {
  color: var(--ink-40);
  text-decoration-color: rgba(220, 38, 38, 0.55);
}

/* Slide 2 numeric stats — light cards */
.hero-slider .slide-num {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(26, 35, 126, 0.10);
  box-shadow: 0 4px 16px -8px rgba(26, 35, 126, 0.10);
  backdrop-filter: blur(8px);
}
.hero-slider .slide-num__value { color: var(--ink-100); }
.hero-slider .slide-num__value .unit { color: var(--leaf-700); }
.hero-slider .slide-num__label { color: var(--ink-60); }

/* Hero highlights (6 bullet pills under sub copy) */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  margin: 28px 0 32px;
}
@media (max-width: 720px) {
  .hero-highlights { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
}
.hero-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-80);
  letter-spacing: -0.005em;
}
.hero-highlight__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--leaf-500);
  box-shadow: 0 0 0 3px rgba(139, 197, 63, 0.18);
  flex-shrink: 0;
}

/* Slider dots on light bg */
.hero-slider .slider-dot { background: rgba(26, 35, 126, 0.12); }
.hero-slider .slider-dot.is-active { background: rgba(26, 35, 126, 0.25); }
.hero-slider .slider-dot.is-active::after {
  background: linear-gradient(90deg, var(--ink-700), var(--leaf-500));
}
.hero-slider .slider-counter { color: var(--ink-60); }
.hero-slider .slider-arrow {
  background: rgba(255, 255, 255, 0.80);
  border-color: rgba(26, 35, 126, 0.15);
  color: var(--ink-700);
}
.hero-slider .slider-arrow:hover {
  background: #fff;
  border-color: rgba(26, 35, 126, 0.30);
}
.hero-slider .slide__tag-row .award-chip,
.hero-slider .hero-premium__awards .award-chip {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(26, 35, 126, 0.10);
  color: var(--ink-700);
}

/* MikroTik flow widget on light hero */
.hero-slider .mikrotik-flow {
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(26, 35, 126, 0.10);
  box-shadow: 0 20px 60px -20px rgba(26, 35, 126, 0.18);
  backdrop-filter: blur(16px);
}
.hero-slider .mtflow__node {
  background: rgba(26, 35, 126, 0.04);
  border: 1px solid rgba(139, 197, 63, 0.35);
}
.hero-slider .mtflow__title { color: var(--ink-100); }
.hero-slider .mtflow__sub { color: var(--ink-60); }
.hero-slider .mtflow__label { color: var(--leaf-700); }
.hero-slider .mtflow-action {
  background: rgba(26, 35, 126, 0.04);
  border-color: rgba(26, 35, 126, 0.08);
  color: var(--ink-80);
}

/* ----- Page-hero (inner pages) — also flip to light ----- */
.page-hero {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(139, 197, 63, 0.08), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(34, 211, 238, 0.06), transparent 65%),
    linear-gradient(180deg, #FAFBFD 0%, #F1F4FA 100%);
  color: var(--ink-100);
}
.page-hero::before {
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(26, 35, 126, 0.04), transparent 65%);
}
.page-hero__grid {
  background-image:
    linear-gradient(rgba(26, 35, 126, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 35, 126, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 95% 75% at 50% 40%, #000 30%, transparent 80%);
}

/* Inner page-hero text colors */
.page-hero .slide__headline { color: var(--ink-100); }
.page-hero .slide__sub { color: var(--ink-60); }
.page-hero .slide__pill {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(26, 35, 126, 0.10);
  color: var(--ink-700);
  backdrop-filter: blur(8px);
}
.page-hero .slide__pill-dot { background: var(--leaf-500); }

/* Recolor each banner type for light bg */
.banner-platform .layer { stroke: rgba(26, 35, 126, 0.18); }
.banner-platform .layer--core { stroke: rgba(34, 211, 238, 0.35); }
.banner-platform .packet { fill: var(--leaf-500); }
.banner-platform .node {
  fill: rgba(255, 255, 255, 0.6);
  stroke: rgba(26, 35, 126, 0.18);
}
.banner-modules .cell {
  fill: rgba(255, 255, 255, 0.5);
  stroke: rgba(26, 35, 126, 0.10);
}
.banner-modules .cell--accent {
  fill: rgba(139, 197, 63, 0.10);
  stroke: rgba(139, 197, 63, 0.30);
}
.banner-industries .link { stroke: rgba(26, 35, 126, 0.18); }
.banner-industries .hub { fill: rgba(139, 197, 63, 0.65); }
.banner-industries .hub--cyan { fill: rgba(34, 211, 238, 0.60); }
.banner-mobile .device {
  fill: rgba(255, 255, 255, 0.7);
  stroke: rgba(26, 35, 126, 0.20);
}
.banner-mobile .wave { stroke: rgba(139, 197, 63, 0.30); }
.page-hero__banner { opacity: 0.85; }

/* ----- Light variant of the premium NOC card ----- */
.premium-noc--light {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
  border-color: rgba(26, 35, 126, 0.10);
  box-shadow:
    0 40px 80px -20px rgba(26, 35, 126, 0.18),
    0 20px 40px -16px rgba(26, 35, 126, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(20px);
}
.premium-noc--light .premium-noc__inner {
  background: linear-gradient(180deg, #FAFBFD, #F1F4FA);
}
.premium-noc--light .premium-noc__top {
  border-bottom-color: rgba(26, 35, 126, 0.08);
  background: rgba(26, 35, 126, 0.02);
}
.premium-noc--light .premium-noc__title { color: var(--ink-700); }
.premium-noc--light .premium-noc__ts { color: var(--ink-40); }
.premium-noc--light .p-kpi {
  background: #fff;
  border: 1px solid rgba(26, 35, 126, 0.08);
}
.premium-noc--light .p-kpi__label { color: var(--ink-60); }
.premium-noc--light .p-kpi__value { color: var(--ink-100); }
.premium-noc--light .p-kpi__delta { color: var(--leaf-700); }
.premium-noc--light .p-kpi__delta.is-down { color: #DC2626; }
.premium-noc--light .premium-noc__chart {
  background: #fff;
  border-color: rgba(26, 35, 126, 0.08);
}
.premium-noc--light .premium-noc__chart-label { color: var(--ink-60); }
.premium-noc--light .premium-noc__chart-val { color: var(--ink-100); }
.premium-noc--light .premium-noc__feed {
  background: #fff;
  border-color: rgba(26, 35, 126, 0.08);
}
.premium-noc--light .premium-noc__feed-head { color: var(--ink-60); border-bottom-color: rgba(26, 35, 126, 0.06); }
.premium-noc--light .feed-row {
  color: var(--ink-80);
  border-bottom-color: rgba(26, 35, 126, 0.04);
}
.premium-noc--light .feed-row__ts { color: var(--ink-40); }
.premium-noc__badge {
  /* badge already light */
}

/* =========================================================================
   FAQ accordion (v4.0 brief Section 17)
   ========================================================================= */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--d-base);
}
.faq-item:hover {
  border-color: rgba(26, 35, 126, 0.20);
  box-shadow: 0 8px 24px -12px rgba(26, 35, 126, 0.12);
}
.faq-item[open] {
  border-color: rgba(139, 197, 63, 0.45);
  box-shadow: 0 12px 32px -16px rgba(26, 35, 126, 0.18);
}
.faq-item__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item__summary::-webkit-details-marker { display: none; }
.faq-item__category {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-700);
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(139, 197, 63, 0.10);
  border-radius: 6px;
  white-space: nowrap;
}
.faq-item__q {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-100);
  line-height: 1.4;
}
.faq-item__chevron {
  color: var(--ink-60);
  transition: transform var(--d-base);
  flex-shrink: 0;
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); color: var(--leaf-700); }
.faq-item__a {
  padding: 0 28px 24px;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid rgba(26, 35, 126, 0.04);
  padding-top: 18px;
  margin-top: -4px;
}
.faq-item__a p { margin: 0; }
@media (max-width: 640px) {
  .faq-item__summary { grid-template-columns: 1fr auto; padding: 18px 20px; }
  .faq-item__category { grid-column: 1 / -1; justify-self: start; }
  .faq-item__a { padding: 14px 20px 22px; }
}

/* CTA strip inserted between FAQ items */
.faq-cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-800));
  color: #fff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.faq-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 50%, rgba(139, 197, 63, 0.20), transparent 60%);
  pointer-events: none;
}
.faq-cta-strip__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.faq-cta-strip__sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.70);
  margin-top: 4px;
}
.faq-cta-strip .btn {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-700);
  border: 0;
}
.faq-cta-strip .btn:hover { background: #fff; color: var(--ink-900); }
@media (max-width: 640px) {
  .faq-cta-strip { grid-template-columns: 1fr; text-align: left; }
}

/* =========================================================================
   CONTACT page form (brief Section 18)
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(28px, 3.5vw, 40px);
  box-shadow: 0 12px 40px -16px rgba(26, 35, 126, 0.08);
}
.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form-card .form-row--solo { grid-template-columns: 1fr; }
@media (max-width: 640px) {
  .contact-form-card .form-row { grid-template-columns: 1fr; }
}
.contact-form-card label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-80);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.contact-form-card label .req { color: #DC2626; margin-left: 2px; }
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-100);
  font-family: inherit;
  transition: all var(--d-base);
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--leaf-500);
  box-shadow: 0 0 0 3px rgba(139, 197, 63, 0.15);
}
.contact-form-card textarea { min-height: 120px; resize: vertical; }
.contact-form-card .form-field { margin-bottom: 16px; }

/* Right column info cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.contact-info-card__head {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-700);
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-info-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-100);
  margin-bottom: 10px;
}
.contact-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(26, 35, 126, 0.06);
}
.contact-step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.contact-step__num {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--ink-700), var(--leaf-500));
  color: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}
.contact-step__title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-100);
}
.contact-step__desc {
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 3px;
  line-height: 1.5;
}

/* Assurance strip */
.assurance-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  background: rgba(139, 197, 63, 0.06);
  border: 1px solid rgba(139, 197, 63, 0.20);
  border-radius: 12px;
}
@media (max-width: 768px) { .assurance-strip { grid-template-columns: repeat(2, 1fr); } }
.assurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-80);
  font-weight: 500;
}
.assurance-item svg { color: var(--leaf-700); flex-shrink: 0; }


/* =========================================================================
   v4.2 — MOBILE RESPONSIVENESS FIXES
   ========================================================================= */

/* ----- Mobile nav menu (≤1024px) ----------------------------------------
   Was broken: .nav__cta with display:inline-flex !important rendered the
   Book Demo button in-flow even when the menu was translated off-screen.
   The email link also had no mobile menu treatment. Fix: cleanly hide the
   entire nav when collapsed, restyle it as a vertical drawer when open. */

@media (max-width: 1024px) {
  /* When the menu is CLOSED, fully remove it from layout */
  .nav:not(.is-open) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .nav {
    /* Full-screen drawer */
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    max-height: calc(100vh - 64px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex !important;       /* force vertical layout */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px 24px 48px;
    overflow-y: auto;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 90;
    box-shadow: 0 24px 60px -20px rgba(26, 35, 126, 0.18);
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .nav__item {
    width: 100%;
    padding: 16px 12px;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink-700);
    border-bottom: 1px solid rgba(26, 35, 126, 0.06);
    text-align: left;
  }
  .nav__item.is-active::after { display: none; }
  .nav__item.is-active {
    color: var(--ink-900);
    background: rgba(139, 197, 63, 0.08);
    border-radius: 8px;
    border-bottom-color: transparent;
  }
  /* Email link inside the mobile menu */
  .site-header .nav__contact {
    display: inline-flex !important;
    width: 100%;
    margin: 16px 0 0;
    padding: 14px 16px !important;
    background: rgba(26, 35, 126, 0.04);
    border: 1px solid rgba(26, 35, 126, 0.10);
    border-radius: 10px;
    justify-content: flex-start;
  }
  .site-header .nav__contact .nav__contact-label {
    display: inline !important;   /* show email text on mobile menu */
  }
  /* Book Demo button in the mobile drawer */
  .site-header .nav__cta {
    width: 100%;
    margin: 12px 0 0;
    justify-content: center;
    padding: 16px 20px !important;
    font-size: 15px;
  }

  /* Body scroll lock when menu open */
  body:has(.nav.is-open) { overflow: hidden; }
}

/* Above 1024 — make sure desktop layout is restored */
@media (min-width: 1025px) {
  .nav { display: flex !important; }
}


/* ----- Hero pill row — wrap on small screens ---------------------------- */
.hero-slider .slide__tag-row,
.page-hero .slide__tag-row {
  flex-wrap: wrap;
}
.hero-slider .slide__pill,
.page-hero .slide__pill {
  /* Allow pills to wrap text rather than overflow */
  white-space: normal;
  max-width: 100%;
}
@media (max-width: 640px) {
  .hero-slider .slide__pill,
  .page-hero .slide__pill {
    font-size: 11.5px;
    padding: 6px 12px;
  }
}


/* ----- Hero headlines — prevent right-edge clipping --------------------- */
@media (max-width: 640px) {
  .slide__headline {
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
    line-height: 1.05;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .slide__sub {
    font-size: 15px;
    line-height: 1.55;
  }
  .hero-slider, .page-hero {
    padding-top: clamp(96px, 22vw, 140px);
    padding-bottom: clamp(40px, 8vw, 64px);
  }
}


/* ----- Hero slider — single column on mobile, hide NOC card ------------- */
@media (max-width: 1024px) {
  .slide-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  /* The premium NOC dashboard is decorative — hide on small phones to
     prevent layout pressure and let the hero text breathe */
  .hero-slider .hero-premium__display { display: none; }
  .hero-slider .slide__nums { grid-template-columns: 1fr 1fr; }
  .hero-slider .mikrotik-flow { padding: 20px; }
  .hero-slider .mtflow { grid-template-columns: 1fr; gap: 16px; }
  .hero-slider .mtflow__arrow { transform: rotate(90deg); justify-self: center; }
  .hero-slider .mtflow-actions { grid-template-columns: 1fr; }
}


/* ----- Hero highlights: 1-column under 480px ---------------------------- */
@media (max-width: 480px) {
  .hero-highlights { grid-template-columns: 1fr; gap: 8px; }
  .hero-highlight { font-size: 13.5px; }
}


/* ----- Replaces strip: stack label + items on small screens ------------- */
@media (max-width: 640px) {
  .replaces-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
  }
  .replaces-strip__items { font-size: 12.5px; line-height: 1.5; }
}


/* ----- Slider arrows: hide on small screens (already exists but reinforce) */
@media (max-width: 768px) {
  .slider-arrow { display: none !important; }
  .slider-dots {
    bottom: 20px;
  }
  .slider-counter { display: none; }
}


/* ----- Page-hero pills & layout on mobile ------------------------------- */
@media (max-width: 640px) {
  .page-hero { padding-top: 96px; padding-bottom: 56px; }
}


/* ----- 3-tier architecture cards: stack on mobile ----------------------- */
@media (max-width: 1024px) {
  .tier-card-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  /* Architecture cards have a 280px label column on desktop — collapse */
  .platform-tier-row {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}


/* ----- Module cards (modules page): stack the number column ------------- */
@media (max-width: 768px) {
  .module-card-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .module-card-inner > div:first-child {
    /* The 120px number tile shrinks to inline pill on mobile */
    width: 80px !important;
    height: 80px !important;
    font-size: 32px !important;
  }
}


/* ----- Modules page: capability grid 1 col on phone --------------------- */
@media (max-width: 640px) {
  .module-caps-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ----- MikroTik flow & gateway grid ------------------------------------- */
@media (max-width: 480px) {
  .gw-grid { grid-template-columns: 1fr; }
}


/* ----- Mega stats: 2 col on tablet, 1 col on phone --------------------- */
@media (max-width: 900px) {
  .mega-stats__grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .mega-stats__grid { grid-template-columns: 1fr !important; }
  .mega-stat__value { font-size: clamp(2.4rem, 12vw, 3.2rem) !important; }
}


/* ----- Generic grid collapses (the inline grid-2/3/4 patterns) ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .grid-12 { grid-template-columns: 1fr !important; }
  .grid-12 > [style*="grid-column"] { grid-column: 1 / -1 !important; }
}


/* ----- Section header — center & resize on mobile ----------------------- */
@media (max-width: 640px) {
  .sec-head__title { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.15; }
  .sec-head__sub { font-size: 14.5px; }
  .section, .section--paper-2, .section--dark {
    padding-top: clamp(48px, 9vw, 72px);
    padding-bottom: clamp(48px, 9vw, 72px);
  }
}


/* ----- Contact form: reduce padding & 1-col on phone ------------------- */
@media (max-width: 640px) {
  .contact-form-card { padding: 24px !important; }
  .contact-form-card .form-row { grid-template-columns: 1fr !important; gap: 14px; }
  .contact-form-card label[for^="mod-"] { font-size: 13px; }
  .contact-form-card div[style*="repeat(3,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 420px) {
  .contact-form-card div[style*="repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}


/* ----- FAQ accordion: compact ------------------------------------------ */
@media (max-width: 640px) {
  .faq-cta-strip { padding: 18px 20px; }
  .faq-cta-strip__title { font-size: 15.5px; }
  .faq-cta-strip__sub { font-size: 12.5px; }
}


/* ----- Footer: prevent 2-col collapse from looking sparse -------------- */
@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: none; }
}


/* ----- CTA band: tighter ---------------------------------------------- */
@media (max-width: 640px) {
  .cta-band {
    padding: 36px 24px !important;
  }
  .cta-band h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .cta-band .lead { font-size: 14.5px; }
  .cta-band .cluster { flex-direction: column; align-items: stretch; }
  .cta-band .cluster .btn { width: 100%; justify-content: center; }
}


/* ----- Eyebrows: smaller on mobile ------------------------------------ */
@media (max-width: 640px) {
  .sec-head__eyebrow { font-size: 10.5px; }
}


/* ----- Animated page-hero banners can be very tall on mobile --------- */
@media (max-width: 768px) {
  .page-hero__banner { opacity: 0.35; }
  .hero-slider .hero-fiber { opacity: 0.30; }
}


/* ----- Tabshow (home page tabbed module showcase) --------------------- */
@media (max-width: 900px) {
  .tabshow__tabs { grid-template-columns: 1fr !important; }
  .tabshow__panel { grid-template-columns: 1fr !important; gap: 24px !important; }
  .tabshow__visual { order: -1; max-height: 220px; }
}


/* ----- Buttons stack on small screens --------------------------------- */
@media (max-width: 480px) {
  .slide__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .slide__cta .btn { justify-content: center; width: 100%; }
}


/* =========================================================================
   HERO DASHBOARD — real product screenshot framed like a browser window
   ========================================================================= */
.hero-dashboard {
  position: relative;
  background: #fff;
  border: 1px solid rgba(26, 35, 126, 0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(26, 35, 126, 0.22),
    0 20px 40px -16px rgba(26, 35, 126, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: perspective(2000px) rotateY(-2deg);
  transform-origin: center left;
  transition: transform .4s var(--ease-out);
}
.hero-dashboard:hover { transform: perspective(2000px) rotateY(0deg); }

.hero-dashboard__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #F8FAFC, #EEF1F8);
  border-bottom: 1px solid rgba(26, 35, 126, 0.08);
}
.hero-dashboard__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-dashboard__dot--red    { background: #EF4444; }
.hero-dashboard__dot--amber  { background: #F59E0B; }
.hero-dashboard__dot--green  { background: #10B981; }
.hero-dashboard__url {
  flex: 1;
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-60);
  letter-spacing: 0.01em;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(26, 35, 126, 0.06);
  max-width: 280px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-dashboard__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--leaf-700);
  font-weight: 600;
  flex-shrink: 0;
}
.hero-dashboard__live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--leaf-500);
  box-shadow: 0 0 0 3px rgba(139, 197, 63, 0.25);
  animation: dot-pulse 2s ease-in-out infinite;
}

.hero-dashboard__shot {
  position: relative;
  background: #F4F4F5;
  /* Aspect ratio of the screenshot (≈2.05:1) — keeps card balanced */
  aspect-ratio: 2.05 / 1;
  overflow: hidden;
}
.hero-dashboard__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}
/* Subtle inner ring for premium feel */
.hero-dashboard::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .hero-dashboard { transform: none; }
  .hero-dashboard:hover { transform: none; }
}
