
/* ============================================================
   1. DESIGN TOKENS (PREMIER ENTERPRISE LIGHT SYSTEM)
   ============================================================ */
:root {
  --phi: 1.618033988749895;

  /* Typography */
  --font-body:    'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Fibonacci & 8px Grid Spacing */
  --fib-1: 0.25rem;   /* 4px */
  --fib-2: 0.5rem;    /* 8px */
  --fib-3: 0.75rem;   /* 12px */
  --fib-5: 1.25rem;   /* 20px */
  --fib-8: 2rem;      /* 32px */
  --fib-13: 3.25rem;  /* 52px */
  --fib-21: 5.25rem;  /* 84px */
  --fib-34: 8.5rem;   /* 136px */
  --fib-55: 13.75rem; /* 220px */
  --fib-89: 22.25rem; /* 356px */

  /* Type Scale */
  --text-xs:   0.75rem;  /* 12px */
  --text-sm:   0.875rem; /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg:   1.125rem; /* 18px */
  --text-xl:   1.375rem; /* 22px */
  --text-2xl:  1.75rem;  /* 28px */
  --text-3xl:  2.35rem;  /* ~38px */
  --text-4xl:  3.1rem;   /* ~50px */
  --text-5xl:  4.25rem;  /* ~68px */

  /* Modern Enterprise Light Foundation */
  --clr-bg:          #ffffff;
  --clr-bg-alt:      #f8fafc;  /* Frosted alabaster */
  --clr-bg-subtle:   #f1f5f9;  /* Soft slate zinc */
  --clr-bg-obsidian: #08090d;  /* Dark obsidian token reference */
  --clr-obsidian:    #08090d;

  --clr-surface:     rgba(255, 255, 255, 0.88);
  --clr-surface-2:   #ffffff;
  --clr-card:        #ffffff;
  --clr-card-hover:  #fbfcfe;

  /* Crisp Hairline Borders */
  --clr-border:       #e2e8f0;  /* Slate-200 precision hairline */
  --clr-border-light: #f1f5f9;
  --clr-border-dark:  #cbd5e1;  /* Slate-300 on hover */
  --clr-border-gold:  rgba(197, 160, 89, 0.35);

  /* High-Contrast Executive Slate Typography (WCAG AAA) */
  --clr-white:       #0f172a;  /* Primary headlines: Deep Midnight Slate (14.8:1 contrast on white) */
  --clr-platinum:    #1e293b;  /* Secondary headlines: Executive Slate-800 */
  --clr-text:        #334155;  /* Body copy: High-legibility Slate-700 */
  --clr-muted:       #64748b;  /* Secondary / labels: Slate-500 */
  --clr-muted-2:     #94a3b8;  /* Micro-labels: Slate-400 */

  /* Primary Accent: Refined Champagne Bronze Gold (#c5a059) */
  --clr-gold:        #c5a059;
  --clr-gold-light:  #8c6b2d;  /* High-contrast bronze for readable text on light mode (WCAG AA) */
  --clr-gold-dark:   #684f18;  /* Deep bronze (WCAG AAA) */
  --clr-gold-glow:   rgba(197, 160, 89, 0.18);
  --clr-gold-subtle: rgba(197, 160, 89, 0.08);

  /* Secondary Semantic Accents (Strict 2-Tone System: Champagne Bronze Gold) */
  --clr-emerald:       #c5a059;
  --clr-emerald-light: #8c6b2d;
  --clr-emerald-glow:  rgba(197, 160, 89, 0.22);
  --clr-emerald-subtle:rgba(197, 160, 89, 0.10);
  --clr-cyan:          #dfba73;
  --clr-cyan-glow:     rgba(223, 186, 115, 0.20);

  --clr-accent:        #c5a059;
  --clr-success:       #c5a059;
  --clr-danger:        #dfba73;

  /* Frosted Glassmorphism (Stripe & Apple Enterprise style) */
  --glass-bg:        rgba(255, 255, 255, 0.84);
  --glass-border:    1px solid rgba(226, 232, 240, 0.85);
  --glass-shadow:    0 16px 36px -10px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  --glass-blur:      blur(16px) saturate(180%);

  /* Transitions */
  --ease-phi: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 480ms;

  /* Micro-Elevation Shadows (Linear / Vercel grade) */
  --shadow-xs:   0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm:   0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md:   0 4px 8px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg:   0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl:   0 24px 52px -12px rgba(15, 23, 42, 0.12), 0 8px 18px -4px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 8px 30px -4px rgba(197, 160, 89, 0.22);

  /* Radii */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-full: 9999px;

  /* Golden-Ratio Grid Splits */
  --split-phi:     61.8%;
  --split-phi-inv: 38.2%;
}

/* ============================================================
   2. RESET & FOUNDATION
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  background-color: var(--clr-bg);
  color-scheme: light;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--phi);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  letter-spacing: -0.011em;
}

/* Subtle enterprise ambient mesh lighting */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 90% 45% at 50% -8%, rgba(197, 160, 89, 0.05) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 90% 40%, rgba(2, 132, 199, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(5, 150, 105, 0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

::selection {
  background: rgba(197, 160, 89, 0.22);
  color: var(--clr-white);
}

a {
  color: var(--clr-gold-light);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-phi);
  position: relative;
  z-index: 1;
}
a:hover { color: var(--clr-gold-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   3. TYPOGRAPHY (HIGH-CONTRAST CORPORATE HIERARCHY)
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--clr-white);
  letter-spacing: -0.03em;
  font-weight: 750;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.028em;
  color: var(--clr-white);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--clr-white);
}

h4 { font-size: var(--text-xl); font-weight: 700; color: var(--clr-white); }
h5 { font-size: var(--text-lg); font-weight: 600; color: var(--clr-platinum); }

p { line-height: 1.68; color: var(--clr-muted); font-size: var(--text-base); }

/* Executive metallic gradient on emphasis text */
em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #c5a059 80%, #9d7c38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

strong { font-weight: 700; color: var(--clr-white); }

.text-mono     { font-family: var(--font-mono); }
.text-gold     { color: var(--clr-gold-light) !important; }
.text-emerald  { color: var(--clr-emerald-light) !important; }
.text-cyan     { color: var(--clr-cyan) !important; }
.text-muted    { color: var(--clr-muted) !important; }
.text-platinum { color: var(--clr-platinum) !important; }
.text-white    { color: var(--clr-white) !important; }

/* ============================================================
   4. LAYOUT WRAPPERS & GRIDS
   ============================================================ */
.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--fib-8);
  position: relative;
  z-index: 1;
}
.wrap-narrow { max-width: 840px; }
.wrap-wide   { max-width: 1440px; }

.section    { padding-block: var(--fib-34); position: relative; }
.section-sm { padding-block: var(--fib-21); position: relative; }
.section-lg { padding-block: var(--fib-55); position: relative; }

.section-header {
  text-align: center;
  margin-bottom: var(--fib-21);
}
.section-header h2 {
  margin-bottom: var(--fib-3);
  color: var(--clr-white);
}
.section-header p {
  max-width: 660px;
  margin-inline: auto;
  margin-top: var(--fib-2);
  font-size: var(--text-lg);
  color: var(--clr-muted);
}

.grid-phi {
  display: grid;
  grid-template-columns: var(--split-phi) var(--split-phi-inv);
  gap: var(--fib-13);
  align-items: start;
}
.grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--fib-8); }
.grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fib-8); }
.grid-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--fib-8); }

.divider {
  height: 1px;
  background: var(--clr-border);
  margin-block: var(--fib-8);
  border: none;
}

.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border-gold), var(--clr-border), transparent);
  margin-block: var(--fib-13);
  position: relative;
  border: none;
}

/* ============================================================
   5. PAGE HEADER & BREADCRUMB
   ============================================================ */
