/* ═══════════════════════════════════════════════════════════════
   LINVIK — WORLD-CLASS SAAS & IT SERVICES WEBSITE
   Design System v4.0 | 2026
   Brand: Midnight Indigo #0A0E22 + Electric Violet #4F46E5 + Cyan #06B6D4
   Inspired by Linear, Vercel, Raycast — top SaaS design 2025-26
═══════════════════════════════════════════════════════════════ */


/* ─── 1. CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  /* Brand Colors — Midnight Indigo palette */
  --c-brand:        #0A0E22;
  --c-brand-mid:    #141836;
  --c-green:        #4F46E5;   /* accent indigo — var name kept for compat */
  --c-green-lt:     #6366F1;
  --c-green-xl:     #818CF8;
  --c-green-neon:   #A5B4FC;
  --c-electric:     #06B6D4;   /* electric cyan — secondary accent */

  /* Backgrounds — Dark */
  --c-bg-deepest:   #020308;
  --c-bg-dark:      #060714;
  --c-bg-brand:     #0A0E22;
  --c-bg-card-dark: rgba(255,255,255,.045);
  --c-bg-card-hov:  rgba(255,255,255,.075);

  /* Backgrounds — Light */
  --c-bg-light:     #EEF2FF;
  --c-bg-offwhite:  #F0F4FF;
  --c-bg-white:     #FFFFFF;
  --c-bg-card-lt:   #FFFFFF;

  /* Text */
  --c-text:         #0A0E22;
  --c-text-2:       #1E2248;
  --c-text-3:       #64748B;
  --c-text-inv:     #FFFFFF;
  --c-text-inv-2:   rgba(255,255,255,.78);
  --c-text-inv-3:   rgba(255,255,255,.50);

  /* Borders */
  --c-bdr-dark:     rgba(255,255,255,.08);
  --c-bdr-light:    rgba(10,14,34,.10);
  --c-bdr-green:    rgba(79,70,229,.28);

  /* Gradients */
  --g-brand:        linear-gradient(135deg,#020308 0%,#0A0E22 100%);
  --g-green:        linear-gradient(135deg,#4F46E5 0%,#6366F1 100%);
  --g-text:         linear-gradient(135deg,#818CF8 0%,#A5B4FC 45%,#06B6D4 100%);
  --g-card-dark:    linear-gradient(135deg,rgba(79,70,229,.12) 0%,rgba(99,102,241,.04) 100%);
  --g-hero:         radial-gradient(ellipse 80% 50% at 50% 0%,rgba(99,102,241,.22) 0%,transparent 70%);

  /* Shadows */
  --s-sm:    0 2px 8px rgba(0,0,0,.08);
  --s-md:    0 4px 24px rgba(0,0,0,.12);
  --s-lg:    0 8px 48px rgba(0,0,0,.18);
  --s-xl:    0 20px 80px rgba(0,0,0,.24);
  --s-green: 0 8px 32px rgba(79,70,229,.35);
  --s-card:  0 4px 24px rgba(10,14,34,.10),0 1px 6px rgba(10,14,34,.06);

  /* Layout */
  --max-w:   1200px;
  --pad-x:   clamp(1.25rem,5vw,3rem);
  --sec-py:  clamp(5rem,9vw,8rem);

  /* Border Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-pill: 9999px;

  /* Motion */
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-out:    cubic-bezier(0,.55,.45,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --dur-fast: .18s;
  --dur-base: .30s;
  --dur-slow: .55s;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── 2. RESET & BASE ────────────────────────────────────────── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02","cv03","cv04","cv11";  /* Inter optical size tweaks */
}

img { max-width:100%; display:block; }
a  { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { font-family:var(--font); cursor:pointer; border:none; background:none; }
input,textarea,select { font-family:var(--font); }

/* ─── 3. SCROLL PROGRESS BAR ─────────────────────────────────── */
#scroll-progress {
  position:fixed; top:0; left:0; height:3px; width:0%;
  background: var(--g-green);
  z-index:9999;
  transition: width .1s linear;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
}

/* ─── 4. CONTAINER & LAYOUT ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: var(--sec-py) 0; }

.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; }

/* ─── 5. TYPOGRAPHY ─────────────────────────────────────────── */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 2.875rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.display-2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.heading-1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.heading-2 {
  font-family: var(--font);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.subtext {
  font-size: clamp(.9625rem, 1.4vw, 1.0875rem);
  line-height: 1.78;
  color: var(--c-text-3);
  font-weight: 400;
}

.subtext-inv { color: var(--c-text-inv-2); }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-green);
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.20);
  padding: .375rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}

.section-label-inv {
  color: var(--c-green-lt);
  background: rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.20);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .subtext { margin-top: 1rem; }

/* ─── 6. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: .875rem 2rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content:'';
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0);
  transition: background var(--dur-fast);
}
.btn:hover::after { background:rgba(255,255,255,.08); }

.btn-primary {
  background: var(--g-green);
  color: var(--c-text-inv);
  box-shadow: var(--s-green);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79,70,229,.40);
}

.btn-outline {
  background: transparent;
  color: var(--c-text-inv);
  border-color: rgba(255,255,255,.30);
}
.btn-outline:hover {
  border-color: var(--c-green-lt);
  color: var(--c-green-lt);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--c-green);
  border-color: var(--c-green);
}
.btn-outline-dark:hover {
  background: var(--c-green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--c-bg-white);
  color: var(--c-brand);
  border-color: transparent;
}
.btn-white:hover {
  background: var(--c-bg-light);
  transform: translateY(-2px);
  box-shadow: var(--s-md);
}

.btn-sm {
  font-size: .9rem;
  padding: .625rem 1.375rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 1.05rem 2.5rem;
}

.btn svg,.btn i { width:1.2em; height:1.2em; transition: transform var(--dur-base) var(--ease-spring); }
.btn:hover svg,.btn:hover i { transform: translateX(4px); }

/* ─── 7. NAVIGATION ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--dur-base) var(--ease);
}

#navbar.scrolled {
  background: rgba(6,7,20,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--c-bdr-dark);
  padding: .875rem 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-text-inv-2);
  padding: .5rem .875rem;
  border-radius: var(--r-sm);
  transition: all var(--dur-fast) var(--ease);
}

.nav-links a:hover {
  color: var(--c-text-inv);
  background: rgba(255,255,255,.07);
}

.nav-links a.active {
  color: var(--c-green-lt);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .875rem;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: background var(--dur-fast);
}

.nav-toggle:hover { background: rgba(255,255,255,.07); }

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text-inv);
  border-radius: var(--r-pill);
  transition: all var(--dur-base) var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity:0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Fixed: use visibility/opacity so CSS transitions work with display:flex always on */
#mobile-menu {
  display: flex;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(2,3,8,.97);
  backdrop-filter: blur(20px);
  z-index: 1002;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease), visibility var(--dur-base) var(--ease);
}

#mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.75rem;
  color: var(--c-text-inv-2);
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  transition: all var(--dur-fast);
}

.mobile-menu-close:hover { color:#fff; background: rgba(255,255,255,.08); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}

.mobile-menu-links a {
  font-size: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-text-inv-2);
  padding: .625rem 2rem;
  border-radius: var(--r-md);
  transition: all var(--dur-base) var(--ease-spring);
}

.mobile-menu-links a:hover {
  color: var(--c-green-lt);
  transform: scale(1.05);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ─── 8. HERO SECTION ────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-bg-deepest);
  overflow: hidden;
  padding-top: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Animated grid — Fixed: added -webkit-mask-image for Safari */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(79,70,229,.45) 0%, transparent 65%);
  top: -20%; left: -12%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(6,182,212,.18) 0%, transparent 65%);
  bottom: -8%; right: 2%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(99,102,241,.20) 0%, transparent 65%);
  top: 35%; left: 45%;
  animation-delay: -2s;
}

.hero-orb-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(165,180,252,.14) 0%, transparent 65%);
  top: 15%; right: 8%;
  animation-delay: -6s;
  filter: blur(60px);
  opacity: 0.55;
  animation: orbFloat 11s ease-in-out infinite;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,15px) scale(.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 2rem 0 3rem;
}

.hero-left { display:flex; flex-direction:column; gap:2rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: rgba(79,70,229,.15);
  border: 1px solid rgba(79,70,229,.30);
  border-radius: var(--r-pill);
  padding: .5rem 1.125rem;
  width: fit-content;
  animation: fadeDown .6s var(--ease-out) both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--c-green-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c-green-neon);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 8px var(--c-green-neon); transform:scale(1); }
  50%      { box-shadow: 0 0 16px var(--c-green-neon); transform:scale(1.2); }
}

.hero-badge-text {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--c-green-lt);
  letter-spacing: .04em;
}

.hero-title {
  animation: fadeUp .7s .1s var(--ease-out) both;
  color: var(--c-text-inv);
}

.hero-title span {
  display: block;
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.80;
  color: var(--c-text-inv-2);
  animation: fadeUp .7s .2s var(--ease-out) both;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s var(--ease-out) both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-bdr-dark);
  animation: fadeUp .7s .4s var(--ease-out) both;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--c-text-inv);
  line-height: 1;
}

.hero-stat-label {
  font-size: .8125rem;
  color: var(--c-text-inv-3);
  font-weight: 500;
}

.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--c-bdr-dark);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeLeft .8s .25s var(--ease-out) both;
}

/* Dashboard Mockup */
.dashboard-mockup {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(79,70,229,.25);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(79,70,229,.15);
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.25rem;
  background: rgba(10,14,34,.6);
  border-bottom: 1px solid rgba(79,70,229,.15);
}

.dash-dots { display:flex; gap:6px; }
.dash-dot {
  width:10px; height:10px; border-radius:50%;
}
.dash-dot:nth-child(1) { background:#FF5F57; }
.dash-dot:nth-child(2) { background:#FEBC2E; }
.dash-dot:nth-child(3) { background:#28C840; }

.dash-url {
  flex: 1; margin: 0 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  padding: .3rem .75rem;
  font-size: .75rem;
  color: var(--c-text-inv-3);
  text-align:center;
}

.dash-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 360px;
}

.dash-sidebar {
  background: rgba(6,7,20,.7);
  border-right: 1px solid rgba(79,70,229,.12);
  padding: 1.25rem .875rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .75rem;
  border-radius: var(--r-xs);
  font-size: .75rem;
  color: var(--c-text-inv-3);
  transition: all var(--dur-fast);
}

.dash-nav-item.active {
  background: rgba(79,70,229,.20);
  color: var(--c-green-lt);
}

.dash-nav-icon {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: currentColor;
  opacity: .6;
}

.dash-nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}
.dash-nav-dot.active { background: var(--c-green-lt); }

.dash-pill {
  display: flex; align-items: center; gap: .375rem;
  font-size: .7rem; color: var(--c-text-inv-3);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-pill);
  padding: .25rem .625rem;
  white-space: nowrap;
}

.dash-ai-bar {
  display: flex; align-items: center; gap: .625rem;
  padding: .625rem 1.25rem;
  background: rgba(79,70,229,.08);
  border-top: 1px solid rgba(79,70,229,.12);
  font-size: .7rem; color: var(--c-green-lt);
}

.dash-ai-dot {
  width: 6px; height: 6px;
  background: var(--c-green-neon);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--c-green-neon);
  flex-shrink: 0;
}

