/* ==========================================================================
   GAZECAM V7 — MINIMAL & DIRECT + GLASSMORPHISM
   Design: Light Mode Default · Indigo Primary · Emerald CTA
   Fonts: Inter (400/600/700) · JetBrains Mono
   Grid: 8px base · Mobile-first
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-primary: #6366F1;
  /* Indigo */
  --color-primary-hover: #4F46E5;
  --color-primary-light: rgba(99, 102, 241, 0.1);
  --color-primary-glow: rgba(99, 102, 241, 0.25);

  --color-cta: #10B981;
  /* Emerald */
  --color-cta-hover: #059669;
  --color-cta-light: rgba(16, 185, 129, 0.12);
  --color-cta-glow: rgba(16, 185, 129, 0.3);

  --color-accent: #F59E0B;
  /* Amber */
  --color-accent-light: rgba(245, 158, 11, 0.12);

  /* Backgrounds */
  --bg-page: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-surface-2: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-hover: rgba(255, 255, 255, 0.88);

  /* Text */
  --text-primary: #1E293B;
  /* Slate 800 */
  --text-secondary: #475569;
  /* Slate 600 */
  --text-tertiary: #94A3B8;
  /* Slate 400 */
  --text-inverse: #FFFFFF;

  /* Borders */
  --border-color: #E2E8F0;
  --border-glass: rgba(255, 255, 255, 0.6);
  --border-primary: rgba(99, 102, 241, 0.25);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 32px 80px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-laptop: 0 40px 80px rgba(15, 23, 42, 0.18), 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-primary: 0 8px 24px rgba(99, 102, 241, 0.3);
  --shadow-cta: 0 8px 24px rgba(16, 185, 129, 0.35);

  /* Simulator Colors */
  --notch-bg: #0a0c10;
  --notch-safe: #22C55E;
  --notch-threat: #EF4444;
  --notch-glow-safe: rgba(34, 197, 94, 0.5);
  --notch-glow-threat: rgba(239, 68, 68, 0.7);
  --shield-overlay-bg: rgba(10, 12, 20, 0.8);
  --shield-card-bg: rgba(20, 24, 35, 0.95);

  /* Laptop Mockup */
  --laptop-chassis: #CBD5E1;
  --laptop-bezel: #0F172A;
  --laptop-screen-bg: #1E293B;
  --mock-desktop-bg: #1a2744;
  --taskbar-bg: rgba(15, 23, 42, 0.92);
  --mock-win-bg: #FFFFFF;
  --mock-win-border: #E2E8F0;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing (8px grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 350ms;

  /* Layout */
  --container-max: 1160px;
  --container-pad: 24px;
  --navbar-h: 64px;
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-page: #0B0F17;
  --bg-surface: #131B2A;
  --bg-surface-2: #1A2438;
  --bg-glass: rgba(19, 27, 42, 0.8);
  --bg-glass-hover: rgba(26, 36, 56, 0.9);

  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;

  --border-color: #1E293B;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-primary: rgba(99, 102, 241, 0.3);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.35);
  --shadow-laptop: 0 40px 80px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.3);

  --laptop-chassis: #1E2D40;
  --laptop-bezel: #060810;
  --laptop-screen-bg: #07090F;
  --mock-desktop-bg: #0d1829;
  --mock-win-bg: #0f1626;
  --mock-win-border: #1e293b;
  --taskbar-bg: rgba(8, 12, 20, 0.96);

  --color-primary-light: rgba(99, 102, 241, 0.15);
  --color-cta-light: rgba(16, 185, 129, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  transition: background-color var(--duration-normal) var(--ease-out),
    color var(--duration-normal) var(--ease-out);
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
}

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

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --------------------------------------------------------------------------
   4. READING PROGRESS BAR
   -------------------------------------------------------------------------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cta));
  z-index: 9999;
  transition: width 0.1s linear;
  will-change: width;
}

/* --------------------------------------------------------------------------
   5. PROMO BANNER
   -------------------------------------------------------------------------- */
