/* ==========================================================================
   MAHI BROWSER — ULTRA-PREMIUM DESIGN SYSTEM
   Awwwards & Vengence UI Quality Benchmark
   Double-Bezel Architecture • Fluid Typographic Clamp • Zero External CDNs
   ========================================================================== */

:root {
  /* 1. Radix-Calibrated Emerald & Obsidian Palette */
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;
  --emerald-brand: #00a87e;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --emerald-glow-subtle: rgba(16, 185, 129, 0.08);

  /* 2. Deep Spatial Surfaces */
  --bg-obsidian: #050811;
  --bg-navy: #090d16;
  --bg-card: #0f172a;
  --bg-card-hover: #141e33;
  --bg-glass: rgba(15, 23, 42, 0.72);
  --bg-glass-subtle: rgba(255, 255, 255, 0.03);

  /* Light Sections (Crisp Clean High-Contrast) */
  --bg-light: #f8fafc;
  --bg-light-surface: #ffffff;
  --bg-light-card: #ffffff;
  --bg-light-alt: #f1f5f9;

  /* 3. Hairline Borders & Dividers */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-hairline-hover: rgba(16, 185, 129, 0.4);
  --border-light: rgba(0, 0, 0, 0.08);
  --border-light-hover: rgba(0, 0, 0, 0.16);

  /* 4. Text Hierarchy */
  --text-dark-h: #f8fafc;
  --text-dark-body: #94a3b8;
  --text-dark-muted: #64748b;
  --text-light-h: #090d16;
  --text-light-body: #334155;
  --text-light-muted: #64748b;

  /* 5. Typography Scale (clamp-driven fluid tokens) */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --fs-display: clamp(2.75rem, 5.5vw, 4.5rem);
  --fs-h2: clamp(2rem, 3.5vw, 2.85rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.625rem);
  --fs-h4: clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body-lg: clamp(1.05rem, 1.25vw, 1.25rem);
  --fs-body: 0.95rem;
  --fs-body-sm: 0.825rem;
  --fs-eyebrow: 0.75rem;

  /* 6. Spacing System */
  --container-max: 1200px;
  --container-gutter: clamp(1rem, 3vw, 1.75rem);
  --section-py: clamp(5rem, 8vw, 8rem);
  --section-py-sm: clamp(3.5rem, 6vw, 5.5rem);

  /* 7. Curvature & Elevation */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* 8. Kinetic Physics Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: all 0.18s var(--ease-spring);
  --transition-base: all 0.28s var(--ease-spring);
  --transition-slow: all 0.5s var(--ease-spring);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-dark-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-obsidian);
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

/* ==========================================================================
   PERSPECTIVE BACKGROUND GRID & LIGHT BEAMS
   ========================================================================== */
.hero-ambient-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-obsidian);
}

.perspective-grid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 900px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 10%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 50% at 50% 10%, #000 30%, transparent 100%);
  z-index: 1;
}

.directional-light-beam {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.22) 0%, rgba(0, 168, 126, 0.08) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   1. FLOATING GLASS ISLAND NAVBAR (Detached Pill)
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 0 var(--container-gutter);
}

.navbar-island {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: var(--transition-base);
}

.navbar-island.is-scrolled {
  padding: 0.5rem 1.15rem;
  background: rgba(9, 13, 22, 0.94);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 12px 45px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.12);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--text-dark-h);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-500);
  box-shadow: 0 0 10px var(--emerald-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
}

.nav-links a {
  position: relative;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-dark-h);
  background: rgba(255, 255, 255, 0.05);
}

/* Nested Button-in-Button CTA Architecture */
.btn-nested-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem 0.45rem 1.15rem;
  background: linear-gradient(135deg, #00a87e 0%, #10b981 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-base);
}

.btn-nested-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-icon-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-nested-cta:hover .btn-icon-bubble {
  transform: translateX(2px) scale(1.05);
}

.mobile-menu-btn {
  display: none;
  color: var(--text-dark-h);
  padding: 0.4rem;
}

/* ==========================================================================
   2. HERO SECTION COMPOSITION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: clamp(8.5rem, 14vw, 12rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  z-index: 2;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Micro-Eyebrow Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px -3px rgba(16, 185, 129, 0.15);
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
  animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Oversized Display H1 */