.dash-bar.active {
  background: linear-gradient(to top, var(--c-green), var(--c-green-xl));
}

.dash-main {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dash-kpis,
.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .75rem;
}

.dash-kpi {
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.15);
  border-radius: var(--r-sm);
  padding: .875rem;
}

.dash-kpi-val {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-green-lt);
  line-height: 1;
}

.dash-kpi-label {
  font-size: .7rem;
  color: var(--c-text-inv-3);
  margin-top: .25rem;
}

.dash-chart {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(79,70,229,.10);
  border-radius: var(--r-sm);
  padding: .875rem;
  flex: 1;
}

.dash-chart-label,
.dash-chart-title {
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-text-inv-2);
  margin-bottom: .75rem;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: .375rem;
  height: 80px;
}

.dash-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(79,70,229,.5), rgba(99,102,241,.8));
  transition: height 1s var(--ease-out);
}

.dash-table {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(79,70,229,.10);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.dash-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: .5rem .875rem;
  font-size: .72rem;
  color: var(--c-text-inv-3);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.dash-table-head,
.dash-table-row:first-child {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: .5rem .875rem;
  font-size: .72rem;
  color: var(--c-text-inv-2);
  font-weight: 600;
  background: rgba(79,70,229,.08);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.dash-badge {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: var(--r-pill);
  font-size: .65rem;
  font-weight: 600;
}

.dash-badge-green, .dash-badge.active  { background: rgba(79,70,229,.3);    color: var(--c-green-lt); }
.dash-badge-yellow,.dash-badge.pending { background: rgba(245,158,11,.2);  color: #FCD34D; }

/* Floating cards on hero */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(79,70,229,.25);
  border-radius: var(--r-md);
  padding: .875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--s-lg);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-1,
.hero-float-card-1 {
  bottom: -1.5rem; left: -1.5rem;
  animation-delay: -1s;
}

.hero-float-2,
.hero-float-card-2 {
  top: -1rem; right: -1rem;
  animation-delay: -3s;
}

@keyframes floatCard {
  0%,100% { transform:translateY(0) rotate(0deg); }
  50%      { transform:translateY(-8px) rotate(.5deg); }
}

.float-card-icon,
.hero-float-icon {
  width: 40px; height: 40px;
  background: var(--g-green);
  border-radius: var(--r-sm);
  display: flex; align-items:center; justify-content:center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.float-card-val,
.hero-float-text strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-text-inv);
  line-height: 1;
}

.float-card-sub,
.hero-float-text span {
  font-size: .75rem;
  color: var(--c-text-inv-3);
}

/* ─── 9. MARQUEE / TRUST STRIP ───────────────────────────────── */
#trust-strip {
  background: var(--c-bg-brand);
  border-top: 1px solid var(--c-bdr-dark);
  border-bottom: 1px solid var(--c-bdr-dark);
  padding: 1.125rem 0;
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-wrapper:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: var(--c-text-inv-2);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-dot {
  width: 6px; height: 6px;
  background: var(--c-green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── 10. SERVICES SECTION ───────────────────────────────────── */
#services {
  background: var(--c-bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Fixed: removed cursor:default */
.service-card {
  background: var(--c-bg-card-lt);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,70,229,.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.service-card:hover,
.service-card:focus-within {
  border-color: var(--c-bdr-green);
  box-shadow: var(--s-card);
  transform: translateY(-4px);
}

.service-card:hover::before,
.service-card:focus-within::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  background: var(--c-bg-light);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base) var(--ease);
}

.service-icon svg {
  width: 28px; height: 28px;
  color: var(--c-green);
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  background: rgba(79,70,229,.10);
  border-color: rgba(79,70,229,.25);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
}

.service-desc {
  font-size: .9375rem;
  color: var(--c-text-3);
  line-height: 1.65;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-green);
  transition: all var(--dur-fast);
  margin-top: .5rem;
}

.service-link svg { width:16px;height:16px; transition:transform var(--dur-base) var(--ease-spring); }
.service-card:hover .service-link svg,
.service-card:focus-within .service-link svg { transform:translateX(4px); }

/* ─── 11. PRODUCTS SECTION ───────────────────────────────────── */
#products {
  background: var(--c-bg-dark);
  position: relative;
  overflow: hidden;
}

#products::before {
  content:'';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,.5), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.product-card {
  background: var(--c-bg-card-dark);
  border: 1px solid var(--c-bdr-dark);
  border-radius: var(--r-xl);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height: 3px;
  background: var(--g-green);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.product-card:hover,
.product-card:focus-within {
  background: var(--c-bg-card-hov);
  border-color: var(--c-bdr-green);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 40px rgba(79,70,229,.12);
}

.product-card:hover::before,
.product-card:focus-within::before { opacity: 1; }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: fit-content;
}

.product-badge-school {
  background: rgba(79,70,229,.15);
  border: 1px solid rgba(79,70,229,.25);
  color: var(--c-green-lt);
}

.product-badge-exam {
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.25);
  color: #FCD34D;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem,2.5vw,2rem);
  font-weight: 800;
  color: var(--c-text-inv);
  line-height: 1.2;
}

.product-desc {
  font-size: 1rem;
  color: var(--c-text-inv-2);
  line-height: 1.70;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--c-text-inv-2);
}

.product-feature-check {
  width: 20px; height: 20px;
  background: rgba(79,70,229,.20);
  border: 1px solid rgba(79,70,229,.30);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  flex-shrink: 0;
  margin-top: .1rem;
}

.product-feature-check svg { width:12px;height:12px; color: var(--c-green-lt); }

.product-actions {
  display: flex;
  gap: .875rem;
  margin-top: auto;
  flex-wrap: wrap;
}

/* Product Mockup Preview */
.product-preview {
  background: rgba(10,14,34,.5);
  border: 1px solid rgba(79,70,229,.15);
  border-radius: var(--r-md);
  padding: 1rem;
  margin-top: .5rem;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .875rem;
}

.preview-dots { display:flex;gap:4px; }
.preview-dot { width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.15); }

.preview-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: .5rem;
}

.prev-stat {
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.12);
  border-radius: var(--r-sm);
  padding: .625rem;
}

.prev-stat-n {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-green-lt);
  line-height: 1;
}

.prev-stat-l {
  font-size: .7rem;
  color: var(--c-text-inv-3);
  margin-top: .2rem;
}

/* ─── 12. STATS SECTION ──────────────────────────────────────── */
#stats {
  background: var(--c-bg-brand);
  position: relative;
  overflow: hidden;
}

#stats::before {
  content:'';
  position:absolute;
  inset:0;
  background: var(--g-hero);
  pointer-events:none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  position: relative;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--c-bg-card-dark);
  border: 1px solid var(--c-bdr-dark);
  border-radius: var(--r-lg);
  transition: all var(--dur-base) var(--ease);
}

.stat-card:hover {
  background: var(--c-bg-card-hov);
  border-color: var(--c-bdr-green);
  transform: translateY(-4px);
}

.stat-icon {
  width: 52px; height: 52px;
  background: rgba(79,70,229,.15);
  border: 1px solid rgba(79,70,229,.25);
  border-radius: var(--r-md);
  display: flex; align-items:center; justify-content:center;
  margin: 0 auto 1.25rem;
}

.stat-icon svg { width:24px;height:24px; color: var(--c-green-lt); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem,4vw,3.25rem);
  font-weight: 800;
  color: var(--c-text-inv);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .1rem;
}

.stat-suffix {
  font-size: .7em;
  color: var(--c-green-lt);
}

.stat-label {
  font-size: .9375rem;
  color: var(--c-text-inv-2);
  margin-top: .625rem;
  font-weight: 500;
}

/* ─── 13. WHY US SECTION ─────────────────────────────────────── */
#why-us {
  background: var(--c-bg-light);  /* green-tinted — brand moment between white stats and testimonials */
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-img-wrap {
  background: var(--g-brand);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--c-bdr-dark);
}

.why-img-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.why-img-title {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text-inv);
  z-index: 1;
}

.why-modules-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: .875rem;
  position: relative;
  z-index: 1;
}

.why-module {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(79,70,229,.20);
  border-radius: var(--r-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.why-module-icon { font-size: 1.5rem; }

.why-module-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-text-inv);
}

.why-module-sub {
  font-size: .7rem;
  color: var(--c-text-inv-3);
}

.why-float-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--c-bg-white);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-md);
  padding: 1rem 1.375rem;
  box-shadow: var(--s-lg);
  text-align: center;
}

.why-float-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-green);
  line-height: 1;
}

.why-float-label {
  font-size: .75rem;
  color: var(--c-text-3);
  font-weight: 500;
  margin-top: .25rem;
}

/* Why Right */
.why-content { display:flex; flex-direction:column; gap:2.5rem; }

.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.why-point {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.why-point-icon {
  width: 44px; height: 44px;
  background: var(--c-bg-white);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-md);
  display: flex; align-items:center; justify-content:center;
  transition: all var(--dur-base);
}

.why-point-icon svg { width:22px;height:22px; color:var(--c-green); }

.why-point:hover .why-point-icon {
  background: rgba(79,70,229,.10);
  border-color: rgba(79,70,229,.25);
}

.why-point-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.3;
}

.why-point-desc {
  font-size: .875rem;
  color: var(--c-text-3);
  line-height: 1.6;
}

/* ─── 14. PROCESS SECTION ────────────────────────────────────── */
#process {
  background: var(--c-bg-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  position: relative;
}

/* Connector line — Fixed: top: 28px (exact center of 56px circle) */
.process-steps::before {
  content:'';
  position:absolute;
  top: 28px; left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--c-green) 0%, rgba(79,70,229,.2) 100%);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 56px; height: 56px;
  background: var(--g-green);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-text-inv);
  box-shadow: var(--s-green);
  flex-shrink: 0;
  position: relative;
}

.process-number::after {
  content:'';
  position:absolute;
  inset: -6px;
  border: 2px solid rgba(79,70,229,.25);
  border-radius:50%;
}

.process-step-body { display:flex; flex-direction:column; gap:.5rem; }

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-text);
}

.process-step-desc {
  font-size: .875rem;
  color: var(--c-text-3);
  line-height: 1.6;
}

/* ─── 15. TECH STACK SECTION ─────────────────────────────────── */
#tech-stack {
  background: var(--c-bg-dark);
  border-top: 1px solid var(--c-bdr-dark);
  border-bottom: 1px solid var(--c-bdr-dark);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 1.25rem;
}

.tech-item {
  background: var(--c-bg-card-dark);
  border: 1px solid var(--c-bdr-dark);
  border-radius: var(--r-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  transition: all var(--dur-base) var(--ease);
  text-align: center;
}

.tech-item:hover {
  background: var(--c-bg-card-hov);
  border-color: var(--c-bdr-green);
  transform: translateY(-4px);
}

.tech-icon {
  font-size: 2rem;
  line-height: 1;
}

.tech-name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--c-text-inv-2);
}

/* ─── 16. TESTIMONIALS SECTION ───────────────────────────────── */
#testimonials {
  background: var(--c-bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--c-bg-white);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--dur-base) var(--ease);
  position: relative;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: var(--c-bdr-green);
  box-shadow: var(--s-card);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 2.5rem;
  font-family: Georgia, serif;
  color: var(--c-green-lt);
  line-height: 1;
  opacity: .4;
}