.promo-banner {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary), #8B5CF6);
  color: white;
  text-align: center;
  padding: 10px var(--space-4);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  z-index: 100;
}

.promo-inner {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
  justify-content: center;
}

.promo-emoji {
  font-size: 1rem;
}

.promo-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  margin-left: 4px;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.promo-link:hover {
  opacity: 0.85;
}

.promo-dismiss {
  position: absolute;
  right: var(--space-2);
  top: 50%;
  transform: translateY(-50%);
  color: white;
  opacity: 0.7;
  padding: 6px;
  border-radius: var(--radius-full);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--duration-fast), background-color var(--duration-fast);
}

.promo-dismiss:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.promo-banner.dismissed {
  display: none;
}

/* --------------------------------------------------------------------------
   6. NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--navbar-h);
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out);
  will-change: background, box-shadow;
}

.navbar.is-scrolled {
  background: var(--bg-page);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-color);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--navbar-h);
  gap: var(--space-4);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--duration-fast);
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
}

.brand-dot {
  width: 6.5px;
  height: 6.5px;
  background: var(--color-cta);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
  display: inline-block;
  margin-left: 3px;
  transform: translateY(0.5px);
  flex-shrink: 0;
}

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-1) 14px;
  border-radius: var(--radius-full);
  transition: color var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-surface-2);
  transform: scale(1.05);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: background var(--duration-fast);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-3) var(--container-pad) var(--space-4);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-3);
}

.mobile-menu .nav-link {
  display: block;
  font-size: 1rem;
  padding: 12px 16px;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* --------------------------------------------------------------------------
   7. BUTTON SYSTEM (Pro Max Modern SaaS Polish)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  min-height: 40px;
  padding: 8px 18px;
  user-select: none;
  will-change: transform, box-shadow;
  transition:
    transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
    color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Subtle Hover Shine Sheen */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

/* Sizes (Trim, balanced, not fat) */
.btn-sm {
  padding: 6px 14px;
  font-size: 0.825rem;
  min-height: 34px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 10px 22px;
  font-size: 0.925rem;
  min-height: 44px;
  border-radius: 10px;
}

.btn-xl {
  padding: 12px 28px;
  font-size: 0.975rem;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
}

/* Primary CTA Button (Emerald Hero Download — Sleek Inline Row) */
.btn-primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5), 0 0 16px rgba(16, 185, 129, 0.25);
  border-color: rgba(52, 211, 153, 0.6);
  color: #FFFFFF;
}

.btn-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.01em;
}

/* General CTA Variant */
.btn-cta {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55), 0 0 20px rgba(16, 185, 129, 0.3);
  color: #FFFFFF;
}

/* Featured Buy Button (Linear-style rotating border beam) */
.btn-buy {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: #FFFFFF;
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-buy::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from var(--beam-angle, 0deg), transparent 20%, rgba(255, 255, 255, 0.7) 50%, transparent 80%);
  animation: border-beam 2.5s linear infinite;
  pointer-events: none;
  border-radius: inherit;
  mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  -webkit-mask-composite: xor;
  padding: 1.5px;
}

.btn-buy:hover {
  background: linear-gradient(135deg, #818CF8 0%, #4F46E5 100%);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6), 0 0 24px rgba(99, 102, 241, 0.4);
  color: #FFFFFF;
}

/* Glass & Ghost Buttons */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.btn-ghost:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--text-tertiary);
  box-shadow: var(--shadow-sm);
}

.btn-glass {
  background: var(--bg-glass);
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  background: var(--bg-surface);
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.18);
}

@keyframes border-beam {
  from {
    --beam-angle: 0deg;
  }

  to {
    --beam-angle: 360deg;
  }
}