.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-dark-h);
  max-width: 960px;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.shimmer-emerald {
  background: linear-gradient(135deg, #ffffff 10%, #34d399 50%, #00a87e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Subtitle */
.hero-sub {
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  color: var(--text-dark-body);
  max-width: 680px;
  margin-bottom: 2.25rem;
  text-wrap: pretty;
}

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

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #00a87e 0%, #10b981 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-base);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(16, 185, 129, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dark-h);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hairline);
  backdrop-filter: blur(12px);
  transition: var(--transition-base);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  margin-bottom: 2rem;
}

.hero-platform-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.os-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  font-size: 0.78rem;
  font-weight: 500;
  color: #cbd5e1;
}

.os-pill-badge.active {
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--emerald-300);
  background: rgba(16, 185, 129, 0.06);
}

.hero-engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-dark-muted);
  max-width: 600px;
}

/* ==========================================================================
   3. HERO PRODUCT SHOWCASE & REAL BROWSER MOCKUP
   ========================================================================== */
.hero-showcase-container {
  margin-top: 3.5rem;
  width: 100%;
  max-width: 1100px;
  position: relative;
}

/* Floating Service Pills on Top */
.floating-services-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-pill-item {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
}

.service-pill-item:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--emerald-500);
}

/* The Double-Bezel Browser Frame */
.browser-showcase-shell {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-hairline);
  padding: 0.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
}

.browser-showcase-inner {
  background: #ffffff;
  border-radius: calc(var(--radius-2xl) - 0.5rem);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.browser-tabs-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Live Product Cockpit Preview (under the real tabs) */
.browser-cockpit-view {
  background: #ffffff;
  padding: 1.5rem 2rem 2rem;
  color: #1e293b;
  text-align: left;
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.5rem;
}

.cockpit-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.cockpit-header p {
  font-size: 0.85rem;
  color: #64748b;
}

.cockpit-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.cockpit-stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.stat-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.cockpit-table-list {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cockpit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

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

.badge-pill-status {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-active { background: #dcfce7; color: #166534; }
.badge-ready { background: #fef9c3; color: #854d0e; }

/* 3 Benefit Double-Bezel Cards Directly Below Showcase */
.benefit-cards-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.benefit-shell {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-hairline);
  padding: 0.4rem;
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
}

.benefit-shell:hover {
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.benefit-core {
  background: rgba(15, 23, 42, 0.85);
  border-radius: calc(var(--radius-xl) - 0.4rem);
  padding: 1.75rem 1.5rem;
  text-align: left;
}

.benefit-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
  margin-bottom: 1.25rem;
}

.benefit-core h3 {
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--text-dark-h);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.benefit-core p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dark-body);
}

/* ==========================================================================
   4. DARK BIOMETRIC FINGERPRINT SECTION
   ========================================================================== */
.fingerprint-section {
  padding: var(--section-py) 0;
  background: var(--bg-obsidian);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-hairline);
}

.fingerprint-grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.fingerprint-info-side {
  text-align: left;
}

.fingerprint-info-side h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark-h);
  line-height: 1.15;
  margin: 1rem 0 1.25rem;
}

.fingerprint-info-side p.lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dark-body);
  margin-bottom: 2rem;
}

/* Interactive Selector Cards */
.selector-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.selector-card {
  padding: 1.25rem 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-base);
  text-align: left;
}

.selector-card:hover, .selector-card.active {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 20px -3px rgba(16, 185, 129, 0.15);
  transform: translateX(4px);
}

.selector-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark-h);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.selector-card p {
  font-size: 0.875rem;
  color: var(--text-dark-body);
  line-height: 1.5;
}

/* Biometric Graphic Visual Side */
.fingerprint-visual-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

.fingerprint-visual-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 0 35px rgba(16, 185, 129, 0.25));
  transition: transform 0.4s ease;
}

.fingerprint-visual-frame:hover .fingerprint-visual-img {
  transform: scale(1.02);
}

/* ==========================================================================
   5. ASYMMETRIC FEATURE SPLITS (With Real Product Screenshots)
   ========================================================================== */
.feature-split-section {
  padding: var(--section-py) 0;
  background: var(--bg-navy);
  border-top: 1px solid var(--border-hairline);
}

.split-layout-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.split-layout-row:last-child {
  margin-bottom: 0;
}