.testimonial-stars {
  display: flex;
  gap: .25rem;
}

.testimonial-stars span { color: #F59E0B; font-size: 1rem; }

.testimonial-text {
  font-size: .9625rem;
  color: var(--c-text-2);
  line-height: 1.72;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-bdr-light);
}

.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--g-green);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--c-text);
  line-height: 1.2;
}

.testimonial-role {
  font-size: .8125rem;
  color: var(--c-text-3);
}

/* ─── 17. FAQ SECTION ────────────────────────────────────────── */
#faq {
  background: var(--c-bg-white);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.faq-left { position: sticky; top: 8rem; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.faq-item {
  background: var(--c-bg-white);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-base);
}

.faq-item.open {
  border-color: var(--c-bdr-green);
  box-shadow: var(--s-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  transition: all var(--dur-fast);
  user-select: none;
}

.faq-question:hover { color: var(--c-green); }
.faq-item.open .faq-question { color: var(--c-green); }

.faq-toggle {
  width: 28px; height: 28px;
  background: var(--c-bg-light);
  border: 1px solid var(--c-bdr-light);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  flex-shrink: 0;
  transition: all var(--dur-base) var(--ease-spring);
}

.faq-item.open .faq-toggle {
  background: var(--c-green);
  border-color: var(--c-green);
  transform: rotate(45deg);
}

.faq-toggle svg { width:14px;height:14px; color:var(--c-text-3); }
.faq-item.open .faq-toggle svg { color:#fff; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .2s;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--c-text-3);
  line-height: 1.72;
}

/* ─── 18. CTA SECTION ────────────────────────────────────────── */
#cta {
  background: var(--c-bg-brand);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(ellipse 80% 80% at 50% 100%,rgba(79,70,229,.25) 0%,transparent 70%);
}

.cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--c-text-inv-3);
  font-size: .875rem;
}

.cta-trust-sep { color: var(--c-bdr-dark); }

/* ─── 19. FOOTER ─────────────────────────────────────────────── */
#footer {
  background: var(--c-bg-deepest);
  border-top: 1px solid var(--c-bdr-dark);
  padding: 5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--c-bdr-dark);
}

.footer-brand { display:flex; flex-direction:column; gap:1.25rem; }

.footer-logo img { height: 34px; }

.footer-desc {
  font-size: .9375rem;
  color: var(--c-text-inv-3);
  line-height: 1.70;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: .625rem;
}

.social-link {
  width: 38px; height: 38px;
  background: var(--c-bg-card-dark);
  border: 1px solid var(--c-bdr-dark);
  border-radius: var(--r-sm);
  display: flex; align-items:center; justify-content:center;
  color: var(--c-text-inv-3);
  font-size: .875rem;
  transition: all var(--dur-base);
}

.social-link:hover {
  background: rgba(79,70,229,.15);
  border-color: rgba(79,70,229,.30);
  color: var(--c-green-lt);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-text-inv);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-links a {
  font-size: .9375rem;
  color: var(--c-text-inv-3);
  transition: all var(--dur-fast);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-links a:hover {
  color: var(--c-green-lt);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--c-text-inv-3);
  margin-bottom: .875rem;
}

.footer-contact-item svg { width:18px;height:18px; color:var(--c-green); flex-shrink:0; margin-top:.15rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2.5rem;
}

.footer-copy {
  font-size: .875rem;
  color: var(--c-text-inv-3);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: .875rem;
  color: var(--c-text-inv-3);
  transition: color var(--dur-fast);
}

.footer-bottom-links a:hover { color: var(--c-green-lt); }

/* ─── 20. SCROLL REVEAL ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

[data-reveal="up"]    { transform: translateY(36px); }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(.92); }

[data-reveal].revealed {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }
[data-delay="6"] { transition-delay: .6s; }

/* ─── 21. ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp   { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:none} }
@keyframes fadeLeft { from{opacity:0;transform:translateX(36px)} to{opacity:1;transform:none} }

/* ─── 22. UTILITY ────────────────────────────────────────────── */
.text-center { text-align:center; }
.text-left   { text-align:left; }
.flex-center  { display:flex;align-items:center;justify-content:center; }
.mt-4   { margin-top:1rem; }
.mt-8   { margin-top:2rem; }
.gap-sm { gap:.75rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Skip to content link (accessibility) ──────────────────── */
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  background: var(--c-green);
  color: #fff;
  padding: .625rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: .875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
  white-space: nowrap;
}
.skip-link:focus { top: 0; }

/* ─── 23. CONTACT PAGE ───────────────────────────────────────── */
.contact-hero {
  background: var(--c-bg-brand);
  padding: 9rem 0 5rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 48px; height: 48px;
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.20);
  border-radius: var(--r-md);
  display: flex; align-items:center; justify-content:center;
  flex-shrink: 0;
}

.contact-info-icon svg { width:22px;height:22px; color:var(--c-green); }

.contact-form-wrap {
  background: var(--c-bg-white);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--s-md);
}

.form-group {
  margin-bottom: 1.375rem;
}

.form-label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: .5rem;
}

.form-input,.form-textarea,.form-select {
  width: 100%;
  padding: .875rem 1.125rem;
  background: var(--c-bg-offwhite);
  border: 1.5px solid var(--c-bdr-light);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .9625rem;
  color: var(--c-text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
  appearance: none;
}

.form-input:focus,.form-textarea:focus,.form-select:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
  background: var(--c-bg-white);
}

.form-textarea { resize:vertical; min-height:130px; }

.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }

.form-success {
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.25);
  border-radius: var(--r-md);
  padding: 1.5rem;
  text-align:center;
  color: var(--c-green);
  font-weight: 600;
}

/* ─── 24. 404 PAGE ───────────────────────────────────────────── */
.page-404 {
  min-height: 100vh;
  background: var(--c-bg-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ─── 25. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .tech-grid { grid-template-columns: repeat(4,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  :root { --sec-py: clamp(3.5rem,8vw,6rem); }

  .hero-content { grid-template-columns:1fr; gap:3rem; }
  .hero-visual { display:none; }
  .hero-desc { max-width:100%; }

  .products-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-steps::before { display:none; }
  .why-inner { grid-template-columns:1fr; gap:3rem; }
  .why-visual { display:none; }
  .why-points { grid-template-columns:1fr; }
  .faq-inner { grid-template-columns:1fr; gap:2.5rem; }
  .faq-left { position:static; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links,.nav-cta { display:none; }
  .nav-toggle { display:flex; }

  .services-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns:1fr; }
  .tech-grid { grid-template-columns: repeat(3,1fr); }
  .process-steps { grid-template-columns:1fr; }
  .hero-stats { gap:1.25rem; flex-wrap:wrap; }
  .footer-top { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .form-row { grid-template-columns:1fr; }

  .whatsapp-float { bottom: max(1.5rem, calc(0.75rem + env(safe-area-inset-bottom))); right: max(1.5rem, calc(0.75rem + env(safe-area-inset-right))); width: 52px; height: 52px; }
  #scroll-top { bottom: max(5rem, calc(4rem + env(safe-area-inset-bottom))); right: max(1.5rem, calc(0.75rem + env(safe-area-inset-right))); }
}

@media (max-width: 480px) {
  .tech-grid { grid-template-columns: repeat(2,1fr); }
  .hero-actions { flex-direction:column; align-items:flex-start; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .cta-actions { flex-direction:column; width:100%; }
  .cta-actions .btn { width:100%; justify-content:center; }
}

/* ─── FLOATING WHATSAPP BUTTON ──────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: max(2rem, calc(1rem + env(safe-area-inset-bottom)));
  right: max(2rem, calc(1rem + env(safe-area-inset-right)));
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  animation: whatsappPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}
.whatsapp-float svg { width:30px;height:30px; }
@keyframes whatsappPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.3); }
  50%      { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* Tooltip on hover */
.whatsapp-float::before {
  content: 'Chat on WhatsApp';
  position: absolute;
  right: 110%;
  background: #1A3A28;
  color: #fff;
  font-family: var(--font);
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem .875rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all .2s var(--ease);
}
.whatsapp-float:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ─── SCROLL TO TOP BUTTON ───────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: max(5.5rem, calc(4.5rem + env(safe-area-inset-bottom)));
  right: max(2rem, calc(1rem + env(safe-area-inset-right)));
  width: 44px; height: 44px;
  background: rgba(10,14,34,.92);
  border: 1px solid rgba(79,70,229,.35);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  z-index: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .3s var(--ease);
  backdrop-filter: blur(8px);
}
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scroll-top:hover {
  background: var(--c-green);
  border-color: var(--c-green);
  transform: translateY(-2px);
}
#scroll-top svg { width:18px;height:18px;color:var(--c-text-inv); }

/* ─── FOCUS VISIBLE STYLES ───────────────────────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2.5px solid var(--c-green);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }
a:focus-visible   { border-radius: 3px; }

/* ─── HERO SCROLL INDICATOR ──────────────────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 3;
  animation: fadeUp .7s .8s both;
}
.hero-scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 5px;
}
.hero-scroll-wheel {
  width: 3px; height: 8px;
  background: var(--c-green-lt);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
.hero-scroll-text {
  font-size: .7rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .1em;
  text-transform: uppercase;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ─── 3D TILT — perspective handled inline by JS per-card ────── */

/* ─── PREFERS REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ─── HERO MOBILE MINI DASHBOARD ─────────────────────────────── */
.hero-mobile-preview {
  display: none;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(79,70,229,.20);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  margin-top: .5rem;
  gap: .75rem;
  grid-template-columns: repeat(2,1fr);
}
.hero-mobile-kpi {
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.15);
  border-radius: var(--r-sm);
  padding: .875rem;
  text-align: center;
}
.hero-mobile-kpi-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-green-lt);
  line-height: 1;
}
.hero-mobile-kpi-label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin-top: .25rem;
}

/* Show mobile preview only on small screens */
@media (max-width: 900px) {
  .hero-mobile-preview { display: grid; }
  .hero-scroll { display: none; }
}

/* ─── IMPROVED SECTION SEPARATORS ───────────────────────────── */
#products::after {
  content:'';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,.4), transparent);
}
#stats::after {
  content:'';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,.3), transparent);
}

/* ─── BETTER BUTTON ICON Z-INDEX ─────────────────────────────── */
.btn svg, .btn i {
  position: relative;
  z-index: 2;
}
.btn span { position: relative; z-index: 2; }

/* ─── FOOTER NEWSLETTER ROW ──────────────────────────────────── */
.footer-newsletter {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.footer-newsletter-input {
  flex: 1;
  min-width: 160px;
  padding: .625rem 1rem;
  background: var(--c-bg-card-dark);
  border: 1px solid var(--c-bdr-dark);
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: .875rem;
  color: var(--c-text-inv);
  outline: none;
  transition: border-color .2s;
}
.footer-newsletter-input::placeholder { color: var(--c-text-inv-3); }
.footer-newsletter-input:focus { border-color: var(--c-bdr-green); }
.footer-newsletter-btn {
  padding: .625rem 1.25rem;
  background: var(--g-green);
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.footer-newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--s-green);
}