.page-header { }
.page-header-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--clr-white);
  margin-bottom: var(--fib-3);
  line-height: 1.15;
}
.page-header-title--compact { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.page-header-desc { font-size: var(--text-lg); color: var(--clr-muted); max-width: 660px; }
.page-header-tagline { font-size: var(--text-xl); color: var(--clr-gold-light); font-weight: 600; margin-top: var(--fib-1); }
.page-header-icon-row { display: flex; align-items: flex-start; gap: var(--fib-8); flex-wrap: wrap; }

.breadcrumb { margin-bottom: var(--fib-5); }
.breadcrumb-list {
  list-style: none;
  display: flex;
  gap: var(--fib-2);
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clr-muted);
}
.breadcrumb-list a { color: var(--clr-muted); }
.breadcrumb-list a:hover { color: var(--clr-gold-light); }
.breadcrumb-sep { color: var(--clr-border); }
.breadcrumb-current { color: var(--clr-gold-light); font-weight: 600; }

/* ============================================================
   6. NAVIGATION (FROSTED GLASS LIGHT HEADER)
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: 76px;
  display: flex;
  align-items: center;
  transition: all var(--dur-base) var(--ease-phi);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  height: 68px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--fib-8);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-white) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
}
.nav-logo-crest { width: 32px; height: 32px; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08)); }
.nav-logo span { color: var(--clr-gold); }
.nav-logo-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: var(--clr-gold-subtle);
  border: 1px solid var(--clr-border-gold);
  color: var(--clr-gold-light);
  margin-left: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--clr-platinum);
  background: #f8fafc;
  border: 1px solid var(--clr-border);
  padding: 4px 12px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-xs);
}
.nav-status-pulse {
  width: 6px;
  height: 6px;
  background: var(--clr-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--clr-gold-glow);
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--clr-gold); }
  50% { opacity: 0.45; transform: scale(0.8); box-shadow: 0 0 4px var(--clr-gold); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--fib-8);
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clr-muted);
  transition: all var(--dur-fast);
  padding-block: var(--fib-2);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-gold-light), var(--clr-gold));
  transition: width var(--dur-base) var(--ease-phi);
  border-radius: var(--r-full);
}
.nav-links a:hover,
.nav-links a.active { color: var(--clr-white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links .nav-cta a { color: #080b11 !important; text-decoration: none !important; }
.nav-links .nav-cta a::after { display: none; }

.nav-dropdown { position: relative; }
.nav-dropdown summary {
  cursor: pointer;
  color: var(--clr-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-fast);
}
.nav-dropdown summary:hover { color: var(--clr-white); }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown ul,
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -20px;
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-gold);
  border-radius: var(--r-md);
  padding: var(--fib-3);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  max-height: min(460px, 75vh);
  overflow-y: auto;
  margin-top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-xl);
}
.nav-dropdown-menu::-webkit-scrollbar { width: 4px; }
.nav-dropdown-menu::-webkit-scrollbar-thumb { background: var(--clr-border-gold); border-radius: 4px; }
.nav-dropdown ul a {
  text-transform: capitalize;
  font-size: var(--text-sm);
  color: var(--clr-text);
  display: block;
  padding: var(--fib-2) var(--fib-3);
  border-radius: var(--r-xs);
  transition: all var(--dur-fast);
}
.nav-dropdown ul a:hover {
  background: var(--clr-gold-subtle);
  color: var(--clr-gold-light);
  padding-left: var(--fib-5);
}
.nav-dropdown ul a::after { display: none !important; }

.nav-toggle-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  background: #f8fafc;
  cursor: pointer;
  font-size: 1.15em;
  transition: all var(--dur-fast);
  margin-left: auto;
  margin-right: var(--fib-3);
  box-shadow: var(--shadow-xs);
}
.nav-toggle-theme:hover {
  border-color: var(--clr-gold);
  background: var(--clr-gold-subtle);
  transform: rotate(20deg) scale(1.05);
}

.nav-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: var(--fib-2) var(--fib-3);
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  transition: all var(--dur-fast);
}
.nav-toggle:hover { border-color: var(--clr-gold); }
.nav-toggle .hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-phi), opacity var(--dur-fast), background-color var(--dur-fast);
  transform-origin: center;
}
.nav-toggle.open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--clr-gold-light); }
.nav-toggle.open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--clr-gold-light); }

/* ============================================================
   7. BUTTONS (REFINED LUXURY CORPORATE ACTIONS)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--fib-2);
  padding: 0.85rem 1.85rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-phi);
  white-space: nowrap;
  position: relative;
  overflow: visible;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.btn:hover { z-index: 2; transform: translateY(-2px); }
.btn:active { transform: scale(0.985) translateY(0); z-index: 3; }

.btn-gold {
  background: linear-gradient(135deg, #f0d59e 0%, #dfba73 35%, #c5a059 70%, #9d7c38 100%);
  color: #0b0f19 !important;
  font-weight: 700;
  border-color: rgba(223, 186, 115, 0.7);
  box-shadow: 0 4px 24px rgba(197, 160, 89, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}
.btn-gold:hover::before { left: 150%; }
.btn-gold:hover {
  background: linear-gradient(135deg, #fce8bd 0%, #ebd08e 35%, #d4b069 70%, #ac8a44 100%);
  box-shadow: 0 8px 32px rgba(197, 160, 89, 0.45), 0 0 16px rgba(197, 160, 89, 0.25);
  color: #050608 !important;
  border-color: #dfba73;
}

.btn-emerald {
  background: linear-gradient(135deg, #dfba73 0%, #c5a059 45%, #9d7c38 100%);
  color: #0b0f19 !important;
  font-weight: 700;
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow: 0 4px 24px rgba(197, 160, 89, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.btn-emerald:hover {
  background: linear-gradient(135deg, #ebd08e 0%, #d4b069 45%, #ac8a44 100%);
  box-shadow: 0 8px 28px rgba(197, 160, 89, 0.45);
  color: #050608 !important;
}

.btn-ghost {
  background: #ffffff;
  color: var(--clr-platinum) !important;
  border-color: var(--clr-border);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  border-color: var(--clr-border-gold);
  background: var(--clr-gold-subtle);
  color: var(--clr-gold-light) !important;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.15);
}

.btn-outline {
  background: #ffffff;
  color: var(--clr-gold-light) !important;
  border-color: var(--clr-border-gold);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  background: var(--clr-gold-subtle);
  border-color: var(--clr-gold);
  box-shadow: 0 4px 24px rgba(197, 160, 89, 0.22);
  color: var(--clr-gold-dark) !important;
}

.btn-wa {
  background: linear-gradient(135deg, #161f30 0%, #0b0f19 100%);
  color: #dfba73 !important;
  font-weight: 700;
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 4px 24px rgba(197, 160, 89, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-phi);
}
.btn-wa::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}
.btn-wa:hover::before { left: 150%; }
.btn-wa:hover {
  background: linear-gradient(135deg, #202c44 0%, #0e1424 100%);
  color: #ffffff !important;
  border-color: #dfba73;
  box-shadow: 0 8px 32px rgba(197, 160, 89, 0.42), 0 0 18px rgba(197, 160, 89, 0.25);
  transform: translateY(-2px);
}

/* Button Sizing */
.btn-lg { padding: 1.05rem 1.85rem; font-size: 0.975rem; border-radius: var(--r-sm); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: var(--text-xs); border-radius: var(--r-xs); }