.split-layout-row.reversed {
  grid-template-columns: 1.1fr 1fr;
}

.split-text-block {
  text-align: left;
}

.split-text-block h3 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-dark-h);
  line-height: 1.2;
  margin: 1rem 0 1.25rem;
}

.split-text-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark-body);
  margin-bottom: 1.75rem;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.check-bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Framed Screenshot Container (Application Window Mockup) */
.window-app-mockup {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px -10px rgba(16, 185, 129, 0.1);
  transition: var(--transition-base);
  overflow: hidden;
}

.window-app-mockup:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 45px -5px rgba(16, 185, 129, 0.15);
}

.window-titlebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.85rem;
  background: #090d16;
  border-radius: calc(var(--radius-xl) - 0.5rem) calc(var(--radius-xl) - 0.5rem) 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-close { background: #ef4444; }
.dot-min { background: #f59e0b; }
.dot-max { background: #10b981; }

.window-caption {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.window-viewport {
  background: #ffffff;
  border-radius: 0 0 calc(var(--radius-xl) - 0.5rem) calc(var(--radius-xl) - 0.5rem);
  overflow: hidden;
}

.window-viewport img {
  width: 100%;
  height: auto;
  display: block;
}

/* Zero-Knowledge Restoration Flow Box (Split B) */
.zero-knowledge-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: left;
}

.zk-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
}

.zk-shield-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

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

/* ==========================================================================
   6. DIRECT DEVELOPER SUPPORT SECTION
   ========================================================================== */
.support-section {
  padding: var(--section-py) 0;
  background: var(--bg-obsidian);
  border-top: 1px solid var(--border-hairline);
}

.support-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.support-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.support-channel-card {
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  text-align: left;
}

.support-channel-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.9);
}

.support-channel-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark-h);
  margin-bottom: 0.35rem;
}

.support-channel-card p {
  font-size: 0.85rem;
  color: var(--text-dark-body);
  margin-bottom: 1rem;
}

.support-link-action {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald-400);
}

/* Native Live Support Interactive Card */
.support-chat-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px -10px rgba(16, 185, 129, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.support-chat-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dev-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #064e3b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.dev-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f172a;
}

.dev-meta-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.15rem;
}

.dev-meta-info span {
  font-size: 0.78rem;
  color: #10b981;
}

.support-messages-stream {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-bubble {
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 90%;
}

.chat-bubble.user-bubble {
  align-self: flex-end;
  background: #1e293b;
  color: #f1f5f9;
  border-bottom-right-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-bubble.dev-bubble {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

.chat-bubble-time {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.chat-quick-action {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   7. PLATFORM GRID (16 Frosted Brand Tiles)
   ========================================================================== */
.platform-section {
  padding: var(--section-py) 0;
  background: var(--bg-navy);
  border-top: 1px solid var(--border-hairline);
  text-align: center;
}

.section-head-center {
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-head-center h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark-h);
  line-height: 1.15;
  margin: 0.75rem 0;
}

.section-head-center p {
  font-size: 1.05rem;
  color: var(--text-dark-body);
  line-height: 1.6;
}

.platform-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.platform-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.15rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  text-align: left;
}

.platform-tile:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.15);
}

.platform-tile-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-tile-name {
  font-size: 0.925rem;
  font-weight: 600;
  color: #f1f5f9;
}

.platform-tile-cat {
  font-size: 0.72rem;
  color: #64748b;
}

/* ==========================================================================
   8. 12-FEATURE DARK BENTO MATRIX
   ========================================================================== */
.bento-section {
  padding: var(--section-py) 0;
  background: var(--bg-obsidian);
  border-top: 1px solid var(--border-hairline);
}

.bento-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.bento-cell {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.bento-cell:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.bento-icon-tag {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.bento-cell h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark-h);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.bento-cell p {
  font-size: 0.875rem;
  color: var(--text-dark-body);
  line-height: 1.55;
}

/* ==========================================================================
   9. PRICING SECTION (Dual Tier with Dynamic Sync)
   ========================================================================== */
.pricing-section {
  padding: var(--section-py) 0;
  background: var(--bg-navy);
  border-top: 1px solid var(--border-hairline);
  text-align: center;
}

.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-tier-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

.pricing-tier-card.pro-highlight {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 13, 22, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.2);
}

.popular-ribbon-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald-300);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.tier-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark-h);
  margin-bottom: 0.5rem;
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--text-dark-body);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tier-price-val {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-dark-h);
  letter-spacing: -0.03em;
}