/* ─── WHY-VISUAL OVERFLOW FIX ────────────────────────────────── */
.why-visual { overflow: visible; }

/* ─── IMPROVED STAT CARD ─────────────────────────────────────── */
.stat-card { position: relative; overflow: hidden; }
.stat-card::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background: var(--g-green);
  opacity:0;
  transition:opacity .3s;
}
.stat-card:hover::before { opacity:1; }

/* ─── CARD NUMBER HIGHLIGHT ON HOVER ─────────────────────────── */
.stat-card:hover .stat-number { color: var(--c-green-lt); }
.stat-card:hover .stat-suffix { color: var(--c-green-xl); }

/* ═══════════════════════════════════════════════════════════════
   v2.2 ADDITIONS — MULTI-PAGE ARCHITECTURE + DESIGN POLISH
═══════════════════════════════════════════════════════════════ */

/* ─── PRODUCTS DROPDOWN NAV ──────────────────────────────────── */
.has-dropdown { position: relative; }

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.has-dropdown > a svg { transition: transform .2s var(--ease); }
.has-dropdown:hover > a svg,
.has-dropdown:focus-within > a svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(4,13,7,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md);
  padding: .5rem;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 200;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem 1rem;
  border-radius: var(--r-sm);
  transition: background .15s;
  cursor: pointer;
}

.dropdown-item:hover { background: rgba(255,255,255,.06); }

.dropdown-icon {
  width: 38px;
  height: 38px;
  background: rgba(79,70,229,.15);
  border: 1px solid rgba(79,70,229,.22);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.dropdown-item:hover .dropdown-icon { background: rgba(79,70,229,.25); }
.dropdown-icon svg { width: 18px; height: 18px; color: var(--c-green-lt); }

.dropdown-label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-text-inv);
  margin-bottom: .2rem;
  line-height: 1.2;
}

.dropdown-desc {
  font-size: .8125rem;
  color: var(--c-text-inv-3);
  line-height: 1.4;
}

/* ─── MOBILE SUB-LINKS ────────────────────────────────────────── */
.mobile-sub-link {
  font-size: .9rem !important;
  padding-left: 2.5rem !important;
  color: var(--c-text-inv-3) !important;
}
.mobile-sub-link:hover { color: var(--c-green-lt) !important; }

/* ─── FOOTER LOGO (ICON + WORDMARK) ─────────────────────────── */
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.footer-tagline {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--c-text-inv-3);
  text-transform: uppercase;
  margin-top: .125rem;
}

/* ─── INNER PAGE HERO ────────────────────────────────────────── */
.page-hero {
  background: var(--c-bg-brand);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,70,229,.18) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-text-inv);
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin: 1rem 0 1.25rem;
}

.page-hero-desc {
  font-size: clamp(.9375rem, 2vw, 1.1rem);
  color: var(--c-text-inv-2);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--c-text-inv-3);
  margin-bottom: 1.25rem;
}

.page-breadcrumb a { color: var(--c-green-lt); }
.page-breadcrumb a:hover { color: var(--c-text-inv); }
.page-breadcrumb-sep { opacity: .4; }

/* ─── SERVICES PAGE ──────────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-detail-card {
  background: var(--c-bg-card-lt);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g-green);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.service-detail-card:hover {
  border-color: var(--c-bdr-green);
  box-shadow: var(--s-card);
  transform: translateY(-4px);
}

.service-detail-card:hover::before { opacity: 1; }

.service-detail-icon {
  width: 52px; height: 52px;
  background: var(--c-bg-light);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--dur-base);
}

.service-detail-card:hover .service-detail-icon {
  background: rgba(79,70,229,.10);
  border-color: rgba(79,70,229,.25);
}

.service-detail-icon svg { width: 26px; height: 26px; color: var(--c-green); }

.service-detail-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .875rem;
  letter-spacing: -0.015em;
}

.service-detail-desc {
  font-size: .9625rem;
  color: var(--c-text-3);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-detail-bullets {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.service-detail-bullet {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9rem;
  color: var(--c-text-2);
  line-height: 1.5;
}

.service-detail-bullet::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-green);
  border-radius: 50%;
  margin-top: .45em;
  flex-shrink: 0;
}

/* ─── PRODUCT DETAIL PAGE ────────────────────────────────────── */
.product-page-hero {
  background: var(--c-bg-brand);
  padding: 8rem 0 0;
  position: relative;
  overflow: hidden;
}

.product-page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.product-page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 4rem;
}

.product-page-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(79,70,229,.12);
  border: 1px solid rgba(79,70,229,.25);
  color: var(--c-green-lt);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .375rem .875rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}

.product-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-text-inv);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.product-page-desc {
  font-size: 1.0625rem;
  color: var(--c-text-inv-2);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.product-page-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.product-page-stat-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-green-lt);
  line-height: 1;
}

.product-page-stat-label {
  font-size: .8125rem;
  color: var(--c-text-inv-3);
  margin-top: .25rem;
}

.product-page-mockup {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(79,70,229,.20);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 1.5rem;
  min-height: 300px;
}

.product-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--c-bg-card-lt);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g-green);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.feature-card:hover {
  border-color: var(--c-bdr-green);
  box-shadow: var(--s-card);
  transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-card-icon {
  width: 44px; height: 44px;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.15);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.125rem;
}
.feature-card-icon svg { width: 22px; height: 22px; color: var(--c-green); }

.feature-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .5rem;
}

.feature-card-desc {
  font-size: .875rem;
  color: var(--c-text-3);
  line-height: 1.6;
}

/* ─── ABOUT PAGE ─────────────────────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-story-content {}

.about-story-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-story-body {
  font-size: 1rem;
  color: var(--c-text-2);
  line-height: 1.75;
}

.about-story-body p { margin-bottom: 1.125rem; }
.about-story-body p:last-child { margin-bottom: 0; }

.about-visual {
  background: var(--c-bg-brand);
  border-radius: var(--r-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(79,70,229,.25) 0%, transparent 70%);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--c-bg-white);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g-green);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.value-card:hover::before { opacity: 1; }

.value-card:hover {
  border-color: var(--c-bdr-green);
  transform: translateY(-3px);
  box-shadow: var(--s-card);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .5rem;
}

.value-desc {
  font-size: .875rem;
  color: var(--c-text-3);
  line-height: 1.6;
}

/* ─── FAQ STANDALONE PAGE ────────────────────────────────────── */
.faq-standalone .faq-inner {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

.faq-category-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text-2);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8125rem;
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--c-bdr-light);
}

.faq-category-title:first-child { margin-top: 0; }

/* ─── PRODUCTS OVERVIEW PAGE ─────────────────────────────────── */
.products-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.product-overview-card {
  background: var(--c-bg-card-dark);
  border: 1px solid var(--c-bdr-dark);
  border-radius: var(--r-xl);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-base) var(--ease);
}

