/* ══════════════════════════════════════════════════════════════
   KG PARTNERS — ULTRA-CLEAN APPLE ENTERPRISE DESIGN SYSTEM
   Featuring Seamless Apple Glassmorphism, Dual Themes & Precision Typography
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ─── DESIGN TOKENS (DARK MODE DEFAULT) ─────────────────────── */
:root {
  --color-scheme: dark;

  /* Seamless Unified Background Canvas */
  --bg-main: #080B11;
  --bg-canvas: #080B11;
  --bg-surface: rgba(16, 22, 36, 0.65);
  --bg-surface-elevated: rgba(24, 32, 52, 0.78);
  --bg-surface-hover: rgba(30, 41, 66, 0.9);
  --bg-glass: rgba(14, 19, 31, 0.75);
  --bg-card: rgba(16, 22, 36, 0.65);
  --bg-header: rgba(8, 11, 17, 0.8);
  --bg-footer: #05070B;
  --bg-grid: rgba(255, 255, 255, 0.02);

  /* Apple Specular Borders */
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-specular: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(245, 158, 11, 0.35);
  --border-hover: rgba(245, 158, 11, 0.6);

  /* Signature Primary: Warm Electric Amber / Gold */
  --primary: #F59E0B;
  --primary-light: #FBBF24;
  --primary-dark: #D97706;
  --primary-glow: rgba(245, 158, 11, 0.18);
  --primary-glow-strong: rgba(245, 158, 11, 0.35);

  /* High-Contrast Typography */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-inverse: #080B11;

  /* Accents */
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.16);
  --accent-rose: #F43F5E;
  --accent-rose-glow: rgba(244, 63, 94, 0.14);
  --accent-blue: #3B82F6;

  /* Typography Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Apple Glass Inset & Elevation */
  --shadow-subtle: 0 4px 24px rgba(0, 0, 0, 0.28), 0 1px 0 var(--border-specular) inset;
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.45), 0 1px 0 var(--border-specular) inset;
  --shadow-glow: 0 0 50px rgba(245, 158, 11, 0.14);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── LIGHT MODE DESIGN TOKENS (PRISTINE APPLE CANVAS) ───────── */
[data-theme="light"] {
  --color-scheme: light;

  /* Pristine Apple Off-White & Seamless Surface */
  --bg-main: #F8F9FA;
  --bg-canvas: #F8F9FA;
  --bg-surface: rgba(255, 255, 255, 0.85);
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-header: rgba(248, 249, 250, 0.85);
  --bg-footer: #EFF2F5;
  --bg-grid: rgba(0, 0, 0, 0.035);

  /* Crisp Light Specular Borders */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-specular: rgba(255, 255, 255, 0.95);
  --border-accent: rgba(217, 119, 6, 0.38);
  --border-hover: rgba(217, 119, 6, 0.65);

  /* Primary Accent tuned for pristine light contrast */
  --primary: #D97706;
  --primary-light: #F59E0B;
  --primary-dark: #B45309;
  --primary-glow: rgba(217, 119, 6, 0.12);
  --primary-glow-strong: rgba(217, 119, 6, 0.25);

  /* Crisp Legible Text */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
  --text-inverse: #FFFFFF;

  /* Accents */
  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.12);
  --accent-rose: #E11D48;
  --accent-rose-glow: rgba(225, 29, 72, 0.1);
  --accent-blue: #2563EB;

  /* Light Mode Apple Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 0 #FFFFFF inset;
  --shadow-elevated: 0 16px 40px rgba(0, 0, 0, 0.08), 0 1px 0 #FFFFFF inset;
  --shadow-glow: 0 0 40px rgba(217, 119, 6, 0.08);
}

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Subtle architectural grid pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

/* ─── TYPOGRAPHY & ALIGNMENT ───────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

strong {
  color: var(--text-main);
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Gradient Highlights */
.text-gradient {
  background: linear-gradient(135deg, var(--text-main) 20%, var(--text-muted) 65%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0F172A 30%, #334155 70%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-amber { color: var(--primary) !important; }
.text-emerald { color: var(--accent-emerald) !important; }
.text-rose { color: var(--accent-rose) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-main { color: var(--text-main) !important; }

/* ─── LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
  background: transparent; /* Uniform seamless canvas */
  border-top: 1px solid var(--border-subtle);
}

section:first-of-type,
section.hero-section {
  border-top: none;
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }
}

/* ─── SECTION HEADERS (PRECISION ALIGNED) ──────────────────── */
.section-head {
  margin-bottom: 3.75rem;
}

.section-head.text-center {
  text-align: center;
}

.section-head.text-center .badge-pill {
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin-bottom: 1.15rem;
}

.section-head p {
  max-width: 64ch;
  font-size: 1.05rem;
  line-height: 1.72;
}

.section-head.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ─── APPLE GLASSMORPHISM PILLS & BADGES ───────────────────── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 0 var(--border-specular) inset, 0 4px 14px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.badge-pill.emerald {
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.badge-pill.rose {
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--accent-rose);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.3); }
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  border: 1px solid transparent;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-primary {
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
  color: #080B11;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.28), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.25), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.38), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  color: #000;
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-medium);
  box-shadow: 0 1px 0 var(--border-specular) inset;
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-subtle);
  box-shadow: 0 1px 0 var(--border-specular) inset;
}

.btn-outline:hover {
  background: var(--bg-surface-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.82rem; }
.btn-lg { padding: 1.05rem 2.25rem; font-size: 1rem; border-radius: var(--radius-md); }

/* ─── THEME TOGGLE BUTTON ──────────────────────────────────── */
.theme-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all var(--transition-fast);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-specular) inset;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-normal);
}

.icon-sun { display: none; }
.icon-moon { display: block; }

