/* ==========================================================================
   BCS Agency — Storytelling Web Application UI
   Theme: Cinematic Dark · Narrative Scroll · Chapter-Driven Design
   Inspired by: Linear, Vercel, Notion, Arc Browser
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --story-bg:          #08090e;
  --story-surface:     #0f1117;
  --story-surface-2:   #141720;
  --story-surface-3:   #1a1f2e;
  --story-border:      rgba(255,255,255,0.07);
  --story-border-glow: rgba(99,102,241,0.35);
  --brand:             #6366f1;
  --brand-bright:      #818cf8;
  --brand-glow:        rgba(99,102,241,0.18);
  --brand-glow-strong: rgba(99,102,241,0.35);
  --brand-tint:        rgba(99,102,241,0.08);
  --primary:           var(--brand);
  --text-white:    #ffffff;
  --text-primary:  #f1f5f9;
  --text-body:     #94a3b8;
  --text-muted:    #64748b;
  --text-subtle:   #334155;
  --emerald:       #10b981;
  --emerald-tint:  rgba(16,185,129,0.1);
  --amber:         #f59e0b;
  --amber-tint:    rgba(245,158,11,0.1);
  --rose:          #f43f5e;
  --rose-tint:     rgba(244,63,94,0.1);
  --cyan:          #06b6d4;
  --cyan-tint:     rgba(6,182,212,0.1);
  --story-header-bg: rgba(8,9,14,0.85);
  --story-header-scrolled: rgba(8,9,14,0.96);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --nav-height: 68px;
  --glow-brand:   0 0 40px rgba(99,102,241,0.25), 0 0 80px rgba(99,102,241,0.1);
  --glow-sm:      0 0 20px rgba(99,102,241,0.15);
  --shadow-card:  0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
  --shadow-panel: 0 0 0 1px rgba(255,255,255,0.06), 0 16px 48px rgba(0,0,0,0.5);
  --ease-spring:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap:    cubic-bezier(0.25, 1, 0.5, 1);
  --transition:   all 0.22s var(--ease-spring);
  --transition-lg: all 0.45s var(--ease-spring);
  --r-xs:   4px; --r-sm:   8px; --r-md:   12px;
  --r-lg:   16px; --r-xl:   20px; --r-2xl:  24px; --r-full: 9999px;
}

/* Light Mode Design Tokens */
[data-theme="light"] {
  --story-bg:          #f8fafc;
  --story-surface:     #ffffff;
  --story-surface-2:   #f1f5f9;
  --story-surface-3:   #e2e8f0;
  --story-border:      rgba(15,23,42,0.08);
  --story-border-glow: rgba(79,70,229,0.25);
  --brand:             #4f46e5;
  --brand-bright:      #6366f1;
  --brand-glow:        rgba(79,70,229,0.12);
  --brand-glow-strong: rgba(79,70,229,0.25);
  --brand-tint:        rgba(79,70,229,0.07);
  --primary:           var(--brand);
  --text-white:        #0f172a;
  --text-primary:      #0f172a;
  --text-body:         #334155;
  --text-muted:        #64748b;
  --text-subtle:       #94a3b8;
  --emerald:           #059669;
  --emerald-tint:      rgba(5,150,105,0.08);
  --amber:             #d97706;
  --amber-tint:        rgba(217,119,6,0.08);
  --rose:              #e11d48;
  --rose-tint:         rgba(225,29,72,0.08);
  --cyan:              #0891b2;
  --cyan-tint:         rgba(8,145,178,0.08);
  --story-header-bg:   rgba(248,250,252,0.88);
  --story-header-scrolled: rgba(255,255,255,0.97);
  --shadow-card:       0 1px 3px rgba(15,23,42,0.05), 0 8px 24px rgba(15,23,42,0.04);
  --shadow-panel:      0 0 0 1px rgba(15,23,42,0.06), 0 16px 40px rgba(15,23,42,0.08);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 32px); }
body {
  font-family: var(--font-body);
  background-color: var(--story-bg);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-primary); font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-bright); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.story-section { padding: 4.5rem 0; position: relative; }
.story-section + .story-section { border-top: 1px solid var(--story-border); }
.section { padding: 4.5rem 0; position: relative; }
.section.bg-alt { background: var(--story-surface); border-top: 1px solid var(--story-border); border-bottom: 1px solid var(--story-border); }
.bg-surface { background: var(--story-surface); border-top: 1px solid var(--story-border); border-bottom: 1px solid var(--story-border); }

/* --------------------------------------------------------------------------
   4. Progress Bar
   -------------------------------------------------------------------------- */
.app-progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright), #a78bfa);
  box-shadow: 0 0 8px rgba(99,102,241,0.6);
  z-index: 9999; width: 0%; transition: width 0.4s var(--ease-snap);
}

/* --------------------------------------------------------------------------
   5. Top Bar
   -------------------------------------------------------------------------- */
.top-bar { background: rgba(99,102,241,0.06); border-bottom: 1px solid rgba(99,102,241,0.15); font-size: 0.8125rem; padding: 0.45rem 0; color: var(--text-body); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1.25rem; }
.status-indicator { display: inline-flex; align-items: center; color: var(--text-primary); font-weight: 600; font-size: 0.8rem; }
.top-bar-divider { color: var(--text-subtle); }
.top-bar-highlight { color: var(--brand-bright); font-weight: 600; display: inline-flex; align-items: center; }
.top-bar-link { color: var(--text-body); display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 500; font-size: 0.8rem; transition: var(--transition); }
.top-bar-link:hover { color: var(--brand-bright); }
.top-bar-link.whatsapp-link { color: #34d399; font-weight: 600; }

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 1000; background: var(--story-header-bg); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--story-border); padding: 0.85rem 0; transition: var(--transition); }
.header.scrolled { background: var(--story-header-scrolled); border-bottom-color: var(--story-border); box-shadow: var(--shadow-card); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; color: var(--text-white); text-decoration: none; }
.logo-badge { width: 38px; height: 38px; background: linear-gradient(135deg, var(--brand), #a78bfa); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 16px rgba(99,102,241,0.4); transition: var(--transition); }
.logo:hover .logo-badge { box-shadow: 0 0 24px rgba(99,102,241,0.6); transform: scale(1.05); }
.logo-mark { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; }
.logo-text-group { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--text-white); line-height: 1.2; }
.logo-subtitle { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle-btn {
  width: 36px; height: 36px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--story-surface); border: 1px solid var(--story-border);
  color: var(--text-primary); transition: var(--transition); cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08); flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: var(--brand-tint); border-color: var(--brand);
  color: var(--brand-bright); transform: translateY(-1px);
}
.theme-toggle-btn:active { transform: translateY(0) scale(0.95); }
.theme-toggle-btn i { font-size: 0.95rem; transition: transform 0.25s var(--ease-spring); }

/* Theme icons toggle visibility */
:root:not([data-theme="light"]) .icon-sun,
[data-theme="dark"] .icon-sun {
  display: inline-block; color: #fbbf24;
}
:root:not([data-theme="light"]) .icon-moon,
[data-theme="dark"] .icon-moon {
  display: none;
}
[data-theme="light"] .icon-sun {
  display: none;
}
[data-theme="light"] .icon-moon {
  display: inline-block; color: var(--brand);
}

.header-cta-btn { padding: 0.55rem 1.15rem; font-size: 0.875rem; }
.mobile-only-cta { display: none; }