/* --------------------------------------------------------------------------
   8. SECTION SHARED STYLES
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border: 1px solid var(--border-primary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.section-h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   9. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger-1 {
  transition-delay: 0.05s;
}

.stagger-2 {
  transition-delay: 0.12s;
}

.stagger-3 {
  transition-delay: 0.19s;
}

.stagger-4 {
  transition-delay: 0.26s;
}

.stagger-5 {
  transition-delay: 0.33s;
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .blob,
  .mesh-gradient,
  .battery-gauge-fill,
  .border-beam,
  .reading-progress {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }

  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   10. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--navbar-h) + var(--space-10)) var(--space-3) var(--space-16);
  overflow: hidden;
  text-align: center;
}

/* Animated mesh gradient */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.mesh-gradient {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 15%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 50% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 70%, rgba(245, 158, 11, 0.07) 0%, transparent 60%);
  animation: mesh-shift 60s ease-in-out infinite;
  will-change: transform, filter;
}

@keyframes mesh-shift {
  0% {
    transform: scale(1) rotate(0deg);
    filter: hue-rotate(0deg);
  }

  25% {
    transform: scale(1.05) rotate(3deg);
    filter: hue-rotate(15deg);
  }

  50% {
    transform: scale(1) rotate(0deg);
    filter: hue-rotate(30deg);
  }

  75% {
    transform: scale(1.03) rotate(-2deg);
    filter: hue-rotate(15deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    filter: hue-rotate(0deg);
  }
}

/* SVG Blobs */
.blob {
  position: absolute;
  width: clamp(300px, 45vw, 600px);
  opacity: 0;
  will-change: transform;
  transition: opacity 1s ease;
}

.blob.is-visible {
  opacity: 1;
}

.blob-1 {
  top: -10%;
  left: -10%;
  fill: rgba(99, 102, 241, 0.08);
  animation: blob-1-move 28s ease-in-out infinite;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  fill: rgba(16, 185, 129, 0.07);
  animation: blob-2-move 35s ease-in-out infinite;
  animation-delay: -8s;
}

.blob-3 {
  top: 30%;
  right: 5%;
  width: clamp(200px, 30vw, 400px);
  fill: rgba(139, 92, 246, 0.06);
  animation: blob-3-move 42s ease-in-out infinite;
  animation-delay: -15s;
}

.blob-path {
  animation: blob-morph 20s ease-in-out infinite;
  will-change: d;
}

@keyframes blob-morph {

  0%,
  100% {
    d: path("M430,315Q400,380,340,415Q280,450,215,435Q150,420,105,370Q60,320,60,250Q60,180,100,125Q140,70,205,55Q270,40,335,70Q400,100,430,175Q460,250,430,315Z");
  }

  33% {
    d: path("M420,300Q385,365,320,405Q255,445,190,430Q125,415,90,360Q55,305,60,240Q65,175,115,120Q165,65,225,55Q285,45,345,78Q405,111,430,185Q455,260,420,300Z");
  }

  66% {
    d: path("M445,310Q408,375,345,412Q282,448,218,435Q154,422,108,368Q62,314,62,248Q62,182,108,130Q154,78,218,62Q282,46,342,76Q402,106,438,183Q474,260,445,310Z");
  }
}

@keyframes blob-1-move {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.04);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.97);
  }
}

@keyframes blob-2-move {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-25px, 20px) scale(1.03);
  }

  66% {
    transform: translate(15px, -30px) scale(0.98);
  }
}

@keyframes blob-3-move {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-15px, 25px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

/* Trust pill */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-dot {
  width: 8px;
  height: 8px;
  background: var(--color-cta);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-cta);
  animation: pulse-dot 2s ease-in-out infinite;
  will-change: box-shadow;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 4px var(--color-cta);
  }

  50% {
    box-shadow: 0 0 10px var(--color-cta), 0 0 20px var(--color-cta-glow);
  }
}

.trust-sep {
  color: var(--text-tertiary);
}