[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* ─── APPLE GLASS CARDS (EQUAL HEIGHT ALIGNED) ─────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-subtle);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  transition: transform var(--transition-smooth), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px) scale3d(1.01, 1.01, 1.01);
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
}

.card-top-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.8;
}

/* ─── NAVIGATION BAR (FROSTED FLOATING HEADER) ─────────────── */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.site-header.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-header);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12), 0 1px 0 var(--border-specular) inset;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, #D97706 100%);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080B11;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.brand-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 0.35rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--text-main);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 9px;
  flex-direction: column;
  justify-content: space-around;
  transition: all var(--transition-fast);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 360px);
  height: 100vh;
  background: var(--bg-surface-elevated);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  backdrop-filter: blur(36px) saturate(190%);
  border-left: 1px solid var(--border-subtle);
  z-index: 1050;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.4);
}

.mobile-drawer.open { right: 0; }

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-drawer-close {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: auto;
}

.mobile-drawer-links a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ─── HERO SECTION ─────────────────────────────────────────── */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 7rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  perspective: 1200px;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 65vw;
  height: 550px;
  background: radial-gradient(ellipse at center, var(--primary-glow) 0%, rgba(59, 130, 246, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 1.4rem;
  margin-bottom: 2.2rem;
  max-width: 58ch;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

/* ─── LIVE REVENUE DASHBOARD (APPLE GLASS 3D TILT) ─────────── */
.dashboard-preview {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  box-shadow: var(--shadow-elevated);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  backdrop-filter: blur(32px) saturate(190%);
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.dash-metrics-hero {
  margin-bottom: 1.5rem;
}

.dash-metric-label {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.dash-metric-val {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.dash-growth-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--accent-emerald-glow);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 85px;
  padding: 0.5rem 0 0.8rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-bar {
  flex: 1;
  background: var(--primary-glow);
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 12px;
  transition: background var(--transition-fast);
}

.dash-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--primary) 0%, rgba(245, 158, 11, 0.4) 100%);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 0 10px var(--primary-glow);
}

.dash-bar:hover { background: var(--primary-glow-strong); }
.dash-bar.active::after {
  background: linear-gradient(180deg, #FBBF24 0%, var(--primary) 100%);
  box-shadow: 0 0 14px var(--primary-glow-strong);
}

.dash-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.dash-stat-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: 0 1px 0 var(--border-specular) inset;
}

.dash-stat-title {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.dash-stat-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ─── GRID SYSTEMS (PERFECT ROW ALIGNMENT) ─────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  align-items: stretch;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.65rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ─── PROBLEM MATRIX CARDS ─────────────────────────────────── */
.problem-card {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.problem-card:hover {
  border-color: rgba(244, 63, 94, 0.35);
  background: var(--bg-surface-elevated);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.problem-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--accent-rose-glow);
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.35rem;
}

.problem-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.problem-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex-grow: 1;
}

/* ─── COMPARISON TABLE ─────────────────────────────────────── */
.comparison-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
}

.comp-header {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  padding: 1.6rem 2.2rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-main);
}

.comp-header .th-col-highlight {
  color: var(--primary);
}

.comp-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  padding: 1.5rem 2.2rem;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
  transition: background var(--transition-fast);
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-row:hover {
  background: var(--bg-surface-hover);
}

.comp-feature {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.comp-bad {
  color: var(--accent-rose);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.comp-bad::before {
  content: '✕';
  font-weight: 800;
}

.comp-good {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.comp-good::before {
  content: '✓';
  color: var(--accent-emerald);
  font-weight: 800;
}

@media (max-width: 768px) {
  .comp-header, .comp-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.25rem;
  }
  .comp-header { display: none; }
  .comp-feature {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.4rem;
    margin-bottom: 0.2rem;
  }
}

/* ─── 3 PILLARS / SYSTEMS ──────────────────────────────────── */
.pillar-card {
  padding: 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-smooth);
  position: relative;
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow: var(--shadow-subtle);
}

.pillar-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
  transform: translateY(-5px) scale3d(1.01, 1.01, 1.01);
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.35rem;
}

.pillar-feature-item {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pillar-feature-item::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ─── PROCESS / 3 STEPS ────────────────────────────────────── */
.step-item {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-subtle);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.step-indicator {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.step-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.step-item p {
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-muted);
  flex-grow: 1;
}

/* ─── AADAI SPECIALIZED DIVISION BANNER ────────────────────── */
.aadai-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  backdrop-filter: blur(32px) saturate(190%);
}

.aadai-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
  pointer-events: none;
}

.aadai-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.aadai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.niche-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .aadai-banner { padding: 2.5rem 1.85rem; }
  .aadai-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── TIMELINE 7-DAY & CASE STUDY ──────────────────────────── */
.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 2px;
  background: var(--border-subtle);
}

.timeline-node {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.timeline-marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 12px var(--primary-glow);
}

.timeline-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  flex: 1;
  box-shadow: var(--shadow-subtle);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: all var(--transition-fast);
}

.timeline-box:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.timeline-day {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.timeline-box h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.timeline-box p {
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--text-muted);
}

/* ─── FINAL CTA SECTION ────────────────────────────────────── */
.cta-box-premium {
  background: radial-gradient(ellipse at 50% -20%, var(--primary-glow-strong) 0%, var(--bg-surface) 70%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  backdrop-filter: blur(36px) saturate(190%);
}

.cta-box-premium h2 {
  max-width: 22ch;
  margin: 0 auto 1.2rem;
}

.cta-box-premium p {
  max-width: 54ch;
  margin: 0 auto 2.2rem;
  font-size: 1.08rem;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-footer);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── 3D SCROLL & FLUID REVEALS ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.38s; }

/* ─── CALENDLY / CONTACT WRAPPER ───────────────────────────── */
.calendly-card-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
}