.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; padding: 0.45rem 0.85rem; border-radius: var(--r-sm); transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--brand-bright); }
.nav-item-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-dropdown-arrow { font-size: 0.6rem; transition: transform 0.2s var(--ease-spring); color: var(--text-muted); }
.nav-item-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); color: var(--brand-bright); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%) translateY(8px); width: 500px; background: var(--story-surface-2); border: 1px solid var(--story-border); border-radius: var(--r-xl); box-shadow: var(--shadow-panel); padding: 1rem; opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.2s var(--ease-spring); z-index: 1050; }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px; }
.nav-item-dropdown:hover .nav-dropdown-menu, .nav-item-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown-menu.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
.dropdown-service-item { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.65rem 0.75rem; border-radius: var(--r-md); transition: all 0.15s ease; color: var(--text-body); }
.dropdown-service-item:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.dropdown-service-icon { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--brand-tint); color: var(--brand-bright); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; transition: var(--transition); }
.dropdown-service-item:hover .dropdown-service-icon { background: var(--brand); color: #fff; }
.dropdown-service-info strong { font-size: 0.825rem; font-weight: 600; color: var(--text-primary); display: block; }
.dropdown-service-info span { font-size: 0.71rem; color: var(--text-muted); margin-top: 0.1rem; display: block; }
.dropdown-footer-bar { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--story-border); }
.dropdown-footer-link { font-size: 0.8rem; font-weight: 600; color: var(--brand-bright); display: inline-flex; align-items: center; gap: 0.35rem; }
.dropdown-est-pill { font-family: var(--font-mono); font-size: 0.7rem; background: var(--brand-tint); color: var(--brand-bright); padding: 0.25rem 0.65rem; border-radius: 4px; border: 1px solid rgba(99,102,241,0.2); cursor: pointer; transition: var(--transition); }
.dropdown-est-pill:hover { background: var(--brand); color: #fff; }
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; z-index: 1010; }
.hamburger span { display: block; width: 100%; height: 2px; background-color: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.6rem; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; border-radius: var(--r-md); transition: var(--transition); cursor: pointer; white-space: nowrap; border: 1px solid transparent; line-height: 1; text-decoration: none; }
.btn i { font-size: 0.8rem; transition: transform 0.2s var(--ease-spring); }
.btn:hover i { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff !important; box-shadow: 0 4px 16px rgba(99,102,241,0.35); border-color: transparent; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.5); background: linear-gradient(135deg, #7c3aed, var(--brand)); color: #fff !important; }
.btn-primary:active { transform: translateY(0) scale(0.97); }
.btn-secondary { background: rgba(255,255,255,0.06); color: var(--text-primary) !important; border: 1px solid var(--story-border); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: var(--text-white) !important; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-primary) !important; border: 1px solid var(--story-border); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-bright) !important; background: var(--brand-tint); }
.btn-accent { background: var(--amber); color: #000 !important; font-weight: 700; }
.btn-accent:hover { background: #d97706; transform: translateY(-2px); color: #000 !important; }
.btn-dark { background: rgba(255,255,255,0.08); color: var(--text-primary) !important; border: 1px solid var(--story-border); }
.btn-dark:hover { background: rgba(255,255,255,0.12); color: var(--text-white) !important; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.825rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   8. Scroll Animations
   -------------------------------------------------------------------------- */
.animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring); will-change: opacity, transform; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(1) { transition-delay: 0.04s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.16s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.20s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.24s; }

/* --------------------------------------------------------------------------
   9. Badges & Status
   -------------------------------------------------------------------------- */
.story-badge { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.85rem; border-radius: var(--r-full); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-heading); }
.badge-indigo { background: var(--brand-tint); color: var(--brand-bright); border: 1px solid rgba(99,102,241,0.2); }
.badge-amber  { background: var(--amber-tint); color: var(--amber); border: 1px solid rgba(245,158,11,0.25); }
.badge-emerald{ background: var(--emerald-tint); color: var(--emerald); border: 1px solid rgba(16,185,129,0.25); }
.badge-cyan   { background: var(--cyan-tint); color: var(--cyan); border: 1px solid rgba(6,182,212,0.25); }
.badge-rose   { background: var(--rose-tint); color: var(--rose); border: 1px solid rgba(244,63,94,0.25); }
.badge-code { font-family: var(--font-mono); font-size: 0.65rem; color: var(--brand-bright); background: var(--brand-tint); border: 1px solid rgba(99,102,241,0.2); padding: 0.15rem 0.45rem; border-radius: var(--r-xs); letter-spacing: 0.04em; }
.badge-solid-blue    { background: var(--brand-tint); color: var(--brand-bright); border: 1px solid rgba(99,102,241,0.25); padding: 0.2rem 0.55rem; border-radius: var(--r-full); font-size: 0.65rem; font-weight: 700; }
.badge-solid-emerald { background: var(--emerald-tint); color: var(--emerald); border: 1px solid rgba(16,185,129,0.25); padding: 0.2rem 0.55rem; border-radius: var(--r-full); font-size: 0.65rem; font-weight: 700; }
.badge-solid-amber   { background: var(--amber-tint); color: var(--amber); border: 1px solid rgba(245,158,11,0.25); padding: 0.2rem 0.55rem; border-radius: var(--r-full); font-size: 0.65rem; font-weight: 700; }
.kicker-badge { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.85rem; border-radius: var(--r-full); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; background: var(--brand-tint); color: var(--brand-bright); border: 1px solid rgba(99,102,241,0.2); }
.kicker-badge i { font-size: 0.75rem; }
.status-radar { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 8px; height: 8px; margin-right: 4px; flex-shrink: 0; }
.status-radar::before { content: ''; position: absolute; width: 100%; height: 100%; background: var(--emerald); border-radius: 50%; opacity: 0.8; animation: radar-ping 2s cubic-bezier(0,0,0.2,1) infinite; }
.status-radar::after { content: ''; position: relative; width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 6px rgba(16,185,129,0.6); }
@keyframes radar-ping { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.pod-beacon-dot { display: inline-block; width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 6px rgba(16,185,129,0.7); animation: beacon-pulse 2s ease-in-out infinite; }
@keyframes beacon-pulse { 0%, 100% { box-shadow: 0 0 4px rgba(16,185,129,0.7); } 50% { box-shadow: 0 0 10px rgba(16,185,129,0.9); } }

/* --------------------------------------------------------------------------
   10. Alerts
   -------------------------------------------------------------------------- */
.alert { padding: 0.85rem 1.15rem; border-radius: var(--r-md); margin-bottom: 1rem; font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.alert-success { background: var(--emerald-tint); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.alert-error   { background: var(--rose-tint); color: #fb7185; border: 1px solid rgba(244,63,94,0.25); }

/* --------------------------------------------------------------------------
   11. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: unset; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3.75rem 0 2.5rem; position: relative; overflow: hidden; text-align: center;
  background-color: var(--story-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(124,58,237,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(6,182,212,0.04) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 900px; margin: 0 auto; }

/* Hero eyebrow */
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem 0.35rem 0.55rem; background: var(--brand-tint); border: 1px solid rgba(99,102,241,0.22); border-radius: var(--r-full); font-size: 0.78rem; font-weight: 600; color: var(--brand-bright); margin-bottom: 1.25rem; }
.hero-badge .badge-text { color: var(--brand-bright); }
.hero-badge .badge-divider { color: rgba(99,102,241,0.4); }
.hero-badge .badge-accent { color: var(--emerald); font-weight: 700; }
.hero-badge .badge-code { color: var(--amber); }

/* Hero headline */
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; color: var(--text-white); letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 1rem; max-width: 840px; margin-left: auto; margin-right: auto; }
.highlight-text { color: var(--brand-bright); position: relative; }

/* Subtitle */
.hero .subtitle { font-size: 1.05rem; color: var(--text-body); line-height: 1.65; max-width: 640px; margin: 0 auto 1.65rem; }

/* CTA group */
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

/* Assurances */
.hero-assurances { display: flex; align-items: center; justify-content: center; gap: 1.5rem; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; flex-wrap: wrap; margin-bottom: 1.85rem; }
.hero-assurances span { display: inline-flex; align-items: center; gap: 0.35rem; }
.hero-assurances i { color: var(--emerald); }

/* Trust bar / stats */
.trust-bar { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-xl); box-shadow: var(--shadow-card); display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin-bottom: 2.25rem; overflow: hidden; }
.trust-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.15rem 0.75rem; border-right: 1px solid var(--story-border); position: relative; }
.trust-stat:last-child { border-right: none; }
.trust-stat::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: 0; transition: var(--transition); }
.trust-stat:hover::before { opacity: 1; }
.trust-stat:nth-child(1) .stat-number { color: var(--amber); }
.trust-stat:nth-child(2) .stat-number { color: var(--brand-bright); }
.trust-stat:nth-child(3) .stat-number { color: var(--emerald); }
.trust-stat:nth-child(4) .stat-number { color: var(--cyan); }
.stat-number { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; line-height: 1; margin-bottom: 0.25rem; letter-spacing: -0.035em; }
.stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* --------------------------------------------------------------------------
   12. Section Headers
   -------------------------------------------------------------------------- */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 2.75rem; }
.section-header h2 { color: var(--text-white); margin-bottom: 0.75rem; }
.section-subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.65; }

/* --------------------------------------------------------------------------
   13. Intro Section
   -------------------------------------------------------------------------- */
.intro-section { padding: 4rem 0; background: var(--story-surface); border-top: 1px solid var(--story-border); border-bottom: 1px solid var(--story-border); }
.intro-card { background: var(--story-bg); border: 1px solid var(--story-border); border-radius: var(--r-2xl); padding: 3rem; position: relative; overflow: hidden; }
.intro-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: 0.6; }
.intro-card h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--text-white); margin-bottom: 1.25rem; max-width: 700px; }
.intro-card p { font-size: 1.05rem; color: var(--text-body); line-height: 1.8; max-width: 720px; }
.intro-card p strong { color: var(--text-primary); }
.content-body p strong { color: var(--text-primary); }