/* Hero H1 */
.hero-h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.hero-h1-accent {
  background: linear-gradient(135deg, var(--color-primary), #8B5CF6 50%, var(--color-cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero sub */
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

/* Badges */
.hero-badges {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-badge svg {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   11. DEMO SECTION & AUTHENTIC SIMULATION (Streamlined & Simple)
   -------------------------------------------------------------------------- */
.demo-section {
  padding: var(--space-12) 0 var(--space-16);
  background: var(--bg-surface);
  position: relative;
}

/* Single-Row Simulation Toolbar */
.sim-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding: 0.65rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sim-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sim-toolbar-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  white-space: nowrap;
}

/* Action Segmented Pill Group */
.sim-action-segmented {
  display: inline-flex;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
  flex-wrap: wrap;
}

.action-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
}

.action-trigger-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .action-trigger-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.action-trigger-btn.is-active {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

[data-theme="light"] .action-trigger-btn.is-active {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #0F172A;
}

.action-trigger-btn svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Simulate Threat Toggle Button */
.btn-simulate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 9px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  padding: 8px 18px;
  min-height: 40px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
}

.btn-simulate:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
}

.btn-simulate:active {
  transform: translateY(0) scale(0.98);
}

.btn-simulate svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Active Threat State on Button */
.btn-simulate.is-active {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #FFFFFF !important;
  border-color: rgba(248, 113, 113, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35), 0 8px 25px rgba(239, 68, 68, 0.6) !important;
  animation: simulate-threat-pulse 1.8s infinite;
}

.btn-simulate.is-active svg {
  transform: scale(1.15);
}

@keyframes simulate-threat-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35), 0 8px 20px rgba(239, 68, 68, 0.45);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.5), 0 12px 32px rgba(239, 68, 68, 0.7);
  }
}

/* Status Banner */
.sim-status-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding: 0 4px;
}

.sim-status-banner strong {
  color: var(--color-primary);
}

[data-theme="light"] .sim-status-banner strong {
  color: #059669;
}