/* ============================================================
   8. HERO (EXECUTIVE COMMAND CENTER)
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 86px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, black 20%, transparent 80%);
}

.hero-content { position: relative; z-index: 1; padding-block: var(--fib-21); }

.hero-split {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: var(--fib-13);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--fib-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  background: var(--clr-gold-subtle);
  border: 1px solid var(--clr-border-gold);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--fib-5);
  box-shadow: var(--shadow-xs);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-gold);
  box-shadow: 0 0 8px var(--clr-gold);
  animation: pulse-dot 2s infinite;
}

.hero-title { margin-bottom: var(--fib-5); font-size: clamp(2.75rem, 5.2vw, 4.4rem); }
.hero-sub {
  font-size: var(--text-lg);
  line-height: var(--phi);
  color: var(--clr-text);
  margin-bottom: var(--fib-8);
  max-width: 620px;
}
.hero-actions { display: flex; gap: var(--fib-5); flex-wrap: wrap; margin-bottom: var(--fib-13); }

.hero-stat-row {
  display: flex;
  gap: var(--fib-8);
  padding-top: var(--fib-8);
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong,
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-white);
  line-height: 1.1;
}
.hero-stat-num {
  background: linear-gradient(135deg, #0f172a 30%, #b48c36 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
  margin-top: 4px;
  font-weight: 600;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--fib-5);
  margin-top: var(--fib-8);
  padding: var(--fib-3) var(--fib-5);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  flex-wrap: wrap;
}
.hero-trust-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--clr-gold-light);
  font-weight: 700;
}
.hero-trust-divider { width: 1px; height: 16px; background: var(--clr-border); }
.hero-trust-item {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   9. SURVEILLANCE COMMAND CENTER (HUD) PREVIEW
   ============================================================ */
.hud-card {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--fib-3);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.hud-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}

.hud-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--fib-2) var(--fib-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-muted);
  background: #f8fafc;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  border-bottom: 1px solid var(--clr-border);
}
.hud-cam-id { color: var(--clr-white); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.hud-rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
  animation: pulse-dot 1.2s infinite;
}
.hud-fps { color: var(--clr-gold-light); font-weight: 700; }

/* Tactical optical surveillance viewport */
.hud-viewport {
  position: relative;
  background: radial-gradient(circle at center, #0f172a 0%, #080d1a 100%);
  border-radius: var(--r-sm);
  height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--fib-5);
  margin-top: var(--fib-2);
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hud-scan-beam {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 186, 115, 0.6), rgba(255, 255, 255, 0.9), rgba(223, 186, 115, 0.6), transparent);
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.5);
  animation: hud-sweep 5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 3;
}
@keyframes hud-sweep {
  0%   { top: 5%;  opacity: 0.25; }
  50%  { opacity: 0.85; }
  100% { top: 94%; opacity: 0.25; }
}

.hud-reticle {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hud-corner { position: absolute; width: 12px; height: 12px; border-color: rgba(223, 186, 115, 0.8); border-style: solid; pointer-events: none; }
.hud-corner.tl { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; }
.hud-corner.tr { top: 12px; right: 12px; border-width: 1.5px 1.5px 0 0; }
.hud-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1.5px 1.5px; }
.hud-corner.br { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; }

.hud-target-box {
  position: absolute;
  top: 24%; left: 32%;
  width: 135px; height: 175px;
  border: 1.5px solid #dfba73;
  background: rgba(197, 160, 89, 0.12);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.3), inset 0 0 14px rgba(197, 160, 89, 0.12);
  border-radius: 4px;
  animation: target-float 5s ease-in-out infinite alternate;
  z-index: 3;
}
@keyframes target-float {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(10px, -6px); }
  100% { transform: translate(-6px, 6px); }
}
.hud-target-tag {
  position: absolute;
  top: -24px; left: -1px;
  background: var(--clr-gold);
  color: #080b11;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hud-target-sub {
  position: absolute;
  bottom: -22px; left: -1px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #f1f5f9;
  background: rgba(8, 11, 17, 0.94);
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid var(--clr-border-gold);
  white-space: nowrap;
}

.hud-target-box-2 {
  position: absolute;
  top: 44%; right: 12%;
  width: 95px; height: 85px;
  border: 1.5px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  animation: target-float-2 6s ease-in-out infinite alternate;
  z-index: 3;
}
@keyframes target-float-2 {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-8px, 5px); }
  100% { transform: translate(5px, -8px); }
}
.hud-target-box-2 .hud-target-tag { background: #cbd5e1; color: #080b11; }

.hud-target-corner { position: absolute; width: 6px; height: 6px; border-color: inherit; border-style: solid; pointer-events: none; }
.tc-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.tc-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.tc-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.tc-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.hud-alert-banner {
  position: relative;
  z-index: 4;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: var(--r-sm);
  padding: var(--fib-2) var(--fib-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fib-3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}
.hud-alert-text { font-family: var(--font-mono); font-size: 0.72rem; color: #f8fafc; display: flex; align-items: center; gap: 8px; }
.hud-alert-badge {
  background: var(--clr-gold);
  color: #080b11;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}

.hud-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--fib-2);
  margin-top: var(--fib-3);
  padding: var(--fib-2) var(--fib-3);
  background: #f8fafc;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
}
.hud-telemetry-item { font-family: var(--font-mono); font-size: 0.68rem; color: var(--clr-muted); display: flex; flex-direction: column; }
.hud-telemetry-item strong { color: var(--clr-white); font-size: 0.8rem; margin-top: 2px; }

.hud-cam-selector { display: flex; gap: var(--fib-2); margin-top: var(--fib-3); }
.hud-cam-btn {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: all var(--dur-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--shadow-xs);
}
.hud-cam-btn.active,
.hud-cam-btn:hover {
  background: var(--clr-gold-subtle);
  border-color: var(--clr-gold);
  color: var(--clr-white);
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.2);
}

/* ============================================================
   10. NOTICE BAR & TRUST STRIP
   ============================================================ */
.notice-bar {
  background: linear-gradient(90deg, #f8fafc 0%, rgba(197, 160, 89, 0.07) 50%, #f8fafc 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--fib-3) var(--fib-8);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--clr-white);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--fib-3);
  align-items: stretch;
  padding: var(--fib-2) 0;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--fib-2) 6px;
  min-height: 52px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--clr-text);
  line-height: 1.25;
  transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
  user-select: none;
}
.trust-item span {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}
.trust-item:hover {
  border-color: var(--clr-border-gold);
  color: var(--clr-white);
  background-color: var(--clr-card-hover);
  box-shadow: 0 4px 12px var(--clr-gold-subtle);
  transform: translateY(-1px);
}

/* ============================================================
   11. CARDS & ELEVATED SURFACES (MODERN LIGHT PRECISION)
   ============================================================ */
.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--fib-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-phi);
  position: relative;
  overflow: hidden;
  z-index: 1;
  animation: fadeInScale 0.6s var(--ease-phi) forwards;
  opacity: 0;
}
.card:hover {
  border-color: var(--clr-border-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  z-index: 2;
}

.card-highlight {
  border-color: var(--clr-border-gold);
  box-shadow: var(--shadow-gold), var(--shadow-md);
  background: linear-gradient(180deg, #fdfbf7 0%, var(--clr-card) 65%);
}

/* ============================================================
   12. SECTOR SOLUTION CARDS
   ============================================================ */
.sol-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--fib-8);
  display: flex;
  flex-direction: column;
  gap: var(--fib-5);
  transition: all var(--dur-base) var(--ease-phi);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.sol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
  opacity: 0;
  transition: opacity var(--dur-base);
  z-index: 3;
}
.sol-card:hover {
  border-color: var(--clr-border-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background: #ffffff;
  z-index: 2;
}
.sol-card:hover::before { opacity: 1; }

.sol-icon {
  font-size: 2.1rem;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-gold-subtle);
  border-radius: var(--r-sm);
  border: 1px solid var(--clr-border-gold);
  box-shadow: var(--shadow-xs);
}
.sol-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 750; color: var(--clr-white); line-height: 1.22; }
.sol-tagline { font-size: var(--text-sm); color: var(--clr-gold-light); font-weight: 600; margin-top: 3px; }
.sol-bullets { list-style: none; display: flex; flex-direction: column; gap: var(--fib-2); padding: 0; flex: 1; }
.sol-bullets li { font-size: var(--text-sm); color: var(--clr-text); padding-left: var(--fib-5); position: relative; line-height: 1.55; }
.sol-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--clr-gold-light); font-weight: 700; font-size: 0.85rem; top: 1px; }