/* --------------------------------------------------------------------------
   14. Services Grid
   -------------------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; background: transparent; border: none; border-radius: 0; overflow: visible; box-shadow: none; }
.service-card { background: linear-gradient(180deg, var(--story-surface) 0%, rgba(15,17,23,0.92) 100%); border: 1px solid var(--story-border); border-radius: var(--r-xl); padding: 2.25rem 2rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 0 4px 20px -2px rgba(0,0,0,0.3); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--brand), var(--brand-bright), transparent); opacity: 0; transition: opacity 0.35s ease; }
.service-card:hover { background: linear-gradient(180deg, var(--story-surface-2) 0%, var(--story-surface) 100%); border-color: rgba(99,102,241,0.45); transform: translateY(-8px); box-shadow: 0 24px 48px -12px rgba(0,0,0,0.65), 0 0 35px -5px rgba(99,102,241,0.28); z-index: 2; }
.service-card:hover::before { opacity: 1; }
.service-mod-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.svc-mod-code, .badge-code.svc-mod-code { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-subtle); letter-spacing: 0.08em; background: none; border: none; padding: 0; }
.service-sla-pill, .svc-status-pill { font-size: 0.65rem; font-weight: 700; color: var(--emerald); display: flex; align-items: center; gap: 0.3rem; }
.service-icon-box { width: 52px; height: 52px; border-radius: var(--r-lg); background: var(--brand-tint); color: var(--brand-bright); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1.35rem; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease; border: 1px solid rgba(99,102,241,0.2); }
.service-card:hover .service-icon-box { background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.45); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; letter-spacing: -0.015em; line-height: 1.4; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; flex-grow: 1; }
.service-tech-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.75rem; }
.service-tech-pill { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--story-border); padding: 0.25rem 0.65rem; border-radius: var(--r-full); transition: var(--transition); }
.service-card:hover .service-tech-pill { border-color: rgba(99,102,241,0.25); background: rgba(99,102,241,0.08); color: var(--text-primary); }
.service-actions-row { display: flex; align-items: center; justify-content: space-between; padding-top: 1.35rem; border-top: 1px solid var(--story-border); margin-top: auto; }
.service-link { font-size: 0.82rem; font-weight: 600; color: var(--brand-bright); display: inline-flex; align-items: center; gap: 0.35rem; transition: gap 0.2s ease, color 0.2s ease; }
.service-link:hover { gap: 0.6rem; color: #fff; }
.service-link i { font-size: 0.72rem; transition: transform 0.2s ease; }
.service-link:hover i { transform: translateX(3px); }
.service-spec-btn { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--story-border); padding: 0.4rem 0.85rem; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: 0.4rem; transition: var(--transition); cursor: pointer; }
.service-spec-btn:hover { background: var(--brand-tint); border-color: rgba(99,102,241,0.3); color: var(--brand-bright); transform: translateY(-1px); }
.capabilities-filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; padding: 0.35rem; background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-lg); width: fit-content; }
.cap-filter-btn { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); padding: 0.5rem 1rem; border-radius: var(--r-md); transition: var(--transition); cursor: pointer; }
.cap-filter-btn.active, .cap-filter-btn:hover { background: var(--brand); color: #fff; }

/* --------------------------------------------------------------------------
   15. Estimator Section
   -------------------------------------------------------------------------- */
.app-estimator-section { background: var(--story-surface); }
.inline-estimator-card { background: var(--story-bg); border: 1px solid var(--story-border); border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-panel); }
.inline-step-group { padding: 2rem; border-bottom: 1px solid var(--story-border); }
.inline-step-title { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.step-chip { font-family: var(--font-mono); font-size: 0.65rem; background: var(--brand-tint); color: var(--brand-bright); border: 1px solid rgba(99,102,241,0.2); padding: 0.2rem 0.5rem; border-radius: var(--r-xs); }
.platform-options-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.platform-card { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-lg); padding: 1.25rem 1rem; text-align: center; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.platform-card i { font-size: 1.75rem; color: var(--text-muted); }
.platform-card .plat-name { font-size: 0.82rem; font-weight: 700; color: var(--text-body); }
.platform-card .plat-base { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.platform-card:hover, .platform-card.selected { border-color: var(--brand); background: var(--brand-tint); }
.platform-card.selected i { color: var(--brand-bright); }
.platform-card.selected .plat-name { color: var(--text-primary); }
.feature-chips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.feature-chip { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-lg); padding: 1rem 1.15rem; cursor: pointer; transition: var(--transition); display: block; }
.feature-chip input { display: none; }
.feature-chip.checked, .feature-chip:hover { border-color: rgba(99,102,241,0.4); background: var(--brand-tint); }
.feature-chip-content { pointer-events: none; }
.feature-chip-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.3rem; }
.feature-chip-title span:first-child { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.feature-chip-price { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brand-bright); font-weight: 600; }
.feature-chip-desc { font-size: 0.75rem; color: var(--text-muted); }
.velocity-toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.velocity-option { display: flex; align-items: flex-start; gap: 0.85rem; padding: 1.15rem 1.25rem; background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-lg); cursor: pointer; transition: var(--transition); }
.velocity-option input { display: none; }
.velocity-option.selected, .velocity-option:hover { border-color: rgba(99,102,241,0.4); background: var(--brand-tint); }
.velocity-text strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.velocity-text span { font-size: 0.78rem; color: var(--text-muted); }
.estimator-summary-card { padding: 2rem; background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(124,58,237,0.05)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.summary-details { display: flex; gap: 3rem; }
.summary-metric-sub { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.35rem; }
.summary-metric-val { font-family: var(--font-heading); font-size: 1.65rem; font-weight: 800; color: var(--brand-bright); letter-spacing: -0.03em; }
.estimator-apply-btn { background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; padding: 0.9rem 1.75rem; border-radius: var(--r-md); font-size: 0.875rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.6rem; transition: var(--transition); cursor: pointer; box-shadow: 0 4px 16px rgba(99,102,241,0.35); border: none; }
.estimator-apply-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.5); }

/* --------------------------------------------------------------------------
   16. SLA Matrix
   -------------------------------------------------------------------------- */
.sla-matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sla-card { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-xl); padding: 1.75rem; transition: var(--transition); position: relative; overflow: hidden; }
.sla-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--brand), #7c3aed); opacity: 0; transition: var(--transition); }
.sla-card:hover { border-color: rgba(99,102,241,0.3); background: var(--story-surface-2); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.15); }
.sla-card:hover::after { opacity: 1; }
.sla-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.35rem; }
.sla-tag { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-subtle); letter-spacing: 0.08em; }
.sla-benchmark-pill { font-size: 0.7rem; font-weight: 700; color: var(--emerald); display: flex; align-items: center; gap: 0.3rem; }
.sla-icon-box { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand-bright); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 1.15rem; border: 1px solid rgba(99,102,241,0.15); }
.sla-card h3 { font-size: 0.975rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.6rem; }
.sla-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }
.sla-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--story-border); font-size: 0.72rem; color: var(--text-muted); }
.sla-spec-check { display: flex; align-items: center; gap: 0.35rem; color: var(--emerald); font-weight: 600; }

/* --------------------------------------------------------------------------
   17. Process Pipeline
   -------------------------------------------------------------------------- */
.pipeline-banner { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-lg); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.pipeline-git-branch { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.pipeline-git-branch i { color: var(--brand-bright); }
.pipeline-git-branch strong { color: var(--brand-bright); }
.pipeline-stats { display: flex; gap: 1.5rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.pipeline-stats strong { color: var(--emerald); }
.pipeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pipeline-card { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-xl); padding: 1.75rem; transition: var(--transition); position: relative; }
.pipeline-card:hover { border-color: rgba(99,102,241,0.3); background: var(--story-surface-2); transform: translateY(-3px); }
.pipeline-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.pipeline-step-badge { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-subtle); letter-spacing: 0.08em; }
.pipeline-icon-circle { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand-bright); display: flex; align-items: center; justify-content: center; font-size: 1rem; border: 1px solid rgba(99,102,241,0.15); }
.pipeline-card h3 { font-size: 0.975rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.pipeline-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }
.pipeline-deliverables { margin-top: 1.25rem; }
.deliverables-label { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.deliverables-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.deliv-tag { font-size: 0.7rem; font-family: var(--font-mono); background: rgba(99,102,241,0.08); color: var(--brand-bright); border: 1px solid rgba(99,102,241,0.18); padding: 0.2rem 0.55rem; border-radius: var(--r-full); }

/* --------------------------------------------------------------------------
   18. Industries
   -------------------------------------------------------------------------- */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; background: transparent; border: none; border-radius: 0; overflow: visible; box-shadow: none; }