.product-overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g-green);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.product-overview-card:hover,
.product-overview-card:focus-within {
  border-color: var(--c-bdr-green);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.product-overview-card:hover::before,
.product-overview-card:focus-within::before { opacity: 1; }

/* ─── RESPONSIVE — NEW PAGES ─────────────────────────────────── */
@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .product-page-hero-inner { grid-template-columns: 1fr; }
  .product-features-grid { grid-template-columns: repeat(2,1fr); }
  .about-story { grid-template-columns: 1fr; gap: 3rem; }
  .about-values-grid { grid-template-columns: repeat(2,1fr); }
  .products-compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .product-features-grid { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .nav-logo-wordmark { display: none; }
}

@media (max-width: 480px) {
  .nav-logo-wordmark { display: none; }
}

/* ─── LIGHT BG SECTIONS ──────────────────────────────────────── */
.section-light {
  background: var(--c-bg-white);
}

.section-offwhite {
  background: var(--c-bg-light);
}

.section-dark {
  background: var(--c-bg-brand);
}

.section-darkest {
  background: var(--c-bg-dark);
}

/* ─── CTA STRIP (INNER PAGES) ────────────────────────────────── */
.cta-strip {
  background: var(--c-bg-brand);
  border-top: 1px solid var(--c-bdr-dark);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(79,70,229,.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--c-text-inv);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-strip-desc {
  font-size: 1.05rem;
  color: var(--c-text-inv-2);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.cta-strip-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── ADDITIONAL RESPONSIVE — NEW INNER PAGES ───────────────── */
@media (max-width: 900px) {
  .white-label-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .examguru-cols { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .why-grid-about { grid-template-columns: 1fr !important; }
  .modules-grid-resp { grid-template-columns: repeat(2,1fr) !important; }
}

@media (max-width: 540px) {
  .modules-grid-resp { grid-template-columns: 1fr !important; }
  .product-page-stats { gap: 1.25rem; }
}

/* ─── SECTION INTRO WRAPPER (inner pages) ────────────────────
   Wrap section-label + section-title + section-desc in this
   so the inline-flex label pill is centered with the heading.
─────────────────────────────────────────────────────────────── */
.section-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ─── SECTION TITLE / DESC UTILITIES ─────────────────────────
   Used on all inner pages (services, products, about, faq etc.)
   Mirrors the homepage display-2 / subtext styles.
─────────────────────────────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.015em;
  line-height: 1.22;
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  color: var(--c-text-3);
  line-height: 1.75;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── DARK SECTION TEXT OVERRIDES ───────────────────────────── */
/* section-title defaults to --c-text (dark green) which is invisible
   on dark/darkest section backgrounds. Force white text. */
.section-dark .section-title,
.section-darkest .section-title {
  color: var(--c-text-inv);
}
.section-dark .section-desc,
.section-darkest .section-desc {
  color: var(--c-text-inv-2);
}
.section-dark .section-label,
.section-darkest .section-label {
  color: var(--c-green-lt);
  background: rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.20);
}

/* Process section on dark bg — override number styles for correct contrast */
.section-dark .process-number,
.section-darkest .process-number {
  box-shadow: 0 4px 20px rgba(79,70,229,.45);
}

.section-dark .process-step-title,
.section-darkest .process-step-title {
  color: var(--c-text-inv);
}

.section-dark .process-step-desc,
.section-darkest .process-step-desc {
  color: var(--c-text-inv-2);
}

/* Process connector line on dark bg */
.section-dark .process-steps::before,
.section-darkest .process-steps::before {
  background: linear-gradient(90deg, var(--c-green-lt) 0%, rgba(99,102,241,.2) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   v3.0 HOME DESIGN REFRESH — Inspired by modern SaaS aesthetics
   Announcement bar · Aurora hero · Feature pills · Build cards
   Stats light · Testimonial marquee · Card spotlight effects
════════════════════════════════════════════════════════════════ */

/* ─── SECTION BACKGROUND VARIANTS ───────────────────────────── */
/* light    = brand-green tint — warm sections (Why Us, Testimonials, Story) */
/* offwhite = neutral near-white — card sections so white cards pop            */
/* dark     = brand forest green — mid-page dark breaks (process, modules)     */
/* darkest  = near-black — major dark sections (products compare, hero etc.)   */
.section-light    { background: var(--c-bg-light); }    /* #EEF2FF — indigo tint */
.section-offwhite { background: var(--c-bg-offwhite); } /* #F0F4FF — near-white */
.section-white    { background: var(--c-bg-white); }
.section-dark     { background: var(--c-bg-brand); }    /* #0A0E22 — midnight indigo */
.section-darkest  { background: var(--c-bg-dark); }     /* #060714 — near-black */
.section-brand    { background: var(--c-bg-brand); }

/* ─── ANNOUNCEMENT BAR ───────────────────────────────────────── */
.announce-bar {
  background: #06060F;
  border-bottom: 1px solid rgba(79,70,229,.18);
  padding: .5625rem 0;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.72);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  overflow: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.announce-bar.hidden { display: none; }
.announce-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(79,70,229,.07) 50%, transparent 100%);
  animation: announceSweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes announceSweep { 0%,100%{transform:translateX(-35%)} 50%{transform:translateX(35%)} }
.announce-inner {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  max-width: calc(100% - 3rem);
}
.announce-badge {
  background: rgba(165,180,252,.12);
  border: 1px solid rgba(165,180,252,.22);
  border-radius: var(--r-pill);
  padding: .15rem .625rem;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .08em;
  color: var(--c-green-neon);
  text-transform: uppercase; flex-shrink: 0;
}
.announce-text { color: rgba(255,255,255,.72); }
.announce-link {
  color: var(--c-green-lt); font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .25rem;
  transition: color .2s; white-space: nowrap;
}
.announce-link:hover { color: #fff; }
.announce-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.announce-close {
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: rgba(255,255,255,.35);
  cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 1.1rem;
  transition: all .2s; line-height: 1;
}
.announce-close:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }

/* Nav shift when announce bar is visible */
body.has-announce          { padding-top: 44px; }
body.has-announce #navbar  { top: 44px; }
body.has-announce #hero    { padding-top: 6rem; }

/* ─── HERO AURORA BACKGROUND ─────────────────────────────────── */
.hero-aurora {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.aurora-band { position: absolute; left: 0; right: 0; }
.aurora-band-1 {
  top: 10%; height: 380px;
  background: radial-gradient(ellipse 90% 100% at 20% 50%, rgba(79,70,229,.22) 0%, transparent 68%);
  animation: auroraDrift1 15s ease-in-out infinite;
}
.aurora-band-2 {
  top: 45%; height: 320px;
  background: radial-gradient(ellipse 80% 100% at 82% 50%, rgba(6,182,212,.12) 0%, transparent 68%);
  animation: auroraDrift2 19s ease-in-out infinite;
}
.aurora-band-3 {
  bottom: 5%; height: 260px;
  background: radial-gradient(ellipse 60% 100% at 45% 50%, rgba(99,102,241,.15) 0%, transparent 68%);
  animation: auroraDrift1 26s ease-in-out infinite reverse;
  animation-delay: -8s;
}
.aurora-band-4 {
  top: 60%; height: 200px;
  background: radial-gradient(ellipse 50% 100% at 35% 50%, rgba(165,180,252,.08) 0%, transparent 65%);
  animation: auroraDrift2 22s ease-in-out infinite reverse;
  animation-delay: -12s;
}
@keyframes auroraDrift1 {
  0%,100% { transform: translateX(-12%) scaleY(1); opacity: .7; }
  50%     { transform: translateX(12%) scaleY(1.12); opacity: 1; }
}
@keyframes auroraDrift2 {
  0%,100% { transform: translateX(10%) scaleY(1); opacity: .6; }
  50%     { transform: translateX(-10%) scaleY(.88); opacity: 1; }
}

/* ─── HERO TITLE UPGRADE ─────────────────────────────────────── */
.hero-title-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.022em;
  color: var(--c-text-inv);
  animation: fadeUp .7s .1s var(--ease-out) both;
}
.hero-title-xl span {
  display: block;
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── HERO FEATURE PILLS ─────────────────────────────────────── */
.hero-pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
  animation: fadeUp .8s .52s var(--ease-out) both;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .3125rem .875rem;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-pill);
  font-size: .7875rem; font-weight: 500;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  transition: all .2s var(--ease);
}
.hero-pill:hover {
  background: rgba(79,70,229,.14);
  border-color: rgba(99,102,241,.28);
  color: var(--c-green-lt);
  transform: translateY(-1px);
}
.hero-pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-green-lt); opacity: .85; flex-shrink: 0;
}

/* ─── SECTION INTRO ROW (header + inline CTA) ────────────────── */
.section-intro-row {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.section-intro-row .section-label { margin-bottom: .875rem; }
.section-intro-row h2 { margin: 0; }

/* ─── WHAT WE BUILD SECTION ──────────────────────────────────── */
#what-we-build {
  background: var(--c-bg-offwhite);
  /* top accent: visual bridge from dark trust strip above */
  border-top: 3px solid var(--c-green);
  box-shadow: inset 0 4px 24px rgba(79,70,229,.04);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.build-card {
  position: relative;
  background: var(--c-bg-white);
  border: 1.5px solid var(--c-bdr-light);
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem 2rem;
  display: flex; flex-direction: column; gap: 1.125rem;
  transition: all .35s var(--ease); overflow: hidden;
  --mx: 50%; --my: 50%;
}
.build-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(79,70,229,.07) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 0;
}
.build-card:hover::before { opacity: 1; }
.build-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--g-green); opacity: 0;
  transition: opacity .3s;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.build-card:hover {
  border-color: rgba(79,70,229,.22);
  box-shadow: 0 20px 60px rgba(10,14,34,.10);
  transform: translateY(-6px);
}
.build-card:hover::after { opacity: 1; }
.build-num {
  font-family: var(--font-display);
  font-size: 3.75rem; font-weight: 800;
  line-height: 1; letter-spacing: -.03em;
  color: rgba(79,70,229,.10);
  margin-bottom: -.5rem;
  user-select: none; display: block;
}
.build-icon {
  width: 60px; height: 60px;
  background: var(--c-bg-light);
  border: 1.5px solid var(--c-bdr-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  transition: all .3s var(--ease);
}
.build-card:hover .build-icon {
  background: rgba(79,70,229,.08);
  border-color: rgba(79,70,229,.18);
  transform: scale(1.06);
}
.build-title {
  font-family: var(--font-display);
  font-size: 1.3125rem; font-weight: 800;
  color: var(--c-text); line-height: 1.25;
}
.build-desc {
  font-size: .9375rem; color: var(--c-text-3);
  line-height: 1.72; flex: 1;
}
.build-tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.build-tag {
  font-size: .75rem; font-weight: 600;
  color: var(--c-green);
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.14);
  border-radius: var(--r-pill);
  padding: .2rem .625rem;
}
.build-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9rem; font-weight: 700;
  color: var(--c-green); text-decoration: none;
  transition: gap .2s var(--ease-spring);
  margin-top: .375rem;
}
.build-link svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s var(--ease-spring); }
.build-card:hover .build-link { gap: .75rem; }
.build-card:hover .build-link svg { transform: translateX(4px); }