/* ============================================================
   13. INTERACTIVE ARCHITECTURE FLOW PIPELINE
   ============================================================ */
.arch-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--fib-5); position: relative; }
.arch-node {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--fib-8) var(--fib-5);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-phi);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}
.arch-node::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
  opacity: 0.35;
  z-index: 2;
}
.arch-node:hover {
  border-color: var(--clr-border-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  z-index: 2;
}
.arch-node-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--clr-gold-light); font-weight: 700; }
.arch-node-name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 750; color: var(--clr-white); margin-top: 4px; }
.arch-node.active {
  border-color: var(--clr-gold) !important;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.2), var(--shadow-md) !important;
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%) !important;
}
.arch-node.active .arch-node-name { color: var(--clr-gold-light); }

.arch-inspector {
  margin-top: var(--fib-8);
  background: #f8fafc;
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-gold);
  border-radius: var(--r-md);
  padding: var(--fib-5) var(--fib-8);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.arch-inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: var(--fib-3);
  margin-bottom: var(--fib-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-muted);
}
.arch-inspector-code { font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.7; color: var(--clr-platinum); }
.arch-inspector-tag { color: var(--clr-gold-light); font-weight: 700; }
.arch-inspector-num { color: var(--clr-gold-light); font-weight: 600; }
.arch-inspector-str { color: var(--clr-white); font-weight: 600; }

/* ============================================================
   14. PRICING & FIBONACCI ESTIMATOR
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fib-8); align-items: stretch; }

.pricing-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--fib-13);
  display: flex;
  flex-direction: column;
  gap: var(--fib-5);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-phi);
  z-index: 1;
}
.pricing-card:hover {
  border-color: var(--clr-border-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  z-index: 2;
}

.pricing-card.popular,
.pricing-card.featured {
  border: 2px solid var(--clr-gold);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 50%);
  box-shadow: 0 16px 40px rgba(197, 160, 89, 0.15), var(--shadow-md);
  transform: scale(1.02);
}
.pricing-card.popular:hover,
.pricing-card.featured:hover {
  box-shadow: 0 20px 52px rgba(197, 160, 89, 0.25), var(--shadow-xl);
  transform: scale(1.02) translateY(-3px);
}

.pricing-popular-badge,
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #dfba73 0%, #c5a059 100%);
  color: #080b11;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1.25rem;
  border-radius: var(--r-full);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.35);
  white-space: nowrap;
}

.pricing-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 750; color: var(--clr-white); }
.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-white);
  line-height: 1.1;
  margin-block: var(--fib-2);
}
.pricing-note,
.pricing-unit { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em; color: var(--clr-muted); margin-top: 2px; }

.pricing-feats,
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: var(--fib-3); flex: 1; padding: 0; margin-block: var(--fib-3); }
.pricing-feats li,
.pricing-features li { font-size: var(--text-sm); color: var(--clr-text); display: flex; align-items: flex-start; gap: var(--fib-3); line-height: 1.55; }
.pricing-feats li::before,
.pricing-features li::before { content: '✓'; color: var(--clr-gold-light); font-weight: 700; flex-shrink: 0; }
.pricing-cta { margin-top: auto; padding-top: var(--fib-5); }

.estimator {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-gold);
  border-radius: var(--r-xl);
  padding: var(--fib-13) var(--fib-21);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.estimator-grid { display: flex; flex-direction: column; gap: var(--fib-8); margin-bottom: var(--fib-13); }
.estimator-row { display: flex; align-items: center; gap: var(--fib-5); flex-wrap: wrap; }
.estimator-label { min-width: 150px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clr-white); }
.estimator-row input[type="range"] { flex: 1; min-width: 220px; }
.estimator-val {
  min-width: 120px;
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--clr-gold-light);
  font-size: var(--text-sm);
  background: var(--clr-gold-subtle);
  padding: var(--fib-1) var(--fib-3);
  border-radius: var(--r-sm);
  border: 1px solid var(--clr-border-gold);
}
.estimator-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--fib-13);
  border-top: 1px solid var(--clr-border);
  gap: var(--fib-8);
  flex-wrap: wrap;
}
.estimator-total { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--clr-white); line-height: 1; }
.estimator-breakdown { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--clr-muted); margin-top: var(--fib-2); }

/* Range sliders with crisp high-contrast light tracking & finger-friendly touch thumbs */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #cbd5e1;
  border-radius: var(--r-full);
  outline: none;
  cursor: pointer;
  touch-action: pan-y;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-gold-light) 0%, var(--clr-gold) 100%);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.5);
  border: 2.5px solid #ffffff;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.15);
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.7);
}
input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-gold-light) 0%, var(--clr-gold) 100%);
  cursor: pointer;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.5);
}
input[type="checkbox"] { accent-color: var(--clr-gold); width: 20px; height: 20px; min-width: 20px; min-height: 20px; cursor: pointer; }

/* ============================================================
   15. ROI & CAPITAL PAYBACK CALCULATOR
   ============================================================ */
.roi-container {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-gold);
  border-radius: var(--r-lg);
  padding: var(--fib-8);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.roi-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: var(--fib-8); align-items: center; }
.roi-controls {
  display: flex;
  flex-direction: column;
  gap: var(--fib-5);
  background: #f8fafc;
  padding: var(--fib-8);
  border-radius: var(--r-md);
  border: 1px solid var(--clr-border);
}
.roi-control-group { display: flex; flex-direction: column; gap: var(--fib-2); }
.roi-control-header { display: flex; justify-content: space-between; align-items: center; }
.roi-label { font-size: var(--text-sm); font-weight: 700; color: var(--clr-white); }
.roi-val { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--clr-gold-light); font-weight: 700; }
.roi-hint { font-size: 0.75rem; color: var(--clr-muted); line-height: 1.4; }

.roi-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: var(--fib-3); }
.roi-stat-card {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--fib-5);
  display: flex;
  flex-direction: column;
  gap: var(--fib-1);
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-base);
}
.roi-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-border-dark);
}
.roi-stat-card.primary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, #ffffff 100%);
  border-color: var(--clr-border-gold);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.12), var(--shadow-sm);
}
.roi-stat-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clr-muted); font-weight: 600; }
.roi-stat-num { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.roi-stat-sub { font-size: 0.74rem; color: var(--clr-text); line-height: 1.4; }

.roi-action-card {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, #ffffff 100%);
  border: 1px solid var(--clr-border-gold);
  border-radius: var(--r-md);
  padding: var(--fib-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--fib-2);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.1), var(--shadow-xs);
  transition: all var(--dur-base);
}
.roi-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.2);
  border-color: var(--clr-gold);
}
.roi-action-header { display: flex; align-items: center; }
.roi-action-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  font-weight: 700;
  background: var(--clr-gold-subtle);
  padding: 3px 8px;
  border-radius: var(--r-xs);
  border: 1px solid var(--clr-border-gold);
}
.roi-action-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.35;
}
.roi-action-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--fib-2);
}
.roi-action-buttons .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 40px;
}
.roi-action-sub {
  font-size: 0.72rem;
  color: var(--clr-muted);
  line-height: 1.35;
}