.industry-card { background: linear-gradient(180deg, var(--story-surface) 0%, rgba(15,17,23,0.92) 100%); border: 1px solid var(--story-border); border-radius: var(--r-xl); padding: 1.85rem 1.65rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 0 4px 20px -2px rgba(0,0,0,0.25); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease; cursor: pointer; }
.industry-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: 0; transition: opacity 0.35s ease; }
.industry-card:hover { background: linear-gradient(180deg, var(--story-surface-2) 0%, var(--story-surface) 100%); border-color: rgba(99,102,241,0.4); transform: translateY(-6px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6), 0 0 28px -5px rgba(99,102,241,0.24); z-index: 2; }
.industry-card:hover::before { opacity: 1; }
.industry-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.35rem; }
.industry-icon-box { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand-bright); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; border: 1px solid rgba(99,102,241,0.18); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease; }
.industry-card:hover .industry-icon-box { background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.4); }
.industry-tag { font-family: var(--font-mono); font-size: 0.65rem; color: var(--emerald); background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); padding: 0.25rem 0.6rem; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; }
.industry-card-body { flex-grow: 1; margin-bottom: 1.35rem; }
.industry-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.industry-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
.industry-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1.15rem; border-top: 1px solid var(--story-border); margin-top: auto; }
.industry-learn-more { font-size: 0.8rem; font-weight: 600; color: var(--brand-bright); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s ease, color 0.2s ease; }
.industry-card:hover .industry-learn-more { gap: 0.6rem; color: #fff; }
.industry-learn-more i { font-size: 0.72rem; transition: transform 0.2s ease; }
.industry-card:hover .industry-learn-more i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   19. Case Studies
   -------------------------------------------------------------------------- */
.case-studies-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.deployment-card { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-xl); overflow: hidden; transition: var(--transition); }
.deployment-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.deployment-chrome-bar { background: var(--story-surface-2); border-bottom: 1px solid var(--story-border); padding: 0.65rem 1rem; display: flex; align-items: center; gap: 0.75rem; }
.deployment-dots { display: flex; gap: 0.35rem; }
.deployment-dot { width: 10px; height: 10px; border-radius: 50%; }
.deployment-dot.red { background: #ff5f56; }
.deployment-dot.yellow { background: #ffbd2e; }
.deployment-dot.green { background: #27c93f; }
.deployment-url-box { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--story-border); border-radius: var(--r-sm); padding: 0.25rem 0.65rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; overflow: hidden; white-space: nowrap; }
.deployment-telemetry-tag { font-family: var(--font-mono); font-size: 0.68rem; color: var(--emerald); font-weight: 600; display: flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.deployment-body { padding: 1.75rem; }
.deployment-meta-row { display: flex; gap: 0.6rem; margin-bottom: 1rem; }
.deployment-badge-cat { font-size: 0.7rem; font-weight: 700; background: var(--brand-tint); color: var(--brand-bright); border: 1px solid rgba(99,102,241,0.2); padding: 0.22rem 0.6rem; border-radius: var(--r-full); }
.deployment-arch-pill { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--story-border); padding: 0.22rem 0.6rem; border-radius: var(--r-full); display: flex; align-items: center; gap: 0.3rem; }
.deployment-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; }
.deployment-client { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.deployment-client i { font-size: 0.72rem; }
.deployment-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.5rem; }
.deployment-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.25rem; background: rgba(255,255,255,0.025); border-radius: var(--r-lg); margin-bottom: 1.5rem; border: 1px solid var(--story-border); }
.kpi-unit { text-align: center; }
.kpi-val { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--text-primary); display: block; letter-spacing: -0.025em; }
.kpi-val.highlight { color: var(--brand-bright); }
.kpi-lbl { font-size: 0.72rem; color: var(--text-muted); display: block; margin-top: 0.2rem; }
.deployment-footer-actions { display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; border-top: 1px solid var(--story-border); }

/* --------------------------------------------------------------------------
   20. Testimonials
   -------------------------------------------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial-card { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-xl); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; transition: var(--transition); position: relative; overflow: hidden; }
.testimonial-card:hover { border-color: rgba(99,102,241,0.25); background: var(--story-surface-2); }
.quote-watermark { position: absolute; bottom: 1.25rem; right: 1.5rem; font-size: 3.5rem; color: rgba(255,255,255,0.025); pointer-events: none; }
.rating-stars { display: flex; align-items: center; gap: 0.2rem; color: var(--amber); font-size: 0.82rem; }
.quote-body { font-size: 0.9rem; color: var(--text-body); line-height: 1.75; font-style: italic; }
.client-profile { display: flex; align-items: center; gap: 0.85rem; padding-top: 1rem; border-top: 1px solid var(--story-border); margin-top: auto; }
.avatar-initial { width: 40px; height: 40px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--brand), #7c3aed); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.client-meta h4 { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.15rem; }
.client-meta span { font-size: 0.75rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   21. FAQ
   -------------------------------------------------------------------------- */
.faq-accordion { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.65rem; }
.faq-item { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-lg); overflow: hidden; transition: var(--transition); }
.faq-item.active, .faq-item:focus-within { border-color: rgba(99,102,241,0.3); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; font-size: 0.95rem; font-weight: 600; color: var(--text-primary); text-align: left; gap: 1rem; transition: var(--transition); font-family: var(--font-body); }
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-chevron { width: 28px; height: 28px; border-radius: var(--r-sm); background: rgba(255,255,255,0.05); border: 1px solid var(--story-border); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; flex-shrink: 0; transition: var(--transition); color: var(--text-muted); }
.faq-item.active .faq-chevron { transform: rotate(180deg); background: var(--brand-tint); border-color: rgba(99,102,241,0.25); color: var(--brand-bright); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 1.5rem 1.35rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; border-top: 1px solid var(--story-border); padding-top: 1rem; }

/* --------------------------------------------------------------------------
   22. CTA / Contact Section
   -------------------------------------------------------------------------- */