.sim-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.sim-status-dot.is-safe {
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.sim-status-dot.is-threat {
  background: #EF4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
  animation: ThreatDotPulse 0.45s infinite alternate;
}

/* Grace Countdown Bar */
.grace-bar {
  height: 4px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.grace-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #6366F1 100%);
  border-radius: 9999px;
  will-change: width;
}

/* --------------------------------------------------------------------------
   12. LAPTOP MOCKUP (Authentic Windows 11 + Exact GazeCam Dynamic Notch)
   -------------------------------------------------------------------------- */
.laptop-sim-stage {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

/* Laptop Hardware Frame */
.laptop-chassis {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px 20px 8px 8px;
  padding: 12px 12px 14px 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(99, 102, 241, 0.1);
  position: relative;
}

[data-theme="light"] .laptop-chassis {
  background: #1E293B;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2), 0 0 40px rgba(99, 102, 241, 0.08);
}

/* Top Bezel Webcam Dot */
.laptop-webcam-dot {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #020617;
  border-radius: 50%;
  box-shadow: 0 0 2px #475569;
  z-index: 35;
}

/* Laptop Display Screen Area */
.laptop-screen {
  background: #0B0F17;
  border: 2px solid #1F2937;
  border-radius: 12px;
  height: 460px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Laptop Base Stand / Lip */
.laptop-base-stand {
  height: 14px;
  background: #334155;
  border-radius: 0 0 16px 16px;
  margin: 0 40px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .laptop-base-stand {
  background: #CBD5E1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.laptop-notch-notch {
  width: 70px;
  height: 5px;
  background: #1E293B;
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
}

[data-theme="light"] .laptop-notch-notch {
  background: #94A3B8;
}

/* ==========================================================================
   EXACT REAL GAZECAM DYNAMIC NOTCH (Flush with Top Bezel)
   Matches CommercialDynamicNotchWindow.xaml (230px, 38px, CornerRadius 0,0,18,18)
   ========================================================================== */
.real-notch-capsule {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  background: #040608;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: none;
  border-radius: 0 0 18px 18px;
  padding: 0 14px;
  z-index: 30;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.notch-header-row {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* Left: Glowing Status Dot Container (Concentric Dual Circles) */
.notch-dot-container {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-right: 8px;
  display: grid;
  place-items: center;
}

.notch-dot-glow,
.notch-dot-core {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
  border-radius: 50%;
  pointer-events: none;
  box-sizing: border-box;
}

.notch-dot-glow {
  width: 14px;
  height: 14px;
  background: #10B981;
  opacity: 0.45;
  transform-origin: 50% 50%;
  transition: background-color 0.2s, opacity 0.2s;
  will-change: transform, opacity;
}

.notch-dot-core {
  width: 8px;
  height: 8px;
  background: #10B981;
  z-index: 1;
  transition: background-color 0.2s;
}

/* Left-aligned Status Text directly next to dot */
.notch-status-panel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
  text-align: left;
}

.notch-status-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #F5F6F8;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Right: Minimal Chevron Down */
.notch-chevron-container {
  margin-left: auto;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

/* Threat State: Red Threat Pulse (Matches WPF ThreatDotPulse Storyboard) */
.real-notch-capsule.is-alert {
  background: #140507;
  border-color: rgba(244, 80, 94, 0.6);
  box-shadow: 0 6px 28px rgba(244, 80, 94, 0.45), 0 0 12px rgba(244, 80, 94, 0.25);
}

.real-notch-capsule.is-alert .notch-dot-glow {
  background: #EF4444;
  animation: ThreatDotPulse 0.45s ease-in-out infinite alternate;
}

.real-notch-capsule.is-alert .notch-dot-core {
  background: #EF4444;
}

.real-notch-capsule.is-alert .notch-status-title {
  color: #FCA5A5;
  font-weight: 700;
}

.real-notch-capsule.is-alert .notch-chevron-container {
  color: #FCA5A5;
}

@keyframes ThreatDotPulse {
  from {
    transform: scale(0.85);
    opacity: 0.30;
  }

  to {
    transform: scale(1.45);
    opacity: 0.95;
  }
}

/* Expanded State: Smooth Drop-Down Drawer */
.real-notch-capsule.is-expanded {
  width: 320px;
  border-radius: 0 0 16px 16px;
  background: #06090e;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85);
}

.real-notch-capsule.is-expanded .notch-chevron-container {
  transform: rotate(180deg);
}

.notch-drawer-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.real-notch-capsule.is-expanded .notch-drawer-body {
  max-height: 220px;
  opacity: 1;
  padding: 4px 2px 14px 2px;
}

.notch-drawer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.notch-drawer-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.notch-drawer-text {
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.45;
  margin-bottom: 10px;
}

.btn-drawer-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 7px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
  transition: all 0.18s ease;
}

.btn-drawer-download:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* ==========================================================================
   SIMULATED WINDOWS 11 WORKSPACE (Clean, simple, high-impact)
   ========================================================================== */
.mock-windows-desktop {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 20px 14px;
  background: radial-gradient(circle at 50% 35%, #1E293B 0%, #0B0F17 75%);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mock-window-frame {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mock-window-frame.is-minimized {
  transform: scale(0.65) translateY(240px);
  opacity: 0;
  pointer-events: none;
}

.mock-window-frame.is-blurred {
  filter: blur(14px) brightness(0.35);
}

.mock-window-header {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
}

.mock-window-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.mock-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.mock-window-dots span:nth-child(1) {
  background: #EF4444;
}

.mock-window-dots span:nth-child(2) {
  background: #F59E0B;
}

.mock-window-dots span:nth-child(3) {
  background: #10B981;
}

.mock-window-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-window-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-window-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-sensitive-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.mock-confidential-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 4px;
  padding: 2px 6px;
}

.mock-sensitive-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-label {
  color: #94A3B8;
  font-size: 0.78rem;
}

.mock-val-emerald {
  color: #10B981;
  font-weight: 700;
  font-family: var(--font-mono);
}

.mock-val-mono {
  color: #F8FAFC;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
}

.mock-code-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 3px;
  margin-top: 3px;
}

/* ==========================================================================
   AUTHENTIC WINDOWS 11 TASKBAR
   ========================================================================== */
.mock-taskbar {
  height: 44px;
  background: rgba(8, 12, 20, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
  z-index: 10;
}

.taskbar-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94A3B8;
  min-width: 55px;
}

.mock-taskbar-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.taskbar-svg-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.taskbar-svg-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.taskbar-svg-btn.active {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -2px 0 #10B981;
}

.taskbar-gazecam-tray {
  background: rgba(16, 185, 129, 0.15);
}

.taskbar-tray-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  min-width: 75px;
  justify-content: flex-end;
}

/* ==========================================================================
   SCREEN SHIELD OVERLAY (Frosted Glass Blur)
   ========================================================================== */
.real-screen-shield-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.real-screen-shield-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.real-alert-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 18px;
  padding: 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: min(92%, 460px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(239, 68, 68, 0.25);
  animation: card-scale-up 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes card-scale-up {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1.0);
    opacity: 1;
  }
}

.real-shield-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.real-alert-card h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0;
}

.real-alert-card p {
  font-size: 0.8rem;
  color: #94A3B8;
  line-height: 1.45;
  margin: 0;
  max-width: 360px;
}

.real-unblur-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.18s ease;
  margin-top: 8px;
  white-space: nowrap;
}