/* ─── STATS LIGHT SECTION ────────────────────────────────────── */
.stats-light-section {
  background: var(--c-bg-white);
  border-top: 1px solid var(--c-bdr-light);
  border-bottom: 1px solid var(--c-bdr-light);
  padding: 5rem 0;
  position: relative; overflow: hidden;
}
.stats-light-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(79,70,229,.04) 0%, transparent 70%);
  pointer-events: none;
}
.stats-light-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 1;
}
.stat-lt {
  padding: 2.5rem 1.75rem;
  text-align: center;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .3s var(--ease);
}
.stat-lt:hover { transform: translateY(-4px); }
.stat-lt + .stat-lt::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--c-bdr-light);
}
.stat-lt-icon {
  width: 52px; height: 52px;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.14);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all .3s var(--ease);
}
.stat-lt:hover .stat-lt-icon {
  background: rgba(79,70,229,.14);
  border-color: rgba(79,70,229,.25);
  box-shadow: 0 4px 16px rgba(79,70,229,.15);
}
.stat-lt-icon svg { width: 24px; height: 24px; color: var(--c-green); }
.stat-lt-num {
  font-family: var(--font-display);
  font-size: clamp(2.625rem, 4.5vw, 3.75rem);
  font-weight: 800; line-height: 1; letter-spacing: -.02em;
  background: var(--g-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: flex; align-items: baseline; gap: .05em;
  margin-bottom: .625rem;
}
.stat-lt-suf {
  font-size: .6em;
  background: var(--g-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-lt-label { font-size: 1rem; font-weight: 600; color: var(--c-text-2); }
.stat-lt-sub   { font-size: .8rem; color: var(--c-text-3); margin-top: .2rem; }

/* ─── TESTIMONIALS V2 — SCROLL MARQUEE ──────────────────────── */
#testimonials { background: var(--c-bg-offwhite); overflow: hidden; }

.testi-marquee-wrap {
  position: relative; overflow: hidden;
  margin-top: 3rem;
}
.testi-marquee-wrap::before,
.testi-marquee-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.testi-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--c-bg-offwhite) 0%, transparent 100%);
}
.testi-marquee-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--c-bg-offwhite) 0%, transparent 100%);
}
.testi-track {
  display: flex; gap: 1.5rem;
  width: max-content;
  animation: testiScroll 55s linear infinite;
  padding: .5rem 0 1.5rem;
}
.testi-track:hover { animation-play-state: paused; }
@keyframes testiScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testi-card-v2 {
  flex-shrink: 0; width: 340px;
  background: var(--c-bg-white);
  border: 1px solid var(--c-bdr-light);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: .875rem;
  box-shadow: 0 2px 16px rgba(10,14,34,.05);
  transition: box-shadow .3s, transform .3s;
}
.testi-card-v2:hover {
  box-shadow: 0 8px 36px rgba(10,14,34,.10);
  transform: translateY(-4px);
}
.testi-stars-v2 { font-size: .875rem; color: #F59E0B; letter-spacing: .03em; }
.testi-text-v2 {
  font-size: .9125rem; color: var(--c-text-2);
  line-height: 1.72; flex: 1;
}
.testi-author-v2 {
  display: flex; align-items: center; gap: .75rem;
  padding-top: .875rem;
  border-top: 1px solid var(--c-bdr-light);
}
.testi-avatar-v2 {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--g-green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: .875rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testi-name-v2 { font-weight: 700; font-size: .875rem; color: var(--c-text); }
.testi-role-v2 { font-size: .75rem; color: var(--c-text-3); margin-top: .1rem; }

/* ─── FEATURE HIGHLIGHT STRIP ────────────────────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--c-bg-white);
  border: 1.5px solid var(--c-bdr-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 4rem;
}
.feature-strip-item {
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  border-right: 1px solid var(--c-bdr-light);
  transition: background .25s;
}
.feature-strip-item:last-child { border-right: none; }
.feature-strip-item:hover { background: var(--c-bg-light); }
.feature-strip-icon {
  width: 44px; height: 44px;
  background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.14);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.feature-strip-title { font-weight: 700; font-size: .9375rem; color: var(--c-text); }
.feature-strip-desc  { font-size: .8125rem; color: var(--c-text-3); line-height: 1.6; }

/* ─── TRUST MARQUEE FIX ──────────────────────────────────────── */
.trust-strip {
  background: var(--c-bg-brand);
  border-top: 1px solid var(--c-bdr-dark);
  border-bottom: 1px solid var(--c-bdr-dark);
  padding: 1.125rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.trust-label {
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: 0 1.5rem;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

/* ─── CTA SECTION UPGRADE ────────────────────────────────────── */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
.cta-grid-actions {
  display: flex; flex-direction: column; gap: 1.25rem;
  align-items: flex-start;
}
.cta-grid-actions .btn { align-self: flex-start; }
.cta-feature-list {
  display: flex; flex-direction: column; gap: .75rem;
  margin-top: .5rem;
}
.cta-feature-item {
  display: flex; align-items: flex-start; gap: .875rem;
  font-size: .9375rem; color: var(--c-text-inv-2);
}
.cta-feature-check {
  width: 22px; height: 22px;
  background: rgba(79,70,229,.25);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .1rem;
}
.cta-feature-check svg { width: 12px; height: 12px; color: var(--c-green-lt); }

/* ─── RESPONSIVE — NEW SECTIONS ──────────────────────────────── */
@media (max-width: 1000px) {
  .build-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body.has-announce #hero { padding-top: 5rem; }
  .build-grid { grid-template-columns: 1fr; }
  .stats-light-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-lt + .stat-lt::before { display: none; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip-item:nth-child(2) { border-right: none; }
  .feature-strip-item:nth-child(3) { border-top: 1px solid var(--c-bdr-light); }
  .feature-strip-item:nth-child(4) { border-top: 1px solid var(--c-bdr-light); border-right: none; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-grid-actions { align-items: center; }
  .section-intro-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 680px) {
  .announce-inner { font-size: .75rem; gap: .625rem; }
  .hero-pills { display: none; }
  .stats-light-grid { grid-template-columns: 1fr 1fr; }
  .testi-card-v2 { width: 290px; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip-item { border-right: none; border-bottom: 1px solid var(--c-bdr-light); }
  .feature-strip-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .stats-light-grid { grid-template-columns: 1fr 1fr; }
  .build-num { font-size: 3rem; }
  .testi-card-v2 { width: 260px; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.1 — COLOR & POLISH PASS
   Better contrast, card improvements, CTA fix, tech on light bg
════════════════════════════════════════════════════════════════ */

/* ─── CTA STRIP: FIX SECONDARY BUTTON VISIBILITY ON DARK BG ─── */
/* .btn-outline-dark has green text — nearly invisible on brand dark bg */
.cta-strip .btn-outline-dark {
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.28);
}
.cta-strip .btn-outline-dark:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
  border-color: rgba(255,255,255,.50);
  transform: translateY(-2px);
}

/* ─── TECH ITEMS ON LIGHT SECTION BACKGROUNDS ────────────────── */
.section-light .tech-item,
.section-offwhite .tech-item {
  background: var(--c-bg-white);
  border-color: var(--c-bdr-light);
}
.section-light .tech-item:hover,
.section-offwhite .tech-item:hover {
  background: var(--c-bg-offwhite);
  border-color: var(--c-bdr-green);
  box-shadow: var(--s-card);
}
.section-light .tech-name,
.section-offwhite .tech-name {
  color: var(--c-text-2);
}

/* ─── SERVICE DETAIL CARD DEPTH ──────────────────────────────── */
.service-detail-card:hover {
  box-shadow: 0 12px 48px rgba(10,14,34,.12);
}

/* ─── TESTIMONIAL CARD DEPTH ─────────────────────────────────── */
.testi-card-v2:hover {
  box-shadow: 0 12px 48px rgba(10,14,34,.12);
}

/* ─── ABOUT STORY SECTION: STAT BOX ON DARK VISUAL ──────────── */
/* Ensure the dark about-visual sits nicely on section-light */
.about-visual {
  box-shadow: 0 24px 72px rgba(0,0,0,.22);
}

/* ─── SECTION TITLE ACCENT — DARK SECTION GREEN TINT ─────────── */
/* Subtle left-border accent for dark section headings */
.section-dark .section-intro,
.section-brand .section-intro {
  border-left: none;
}

/* ─── PRODUCT PAGE HERO: BOTTOM GLOW ────────────────────────── */
.product-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,.4), transparent);
  pointer-events: none;
}

/* ─── PAGE HERO: GLOW ORBS ───────────────────────────────────── */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,.35), transparent);
  pointer-events: none;
}

/* ─── FEATURE CARD ICON: GREEN TINT ON HOVER ─────────────────── */
.feature-card:hover .feature-card-icon {
  background: rgba(79,70,229,.14);
  border-color: rgba(79,70,229,.28);
}

/* ─── SECTION DESC COLOR ON DARK SECTIONS ────────────────────── */
.section-dark .section-desc,
.section-brand .section-desc {
  color: var(--c-text-inv-2);
}
.section-dark .section-label,
.section-brand .section-label {
  color: var(--c-green-lt);
  background: rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.22);
}
.section-dark .section-title,
.section-brand .section-title {
  color: var(--c-text-inv);
}

/* ─── PROCESS STEPS ON DARK SECTION ─────────────────────────── */
.section-dark .process-step-title,
.section-brand .process-step-title { color: var(--c-text-inv); }
.section-dark .process-step-desc,
.section-brand .process-step-desc  { color: var(--c-text-inv-2); }
.section-dark .process-steps::before,
.section-brand .process-steps::before {
  background: linear-gradient(90deg, var(--c-green-lt) 0%, rgba(99,102,241,.2) 100%);
}

/* ─── WHY POINTS ON LIGHT BG (about page why section) ───────── */
.section-light .why-point-title { color: var(--c-text); }
.section-light .why-point-desc  { color: var(--c-text-3); }

/* ─── FAQ STANDALONE CATEGORY TITLE ─────────────────────────── */
.faq-category-title {
  color: var(--c-green);
  border-bottom-color: rgba(79,70,229,.18);
  letter-spacing: .06em;
}

/* ─── PRODUCT OVERVIEW CARD (products.php) ───────────────────── */
/* Already dark bg — ensure buttons work */
.section-darkest .btn-outline-dark {
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.28);
}
.section-darkest .btn-outline-dark:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
  border-color: rgba(255,255,255,.50);
}

/* ─── STATS GRID (products.php) on offwhite ──────────────────── */
/* stat-card defaults to dark-bg styling; override for light sections */
.section-offwhite .stat-card {
  background: var(--c-bg-white);
  border-color: var(--c-bdr-light);
  box-shadow: 0 2px 16px rgba(10,14,34,.05);
}
.section-offwhite .stat-card:hover {
  border-color: var(--c-bdr-green);
  box-shadow: var(--s-card);
  background: var(--c-bg-white);
}
.section-offwhite .stat-number { color: var(--c-green); }
.section-offwhite .stat-number .count { color: var(--c-green); }
.section-offwhite .stat-suffix { color: var(--c-green-lt); }
.section-offwhite .stat-label  { color: var(--c-text-2); font-weight: 500; }
.section-offwhite .stat-icon {
  background: rgba(79,70,229,.08);
  border-color: rgba(79,70,229,.16);
}
.section-offwhite .stat-icon svg { color: var(--c-green); }

/* ─── SECTION-DARK BORDER-TOP ACCENT LINE ────────────────────── */
.section-dark,
.section-darkest {
  border-top: 1px solid var(--c-bdr-dark);
  border-bottom: 1px solid var(--c-bdr-dark);
}

/* ─── PAGE HERO & PRODUCT HERO: FIX OUTLINE BUTTON CONTRAST ──── */
/* btn-outline-dark (green text/border) is unreadable on dark hero bgs */
.page-hero .btn-outline-dark,
.product-page-hero .btn-outline-dark,
.contact-hero .btn-outline-dark {
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.28);
}
.page-hero .btn-outline-dark:hover,
.product-page-hero .btn-outline-dark:hover,
.contact-hero .btn-outline-dark:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
  border-color: rgba(255,255,255,.50);
}

/* ─── SECTION LIGHT: IMPROVE WHY-POINT ICON CONTRAST ─────────── */
.section-light .why-point-icon {
  background: var(--c-bg-white);
  border-color: rgba(79,70,229,.18);
}

/* ─── ABOUT VALUES GRID: CARDS POP ON OFFWHITE SECTION ──────── */
.about-values-grid .value-card {
  box-shadow: 0 2px 16px rgba(10,14,34,.06);
}
.about-values-grid .value-card:hover {
  box-shadow: var(--s-card);
}

/* ─── PRODUCT PAGE STATS: STAT VALUES STYLED FOR LIGHT BG ───── */
.product-page-stat-val {
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SERVICE DETAIL ICON: ICON COLOR FIX ────────────────────── */
.service-detail-icon svg { color: var(--c-green); }

/* ─── FAV ITEM BACKGROUND FIX ────────────────────────────────── */
.faq-item {
  box-shadow: 0 1px 4px rgba(10,14,34,.04);
}

/* ─── SECTION TRANSITIONS (smooth light→dark) ────────────────── */
/* Gradient separator between light and dark sections */
.section-dark::before,
.section-darkest::before,
.section-brand::before {
  /* Don't override existing ::before rules — handled per-ID */
}

/* ─── RESPONSIVE FIXES FOR NEW STYLES ───────────────────────── */
@media (max-width: 680px) {
  .cta-strip-actions .btn { width: 100%; justify-content: center; }
  .product-page-stats { gap: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.2 — PREMIUM EFFECTS & INTERACTIONS
   Online R&D pass: animated gradients, shimmer sweeps, grain
   texture, cursor spotlight, orb parallax, magnetic CTA,
   radar pulse, trust strip fade, extended reveal system
════════════════════════════════════════════════════════════════ */

/* ─── 1. ANIMATED HERO GRADIENT TEXT ────────────────────────── */
/* Slow shimmer scans left-to-right on gradient text in heroes */
.hero-title-xl span,
.hero-title span {
  background-image: linear-gradient(
    135deg,
    #4F46E5 0%,
    #818CF8 25%,
    #06B6D4 50%,
    #818CF8 75%,
    #4F46E5 100%
  );
  background-size: 260% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroGradientFlow 4.5s linear infinite;
}
@keyframes heroGradientFlow {
  0%   { background-position:   0% center; }
  100% { background-position: 260% center; }
}

/* ─── 2. CTA BUTTON BREATHING GLOW ──────────────────────────── */
.btn-primary {
  animation: ctaBreath 3.5s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
}
@keyframes ctaBreath {
  0%, 100% { box-shadow: 0 8px 32px rgba(79,70,229,.30); }
  50%       { box-shadow: 0 8px 52px rgba(79,70,229,.58), 0 0 28px rgba(165,180,252,.12); }
}

/* ─── 3. GRAIN TEXTURE — HERO ────────────────────────────────── */
/* Subtle film-grain via inline SVG turbulence — adds premium depth */
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
  z-index: 1;           /* above .hero-bg orbs; below .hero-content (z-index:2) */
  mix-blend-mode: overlay;
  opacity: .55;
}

/* ─── 4. CARD SHIMMER SWEEP ──────────────────────────────────── */
/* Light glide across card on hover — on cards without existing ::after */
.testimonial-card,
.stat-card {
  position: relative;
  overflow: hidden;
}
.testimonial-card::after,
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: -75%; bottom: 0;
  width: 55%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,.05) 40%,
    rgba(255,255,255,.10) 50%,
    rgba(255,255,255,.05) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
  transition: left 0s;
}
.testimonial-card:hover::after,
.stat-card:hover::after {
  left: 150%;
  transition: left .8s ease;
}