.cta-section { padding: 4.5rem 0; background: var(--story-surface); border-top: 1px solid var(--story-border); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(99,102,241,0.08) 0%, transparent 70%); pointer-events: none; }
.contact-split-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; position: relative; z-index: 1; }
.contact-info-panel { padding-top: 0.5rem; }
.workstation-pod-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); border-radius: var(--r-full); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; color: var(--emerald); letter-spacing: 0.06em; margin-bottom: 1.5rem; }
.contact-info-panel h3 { font-size: 1.65rem; font-weight: 800; color: var(--text-white); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 0.85rem; }
.panel-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; }
.panel-desc strong { color: var(--text-primary); }
.contact-channels { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.channel-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--story-bg); border: 1px solid var(--story-border); border-radius: var(--r-lg); transition: var(--transition); }
.channel-card:hover { border-color: rgba(99,102,241,0.25); background: rgba(99,102,241,0.04); }
.channel-icon { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand-bright); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; border: 1px solid rgba(99,102,241,0.15); }
.channel-info h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.2rem; }
.channel-info a { font-size: 0.85rem; font-weight: 600; color: var(--brand-bright); }
.sla-guarantee-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 1.25rem; background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.2); border-radius: var(--r-lg); }
.sla-guarantee-card > i { color: var(--brand-bright); font-size: 1.15rem; flex-shrink: 0; margin-top: 0.15rem; }
.sla-text h5 { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; }
.sla-text p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.terminal-window-card { background: var(--story-bg); border: 1px solid var(--story-border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-panel); }
.terminal-top-chrome { background: var(--story-surface-2); border-bottom: 1px solid var(--story-border); padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.terminal-chrome-left { display: flex; align-items: center; gap: 0.85rem; }
.terminal-title-text { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.terminal-branch-tag { background: rgba(99,102,241,0.1); color: var(--brand-bright); border: 1px solid rgba(99,102,241,0.2); padding: 0.1rem 0.4rem; border-radius: var(--r-xs); font-size: 0.65rem; }
.terminal-chrome-right { display: flex; align-items: center; gap: 1rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.terminal-session-status { display: flex; align-items: center; gap: 0.35rem; color: var(--emerald); font-weight: 600; }
.terminal-body-inner { padding: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
.field-prompt-label { display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.prompt-keyword { color: var(--brand-bright); }
.req { color: var(--rose); margin-left: 0.2rem; }
.form-control { width: 100%; padding: 0.8rem 1rem; background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-md); color: var(--text-primary); font-size: 0.9rem; transition: var(--transition); outline: none; }
.form-control::placeholder { color: var(--text-subtle); }
.form-control:focus, .terminal-input-focus:focus { border-color: rgba(99,102,241,0.5); background: var(--story-surface-2); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.form-control option { background: var(--story-surface-2); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-security-note { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: var(--text-muted); margin-top: 0.85rem; padding: 0.65rem 0.85rem; background: rgba(255,255,255,0.025); border-radius: var(--r-sm); border: 1px solid var(--story-border); }
.form-security-note i { color: var(--emerald); font-size: 0.75rem; }
.form-alert-msg { margin-bottom: 1rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------------------
   23. Hero Tech Showcase Console (Compact & Refined)
   -------------------------------------------------------------------------- */
.hero-tech-showcase { margin-top: 0.85rem; text-align: left; }
.showcase-frame { background: var(--story-surface); border: 1px solid var(--story-border); border-radius: var(--r-xl); box-shadow: var(--shadow-panel), var(--glow-brand); overflow: hidden; }
.showcase-topbar { background: var(--story-surface-2); border-bottom: 1px solid var(--story-border); padding: 0.5rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.traffic-lights { display: flex; align-items: center; gap: 0.35rem; }
.traffic-lights .light { width: 9px; height: 9px; border-radius: 50%; }
.traffic-lights .light.red { background: #ff5f56; }
.traffic-lights .light.yellow { background: #ffbd2e; }
.traffic-lights .light.green { background: #27c93f; }
.showcase-address-bar { background: rgba(255,255,255,0.04); border: 1px solid var(--story-border); border-radius: var(--r-sm); padding: 0.25rem 0.65rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; flex: 1; max-width: 440px; }
.showcase-address-bar i { color: var(--emerald); font-size: 0.62rem; }
.showcase-badge { font-size: 0.68rem; font-weight: 600; color: var(--emerald); display: flex; align-items: center; gap: 0.3rem; }
.showcase-metrics-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--story-border); }
.metric-card { padding: 0.65rem 0.9rem; display: flex; align-items: center; gap: 0.6rem; border-right: 1px solid var(--story-border); }
.metric-card:last-child { border-right: none; }
.metric-icon { width: 30px; height: 30px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; }
.metric-icon.green  { background: var(--emerald-tint); color: var(--emerald); }
.metric-icon.blue   { background: var(--brand-tint); color: var(--brand-bright); }
.metric-icon.indigo { background: var(--brand-tint); color: #a78bfa; }
.metric-icon.emerald{ background: rgba(52,211,153,0.08); color: #34d399; }
.metric-info { display: flex; flex-direction: column; }
.metric-val { font-family: var(--font-heading); font-size: 0.98rem; font-weight: 800; color: var(--text-primary); display: block; line-height: 1.1; }
.metric-lbl { font-size: 0.63rem; color: var(--text-muted); font-weight: 600; display: block; }
.showcase-tabs-nav { display: flex; background: var(--story-surface-2); border-bottom: 1px solid var(--story-border); overflow-x: auto; }
.showcase-tab { padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; transition: var(--transition); font-family: var(--font-body); }
.showcase-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.showcase-tab.active { color: var(--brand-bright); border-bottom-color: var(--brand); }
.showcase-tab-content { padding: 1.25rem; background: var(--story-bg); }
.code-preview-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.25rem; align-items: center; }
.code-block { background: #060810; border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r-md); padding: 1rem; font-family: var(--font-mono); font-size: 0.74rem; overflow: hidden; }
.code-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.code-header span { color: var(--text-muted); font-size: 0.7rem; }
.code-copy-btn { font-size: 0.68rem; font-family: var(--font-mono); color: var(--text-muted); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 0.15rem 0.45rem; border-radius: var(--r-xs); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 0.3rem; }
.code-copy-btn:hover { background: var(--brand-tint); color: var(--brand-bright); }
.code-block code { color: #c9d1d9; line-height: 1.6; display: block; }
.code-key  { color: #79c0ff; }
.code-str  { color: #a5d6ff; }
.code-num  { color: #ff9f00; }
.code-bool { color: #ffa756; }
.architecture-features { display: flex; flex-direction: column; gap: 0.85rem; }
.feat-row { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0.85rem; background: rgba(255,255,255,0.025); border: 1px solid var(--story-border); border-radius: var(--r-md); }
.feat-row i { margin-top: 0.15rem; font-size: 0.9rem; flex-shrink: 0; }
.feat-row strong { font-size: 0.825rem; color: var(--text-primary); display: block; margin-bottom: 0.15rem; }
.feat-row p { font-size: 0.74rem; color: var(--text-muted); margin: 0; }
.app-simulator-panel {}
.sim-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.95rem; }
.sim-title { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700; color: var(--text-primary); }
.sim-badge { font-family: var(--font-mono); font-size: 0.62rem; background: var(--brand-tint); color: var(--brand-bright); border: 1px solid rgba(99,102,241,0.2); padding: 0.12rem 0.4rem; border-radius: var(--r-xs); }
.sim-view-toggle { display: flex; background: rgba(255,255,255,0.04); border: 1px solid var(--story-border); border-radius: var(--r-sm); overflow: hidden; }
.sim-view-btn { padding: 0.35rem 0.75rem; font-size: 0.72rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; transition: var(--transition); }
.sim-view-btn.active { background: var(--brand); color: #fff; }
.sim-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.sim-metric-card { background: rgba(255,255,255,0.025); border: 1px solid var(--story-border); border-radius: var(--r-md); padding: 0.7rem; }
.sim-lbl { font-size: 0.64rem; color: var(--text-muted); margin-bottom: 0.25rem; font-weight: 600; }
.sim-val { font-family: var(--font-heading); font-size: 0.98rem; font-weight: 800; color: var(--text-primary); display: block; margin-bottom: 0.15rem; }
.sim-val.text-primary { color: var(--brand-bright); }
.sim-sub { font-size: 0.62rem; color: var(--text-muted); }
.sim-controls-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 0.85rem 1rem; background: rgba(255,255,255,0.025); border: 1px solid var(--story-border); border-radius: var(--r-md); }
.sim-slider-wrap { flex: 1; }
.sim-slider-label { display: flex; justify-content: space-between; font-size: 0.72rem; margin-bottom: 0.45rem; color: var(--text-muted); }
.sim-slider-label strong { color: var(--brand-bright); }
.sim-slider-input { width: 100%; -webkit-appearance: none; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); outline: none; cursor: pointer; }
.sim-slider-input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px rgba(99,102,241,0.5); cursor: pointer; }
.sim-slider-wrap { flex: 1; }
.sim-slider-label { display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 0.6rem; color: var(--text-muted); }
.sim-slider-label strong { color: var(--brand-bright); }
.sim-slider-input { width: 100%; -webkit-appearance: none; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); outline: none; cursor: pointer; }
.sim-slider-input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px rgba(99,102,241,0.5); cursor: pointer; }

/* --------------------------------------------------------------------------
   24. Footer (Compact Application Footer & Telemetry Bar)
   -------------------------------------------------------------------------- */
.footer { background: var(--story-surface); border-top: 1px solid var(--story-border); padding-top: 2.25rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--story-border); }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-bottom: 0.65rem; }
.footer-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 0.75rem; }
.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.trust-pill { font-size: 0.68rem; font-weight: 700; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--story-border); padding: 0.25rem 0.6rem; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 0.3rem; }
.trust-pill i { color: var(--brand-bright); font-size: 0.62rem; }
.social-icons { display: flex; gap: 0.5rem; }
.social-icons a { width: 30px; height: 30px; border-radius: var(--r-sm); background: rgba(255,255,255,0.05); border: 1px solid var(--story-border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.78rem; transition: var(--transition); }
.social-icons a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.social-icons a.wa-icon:hover { background: #16a34a; border-color: #16a34a; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.65rem; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--text-primary); padding-left: 3px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.65rem; }
.footer-contact-list li > i { color: var(--brand-bright); font-size: 0.8rem; margin-top: 0.15rem; flex-shrink: 0; }
.contact-lbl { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 0.1rem; }
.footer-contact-list a, .footer-contact-list span { font-size: 0.82rem; color: var(--text-body); }
.footer-contact-list a:hover { color: var(--brand-bright); }
.footer-bottom { padding: 0.75rem 0; border-top: 1px solid var(--story-border); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; align-items: center; gap: 0.85rem; font-size: 0.78rem; }
.footer-bottom-links a { color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--brand-bright); }
.footer-bottom-links span { color: var(--text-subtle); }
.app-telemetry-status-bar { background: var(--story-bg); border-top: 1px solid var(--story-border); padding: 0.4rem 0; }
.telemetry-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.telemetry-left, .telemetry-right { display: flex; align-items: center; gap: 0.85rem; }
.telemetry-pill { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-subtle); display: flex; align-items: center; gap: 0.35rem; }
.telemetry-pill i { color: var(--emerald); font-size: 0.6rem; }

/* --------------------------------------------------------------------------
   24b. Universal Page Hero & Breadcrumbs
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 3.25rem 0 2.25rem;
  background: var(--story-bg);
  border-bottom: 1px solid var(--story-border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 240px;
  background: radial-gradient(ellipse at center top, rgba(99, 102, 241, 0.15) 0%, rgba(124, 58, 237, 0.05) 45%, transparent 70%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.workstation-pod-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-full);
  background: rgba(99, 102, 241, 0.12);
  color: var(--brand-bright);
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 1rem;
}
.pod-beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulse-beacon 2s infinite ease-in-out;
}
@keyframes pulse-beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.page-hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.page-hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.breadcrumbs a:hover {
  color: var(--brand-bright);
}
.breadcrumbs .breadcrumb-sep {
  font-size: 0.65rem;
  color: var(--text-subtle);
}
.breadcrumbs span {
  color: var(--text-primary);
  font-weight: 600;
}
.page-hero-telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--story-border);
}
.hero-telemetry-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--story-border);
}
.hero-telemetry-item i {
  color: var(--brand-bright);
  font-size: 0.75rem;
}
.hero-telemetry-item strong {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   24c. Legal Center & Data Governance UI
   -------------------------------------------------------------------------- */
.legal-section {
  padding: 3rem 0 5rem;
  background: var(--story-bg);
}
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.legal-nav-card {
  background: var(--story-surface);
  border: 1px solid var(--story-border);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.legal-nav-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--story-border);
}
.legal-nav-header i {
  color: var(--brand-bright);
}
.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.legal-toc-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
}
.legal-toc-item .toc-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.4rem;
  border-radius: var(--r-xs);
  transition: var(--transition);
}
.legal-toc-item:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--text-primary);
  border-color: rgba(99, 102, 241, 0.2);
}
.legal-toc-item:hover .toc-num {
  color: var(--brand-bright);
  background: rgba(99, 102, 241, 0.15);
}
.legal-toc-item.active {
  background: rgba(99, 102, 241, 0.12);
  color: var(--brand-bright);
  font-weight: 600;
  border-color: rgba(99, 102, 241, 0.3);
}
.legal-toc-item.active .toc-num {
  background: var(--brand);
  color: #fff;
}
.legal-nda-box {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.08), rgba(124, 58, 237, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--r-xl);
  padding: 1.25rem;
}
.nda-box-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.legal-nda-box h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.legal-nda-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.nda-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.55rem 0.85rem;
}