.roi-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--fib-5);
  margin-top: var(--fib-8);
  padding-top: var(--fib-5);
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
}
.roi-footer-info { font-size: var(--text-sm); color: var(--clr-text); flex: 1; min-width: 260px; line-height: 1.5; }
.roi-footer-info strong { color: var(--clr-gold-light); }
.roi-footer-actions { display: flex; gap: var(--fib-3); flex-wrap: wrap; align-items: center; }
.roi-footer-actions .btn { min-height: 44px; }

@media (max-width: 900px) {
  .roi-grid { grid-template-columns: 1fr; }
  .roi-dashboard { grid-template-columns: 1fr; }
}

/* ============================================================
   16. FORMS & INPUTS (CRISP HIGH-CONTRAST LIGHT)
   ============================================================ */
.form { display: flex; flex-direction: column; gap: var(--fib-5); }
.form-group { display: flex; flex-direction: column; gap: var(--fib-2); }
.form-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clr-white); }
.form-input,
.form-select,
.form-textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--r-sm);
  padding: 0.85rem 1.1rem;
  color: var(--clr-white);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: all var(--dur-fast);
  width: 100%;
  box-shadow: var(--shadow-xs);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--clr-muted-2); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
  background: #ffffff;
}
.form-select { cursor: pointer; }
.form-select option { background: #ffffff; color: #0f172a; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--fib-5); }
.form-checkbox { display: flex; align-items: flex-start; gap: var(--fib-3); cursor: pointer; }
.form-success {
  display: none;
  background: var(--clr-gold-subtle);
  border: 1px solid var(--clr-border-gold);
  border-radius: var(--r-md);
  padding: var(--fib-8) var(--fib-13);
  color: var(--clr-white);
  font-size: var(--text-sm);
  line-height: var(--phi);
  box-shadow: var(--shadow-md);
}
.form-success a { font-weight: 700; text-decoration: underline; color: var(--clr-gold-light); }

/* ============================================================
   17. TESTIMONIALS
   ============================================================ */
.stars { color: #d97706; font-size: var(--text-sm); letter-spacing: 3px; }

.testimonial-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: var(--fib-8);
  display: flex;
  flex-direction: column;
  gap: var(--fib-5);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-phi);
  position: relative;
  z-index: 1;
}
.testimonial-card::before {
  content: '\201D';
  position: absolute;
  top: var(--fib-3); right: var(--fib-5);
  font-size: 3.8rem;
  color: var(--clr-gold);
  opacity: 0.15;
  font-family: var(--font-display);
  line-height: 1;
  z-index: 0;
}
.testimonial-card:hover {
  border-color: var(--clr-border-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  z-index: 2;
}
.testimonial-quote { font-size: var(--text-base); color: var(--clr-platinum); font-style: italic; line-height: 1.68; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: var(--fib-5); }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfba73 0%, #c5a059 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 800;
  color: #080b11;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.3);
}
.testimonial-name { font-size: var(--text-sm); color: var(--clr-white); font-weight: 700; }
.testimonial-role { font-size: var(--text-xs); color: var(--clr-gold-light); margin-top: 1px; }

/* ============================================================
   18. BADGES & CHIPS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-gold    { background: var(--clr-gold-subtle); color: var(--clr-gold-light); border: 1px solid var(--clr-border-gold); }
.badge-muted   { background: #f8fafc; color: var(--clr-text); border: 1px solid var(--clr-border); transition: all var(--dur-fast); }
.badge-muted:hover { border-color: var(--clr-gold); color: var(--clr-gold-light); background: var(--clr-gold-subtle); }
.badge-success { background: var(--clr-gold-subtle); color: var(--clr-gold-light); border: 1px solid var(--clr-border-gold); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--fib-3);
}

/* ============================================================
   19. COMPARISON TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--clr-card);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}
.compare-table th {
  text-align: left;
  padding: var(--fib-5) var(--fib-8);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  font-weight: 700;
  background: #f8fafc;
}
.compare-table td { padding: var(--fib-5) var(--fib-8); color: var(--clr-text); border-bottom: 1px solid var(--clr-border); vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(197, 160, 89, 0.04); }
.check { color: var(--clr-gold-light); font-weight: 700; }
.cross { color: #64748b; font-weight: 600; }

/* ============================================================
   20. SPEC TABLE (label/value alternating rows)
   ============================================================ */
.spec-table-wrap { border: 1px solid var(--clr-border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table-row {
  display: flex;
  gap: var(--fib-5);
  padding: var(--fib-5) var(--fib-8);
  background: var(--clr-card);
  border-bottom: 1px solid var(--clr-border);
  align-items: center;
}
.spec-table-row:nth-child(even) { background: #f8fafc; }
.spec-table-row:last-child { border-bottom: none; }
.spec-table-label { min-width: 160px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clr-gold-light); font-weight: 700; }
.spec-table-value { flex: 1; }

/* ============================================================
   21. CTA BANNER
   ============================================================ */
.cta-banner {
  background: radial-gradient(circle at center, rgba(197, 160, 89, 0.08) 0%, #f8fafc 70%), var(--clr-bg);
  border-top: 1px solid var(--clr-border-gold);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}

/* ============================================================
   22. FOOTER
   ============================================================ */
.footer { background: var(--clr-bg-alt); border-top: 1px solid var(--clr-border); padding-block: var(--fib-21); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr; gap: var(--fib-13); margin-bottom: var(--fib-13); }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-white);
  margin-bottom: var(--fib-5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo span { color: var(--clr-gold); }
.footer-tagline { font-size: var(--text-sm); color: var(--clr-muted); line-height: 1.6; }
.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: var(--fib-5);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--fib-3); }
.footer-links a { font-size: var(--text-sm); color: var(--clr-muted); text-transform: capitalize; transition: all var(--dur-fast); }
.footer-links a:hover { color: var(--clr-gold-light); padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--fib-8);
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
  gap: var(--fib-5);
}
.footer-copy { font-size: var(--text-xs); color: var(--clr-muted); }

/* ============================================================
   23. WHATSAPP FAB & CONSENT BANNER
   ============================================================ */
.fab {
  position: fixed;
  bottom: calc(var(--fib-8) + env(safe-area-inset-bottom, 0px));
  right: calc(var(--fib-8) + env(safe-area-inset-right, 0px));
  z-index: 999;
  width: 58px; height: 58px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #182236 0%, #0b0f19 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 8px 32px rgba(197, 160, 89, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all var(--dur-base) var(--ease-phi);
  text-decoration: none !important;
  color: #dfba73 !important;
  border: 1.5px solid rgba(197, 160, 89, 0.55);
}
.fab:hover {
  transform: scale(1.08) translateY(-3px);
  background: linear-gradient(135deg, #24304d 0%, #0e1424 100%);
  border-color: #dfba73;
  color: #ffffff !important;
  box-shadow: 0 14px 42px rgba(197, 160, 89, 0.55), 0 0 24px rgba(197, 160, 89, 0.35);
}
.fab-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  filter: drop-shadow(0 2px 6px rgba(197, 160, 89, 0.4));
  transition: transform var(--dur-base) var(--ease-phi), filter var(--dur-base);
}
.fab:hover .fab-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 3px 12px rgba(197, 160, 89, 0.65));
}
.fab::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(197, 160, 89, 0.45);
  animation: fab-ring 2.4s ease-in-out infinite;
}
@keyframes fab-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.18); opacity: 0; }
}

.consent-banner {
  position: fixed;
  bottom: -200px;
  left: var(--fib-8); right: var(--fib-8);
  max-width: 620px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-gold);
  border-radius: var(--r-md);
  padding: var(--fib-5) var(--fib-8);
  display: flex;
  gap: var(--fib-8);
  align-items: center;
  box-shadow: var(--shadow-xl);
  transition: bottom var(--dur-slow) var(--ease-phi);
  z-index: 2000;
  margin: 0 auto var(--fib-5);
}
.consent-banner.visible { bottom: var(--fib-5); }
.consent-banner p { font-size: var(--text-xs); color: var(--clr-text); flex: 1; }
.consent-actions { display: flex; gap: var(--fib-3); flex-shrink: 0; }