/* ─── 5. FAQ ITEM GREEN SHIMMER ON OPEN ──────────────────────── */
.faq-item {
  position: relative;
}
.faq-item::after {
  content: '';
  position: absolute;
  top: 0; left: -75%; bottom: 0;
  width: 55%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(79,70,229,.07) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
  transition: left 0s;
}
.faq-item.open::after {
  left: 150%;
  transition: left 1.0s ease;
}

/* ─── 6. PROCESS STEP RADAR PULSE ────────────────────────────── */
/* Expanding ring emitted from step circles on scroll-revealed sections */
.process-number {
  animation: radarPulse 3s ease-out infinite;
}
@keyframes radarPulse {
  0%   { box-shadow: var(--s-green), 0 0 0 0   rgba(79,70,229,.45); }
  65%  { box-shadow: var(--s-green), 0 0 0 14px rgba(79,70,229,0); }
  100% { box-shadow: var(--s-green), 0 0 0 0   rgba(79,70,229,0); }
}

/* ─── 7. ANNOUNCEMENT BADGE SHIMMER ─────────────────────────── */
.announce-badge {
  position: relative;
  overflow: hidden;
}
.announce-badge::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,.30) 50%,
    transparent 100%
  );
  transform: translateX(-150%);
  animation: badgeSweep 4s ease-in-out infinite 2.5s;
  pointer-events: none;
}
@keyframes badgeSweep {
  0%, 65%, 100% { transform: translateX(-150%); }
  32%            { transform: translateX(250%); }
}

/* ─── 8. TRUST STRIP EDGE FADE ────────────────────────────────── */
/* Logos fade in/out at edges for clean infinite-loop feel */
#trust-strip {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* ─── 9. NAV ACTIVE LINK — UNDERLINE INDICATOR ───────────────── */
.nav-links a.active {
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--c-green-lt);
  border-radius: var(--r-pill);
  opacity: .8;
}

/* ─── 10. HERO PILL ENHANCED HOVER ──────────────────────────── */
.hero-pill:hover {
  box-shadow: 0 0 14px rgba(99,102,241,.20);
}

/* ─── 11. CURSOR SPOTLIGHT SUPPORT ───────────────────────────── */
/* JS appends .cursor-spotlight div to dark sections; CSS styles it */
.cursor-spotlight {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(79,70,229,.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity .5s ease;
}

/* ─── 12. HERO ORBS — PARALLAX PREP ─────────────────────────── */
/* JS moves orbs on mouse; CSS ensures smooth transition */
.hero-orb {
  will-change: transform;
  transition: transform .15s linear;
}

/* ─── 13. MAGNETIC BUTTON — TRANSFORM PREP ───────────────────── */
.btn-primary.btn-lg {
  will-change: transform;
}

/* ─── 14. EXTENDED REVEAL DELAYS ─────────────────────────────── */
[data-delay="7"]  { transition-delay: .70s; }
[data-delay="8"]  { transition-delay: .80s; }
[data-delay="9"]  { transition-delay: .90s; }
[data-delay="10"] { transition-delay: 1.00s; }

/* ─── 15. BLUR-UP REVEAL VARIANT ─────────────────────────────── */
/* More premium entrance: combine translate + blur fade */
[data-reveal="blur-up"] {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition:
    opacity  .85s var(--ease-out),
    transform .85s var(--ease-out),
    filter    .85s var(--ease-out);
}
[data-reveal="blur-up"].revealed {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ─── 16. ENHANCED CARD HOVER SHADOWS ────────────────────────── */
/* Inset top highlight adds glass-like depth on dark cards */
.product-card:hover,
.product-card:focus-within {
  box-shadow:
    0 24px 64px rgba(0,0,0,.40),
    0 0 40px rgba(79,70,229,.12),
    inset 0 1px 0 rgba(255,255,255,.07);
}
.stat-card:hover {
  box-shadow:
    0 8px 32px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* ─── 17. SECTION-DARK TOP GLOW ACCENT ───────────────────────── */
/* Luminous top glow edge — applied only to .section-dark (safe — no per-ID conflicts) */
.section-dark {
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.30), transparent);
  z-index: 1;
  pointer-events: none;
}

/* ─── 18. FOOTER SOCIAL LINK GLOW ───────────────────────────── */
.social-link:hover {
  box-shadow: 0 0 16px rgba(99,102,241,.20);
}

/* ─── 19. SECTION LABEL SUBTLE PULSE ────────────────────────── */
/* Very subtle background pulse — draws eye to section labels */
.section-label {
  animation: labelPulse 5s ease-in-out infinite;
}
@keyframes labelPulse {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 0 5px rgba(79,70,229,.06); }
}
/* Stop on dark sections — they already have custom label styles */
.section-dark .section-label,
.section-brand .section-label,
.section-darkest .section-label {
  animation: none;
}

/* ─── 20. WHY-MODULE HOVER LIFT ──────────────────────────────── */
.why-module {
  transition: all var(--dur-base) var(--ease);
}
.why-module:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(79,70,229,.30);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ─── 21. TECH ICON SPIN ON HOVER ────────────────────────────── */
.tech-item:hover .tech-icon {
  display: inline-block;
  animation: iconWiggle .4s var(--ease-spring);
}
@keyframes iconWiggle {
  0%   { transform: scale(1)    rotate(0deg); }
  30%  { transform: scale(1.2)  rotate(-8deg); }
  60%  { transform: scale(1.15) rotate(6deg); }
  100% { transform: scale(1)    rotate(0deg); }
}

/* ─── 22. BUILD CARD NUMBER COLOR ───────────────────────────── */
/* Make the faded number respond to hover — slightly more visible */
.build-card:hover .build-num {
  color: rgba(79,70,229,.18);
  transition: color var(--dur-base);
}

/* ─── 23. SERVICE ICON FLOAT ON HOVER ───────────────────────── */
.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  transform: translateY(-3px);
}

/* ─── 24. HERO STATS SEPARATOR GLOW ────────────────────────── */
.hero-stat-sep {
  background: linear-gradient(to bottom, transparent, rgba(99,102,241,.3), transparent);
}

/* ─── 25. DASHBOARD MOCKUP AMBIENT GLOW ─────────────────────── */
.dashboard-mockup {
  box-shadow:
    0 24px 80px rgba(0,0,0,.50),
    0 0 0 1px rgba(79,70,229,.15),
    0 0 60px rgba(79,70,229,.08);
}

/* ─── 26. SCROLL-TO-TOP HOVER GLOW ──────────────────────────── */
#scroll-top:hover {
  box-shadow: 0 0 16px rgba(79,70,229,.35);
}

/* ─── 27. SECTION-OFFWHITE CARD HOVER ACCENT ────────────────── */
/* Light cards on offwhite get green-tinted shadow on hover */
.section-offwhite .service-card:hover,
.section-offwhite .feature-card:hover,
.section-offwhite .value-card:hover {
  box-shadow: 0 12px 40px rgba(79,70,229,.10), 0 4px 16px rgba(79,70,229,.06);
}

/* ─── 28. FOOTER NEWSLETTER INPUT FOCUS GLOW ─────────────────── */
.newsletter-input:focus {
  box-shadow: 0 0 0 3px rgba(79,70,229,.18), 0 0 12px rgba(79,70,229,.08);
}