/* Clauses Column */
.legal-content-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.legal-clause-card {
  background: var(--story-surface);
  border: 1px solid var(--story-border);
  border-radius: var(--r-2xl);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  scroll-margin-top: 100px;
  position: relative;
  transition: border-color var(--transition-base);
}
.legal-clause-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
}
.clause-card-header {
  margin-bottom: 1.25rem;
}
.clause-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-bright);
  margin-bottom: 0.5rem;
}
.clause-index {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: var(--r-xs);
  color: var(--brand-bright);
}
.clause-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.legal-guarantee-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r-lg);
  margin-bottom: 1.5rem;
}
.legal-guarantee-banner.highlight-emerald {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}
.guarantee-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(99, 102, 241, 0.12);
  color: var(--brand-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.legal-guarantee-banner.highlight-emerald .guarantee-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
}
.guarantee-text strong {
  font-size: 0.9rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.2rem;
}
.guarantee-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.clause-body {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-body);
}
.clause-body p {
  margin-bottom: 1rem;
}
.clause-body p:last-child {
  margin-bottom: 0;
}
.clause-body strong {
  color: var(--text-primary);
}
.clause-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--story-border);
}
.clause-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--story-border);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.clause-pill i {
  color: var(--emerald);
  font-size: 0.7rem;
}

/* Data Points Grid */
.data-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.data-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--story-border);
  border-radius: var(--r-lg);
  padding: 1rem;
}
.data-point-item i {
  color: var(--brand-bright);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.data-point-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.data-point-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: block;
}