.real-unblur-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.grace-tag {
  color: #34D399;
  font-weight: 600;
  font-size: 0.72rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   13. FEATURES BENTO GRID
   -------------------------------------------------------------------------- */
.features-section {
  padding: var(--space-16) 0;
  background: var(--bg-page);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-card-wide {
    grid-column: span 2;
  }
}

.bento-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out);
  will-change: transform;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-primary);
}

.bento-card-content {
  padding: var(--space-4) var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
}

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  flex-shrink: 0;
}

.bento-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.bento-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feat-footnote {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-top: auto;
}

/* HUD Mode Tabs */
.hud-mode-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hud-tab {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 34px;
  cursor: pointer;
  user-select: none;
}

.hud-tab:hover {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.hud-tab.is-active {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: white;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

/* Realistic Top-Screen Bezel Stage */
.hud-preview-stage {
  height: 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #030508;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  border-top: 3px solid #1E293B;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 10px;
}

[data-theme="light"] .hud-preview-stage {
  background: #0F172A;
  border-top: 3px solid #334155;
}

/* Authentic Top-Bezel Notch in Preview (Matches CommercialDynamicNotchWindow.xaml) */
.hud-live-notch {
  background: #040608;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: none;
  border-radius: 0 0 16px 16px;
  width: 210px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.25s cubic-bezier(0.16, 1, 0.3, 1), padding 0.2s ease;
  box-sizing: border-box;
  z-index: 5;
}

.hud-notch-dot-wrap {
  width: 18px;
  height: 18px;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hud-notch-dot-glow,
.hud-notch-dot-core {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
  border-radius: 50%;
  pointer-events: none;
  box-sizing: border-box;
}

.hud-notch-dot-glow {
  width: 13px;
  height: 13px;
  background: #10B981;
  opacity: 0.45;
  transform-origin: 50% 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hud-notch-dot-core {
  width: 7px;
  height: 7px;
  background: #10B981;
  z-index: 1;
}

.hud-notch-text {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: #F8FAFC;
  letter-spacing: -0.01em;
  margin-right: auto;
  margin-left: 8px;
  white-space: nowrap;
}

.hud-notch-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  margin-left: auto;
}

/* Minimal Dot Exact Specification (WPF targetCollapsedW = 58px, targetCollapsedH = 28px) */
.hud-live-notch.is-dot-mode {
  width: 58px !important;
  height: 28px !important;
  border-radius: 0 0 14px 14px !important;
  padding: 0 !important;
  justify-content: center !important;
}

.hud-live-notch.is-dot-mode .hud-notch-text,
.hud-live-notch.is-dot-mode .hud-notch-chevron {
  display: none !important;
}

/* Taskbar message state with smooth text fade-in */
.hud-taskbar-message {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: taskbarFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes taskbarFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hud-taskbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.15rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #10B981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.hud-mode-caption {
  margin-top: 0.75rem;
  font-size: 0.775rem;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.4;
}

/* Sensitivity */
.sens-btn-group {
  display: flex;
  gap: 4px;
}

.sens-level-btn {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  min-height: 38px;
  cursor: pointer;
  user-select: none;
  transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sens-level-btn:hover {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.sens-level-btn.is-active {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: white;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.sens-info {
  margin-top: var(--space-1);
}

.sens-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.sens-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Battery */
.battery-widget {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.battery-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 0;
}

.battery-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-cta);
  letter-spacing: -0.04em;
  line-height: 1;
}

.battery-unit {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.battery-gauge-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0;
}

.battery-gauge {
  height: 8px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.battery-gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-cta), #34D399);
  border-radius: var(--radius-full);
  animation: gauge-fill 1.5s var(--ease-out) forwards;
  will-change: width;
}

@keyframes gauge-fill {
  from {
    width: 0%;
  }
}

.battery-gauge-label {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   15. PRICING SECTION
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: var(--space-16) 0;
  background: var(--bg-page);
}

.pricing-card-wrap {
  display: flex;
  justify-content: center;
}

.pricing-card {
  position: relative;
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* Border beam animation */
.pricing-border-beam {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--beam-rot, 0deg),
      transparent 10%,
      var(--color-cta) 30%,
      var(--color-primary) 50%,
      transparent 70%);
  animation: beam-rotate 4s linear infinite;
  z-index: 0;
}

@keyframes beam-rotate {
  from {
    --beam-rot: 0deg;
  }

  to {
    --beam-rot: 360deg;
  }
}

@property --beam-rot {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.pricing-card-inner {
  position: relative;
  z-index: 1;
  background: var(--bg-page);
  margin: 2px;
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 26px 34px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  box-shadow: 0 0 60px var(--color-cta-glow);
}

.pricing-headline {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 6px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-old {
  font-size: 1.25rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
  font-weight: 500;
}

.pricing-current {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-currency {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

.pricing-divider {
  width: 100%;
  max-width: 350px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px auto 10px;
}

[data-theme="light"] .pricing-divider {
  background: rgba(0, 0, 0, 0.08);
}

.pricing-features {
  width: 100%;
  max-width: 350px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px auto 8px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feat-check {
  flex-shrink: 0;
  color: var(--color-cta);
  margin-top: 2px;
}

.pricing-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}

.pricing-btn {
  width: 100%;
  max-width: 350px;
  min-height: 50px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  box-sizing: border-box;
  text-decoration: none;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}

.pricing-btn:hover {
  transform: translateY(-2px);
}

.pricing-trial-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-surface-2);
  color: var(--text-primary);
}

.pricing-trial-btn:hover {
  background: var(--bg-page);
  border-color: var(--color-cta);
  color: var(--color-cta);
}

.pricing-footer-note {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   16. FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: var(--space-16) 0;
  background: var(--bg-surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-md);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  min-height: 56px;
  transition: color var(--duration-fast);
}

.faq-q:hover {
  color: var(--color-primary);
}

.faq-q[aria-expanded="true"] {
  color: var(--color-primary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
  color: var(--text-tertiary);
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-a {
  padding: 0 var(--space-4) var(--space-3);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  animation: faq-open 0.25s var(--ease-out);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   17. PRE-FOOTER CTA
   -------------------------------------------------------------------------- */
.prefooter-section {
  padding: var(--space-12) 0;
  background: var(--bg-page);
}

.prefooter-card {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1a0a3a 50%, #0d2a1a 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-5);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.prefooter-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.prefooter-pill {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.prefooter-h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
  max-width: 560px;
}

.prefooter-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: var(--space-5) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity var(--duration-fast);
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo-img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-logo span {
  display: inline-flex;
  align-items: baseline;
}

.footer-logo .brand-dot {
  width: 5px;
  height: 5px;
  margin-left: 2px;
  transform: translateY(0.5px);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.85);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: var(--space-3);
}

.footer-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

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

/* --------------------------------------------------------------------------
   19. RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --container-pad: 16px;
  }

  .hero {
    padding-top: calc(var(--navbar-h) + 48px);
    padding-bottom: 64px;
  }

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

  .btn-lg {
    width: 100%;
    max-width: 320px;
  }

  .sim-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .sim-toolbar-right {
    display: flex;
    justify-content: center;
  }

  .action-btn-group {
    justify-content: center;
  }

  .laptop-wrap {
    padding: var(--space-2) 0 var(--space-6);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .stats-glass {
    flex-direction: column;
  }

  .pricing-card-inner {
    padding: 22px var(--space-3) var(--space-4);
  }
}

@media (min-width: 640px) and (max-width: 1024px) {
  .bento-card-wide {
    grid-column: span 2;
  }
}

/* Dark mode specific overrides */
[data-theme="dark"] .mock-window {
  border-color: #1a2332;
}

[data-theme="dark"] .pricing-card-inner {
  background: var(--bg-surface);
}

[data-theme="dark"] .faq-item {
  background: var(--bg-surface);
}

[data-theme="dark"] .prefooter-card {
  border-color: rgba(99, 102, 241, 0.3);
}

/* --------------------------------------------------------------------------
   20. LEGAL PAGES (Privacy & Terms)
   -------------------------------------------------------------------------- */
.legal-page-wrap {
  min-height: calc(100vh - var(--navbar-h) - 80px);
  padding: calc(var(--navbar-h) + 32px) 0 80px;
  position: relative;
  background-image:
    radial-gradient(ellipse 60% 40% at 50% 0%, var(--color-primary-light) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 20%, var(--color-cta-light) 0%, transparent 60%);
  background-repeat: no-repeat;
}

.legal-page-wrap .container {
  max-width: 860px;
}

.legal-header {
  margin-bottom: 2rem;
}

.legal-header .section-pill {
  margin-bottom: 1rem;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-body {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.8;
}

.legal-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.25rem 0 0.85rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p {
  margin-bottom: 1.15rem;
}

.legal-body ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-body ul li {
  position: relative;
  padding-left: 26px;
  line-height: 1.65;
}

.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-cta);
  box-shadow: 0 0 8px var(--color-cta-glow);
}

.legal-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.legal-body a {
  color: var(--color-cta);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: opacity var(--duration-fast);
}

.legal-body a:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .legal-page-wrap {
    padding: calc(var(--navbar-h) + 20px) 0 60px;
  }

  .legal-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }
}

/* --------------------------------------------------------------------------
   21. DOWNLOAD INSTRUCTIONS MODAL
   -------------------------------------------------------------------------- */
.download-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out), visibility 0.25s var(--ease-out);
}

.download-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.download-modal-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 540px;
  background: #0E1422;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 28px 28px 24px;
  color: #F8FAFC;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.download-modal-overlay.is-open .download-modal-card {
  transform: translateY(0) scale(1);
}