/* ─── REDUCE MOTION — CANCEL ALL v3.2 ANIMATIONS ────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-title-xl span,
  .hero-title span         { animation: none; background-size: 100%; }
  .btn-primary             { animation: none; }
  .announce-badge::after   { animation: none; }
  .process-number          { animation: none; }
  .section-label           { animation: none; }
  .tech-item:hover .tech-icon { animation: none; }
  .hero-orb                { will-change: auto; transition: none; }
  .cursor-spotlight        { display: none; }
  [data-reveal="blur-up"]  { filter: none; }
}

/* ─── 29. SECTION LABEL ENTRANCE ANIMATION ───────────────────── */
/* Triggered by JS IntersectionObserver when label enters viewport */
@keyframes labelEntrance {
  from { opacity: 0; transform: translateY(-6px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

/* ─── MOBILE — REDUCE ANIMATION LOAD ─────────────────────────── */
@media (max-width: 680px) {
  .process-number { animation: none; }
  .section-label  { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   v3.3 — ROTATING COMET BORDER · FEATURE BOTTOM LINE
══════════════════════════════════════════════════════════════ */

/* ─── 30. PRODUCT CARD ROTATING COMET GLOW ──────────────────── */
/*
   A bright comet sweeps around the inner card edge on hover.
   Conic-gradient + transform:rotate() — no @property needed.
   mix-blend-mode:screen brightens the card rim without obscuring
   text. isolation:isolate keeps the blend inside the card box.
   ::after is free (product-card uses only ::before for top bar).
*/
.product-card {
  isolation: isolate;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent         0deg,
    transparent         290deg,
    rgba(79,70,229,.22) 318deg,
    rgba(165,180,252,.52) 352deg,
    transparent         360deg
  );
  mix-blend-mode: screen;
  filter: blur(20px);
  opacity: 0;
  animation: cometSpin 3.5s linear infinite paused;
  pointer-events: none;
  z-index: 2;
  transition: opacity .45s ease;
}
.product-card:hover::after,
.product-card:focus-within::after {
  opacity: 1;
  animation-play-state: running;
}
@keyframes cometSpin {
  to { transform: rotate(360deg); }
}

/* ─── 31. FEATURE CARD BOTTOM GLOW LINE ──────────────────────── */
/*
   Gradient line expands from center-bottom on hover — pairs with
   the existing ::before top bar for a "bracketed" hover state.
   feature-card already has overflow:hidden + position:relative.
*/
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(165,180,252,.52) 30%,
    rgba(99,102,241,.80) 50%,
    rgba(165,180,252,.52) 70%,
    transparent
  );
  border-radius: var(--r-pill);
  transition: transform .38s var(--ease-spring);
  pointer-events: none;
}
.feature-card:hover::after,
.feature-card:focus-within::after {
  transform: translateX(-50%) scaleX(1);
}

/* ─── v3.3 REDUCE MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .product-card::after { display: none; }
}

/* ─── v3.3 MOBILE ────────────────────────────────────────────── */
@media (max-width: 680px) {
  .product-card::after { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   v4.0 — MIDNIGHT INDIGO REDESIGN + PREMIUM EFFECTS
   Inspired by Linear, Vercel, Raycast, Clerk 2025-2026
   New: typewriter cursor · floating particles · glowing grid
   enhanced glassmorphism · neon labels · bento cards · cyan highlights
══════════════════════════════════════════════════════════════ */

/* ─── 32. HERO GRID — INDIGO MESH ───────────────────────────── */
/* Brighter, more visible grid lines with indigo tint */
.hero-grid {
  background-image:
    linear-gradient(rgba(99,102,241,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.09) 1px, transparent 1px);
}

/* ─── 33. TYPEWRITER CURSOR ON HERO TITLE ────────────────────── */
/* Blinking pipe character after the animated gradient headline */
.hero-title-xl span::after,
.hero-title span::after {
  content: '|';
  display: inline;
  -webkit-text-fill-color: var(--c-green-neon);
  color: var(--c-green-neon);
  animation: cursorBlink 1.1s step-end infinite;
  margin-left: .05em;
  font-weight: 300;
  opacity: .9;
}
@keyframes cursorBlink {
  0%, 100% { opacity: .9; }
  50%       { opacity: 0; }
}

/* ─── 34. NEON LABEL GLOW — DARK SECTIONS ───────────────────── */
/* Section labels in dark contexts get an electric violet glow */
.section-dark .section-label,
.section-darkest .section-label,
.section-brand .section-label,
.page-hero .section-label,
.product-page-hero .section-label {
  color: var(--c-green-xl);
  background: rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.28);
  box-shadow: 0 0 18px rgba(99,102,241,.18), inset 0 0 8px rgba(99,102,241,.06);
  text-shadow: 0 0 12px rgba(165,180,252,.6);
}

/* ─── 35. HERO BADGE — PULSING BORDER ───────────────────────── */
/* Animated gradient border on hero trust badge (combined with fadeDown) */
.hero-badge {
  animation: fadeDown .6s var(--ease-out) both, badgeBorderPulse 4s .65s ease-in-out infinite;
}
@keyframes badgeBorderPulse {
  0%,100% { box-shadow: 0 0 0 1px rgba(79,70,229,.30), 0 0 12px rgba(79,70,229,.10); }
  50%      { box-shadow: 0 0 0 1px rgba(165,180,252,.60), 0 0 24px rgba(99,102,241,.22); }
}

/* ─── 36. FLOATING PARTICLE DOTS — HERO ─────────────────────── */
/* Pure-CSS floating dots scattered in hero bg */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(165,180,252,.45);
  pointer-events: none;
  animation: particleDrift var(--dur, 12s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes particleDrift {
  0%,100% { transform: translate(0,0) scale(1); opacity: .45; }
  33%      { transform: translate(var(--x,20px), var(--y,-30px)) scale(1.1); opacity: .7; }
  66%      { transform: translate(var(--x2,-15px), var(--y2,20px)) scale(.9); opacity: .3; }
}

/* ─── 37. ENHANCED GLASSMORPHISM CARDS ──────────────────────── */
/* Float cards get proper glass treatment with indigo reflection */
.hero-float-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(99,102,241,.30);
  box-shadow: 0 8px 32px rgba(0,0,0,.30), inset 0 1px 0 rgba(165,180,252,.15);
}
.dashboard-mockup {
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: rgba(79,70,229,.28);
  box-shadow:
    0 32px 96px rgba(0,0,0,.55),
    0 0 0 1px rgba(79,70,229,.18),
    0 0 80px rgba(79,70,229,.10),
    inset 0 1px 0 rgba(165,180,252,.10);
}

/* ─── 38. ANNOUNCE BAR — GRADIENT BORDER + SHIMMER ─────────── */
.announce-bar {
  background: linear-gradient(135deg, #060714 0%, #08092A 50%, #060714 100%);
  border-bottom: 1px solid rgba(99,102,241,.25);
}
.announce-bar::after {
  background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,.10) 50%, transparent 100%);
}
.announce-badge {
  background: rgba(165,180,252,.15);
  border-color: rgba(165,180,252,.30);
  color: #C4B5FD;
}

/* ─── 39. HERO STAT SEPARATOR ───────────────────────────────── */
.hero-stat-sep {
  background: linear-gradient(to bottom, transparent, rgba(99,102,241,.4), transparent);
}
.hero-stat-num {
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── 40. SCROLL PROGRESS BAR — INDIGO ─────────────────────── */
#scroll-progress {
  background: linear-gradient(90deg, #4F46E5, #818CF8, #06B6D4);
  box-shadow: 0 0 8px rgba(99,102,241,.60);
}

/* ─── 41. SERVICE CARD — ELECTRIC HOVER ─────────────────────── */
/* Left-border accent on hover (v4.0 upgrade to v2 style) */
.service-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #4F46E5, #818CF8, #06B6D4);
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity .35s var(--ease), transform .35s var(--ease-spring);
}
.service-card:hover::after,
.service-card:focus-within::after {
  opacity: 1;
  transform: scaleY(1);
}

/* ─── 42. STAT CARD — GRADIENT ACCENT TOP BAR ───────────────── */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4F46E5, #818CF8, #06B6D4);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.stat-card:hover::before { opacity: 1; }

/* ─── 43. SECTION SEPARATOR GLOW LINE ───────────────────────── */
/* Luminous separator between key section transitions */
.section-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.25), transparent);
  pointer-events: none;
}

/* ─── 44. STATS-LIGHT SECTION — INDIGO TINT NUMBERS ─────────── */
/* Make the .stat-lt numbers pop with gradient */
.stat-lt-num {
  background: linear-gradient(135deg, #4F46E5, #818CF8, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── 45. ENHANCED NAV ACTIVE STATE ─────────────────────────── */
.nav-links a.active {
  color: var(--c-green-xl);
  background: rgba(99,102,241,.10);
}
.nav-links a.active::after {
  background: linear-gradient(90deg, #4F46E5, #06B6D4);
}

/* ─── 46. HERO PILL — ELECTRIC HOVER ────────────────────────── */
.hero-pill {
  border-color: rgba(99,102,241,.20);
  background: rgba(79,70,229,.07);
}
.hero-pill:hover {
  background: rgba(79,70,229,.16);
  border-color: rgba(99,102,241,.40);
  box-shadow: 0 0 18px rgba(99,102,241,.22);
}
.hero-pill-dot { background: var(--c-electric); box-shadow: 0 0 8px var(--c-electric); }

/* ─── 47. WHY MODULE — GLASS CARD ───────────────────────────── */
.why-module {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(99,102,241,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.why-module:hover {
  background: rgba(99,102,241,.10);
  border-color: rgba(99,102,241,.35);
  box-shadow: 0 8px 32px rgba(79,70,229,.12);
}

/* ─── 48. PROCESS NUMBER — INDIGO RING ──────────────────────── */
.process-number {
  background: linear-gradient(135deg, #4F46E5, #6366F1);
  box-shadow: 0 4px 16px rgba(79,70,229,.40);
}

/* ─── 49. TESTIMONIAL CARD — GLASS DEPTH ────────────────────── */
.testimonial-card {
  border-color: rgba(99,102,241,.15);
  background: rgba(255,255,255,.035);
}
.testimonial-card:hover {
  border-color: rgba(99,102,241,.30);
  box-shadow: 0 12px 40px rgba(0,0,0,.25), 0 0 24px rgba(79,70,229,.08);
}

/* ─── 50. FOOTER — GRADIENT DIVIDER ─────────────────────────── */
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,.40), rgba(6,182,212,.25), transparent);
  pointer-events: none;
}
#footer { position: relative; }

/* ─── 51. CTA SECTION — RADIAL GLOW BG ─────────────────────── */
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 50%, rgba(79,70,229,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 75% 50%, rgba(6,182,212,.08) 0%, transparent 60%);
  pointer-events: none;
}
#cta { position: relative; }

/* ─── 52. PRODUCT CARD COMET — INDIGO/CYAN ──────────────────── */
/* Override v3.3 comet to use indigo → cyan sweep */
.product-card::after {
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent         0deg,
    transparent         290deg,
    rgba(79,70,229,.22) 318deg,
    rgba(6,182,212,.55) 352deg,
    transparent         360deg
  );
}

/* ─── v4.0 REDUCE MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-title-xl span::after, .hero-title span::after { animation: none; }
  .hero-badge { animation: none; }
  .hero-particle { animation: none; }
  #scroll-progress { box-shadow: none; }
}

/* ─── v4.0 MOBILE ────────────────────────────────────────────── */
@media (max-width: 680px) {
  .hero-particle { display: none; }
  .hero-title-xl span::after, .hero-title span::after { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   v4.1 — CUSTOM CURSOR · BENTO FEEL · VIVID AURORA BOOST
   Research-confirmed: custom cursor = top differentiator on
   award-winning SaaS sites (Linear, Framer, Raycast 2025-26)
══════════════════════════════════════════════════════════════ */

/* ─── 53. CUSTOM CURSOR GLOW FOLLOWER ───────────────────────── */
/* Small glowing dot + larger diffuse halo track mouse on desktop */
#cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  border-radius: 50%;
  mix-blend-mode: screen;
  transition: transform .12s var(--ease), opacity .3s ease;
}
#cursor-dot.cursor-inner {
  width: 8px; height: 8px;
  background: rgba(165,180,252,.95);
  box-shadow: 0 0 12px rgba(165,180,252,.8), 0 0 4px rgba(99,102,241,1);
  transform: translate(-50%,-50%);
}
#cursor-dot.cursor-halo {
  width: 38px; height: 38px;
  background: radial-gradient(circle, rgba(79,70,229,.22) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  transition: width .18s var(--ease), height .18s var(--ease), opacity .3s ease, transform .22s var(--ease);
}
/* Expand halo when hovering interactive elements */
body.cursor-hovering #cursor-dot.cursor-halo {
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(99,102,241,.30) 0%, transparent 70%);
}
body.cursor-hovering #cursor-dot.cursor-inner {
  transform: translate(-50%,-50%) scale(1.6);
  background: rgba(6,182,212,.90);
  box-shadow: 0 0 16px rgba(6,182,212,.8);
}
/* Hide on touch/mobile */
@media (hover: none), (pointer: coarse) {
  #cursor-dot { display: none !important; }
}

/* ─── 54. VIVID AURORA BOOST ─────────────────────────────────── */
/* Increase aurora saturation for more visual punch */
.aurora-band-1 {
  opacity: .9;
  background: radial-gradient(ellipse 95% 100% at 15% 50%, rgba(79,70,229,.30) 0%, transparent 65%);
}
.aurora-band-2 {
  opacity: .85;
  background: radial-gradient(ellipse 85% 100% at 85% 50%, rgba(6,182,212,.18) 0%, transparent 65%);
}

/* ─── 55. BENTO-STYLE FEATURE HIGHLIGHT ─────────────────────── */
/* Wide "spotlight" card variant for bento grid use */
.bento-wide {
  grid-column: span 2;
}
.bento-tall {
  grid-row: span 2;
}
.bento-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(99,102,241,.16);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-base) var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g-card-dark);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.bento-card:hover { border-color: rgba(99,102,241,.35); transform: translateY(-3px); }
.bento-card:hover::before { opacity: 1; }
.bento-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.bento-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-text-inv);
  margin-bottom: .5rem;
}
.bento-card-desc {
  font-size: .9rem;
  color: var(--c-text-inv-3);
  line-height: 1.65;
}

/* ─── 56. LINK UNDERLINE — GRADIENT HOVER ────────────────────── */
/* Anchors in light sections get indigo→cyan gradient underline */
.section-light a:not(.btn),
.section-offwhite a:not(.btn),
.section-white a:not(.btn) {
  text-decoration: none;
  background-image: linear-gradient(90deg, #4F46E5, #06B6D4);
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  background-position: 0 100%;
  transition: background-size .3s var(--ease);
}
.section-light a:not(.btn):hover,
.section-offwhite a:not(.btn):hover,
.section-white a:not(.btn):hover {
  background-size: 100% 1.5px;
}

/* ─── v4.1 REDUCE MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #cursor-dot { display: none; }
  .aurora-band-1, .aurora-band-2 { animation: none; }
}