/* Security Features Grid */
.security-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.sec-feature-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--story-border);
  border-radius: var(--r-lg);
  padding: 1rem;
}
.sec-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.sec-feature-box strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.sec-feature-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Milestone Flow Steps */
.terms-milestone-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.milestone-flow-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--story-border);
  border-radius: var(--r-lg);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
}
.step-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-bright);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-xs);
  align-self: flex-start;
  margin-bottom: 0.5rem;
}
.milestone-flow-step strong {
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.milestone-flow-step span:not(.step-badge) {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Officer Card */
.legal-officer-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--story-border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  margin-top: 1.25rem;
}
.officer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.officer-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.officer-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.officer-val {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}
.officer-val i {
  color: var(--brand-bright);
  font-size: 0.8rem;
}
a.officer-val:hover {
  color: var(--brand-bright);
}

/* --------------------------------------------------------------------------
   25. Overlays & Modals
   -------------------------------------------------------------------------- */
.app-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: flex-start; justify-content: center; padding: 8vh 1rem 2rem; }
.app-overlay.active { display: flex; }
.command-palette { background: var(--story-surface-2); border: 1px solid var(--story-border); border-radius: var(--r-2xl); width: 100%; max-width: 580px; box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06); overflow: hidden; }
.command-search-row { display: flex; align-items: center; gap: 0.85rem; padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--story-border); }
.command-search-row i { color: var(--text-muted); font-size: 0.95rem; }
.command-input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-size: 1rem; font-family: var(--font-body); }
.command-input::placeholder { color: var(--text-subtle); }
.command-kbd { font-family: var(--font-mono); font-size: 0.65rem; background: rgba(255,255,255,0.07); color: var(--text-muted); border: 1px solid var(--story-border); padding: 0.2rem 0.5rem; border-radius: var(--r-xs); }
.command-results { max-height: 380px; overflow-y: auto; padding: 0.5rem; }
.command-group-title { font-size: 0.68rem; font-weight: 700; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.09em; padding: 0.65rem 0.85rem 0.4rem; }
.command-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 0.85rem; border-radius: var(--r-md); cursor: pointer; transition: var(--transition); }
.command-item:hover { background: rgba(255,255,255,0.05); }
.command-item-icon { width: 32px; height: 32px; border-radius: var(--r-sm); background: rgba(255,255,255,0.05); border: 1px solid var(--story-border); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--text-muted); flex-shrink: 0; }
.command-item-label { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }
.command-footer { padding: 0.75rem 1.25rem; border-top: 1px solid var(--story-border); display: flex; align-items: center; gap: 1.25rem; font-size: 0.72rem; color: var(--text-subtle); }
.command-shortcut { display: inline-flex; align-items: center; gap: 0.35rem; }
.app-estimator-modal { background: var(--story-surface-2); border: 1px solid var(--story-border); border-radius: var(--r-2xl); width: 100%; max-width: 680px; box-shadow: var(--shadow-panel); overflow: hidden; max-height: 85vh; display: flex; flex-direction: column; }
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--story-border); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.modal-close { width: 30px; height: 30px; border-radius: var(--r-sm); background: rgba(255,255,255,0.05); border: 1px solid var(--story-border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
.modal-close:hover { background: var(--rose-tint); color: var(--rose); }
.modal-body { flex: 1; overflow-y: auto; padding: 1.5rem; }

/* --------------------------------------------------------------------------
   26. WhatsApp Float
   -------------------------------------------------------------------------- */
.wa-float-btn { position: fixed; bottom: 1.75rem; right: 1.75rem; width: 52px; height: 52px; border-radius: var(--r-full); background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 24px rgba(37,211,102,0.4); z-index: 1500; transition: var(--transition); text-decoration: none; }
.wa-float-btn:hover { background: #1DA851; color: #fff; transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.6); }

/* --------------------------------------------------------------------------
   27. Scrollbar & Selection
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--story-bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
::selection { background: rgba(99,102,241,0.35); color: var(--text-white); }

/* --------------------------------------------------------------------------
   28. Cursor Glow
   -------------------------------------------------------------------------- */
.glow-cursor { position: fixed; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%); pointer-events: none; z-index: 0; transform: translate(-50%, -50%); transition: opacity 0.3s ease; mix-blend-mode: screen; }

/* --------------------------------------------------------------------------
   29. Misc
   -------------------------------------------------------------------------- */
.copy-trigger { cursor: pointer; }
.highlight-text { color: var(--brand-bright); }
.text-primary-val { color: var(--brand-bright); }

/* --------------------------------------------------------------------------
   30. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .sla-matrix-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-stat:nth-child(2) { border-right: none; }
  .trust-stat:nth-child(3) { border-top: 1px solid var(--story-border); }
  .contact-split-box { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .legal-layout { grid-template-columns: 240px 1fr; gap: 1.75rem; }
  .code-preview-grid { grid-template-columns: 1fr; }
  .sim-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-options-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-chips-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-metrics-bar { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2) { border-right: none; }
  .metric-card:nth-child(3) { border-top: 1px solid var(--story-border); }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu { position: fixed; inset: 0; top: calc(var(--nav-height)); background: rgba(8,9,14,0.98); backdrop-filter: blur(20px); padding: 2rem 1.5rem; transform: translateX(100%); transition: transform 0.35s var(--ease-spring); overflow-y: auto; border-top: 1px solid var(--story-border); }
  .nav-menu.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .nav-link { padding: 0.85rem 1rem; font-size: 1rem; border-radius: var(--r-md); }
  .nav-dropdown-menu { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; background: rgba(255,255,255,0.03); border-radius: var(--r-lg); margin-top: 0.5rem; }
  .header-cta-btn { display: none; }
  .mobile-only-cta { display: block; margin-top: 1rem; }
  .mobile-only-cta .cta-btn { width: 100%; justify-content: center; }
  .hero { min-height: unset; padding: 5rem 0 3.5rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .story-section, .section { padding: 4rem 0; }
  .intro-card { padding: 2rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .sla-matrix-grid { grid-template-columns: 1fr; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .case-studies-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .platform-options-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-chips-grid { grid-template-columns: 1fr; }
  .velocity-toggle-group { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-sidebar { position: static; }
  .data-points-grid, .security-features-grid, .terms-milestone-flow, .officer-grid { grid-template-columns: 1fr; }
  .legal-clause-card { padding: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .top-bar-right { display: none; }
  .top-bar-left { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .summary-details { flex-direction: column; gap: 1.25rem; }
  .estimator-summary-card { flex-direction: column; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .showcase-metrics-bar { grid-template-columns: repeat(2, 1fr); }
  .sim-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-controls-bar { flex-direction: column; gap: 1rem; }
  .capabilities-filter-bar { width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); border-radius: var(--r-lg); }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .hero-assurances { flex-direction: column; gap: 0.75rem; }
  .deployment-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .telemetry-right { display: none; }
  .sim-metrics-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   SUPPLEMENTARY: Dark Theme — Overlay Modals, Toast, Dock, Back-to-Top
   ========================================================================== */

/* --------------------------------------------------------------------------
   App Modal Backdrop (Command Palette + Estimator)
   -------------------------------------------------------------------------- */
.app-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 1rem 2rem;
  overflow-y: auto;
}
.app-modal-backdrop.open { display: flex; }

/* Command Palette Card */
.command-palette-card {
  background: var(--story-surface-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  width: 100%; max-width: 580px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  animation: slideDown 0.25s var(--ease-spring);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.command-search-header {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--story-border);
}
.command-search-header i { color: var(--text-muted); font-size: 0.95rem; }
.command-search-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 1rem; font-family: var(--font-body);
}
.command-search-input::placeholder { color: var(--text-subtle); }
.command-close-badge {
  font-family: var(--font-mono); font-size: 0.65rem;
  background: rgba(255,255,255,0.07); color: var(--text-muted);
  border: 1px solid var(--story-border); padding: 0.2rem 0.5rem;
  border-radius: 4px; cursor: pointer; transition: var(--transition);
}
.command-close-badge:hover { background: var(--rose-tint); color: var(--rose); }
.command-results-list { max-height: 380px; overflow-y: auto; padding: 0.5rem; }
.command-group-title {
  font-size: 0.68rem; font-weight: 700; color: var(--text-subtle);
  text-transform: uppercase; letter-spacing: 0.09em;
  padding: 0.65rem 0.85rem 0.4rem;
}
.command-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem 0.85rem; border-radius: 10px; cursor: pointer;
  transition: var(--transition); width: 100%; text-align: left;
  font-family: var(--font-body); text-decoration: none;
}
.command-item:hover, .command-item.selected { background: rgba(255,255,255,0.06); }
.command-item i { width: 20px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.item-title { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; flex: 1; }
.item-badge {
  font-family: var(--font-mono); font-size: 0.65rem;
  background: var(--brand-tint); color: var(--brand-bright);
  border: 1px solid rgba(99,102,241,0.2);
  padding: 0.15rem 0.45rem; border-radius: 4px;
}
.command-palette-footer {
  padding: 0.75rem 1.25rem; border-top: 1px solid var(--story-border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.72rem; color: var(--text-subtle);
}
.command-hints { display: flex; gap: 1rem; }
.command-hints kbd {
  background: rgba(255,255,255,0.07); border: 1px solid var(--story-border);
  border-radius: 3px; padding: 0.1rem 0.35rem; font-size: 0.65rem;
  color: var(--text-muted); font-family: var(--font-mono);
}

/* Estimator Modal Card */
.estimator-modal-card {
  background: var(--story-surface-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  width: 100%; max-width: 680px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  animation: slideDown 0.25s var(--ease-spring);
}
.estimator-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--story-border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.estimator-header-title h3 { font-size: 1rem; color: var(--text-primary); font-weight: 700; margin-bottom: 0.2rem; }
.estimator-header-title p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.estimator-body { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.estimator-step-label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.estimator-step-label i { color: var(--brand-bright); }

/* --------------------------------------------------------------------------
   Telemetry Badge (footer status bar)
   -------------------------------------------------------------------------- */
.telemetry-badge {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-subtle);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.telemetry-badge i { color: var(--emerald); font-size: 0.62rem; }
.telemetry-cmd-btn {
  font-family: var(--font-mono); font-size: 0.68rem;
  background: rgba(255,255,255,0.05); border: 1px solid var(--story-border);
  color: var(--text-subtle); padding: 0.2rem 0.6rem; border-radius: 4px;
  cursor: pointer; transition: var(--transition);
}
.telemetry-cmd-btn:hover { background: var(--brand-tint); color: var(--brand-bright); }

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed; bottom: 5.5rem; right: 1.5rem;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--story-surface-2);
  border: 1px solid var(--story-border);
  color: var(--text-muted);
  display: none; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer;
  z-index: 900; transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover {
  background: var(--brand); color: #fff;
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(99,102,241,0.4);
}

/* --------------------------------------------------------------------------
   Mobile App Dock
   -------------------------------------------------------------------------- */
.mobile-app-dock {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(15,17,23,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--story-border);
  padding: 0.65rem 0 max(0.65rem, env(safe-area-inset-bottom));
  justify-content: space-around;
  z-index: 1200;
}
.dock-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  font-size: 0.65rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; padding: 0.35rem 0.75rem;
  border-radius: 8px; transition: var(--transition); cursor: pointer;
}
.dock-item i { font-size: 1.15rem; }
.dock-item:hover, .dock-item.active { color: var(--brand-bright); }
.dock-item.dock-cta { color: var(--brand-bright); }
@media (max-width: 768px) {
  .mobile-app-dock { display: flex; }
  main { padding-bottom: 4.5rem; }
  .back-to-top { bottom: 6rem; }
  .wa-float-btn { bottom: 5.5rem; right: 1rem; width: 46px; height: 46px; font-size: 1.3rem; }
}

/* --------------------------------------------------------------------------
   Toast Notification System
   -------------------------------------------------------------------------- */
.web-toast-container {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 9000; display: flex; flex-direction: column; gap: 0.6rem;
  align-items: center; pointer-events: none;
}
.web-toast {
  background: var(--story-surface-2);
  border: 1px solid var(--story-border);
  border-radius: 12px;
  padding: 0.85rem 1.15rem 0.85rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  min-width: 280px; max-width: 400px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  transform: translateY(8px); opacity: 0;
  transition: all 0.3s var(--ease-spring);
  pointer-events: auto; position: relative; overflow: hidden;
}
.web-toast.show { transform: translateY(0); opacity: 1; }
.web-toast-icon { font-size: 1rem; flex-shrink: 0; }
.toast-success .web-toast-icon { color: var(--emerald); }
.toast-error   .web-toast-icon { color: var(--rose); }
.toast-info    .web-toast-icon { color: var(--brand-bright); }
.web-toast-content { flex: 1; }
.web-toast-title { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.15rem; }
.web-toast-message { font-size: 0.78rem; color: var(--text-muted); }
.web-toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 0; flex-shrink: 0; transition: var(--transition); line-height: 1; }
.web-toast-close:hover { color: var(--text-primary); }
.web-toast-progress { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--brand); animation: toast-progress linear forwards; border-radius: 0 0 0 12px; }
@keyframes toast-progress { from { width: 100%; } to { width: 0%; } }

/* --------------------------------------------------------------------------
   Feature chip price color variant (included)
   -------------------------------------------------------------------------- */
.feature-chip-price[style*="--emerald"] { color: var(--emerald) !important; }

/* --------------------------------------------------------------------------
   Highlight text inline in headings
   -------------------------------------------------------------------------- */
.hero h1 .highlight-text {
  color: var(--brand-bright);
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  font-weight: 800;
}

/* Cursor glow element uses mix-blend-mode:screen only, no cursor override */