/* ============================================================
   24. ANIMATIONS & SCROLL REVEALS
   ============================================================ */
@keyframes fadeInScale { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

[data-anim] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-anim].anim-fade-up { opacity: 1; transform: none; }

/* ============================================================
   25. RESPONSIVE DESIGN (ENTERPRISE DRAWER & LAYOUTS)
   ============================================================ */
@media (max-width: 1100px) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); gap: var(--fib-3); }
}

@media (max-width: 992px) {
  .hero-split { grid-template-columns: 1fr; gap: var(--fib-8); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; width: 100%; margin-inline: auto; }
  .pricing-card.popular, .pricing-card.featured { transform: none; }
  .pricing-card.popular:hover, .pricing-card.featured:hover { transform: translateY(-3px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--fib-8); }
  .arch-flow { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: repeat(4, 1fr); gap: var(--fib-3); }
}

@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100%; width: 100%; }
  .wrap { padding-inline: var(--fib-5); max-width: 100%; box-sizing: border-box; }
  .section { padding-block: var(--fib-13); }
  .section-lg { padding-block: var(--fib-21); }

  h1 { font-size: clamp(2rem, 6.5vw, 2.75rem); word-break: break-word; }
  h2 { font-size: clamp(1.5rem, 4.8vw, 2rem); word-break: break-word; }

  /* Universal Apple HIG Touch Targets (>= 44px) across buttons & controls */
  .btn, .btn-sm, .btn-lg {
    min-height: 44px;
    box-sizing: border-box;
  }
  .form-input,
  .form-select,
  .form-textarea {
    min-height: 44px;
    box-sizing: border-box;
  }
  .form-checkbox {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  details summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Card padding reduction for mobile breathing room */
  .card { padding: var(--fib-5); }
  .notice-bar {
    padding: var(--fib-2) var(--fib-3);
    font-size: 0.68rem;
    line-height: 1.4;
    word-break: break-word;
    letter-spacing: 0.04em;
  }

  /* Mobile Header & Apple HIG Touch Targets (>= 44px) */
  .nav-inner { height: 60px; gap: var(--fib-3); }
  .nav-logo { font-size: 1.15rem; min-height: 44px; display: inline-flex; align-items: center; }
  .nav-logo-crest { width: 26px; height: 26px; }
  .nav-logo-badge { display: none; }
  .nav-status { display: none; }
  .nav-toggle-theme {
    margin-left: auto;
    margin-right: 0;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
  }
  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    border-radius: var(--r-sm);
  }

  /* Mobile Drawer & Scrollable Navigation Menu */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    flex-direction: column;
    padding: var(--fib-5);
    gap: var(--fib-2);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-links a::after { display: none; }
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 var(--fib-3);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--r-xs);
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 var(--fib-3);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
  }
  .nav-dropdown ul,
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--clr-border);
    border-radius: var(--r-sm);
    background: var(--clr-bg-alt);
    padding: var(--fib-2);
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    margin-top: var(--fib-2);
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .nav-dropdown ul a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 var(--fib-3);
    font-size: var(--text-sm);
  }
  .nav-cta { width: 100%; margin-top: var(--fib-2); }
  .nav-cta .btn { width: 100%; min-height: 44px; justify-content: center; }

  /* Hero & Fluid Camera HUD */
  .hero-content { padding-block: var(--fib-8); }
  .hero-title { font-size: clamp(1.85rem, 6.5vw, 2.6rem); word-break: break-word; line-height: 1.15; }
  .hero-eyebrow { max-width: 100%; white-space: normal; word-break: break-word; line-height: 1.35; font-size: clamp(0.62rem, 2.2vw, 0.68rem); }
  .hero-actions { flex-direction: column; width: 100%; gap: var(--fib-3); }
  .hero-actions .btn { width: 100%; min-height: 48px; justify-content: center; text-align: center; }
  .hero-stat-row {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: var(--fib-3);
    padding-top: var(--fib-5);
  }
  .hero-stat-num { font-size: clamp(1.5rem, 5vw, 2rem); }
  .hero-trust { padding: var(--fib-3); gap: var(--fib-2); justify-content: flex-start; }
  .hero-trust-divider { display: none; }
  .hero-trust-item { font-size: 0.72rem; }

  .hud-card {
    max-width: 100%;
    overflow: hidden;
    padding: var(--fib-3);
  }
  .hud-topbar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fib-2);
    justify-content: space-between;
    align-items: center;
    padding: var(--fib-2) var(--fib-3);
    font-size: 0.72rem;
  }
  .hud-cam-id {
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  #hud-cam-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7rem;
  }
  .hud-viewport {
    height: clamp(240px, 60vw, 300px);
    padding: var(--fib-3);
    overflow: hidden;
  }
  .hud-target-box {
    width: clamp(90px, 28vw, 120px);
    height: clamp(110px, 36vw, 150px);
    top: 20%;
    left: 20%;
  }
  .hud-target-box-2 {
    width: clamp(70px, 22vw, 85px);
    height: clamp(60px, 18vw, 75px);
    top: 50%;
    right: 6%;
  }
  .hud-target-tag { font-size: 0.6rem; padding: 2px 6px; top: -22px; }
  .hud-target-sub { font-size: 0.58rem; padding: 2px 5px; bottom: -20px; }
  .hud-alert-banner {
    padding: 6px 10px;
    gap: 6px;
  }
  .hud-alert-text {
    font-size: 0.64rem;
    min-width: 0;
    overflow: hidden;
  }
  .hud-alert-text span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }
  .hud-telemetry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fib-2);
    padding: var(--fib-2) var(--fib-3);
  }
  .hud-telemetry-item {
    font-size: 0.68rem;
    min-width: 0;
    overflow-wrap: break-word;
  }
  .hud-telemetry-item strong {
    font-size: 0.76rem;
    word-break: break-word;
  }
  .hud-cam-selector {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fib-2);
  }
  .hud-cam-btn {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.74rem;
    flex: 1 1 calc(33.333% - var(--fib-2));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
  }

  /* Hardware Strip: Balanced 4x2 Responsive Grid */
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fib-3);
  }
  .trust-item {
    min-height: 48px;
    font-size: 0.76rem;
    padding: var(--fib-2) var(--fib-3);
  }

  /* Layout Grids, Architecture, Estimator & ROI */
  .grid-phi,
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 { grid-template-columns: 1fr; gap: var(--fib-5); }
  .form-row { grid-template-columns: 1fr; }

  .arch-flow { grid-template-columns: 1fr; gap: var(--fib-3); }
  .arch-node { min-height: 44px; padding: var(--fib-5); }
  .arch-inspector { padding: var(--fib-3); }
  .arch-inspector-header {
    flex-direction: column;
    align-items: stretch;
    gap: var(--fib-3);
  }
  .arch-inspector-code {
    font-size: 0.72rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding: var(--fib-3);
  }
  .sol-card { padding: var(--fib-5); }
  .city-hub-card {
    flex: 1 1 calc(50% - 12px) !important;
    min-width: 0 !important;
    max-width: calc(50% - 6px);
    box-sizing: border-box;
  }
  .mobile-swipe-hint { display: block !important; }
  .faq-item summary {
    font-size: clamp(0.92rem, 3vw, 1.05rem) !important;
    padding: var(--fib-3) 0 !important;
  }
  .faq-item summary::-webkit-details-marker { display: none; }

  .estimator { padding: var(--fib-5); border-radius: var(--r-lg); }
  .estimator-grid { gap: var(--fib-5); margin-bottom: var(--fib-8); }
  .estimator-row { flex-direction: column; align-items: stretch; gap: var(--fib-2); }
  .estimator-row input[type="range"] {
    width: 100%;
    min-width: 0;
    touch-action: manipulation;
    padding: 8px 0;
    box-sizing: content-box;
    background-clip: content-box;
  }
  .estimator-label { min-width: 0; width: 100%; }
  .estimator-val { min-width: 0; text-align: left; display: inline-block; align-self: flex-start; }
  .estimator-result { flex-direction: column; align-items: stretch; gap: var(--fib-5); padding-top: var(--fib-8); }
  .estimator-total { font-size: clamp(2rem, 6vw, 2.8rem); }

  .roi-container { padding: var(--fib-5); border-radius: var(--r-lg); }
  .roi-grid { grid-template-columns: 1fr; gap: var(--fib-5); }
  .roi-controls { padding: var(--fib-5); }
  .roi-dashboard { grid-template-columns: 1fr; gap: var(--fib-3); }
  .roi-footer { flex-direction: column; align-items: stretch; gap: var(--fib-3); }
  .roi-footer-actions { flex-direction: column; width: 100%; gap: var(--fib-2); }
  .roi-footer-actions .btn { width: 100%; min-height: 44px; }

  /* Comparison & Tables: Horizontal Touch Scroll without Breaking Viewport */
  .compare-table-wrap,
  div[style*="overflow-x:auto"],
  div[style*="overflow-x: auto"] {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-md);
    margin-inline: 0;
  }
  .compare-table { min-width: 540px; width: 100%; }
  .compare-table th,
  .compare-table td { padding: var(--fib-3) var(--fib-3); font-size: var(--text-xs); }
  .spec-table-row { flex-direction: column; align-items: flex-start; gap: var(--fib-1); padding: var(--fib-3) var(--fib-5); }
  .spec-table-label { min-width: 0; }

  .pricing-card { padding: var(--fib-5); }
  .pricing-price { font-size: clamp(2rem, 6vw, 2.75rem); }

  .consent-banner { flex-direction: column; left: var(--fib-3); right: var(--fib-3); padding: var(--fib-3); }
  .consent-banner.visible { bottom: calc(var(--fib-3) + env(safe-area-inset-bottom, 0px)); }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; min-height: 44px; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--fib-8); }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--fib-3); }

  .fab {
    width: 52px;
    height: 52px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.45rem;
    bottom: calc(var(--fib-5) + env(safe-area-inset-bottom, 0px));
    right: calc(var(--fib-5) + env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 480px) {
  .nav-inner { gap: 6px; }
  .nav-logo { font-size: 1.05rem; }
  .nav-logo-crest { width: 24px; height: 24px; }
  .hud-cam-btn { font-size: 0.72rem; padding: 6px 8px; flex: 1 1 calc(50% - var(--fib-2)); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: var(--fib-2); }
  .trust-item { min-height: 48px; font-size: 0.72rem; padding: var(--fib-2) 4px; }
}

@media (max-width: 360px) {
  .wrap { padding-inline: var(--fib-3); }
  .card { padding: var(--fib-3); }
  .hud-cam-btn { flex: 1 1 100%; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .trust-item { min-height: 44px; font-size: 0.68rem; padding: 4px 2px; }
}

@media print {
  .nav, .fab, .consent-banner, [data-anim] { display: none !important; }
  body { background: #ffffff; color: #0f172a; }
}

/* ============================================================
   26. DARK THEME & 2-TONE COLOR SYSTEM
   ============================================================ */
:root[data-theme="dark"],
html[data-theme="dark"] {
  color-scheme: dark;
  --clr-bg:          #0b0f19;
  --clr-bg-alt:      #0e1422;
  --clr-bg-subtle:   #141c2e;
  --clr-bg-obsidian: #08090d;
  --clr-obsidian:    #08090d;

  --clr-surface:     rgba(11, 15, 25, 0.90);
  --clr-surface-2:   #141c2e;
  --clr-card:        #0e1422;
  --clr-card-hover:  #141c2e;

  --clr-border:       #1e293b;
  --clr-border-light: #25334d;
  --clr-border-dark:  #334155;
  --clr-border-gold:  rgba(197, 160, 89, 0.4);

  --clr-white:       #f8fafc;
  --clr-platinum:    #e2e8f0;
  --clr-text:        #94a3b8;
  --clr-muted:       #64748b;
  --clr-muted-2:     #475569;

  --clr-gold:        #c5a059;
  --clr-gold-light:  #dfba73;
  --clr-gold-dark:   #9d7c38;
  --clr-gold-glow:   rgba(197, 160, 89, 0.25);
  --clr-gold-subtle: rgba(197, 160, 89, 0.12);

  --clr-emerald:       #dfba73;
  --clr-emerald-light: #dfba73;
  --clr-emerald-glow:  rgba(197, 160, 89, 0.28);
  --clr-emerald-subtle:rgba(197, 160, 89, 0.14);
  --clr-cyan:          #dfba73;
  --clr-cyan-glow:     rgba(223, 186, 115, 0.22);
  --clr-success:       #dfba73;
  --clr-danger:        #dfba73;

  --glass-bg:        rgba(11, 15, 25, 0.88);
  --glass-border:    1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow:    0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

html[data-theme="dark"] body { background-color: var(--clr-bg); color: var(--clr-text); }
html[data-theme="dark"] .nav { background: rgba(11, 15, 25, 0.92); border-bottom-color: var(--clr-border); }
html[data-theme="dark"] .nav.scrolled { background: rgba(11, 15, 25, 0.98); border-bottom-color: var(--clr-border-dark); }
html[data-theme="dark"] .nav-status,
html[data-theme="dark"] .nav-toggle,
html[data-theme="dark"] .nav-toggle-theme { background: #141c2e; border-color: var(--clr-border); color: #f8fafc; }
html[data-theme="dark"] .nav-dropdown ul,
html[data-theme="dark"] .nav-dropdown-menu { background: #0e1422; border-color: var(--clr-border); }
html[data-theme="dark"] .nav-dropdown ul a { color: var(--clr-text); }
html[data-theme="dark"] .nav-dropdown ul a:hover { background: var(--clr-gold-subtle); color: var(--clr-gold-light); }
html[data-theme="dark"] .hero { background: linear-gradient(180deg, #0b0f19 0%, #0e1422 100%); }
html[data-theme="dark"] .hero-grid-lines {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
html[data-theme="dark"] .hero-stat-num {
  background: linear-gradient(135deg, #f8fafc 30%, #dfba73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] em {
  background: linear-gradient(135deg, #f8fafc 0%, #dfba73 50%, #c5a059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .hud-card { background: #0e1422; border-color: var(--clr-border); }
html[data-theme="dark"] .hud-topbar { background: #141c2e; border-color: var(--clr-border); }
html[data-theme="dark"] .hud-telemetry-grid { background: #141c2e; border-color: var(--clr-border); }
html[data-theme="dark"] .hud-cam-btn { background: #141c2e; border-color: var(--clr-border); color: var(--clr-text); }
html[data-theme="dark"] .hud-cam-btn.active,
html[data-theme="dark"] .hud-cam-btn:hover { background: var(--clr-gold-subtle); border-color: var(--clr-gold); color: #f8fafc; }
html[data-theme="dark"] .notice-bar { background: linear-gradient(90deg, #0b0f19 0%, rgba(197, 160, 89, 0.12) 50%, #0b0f19 100%); border-color: var(--clr-border); color: #f8fafc; }
html[data-theme="dark"] .trust-item {
  background: #141c2e;
  border-color: var(--clr-border);
  color: #cbd5e1;
}
html[data-theme="dark"] .trust-item:hover {
  background: #1a253c;
  border-color: var(--clr-border-gold);
  color: #f8fafc;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.14);
}
html[data-theme="dark"] .hero-trust { background: #141c2e; border-color: var(--clr-border); }
html[data-theme="dark"] .card { background: var(--clr-card); border-color: var(--clr-border); }
html[data-theme="dark"] .card:hover { border-color: var(--clr-border-dark); }
html[data-theme="dark"] .card-highlight { background: linear-gradient(180deg, #161f33 0%, #0e1422 65%); border-color: var(--clr-border-gold); }
html[data-theme="dark"] .sol-card { background: var(--clr-card); border-color: var(--clr-border); }
html[data-theme="dark"] .sol-card:hover { background: #141c2e; border-color: var(--clr-border-gold); }
html[data-theme="dark"] .pricing-card { background: #0e1422; border-color: var(--clr-border); }
html[data-theme="dark"] .pricing-card.popular,
html[data-theme="dark"] .pricing-card.featured {
  background: linear-gradient(180deg, #182236 0%, #0e1422 65%) !important;
  border-color: var(--clr-gold) !important;
  box-shadow: 0 16px 40px rgba(197, 160, 89, 0.2), var(--shadow-md);
}
html[data-theme="dark"] .arch-node { background: #0e1422; border-color: var(--clr-border); }
html[data-theme="dark"] .arch-node.active {
  background: linear-gradient(180deg, #1e2a42 0%, #141c2e 100%) !important;
  border-color: var(--clr-gold) !important;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.25) !important;
}
html[data-theme="dark"] .btn-gold {
  background: linear-gradient(135deg, #fce8bd 0%, #dfba73 35%, #c5a059 70%, #9d7c38 100%);
  color: #0b0f19 !important;
  border-color: rgba(223, 186, 115, 0.85);
  box-shadow: 0 4px 28px rgba(197, 160, 89, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
html[data-theme="dark"] .btn-gold:hover {
  background: linear-gradient(135deg, #fff0cb 0%, #ecd091 35%, #dba853 70%, #af8737 100%);
  box-shadow: 0 8px 36px rgba(197, 160, 89, 0.55), 0 0 22px rgba(197, 160, 89, 0.35);
  color: #04060a !important;
  border-color: #fce8bd;
}
html[data-theme="dark"] .btn-ghost { background: #141c2e; color: #f8fafc !important; border-color: var(--clr-border); }
html[data-theme="dark"] .btn-ghost:hover { background: #1a243a; border-color: var(--clr-border-gold); color: var(--clr-gold-light) !important; box-shadow: 0 4px 20px rgba(197, 160, 89, 0.2); }
html[data-theme="dark"] .btn-outline { background: transparent; color: var(--clr-gold-light) !important; border-color: var(--clr-border-gold); }
html[data-theme="dark"] .btn-outline:hover { background: var(--clr-gold-subtle); border-color: var(--clr-gold); box-shadow: 0 4px 24px rgba(197, 160, 89, 0.25); color: #ffffff !important; }
html[data-theme="dark"] .btn-wa {
  background: linear-gradient(135deg, #182236 0%, #0b0f19 100%);
  border-color: rgba(197, 160, 89, 0.5);
  color: #dfba73 !important;
  box-shadow: 0 4px 24px rgba(197, 160, 89, 0.25);
}
html[data-theme="dark"] .btn-wa:hover {
  background: linear-gradient(135deg, #22304c 0%, #111a2d 100%);
  border-color: #dfba73;
  color: #ffffff !important;
  box-shadow: 0 8px 32px rgba(197, 160, 89, 0.45), 0 0 20px rgba(197, 160, 89, 0.3);
}
html[data-theme="dark"] .fab {
  background: linear-gradient(135deg, #182236 0%, #0b0f19 100%);
  border-color: rgba(197, 160, 89, 0.65);
  color: #dfba73 !important;
  box-shadow: 0 8px 32px rgba(197, 160, 89, 0.4), 0 0 16px rgba(197, 160, 89, 0.2);
}
html[data-theme="dark"] .fab:hover {
  background: linear-gradient(135deg, #24304d 0%, #0e1424 100%);
  border-color: #dfba73;
  color: #ffffff !important;
  box-shadow: 0 14px 44px rgba(197, 160, 89, 0.6), 0 0 28px rgba(197, 160, 89, 0.4);
}
html[data-theme="dark"] .footer { background: #070a12; border-top: 1px solid var(--clr-border); }
html[data-theme="dark"] .estimator,
html[data-theme="dark"] .roi-container,
html[data-theme="dark"] .arch-inspector { background: #0e1422; border-color: var(--clr-border); }
html[data-theme="dark"] .roi-controls { background: #141c2e; border-color: var(--clr-border); }
html[data-theme="dark"] .roi-stat-card { background: #141c2e; border-color: var(--clr-border); }
html[data-theme="dark"] .roi-stat-card.primary {
  background: linear-gradient(135deg, #182236 0%, #0e1422 100%);
  border-color: rgba(197, 160, 89, 0.45);
  box-shadow: 0 4px 24px rgba(197, 160, 89, 0.16);
}
html[data-theme="dark"] .roi-action-card {
  background: linear-gradient(135deg, #18243a 0%, #101728 100%);
  border-color: rgba(197, 160, 89, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(197, 160, 89, 0.15);
}
html[data-theme="dark"] .compare-table { background: #0e1422; border-color: var(--clr-border); }
html[data-theme="dark"] .compare-table th { background: #141c2e; border-color: var(--clr-border); color: #f8fafc; }
html[data-theme="dark"] .compare-table td { border-color: var(--clr-border); color: #94a3b8; }
html[data-theme="dark"] .compare-table tr:hover td { background: rgba(197, 160, 89, 0.08); }
html[data-theme="dark"] .spec-table-wrap { border-color: var(--clr-border); }
html[data-theme="dark"] .spec-table-row { background: #0e1422; border-color: var(--clr-border); }
html[data-theme="dark"] .spec-table-row:nth-child(even) { background: #141c2e; }
html[data-theme="dark"] .badge-muted { background: #141c2e; border-color: var(--clr-border); color: #94a3b8; }
html[data-theme="dark"] .badge-success { background: rgba(197, 160, 89, 0.12); color: #dfba73; border-color: rgba(197, 160, 89, 0.35); }
html[data-theme="dark"] .cta-banner {
  background: radial-gradient(circle at center, rgba(197, 160, 89, 0.12) 0%, #0e1422 70%), var(--clr-bg);
  border-color: var(--clr-border);
}
html[data-theme="dark"] .consent-banner { background: #0e1422; border-color: var(--clr-border); color: #cbd5e1; }
html[data-theme="dark"] .form-input,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .form-textarea { background: #141c2e; border-color: var(--clr-border); color: #f8fafc; }
html[data-theme="dark"] input[type="range"] { background: #1e293b; }
html[data-theme="dark"] input[type="range"]::-webkit-slider-thumb { border-color: #0b0f19; box-shadow: 0 2px 12px rgba(197, 160, 89, 0.5); }
html[data-theme="dark"] input[type="range"]::-moz-range-thumb { border-color: #0b0f19; box-shadow: 0 2px 12px rgba(197, 160, 89, 0.5); }
html[data-theme="dark"] .nav-links { background: rgba(11, 15, 25, 0.98); }

/* ============================================================
   27. ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--clr-gold-glow);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (prefers-contrast: more) {
  :root { --clr-text: #0f172a; --clr-muted: #334155; --clr-border: #94a3b8; }
  h1, h2, h3 { font-weight: 850; }
  .btn { border-width: 2px; }
}

.skip-to-main {
  position: absolute;
  top: -40px; left: 0;
  background: var(--clr-gold);
  color: #080b11;
  padding: 8px;
  text-decoration: none;
  z-index: 2100;
  font-weight: 600;
}
.skip-to-main:focus { top: 0; }