.tier-price-period {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
}

.trial-highlight-note {
  font-size: 0.8rem;
  color: var(--emerald-300);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.tier-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.tier-features-list li {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tier-features-list li.dimmed {
  color: #475569;
}

.btn-tier-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-tier-cta.btn-free {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dark-h);
  border: 1px solid var(--border-hairline);
}

.btn-tier-cta.btn-free:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-tier-cta.btn-pro {
  background: linear-gradient(135deg, #00a87e 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-tier-cta.btn-pro:hover {
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   10. CTA BANNER (Radiant Emerald with 3D Floating Cards)
   ========================================================================== */
.cta-banner-wrapper {
  padding: 5rem 0;
  background: linear-gradient(135deg, #008765 0%, #00a87e 50%, #10b981 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.cta-banner-text {
  text-align: left;
}

.cta-banner-text h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-banner-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}

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

.btn-white-pill {
  padding: 0.75rem 1.75rem;
  background: #ffffff;
  color: #008765;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
}

.btn-white-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline-pill {
  padding: 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  transition: var(--transition-fast);
}

.btn-outline-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.cta-cards-visual-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-cards-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease;
}

.cta-cards-visual-side:hover .cta-cards-img {
  transform: scale(1.04) rotate(-1deg);
}

/* ==========================================================================
   11. TESTIMONIALS (Masonry — Hidden until populated)
   ========================================================================== */
.testimonials-section {
  display: none;
  padding: var(--section-py) 0;
  background: var(--bg-obsidian);
  border-top: 1px solid var(--border-hairline);
}

.testimonials-masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.testimonial-card-item {
  break-inside: avoid;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.testimonial-card-item:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   12. FAQ ACCORDION (Clean Horizontal Rows)
   ========================================================================== */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--bg-navy);
  border-top: 1px solid var(--border-hairline);
}

.faq-rows-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-row-item {
  border-bottom: 1px solid var(--border-hairline);
  transition: var(--transition-fast);
}

.faq-row-item:first-child {
  border-top: 1px solid var(--border-hairline);
}

.faq-trigger-btn {
  width: 100%;
  padding: 1.5rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark-h);
}

.faq-icon-arrow {
  transition: transform 0.25s ease;
  color: var(--emerald-400);
}

.faq-row-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-content-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-spring);
  padding: 0 0.5rem;
  color: var(--text-dark-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-row-item.active .faq-content-body {
  max-height: 600px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   13. FOOTER & OS DOWNLOAD STRIP
   ========================================================================== */
.footer-wrap-outer {
  background: var(--bg-obsidian);
  color: var(--text-dark-muted);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-hairline);
}

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

.footer-brand-bio p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-column-box h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark-h);
  margin-bottom: 1.25rem;
}

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

.footer-links-stack a:hover {
  color: var(--text-dark-h);
}

/* Footer OS Download Strip */
.footer-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 2rem;
}

.footer-os-btn-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-os-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #f1f5f9;
  transition: var(--transition-fast);
}

.footer-os-pill:hover {
  border-color: var(--emerald-500);
}

.footer-os-pill.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.os-coming-badge {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: #94a3b8;
}

.footer-legal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

/* Floating WhatsApp Button */
.floating-whatsapp-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.45);
  z-index: 100;
  transition: var(--transition-base);
}

.floating-whatsapp-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.65);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & TOUCH TARGETS
   ========================================================================== */
@media (max-width: 1024px) {
  .platform-tiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cockpit-stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .platform-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fingerprint-grid-split,
  .split-layout-row,
  .split-layout-row.reversed,
  .support-split-grid,
  .support-cards-row,
  .pricing-cards-container,
  .cta-banner-grid,
  .benefit-cards-matrix {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bento-matrix-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-hero, .btn-secondary-hero {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile Slide-Out Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 198;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: rgba(9, 13, 22, 0.98);
  backdrop-filter: blur(25px);
  z-index: 199;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
  transition: right 0.35s var(--ease-spring);
}

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

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