/* --------------------------------------------------------------------------
   26. Comprehensive Light Mode Component Overrides
   -------------------------------------------------------------------------- */
[data-theme="light"] .hero {
  background-color: var(--story-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79,70,229,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(124,58,237,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(6,182,212,0.03) 0%, transparent 50%);
}
[data-theme="light"] .hero::after {
  background-image: linear-gradient(rgba(15,23,42,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,0.035) 1px, transparent 1px);
}
[data-theme="light"] .btn-secondary {
  background: #ffffff;
  color: var(--text-primary) !important;
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
[data-theme="light"] .btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(79,70,229,0.3);
  color: var(--brand) !important;
}
[data-theme="light"] .btn-outline {
  background: transparent;
  color: var(--text-primary) !important;
  border: 1px solid rgba(15,23,42,0.14);
}
[data-theme="light"] .btn-outline:hover {
  background: var(--brand-tint);
  border-color: var(--brand);
  color: var(--brand) !important;
}
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  background: rgba(79,70,229,0.06);
}
[data-theme="light"] .nav-dropdown-menu {
  background: #ffffff;
  border-color: rgba(15,23,42,0.09);
  box-shadow: 0 16px 40px rgba(15,23,42,0.1);
}
[data-theme="light"] .dropdown-service-item:hover {
  background: #f8fafc;
}
[data-theme="light"] .services-grid,
[data-theme="light"] .industries-grid {
  background: transparent;
  border: none;
}
[data-theme="light"] .service-card,
[data-theme="light"] .industry-card {
  background: #ffffff;
  border-color: rgba(15,23,42,0.09);
  box-shadow: 0 4px 16px -2px rgba(15,23,42,0.06);
}
[data-theme="light"] .service-card:hover,
[data-theme="light"] .industry-card:hover {
  background: #ffffff;
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 20px 40px -10px rgba(15,23,42,0.12), 0 0 20px -3px rgba(99,102,241,0.12);
}
[data-theme="light"] .service-tech-pill {
  background: #f1f5f9;
  border-color: rgba(15,23,42,0.07);
  color: #475569;
}
[data-theme="light"] .service-spec-btn {
  background: #f1f5f9;
  border-color: rgba(15,23,42,0.09);
  color: #475569;
}
[data-theme="light"] .sla-card {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
[data-theme="light"] .sla-card:hover {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15,23,42,0.07), 0 0 0 1px rgba(79,70,229,0.15);
}
[data-theme="light"] .pipeline-card {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15,23,42,0.03);
}
[data-theme="light"] .pipeline-card:hover {
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15,23,42,0.06);
}
[data-theme="light"] .pipeline-banner {
  background: #ffffff;
  border-color: rgba(15,23,42,0.08);
}
[data-theme="light"] .industry-tag {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.25);
  color: #047857;
}
[data-theme="light"] .industry-learn-more {
  color: var(--brand);
}
[data-theme="light"] .industry-card:hover .industry-learn-more {
  color: var(--brand);
}
[data-theme="light"] .deployment-card {
  background: #ffffff;
}
[data-theme="light"] .deployment-chrome-bar {
  background: #f8fafc;
}
[data-theme="light"] .deployment-url-box {
  background: #ffffff;
  border-color: rgba(15,23,42,0.08);
  color: #475569;
}
[data-theme="light"] .deployment-kpi-grid {
  background: #f8fafc;
  border-color: rgba(15,23,42,0.07);
}
[data-theme="light"] .testimonial-card {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
[data-theme="light"] .quote-watermark {
  color: rgba(15,23,42,0.04);
}
[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: rgba(15,23,42,0.08);
}
[data-theme="light"] .faq-item.active {
  border-color: rgba(79,70,229,0.3);
  box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
[data-theme="light"] .terminal-window-card {
  background: #ffffff;
  border-color: rgba(15,23,42,0.09);
  box-shadow: 0 16px 40px rgba(15,23,42,0.07);
}
[data-theme="light"] .terminal-top-chrome {
  background: #f8fafc;
}
[data-theme="light"] .form-control {
  background: #f8fafc;
  border-color: rgba(15,23,42,0.12);
  color: var(--text-primary);
}
[data-theme="light"] .form-control:focus {
  background: #ffffff;
  border-color: var(--brand);
}
[data-theme="light"] .form-control option {
  background: #ffffff;
  color: #0f172a;
}
[data-theme="light"] .channel-card {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}
[data-theme="light"] .inline-estimator-card {
  background: #ffffff;
  border-color: rgba(15,23,42,0.09);
}
[data-theme="light"] .platform-card {
  background: #f8fafc;
}
[data-theme="light"] .platform-card:hover,
[data-theme="light"] .platform-card.selected {
  background: rgba(79,70,229,0.06);
}
[data-theme="light"] .feature-chip {
  background: #f8fafc;
}
[data-theme="light"] .feature-chip.checked,
[data-theme="light"] .feature-chip:hover {
  background: rgba(79,70,229,0.06);
}
[data-theme="light"] .velocity-option {
  background: #f8fafc;
}
[data-theme="light"] .velocity-option.selected,
[data-theme="light"] .velocity-option:hover {
  background: rgba(79,70,229,0.06);
}
[data-theme="light"] .estimator-summary-card {
  background: linear-gradient(135deg, rgba(79,70,229,0.06), rgba(124,58,237,0.04));
  border-top: 1px solid rgba(15,23,42,0.07);
}
[data-theme="light"] .command-palette-card {
  background: #ffffff;
  border-color: rgba(15,23,42,0.09);
  box-shadow: 0 24px 60px rgba(15,23,42,0.12);
}
[data-theme="light"] .command-search-header {
  background: #ffffff;
  border-bottom-color: rgba(15,23,42,0.08);
}
[data-theme="light"] .command-search-input {
  color: #0f172a;
}
[data-theme="light"] .command-close-badge {
  background: #f1f5f9;
  color: #64748b;
  border-color: rgba(15,23,42,0.1);
}
[data-theme="light"] .command-item:hover,
[data-theme="light"] .command-item.selected {
  background: #f1f5f9;
}
[data-theme="light"] .app-modal-card {
  background: #ffffff;
  border-color: rgba(15,23,42,0.09);
}
[data-theme="light"] .app-modal-header {
  background: #f8fafc;
}
[data-theme="light"] .mobile-app-dock {
  background: rgba(255,255,255,0.92);
  border-top-color: rgba(15,23,42,0.09);
  box-shadow: 0 -4px 20px rgba(15,23,42,0.04);
}
[data-theme="light"] #glow-cursor {
  opacity: 0 !important;
  display: none !important;
}

/* Page Hero & Legal Center Light Mode */
[data-theme="light"] .page-hero {
  background-color: #ffffff;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .page-hero::before {
  background: radial-gradient(ellipse at center top, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.02) 45%, transparent 70%);
}
[data-theme="light"] .workstation-pod-badge {
  background: rgba(79, 70, 229, 0.08);
  color: var(--brand);
  border-color: rgba(79, 70, 229, 0.2);
}
[data-theme="light"] .hero-telemetry-item {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}
[data-theme="light"] .legal-section {
  background-color: var(--story-bg);
}
[data-theme="light"] .legal-nav-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .legal-toc-item {
  color: #64748b;
}
[data-theme="light"] .legal-toc-item .toc-num {
  background: #f1f5f9;
  color: #64748b;
}
[data-theme="light"] .legal-toc-item:hover {
  background: rgba(79, 70, 229, 0.06);
  color: var(--text-primary);
  border-color: rgba(79, 70, 229, 0.2);
}
[data-theme="light"] .legal-toc-item.active {
  background: rgba(79, 70, 229, 0.08);
  color: var(--brand);
  border-color: rgba(79, 70, 229, 0.25);
}
[data-theme="light"] .legal-toc-item.active .toc-num {
  background: var(--brand);
  color: #ffffff;
}
[data-theme="light"] .legal-nda-box {
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.02));
  border-color: rgba(79, 70, 229, 0.15);
}
[data-theme="light"] .legal-clause-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .legal-clause-card:hover {
  border-color: rgba(79, 70, 229, 0.25);
}
[data-theme="light"] .legal-guarantee-banner {
  background: rgba(79, 70, 229, 0.04);
  border-color: rgba(79, 70, 229, 0.15);
}
[data-theme="light"] .legal-guarantee-banner.highlight-emerald {
  background: rgba(5, 150, 105, 0.05);
  border-color: rgba(5, 150, 105, 0.2);
}
[data-theme="light"] .data-point-item,
[data-theme="light"] .sec-feature-box,
[data-theme="light"] .milestone-flow-step,
[data-theme="light"] .legal-officer-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .clause-pill {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

/* --------------------------------------------------------------------------
   27. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