.download-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.download-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  transform: scale(1.05);
}

.download-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  padding-right: 30px;
  line-height: 1.3;
}

.download-modal-subtitle {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0 0 20px 0;
}

.download-steps {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 0;
}

.download-step-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.download-step-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.download-step-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.download-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-step-icon.chrome-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}

.download-step-icon.windows-icon {
  background: rgba(14, 165, 233, 0.15);
  color: #38BDF8;
}

.download-step-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #F1F5F9;
}

.download-step-content {
  font-size: 0.86rem;
  color: #CBD5E1;
  line-height: 1.5;
  padding-left: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.step-arrow {
  color: #64748B;
  font-weight: 600;
  font-size: 0.85rem;
}

.step-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  color: #F8FAFC;
  font-weight: 700;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #F1F5F9;
  white-space: nowrap;
}

.step-pill.step-pill-green {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.38);
  color: #34D399;
}

/* Centered Action & Fallback */
.download-modal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
  text-align: center;
}

.download-modal-btn {
  padding: 9px 38px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  background: var(--color-cta, #10B981);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.download-modal-btn:hover {
  background: var(--color-cta-hover, #059669);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.download-fallback {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0;
}

.download-fallback a {
  color: #94A3B8;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.download-fallback a:hover {
  color: #F8FAFC;
}

#downloadConfettiCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 520px) {
  .download-modal-card {
    padding: 22px 16px 20px;
    border-radius: 16px;
  }
  .download-modal-title {
    font-size: 1.15rem;
  }
  .download-step-content {
    padding-left: 0;
  }
}