/* ==========================================================================
   VOID - OBSIDIAN CARBON & COBALT GLASS DESIGN SYSTEM
   Synchronized 1:1 with Android Jetpack Compose (Color.kt, VoidTheme.kt,
   VoidGradients.kt, VoidUiStyle.kt, APP_DESIGN_RULES.md)
   ========================================================================== */

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

:root {
  /* Layer 0: OLED Starfield Base */
  --void-bg: #030303;
  --void-black: #000000;

  /* Layer 1: Outer Card Chassis (voidCardBox - 32px radius) */
  --layer1-top: #262731;
  --layer1-body: #23242D;
  --layer1-bottom: #1E1F27;
  --surface-card: linear-gradient(180deg, #262731 0%, #23242D 28%, #23242D 72%, #1E1F27 100%);

  /* Layer 2: Recessed Cavity (voidInnerBox - 16px radius) */
  --layer2-top: #101117;
  --layer2-bottom: #060709;
  --surface-cavity: linear-gradient(180deg, #101117 0%, #060709 100%);
  --surface-glass-cavity: linear-gradient(180deg, #171921 0%, #0C0D12 100%);

  /* Layer 3: Smoked Obsidian Glass (Navbar, Sheets, Dialogs) */
  --layer3-top: #2A2C35;
  --layer3-mid: #24262F;
  --layer3-bottom: #1F2129;
  --surface-obsidian-glass: linear-gradient(180deg, rgba(42, 44, 53, 0.94) 0%, rgba(36, 38, 47, 0.94) 55%, rgba(31, 33, 41, 0.94) 100%);

  /* Track & Secondary Surfaces */
  --slate-track: linear-gradient(180deg, #383F4E 0%, #565D70 100%);
  --pill-secondary: linear-gradient(180deg, #3A3E4B 0%, #2B2E39 100%);

  /* Muted Slate-Titanium Aurora */
  --slate-aurora-primary: #8C94A4;
  --slate-aurora-secondary: #3E4451;

  /* Canonical Void Cobalt Blue & Frosted Action */
  --void-cobalt: #4080FA;
  --cobalt-gradient: linear-gradient(180deg, #2D68DB 0%, #1D4AA8 100%);
  --primary-action-gradient: linear-gradient(180deg, #FAFBFD 0%, #DCE1EA 100%);
  --primary-action-ink: #0A0B0E;

  /* Semantic Status Colors */
  --void-green: #4ADE80;
  --void-green-deep: #1A8F5C;
  --void-red: #F87171;
  --void-red-gradient: linear-gradient(180deg, #E63939 0%, #A21616 100%);
  --void-blue-stat: #60A5FA;
  --void-orange: #FB923C;
  --void-yellow: #FDE047;

  /* Typography Ink */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-disabled: rgba(255, 255, 255, 0.56);

  /* Specular Rim & Borders */
  --rim-outer: rgba(255, 255, 255, 0.11);
  --rim-glass: rgba(255, 255, 255, 0.16);
  --rim-inner: rgba(255, 255, 255, 0.05);
  --card-shadow: 0 12px 32px rgba(0, 0, 0, 0.60);
  --cavity-shadow: inset 0 2px 9px rgba(0, 0, 0, 0.55);

  /* Typography */
  --font-geist: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Geist Mono', monospace;

  /* Strict 4dp-aligned Geometry */
  --radius-card: 32px;
  --radius-inner: 16px;
  --radius-pill: 32px;
  --radius-full: 9999px;

  --gap-grid: 16px;
  --control-height: 56px;
  --nav-height: 76px;
}

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

html {
  font-family: var(--font-geist);
  background-color: var(--void-bg);
  color: var(--text-primary);
  color-scheme: dark;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--void-bg);
  overflow-x: clip;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  position: relative;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

/* Reduced Motion (Explicit Potato Mode + OS prefers-reduced-motion) */
body.potato-mode *, body.potato-mode *::before, body.potato-mode *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   BACKGROUND CANVAS LAYER (ParallaxStarsBackground.kt)
   ========================================================================== */
#stars-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.app-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   FLOATING NAVIGATION BAR & 3-SECOND CENTERED INTRO SEQUENCE (Zero Clipping)
   ========================================================================== */
.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.14s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.14s;
}

.hero-intro-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform;
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-delayed-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: opacity, transform;
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.intro-delayed {
  width: 100%;
  will-change: opacity, transform;
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.28s, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
}

html.intro-pending .hero-intro-center {
  transform: translateY(var(--intro-shift-y, 84px));
}

html.intro-pending .nav-wrapper {
  opacity: 0;
  transform: translateY(-16px);
}

html.intro-pending .nav-wrapper .main-nav {
  pointer-events: none;
}

html.intro-pending .hero-delayed-content {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

html.intro-pending .intro-delayed {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

html.intro-revealed .hero-intro-center,
html.skip-intro .hero-intro-center {
  transform: translateY(0);
}

html.intro-revealed .nav-wrapper,
html.skip-intro .nav-wrapper {
  opacity: 1;
  transform: translateY(0);
}

html.intro-revealed .hero-delayed-content,
html.skip-intro .hero-delayed-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

html.intro-revealed .intro-delayed,
html.skip-intro .intro-delayed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.main-nav {
  pointer-events: auto;
  width: 100%;
  max-width: 1180px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 22px;
  border-radius: var(--radius-pill);
  background: var(--surface-obsidian-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 var(--rim-glass), 0 14px 36px rgba(0, 0, 0, 0.65);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.brand-wordmark {
  height: 24px;
  width: auto;
  display: block;
}

.brand-swirl {
  width: 24px;
  height: 24px;
  display: inline-block;
  animation: swirlRotate 28s linear infinite;
}

@keyframes swirlRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

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

.nav-link.active {
  color: var(--void-cobalt);
  background: transparent;
  box-shadow: none;
  font-weight: 600;
}

.nav-badge {
  padding: 2px 7px;
  background: var(--cobalt-gradient);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-mobile-toggle:hover {
  color: #FFFFFF;
  opacity: 0.85;
}

/* ==========================================================================
   BUTTONS (Frosted White Primary, Void Cobalt Glass, Smoked Secondary)
   ========================================================================== */
.aurora-btn,
.cobalt-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-height);
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--cobalt-gradient);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-family: var(--font-geist);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1), filter 0.2s ease, box-shadow 0.2s ease;
}

.aurora-btn:hover,
.cobalt-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 28px rgba(64, 128, 250, 0.25);
}

.aurora-btn:active,
.cobalt-btn:active {
  transform: translateY(0);
}

.void-white-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-height);
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--primary-action-gradient);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--primary-action-ink);
  font-family: var(--font-geist);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.void-white-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.aurora-btn-sm,
.void-white-btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 13.5px;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-height);
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: var(--pill-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: var(--font-geist);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.secondary-btn:hover {
  filter: brightness(1.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.secondary-btn-sm {
  height: 42px;
  padding: 0 16px;
  font-size: 13.5px;
}

.emergency-btn {
  background: rgba(251, 146, 60, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.36);
  color: var(--void-orange);
  box-shadow: none;
}

.emergency-btn:hover {
  background: rgba(251, 146, 60, 0.22);
  border-color: var(--void-orange);
}

.destructive-btn {
  background: var(--void-red-gradient);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

/* ==========================================================================
   OBSIDIAN CARBON CONTAINERS (Layer 1 Card Box + Layer 2 Inner Box)
   ========================================================================== */
.void-card {
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: var(--radius-card);
  padding: 24px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), inset 0 -1px 0 rgba(0, 0, 0, 0.25), var(--card-shadow);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.void-card-interactive:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.void-inner-box {
  background: var(--surface-cavity);
  border-radius: var(--radius-inner);
  padding: 16px;
  border: 1px solid var(--rim-inner);
  box-shadow: var(--cavity-shadow);
}

.void-obsidian-glass {
  background: var(--surface-obsidian-glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 var(--rim-glass), 0 18px 48px rgba(0, 0, 0, 0.72);
}

.section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  scroll-margin-top: 88px;
}

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

[id^="section-"] {
  scroll-margin-top: 96px;
}

/* Lucide Vector Icon Helper */
.lucide-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.lucide-icon-sm {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   PAGE ROUTING & VIEWS
   ========================================================================== */
.view-section {
  display: none;
  padding-top: calc(var(--nav-height) + 28px);
  min-height: calc(100vh - var(--nav-height));
}

.view-section.active-view {
  display: block;
  animation: viewFadeIn 0.35s ease forwards;
}

@keyframes viewFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#view-home.view-section {
  padding-top: 0;
  animation: none;
}

/* ==========================================================================
   HERO SECTION (Centered Full-Viewport Stage Across Any Screen Size)
   ========================================================================== */
.hero-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  padding: calc(var(--nav-height) + 16px) 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--void-green);
  animation: pulseDot 2.2s infinite ease-in-out;
}

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

.hero-wordmark-svg {
  height: clamp(48px, 7.5vw, 72px);
  width: auto;
  display: block;
  margin: 0 auto 20px;
  overflow: visible;
}

.hero-void-swirl {
  transform-origin: 130px 40px;
  animation: swirlRotate 24s linear infinite;
}

.hero-tagline {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 20px;
  max-width: 740px;
}

.hero-subtext {
  font-size: clamp(16px, 1.9vw, 18.5px);
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
  margin: 0 auto 30px;
}

.hero-reassurance {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.5;
}

/* ==========================================================================
   HOW ONE 5-SECOND PAUSE WORKS (First-Use Visual Proof Immediately After Hero)
   ========================================================================== */
.first-use-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.first-use-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.first-use-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.first-use-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cobalt-gradient);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(45, 104, 219, 0.35);
}

.first-use-step-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.first-use-step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.first-use-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.first-use-cta-row {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.first-use-phone-frame {
  width: 100%;
  max-width: 296px;
  background: #030303;
  border-radius: 38px;
  border: 2px solid #262731;
  padding: 5px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.first-use-phone-frame .showcase-phone-screen {
  border-radius: 31px;
}

@media (max-width: 860px) {
  .first-use-grid {
    grid-template-columns: 1fr;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* ==========================================================================
   INTERACTIVE PHONE MOCKUP / APP SIMULATOR (Exact Nov 2026 Android Layout)
   ========================================================================== */
.simulator-container {
  width: 100%;
  max-width: 980px;
  margin: 24px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simulator-tabs {
  display: flex;
  gap: 6px;
  background: var(--surface-card);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rim-outer);
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.sim-tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-geist);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-tab-btn.active {
  background: var(--cobalt-gradient);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.phone-frame {
  width: 392px;
  height: 780px;
  background: var(--void-bg);
  border-radius: 48px;
  border: 7px solid #262731;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 112px;
  height: 24px;
  background: #14151B;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
}

.phone-screen {
  flex: 1;
  background: #030303;
  padding: 40px 16px 104px;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-top-aurora {
  position: absolute;
  top: -28px;
  left: -15%;
  right: -15%;
  height: 180px;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 25%, rgba(140, 148, 164, 0.36) 0%, rgba(62, 68, 81, 0.22) 48%, transparent 78%);
  filter: blur(22px);
  opacity: 0;
  transform: translateX(18%);
  transition: opacity 1.5s cubic-bezier(0.42, 0, 0.58, 1), transform 3.8s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: 1;
}

.phone-top-aurora.wave-active {
  opacity: 0.46;
  transform: translateX(-18%);
}

.phone-screen-content,
.phone-logo-header {
  position: relative;
  z-index: 2;
}

.back-home-row {
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  align-items: center;
}

.back-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 2px 0;
  color: var(--text-secondary);
  font-family: var(--font-geist);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-nav-link:hover {
  color: #FFFFFF;
}

.back-nav-link .lucide-icon {
  width: 17px;
  height: 17px;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.phone-logo-header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.phone-logo-header img {
  height: 26px;
  width: auto;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 4px;
}

.phone-app-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.phone-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* Layer 1 Card inside Phone */
.phone-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 8px 20px rgba(0, 0, 0, 0.45);
  text-align: left;
}

/* Layer 2 Recessed Cavity inside Phone Card */
.phone-inner-cavity {
  background: var(--surface-cavity);
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 12px;
  box-shadow: var(--cavity-shadow);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.phone-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--void-green);
  flex-shrink: 0;
}

.phone-status-dot.paused {
  background: var(--void-red);
}

.overlapping-icons-row {
  display: flex;
  align-items: center;
}

.app-icon-chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2A2C35;
  border: 2px solid #0B0C10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  margin-left: -10px;
}

.app-icon-chip:first-child {
  margin-left: 0;
}

.app-icon-chip.plus-chip {
  background: var(--cobalt-gradient);
}

/* Daily Timeline Bar */
.timeline-bar-track {
  height: 14px;
  border-radius: 7px;
  background: var(--slate-track);
  position: relative;
  overflow: hidden;
  margin-top: 12px;
}

.timeline-bar-active {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 7px;
  background: var(--cobalt-gradient);
}

.timeline-axis-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: var(--text-secondary);
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.phone-toggle {
  width: 44px;
  height: 24px;
  background: #383F4E;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.phone-toggle.active {
  background: var(--cobalt-gradient);
}

.phone-toggle-thumb {
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.phone-toggle.active .phone-toggle-thumb {
  transform: translateX(20px);
}

/* Floating Bottom Obsidian Glass Capsule Navbar inside Phone */
.phone-bottom-nav-wrap {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 40;
}

.phone-bottom-nav {
  height: 66px;
  border-radius: 33px;
  background: var(--surface-obsidian-glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 var(--rim-glass), 0 12px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.phone-nav-tab {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.38);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.phone-nav-tab.active {
  color: #FFFFFF;
}

.phone-nav-indicator {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #FFFFFF;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.phone-nav-tab.active .phone-nav-indicator {
  opacity: 1;
}

.phone-nav-fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #333642 0%, #21232C 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.phone-nav-fab:hover {
  transform: scale(1.06);
}

/* ==========================================================================
   CORE FEATURES & UNLOCK BARRIERS GRIDS
/* ==========================================================================
   FEATURES GRID (VOID Android Layer 1 OuterGroupCard + Layer 2 Recessed Rows)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin: 44px 0 0;
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), var(--card-shadow);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.void-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px;
}

.void-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.void-header-icon {
  width: 18px;
  height: 18px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.feature-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.void-cavity-block {
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-inner);
  padding: 15px 16px;
  box-shadow: var(--cavity-shadow);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.void-subrow-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.void-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 14px;
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--cavity-shadow);
  font-size: 13.5px;
}

.void-subrow-label {
  color: var(--text-primary);
  font-weight: 500;
}

.void-subrow-val {
  color: var(--text-secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  white-space: nowrap;
}

.void-subrow-chevron {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1;
}

.void-segmented-cavity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--cavity-shadow);
}

.void-seg-pill {
  text-align: center;
  padding: 10px 12px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.void-seg-pill.active {
  background: var(--cobalt-gradient);
  color: #FFFFFF;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(32, 74, 176, 0.45);
}

.void-mini-seg {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #0A0B0F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--cavity-shadow);
}

.void-mini-pill-lock,
.void-mini-pill-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 9px;
  background: var(--cobalt-gradient);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
}

.void-mini-pill-unlock,
.void-mini-pill-inactive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 0;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
}

.void-switch-track {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.void-switch-track.on {
  background: var(--void-cobalt);
}

.void-switch-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
}

/* Exact VOID Android DailyTimelineBar.kt Component */
.void-app-timeline {
  width: 100%;
  padding: 2px 2px 4px;
}

.void-timeline-labels {
  display: flex;
  width: 100%;
  font-size: 11px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1;
}

.void-timeline-labels span:nth-child(1) { flex: 1; text-align: left; }
.void-timeline-labels span:nth-child(2) { flex: 2; text-align: center; }
.void-timeline-labels span:nth-child(3) { flex: 2; text-align: center; }
.void-timeline-labels span:nth-child(4) { flex: 2; text-align: center; }
.void-timeline-labels span:nth-child(5) { flex: 1; text-align: right; }

.void-timeline-track {
  position: relative;
  width: 100%;
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #565D70 0%, #383F4E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 10px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.void-timeline-seg-sleep {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.11) 100%);
}

.void-timeline-seg-limit {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, #5490FB 0%, #2860D6 100%);
}

.void-timeline-seg-strict {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, #FB923C 0%, #EA580C 100%);
}

.void-timeline-tick {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.65);
  z-index: 2;
  pointer-events: none;
}

.void-timeline-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.void-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
}

.void-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ==========================================================================
   HOW VOID COMPARES (Multi-Column Table in VOID Layer 1 + Layer 2 Recessed Theme)
   ========================================================================== */
.void-compare-outer {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), var(--card-shadow);
}

.void-compare-cavity {
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: var(--cavity-shadow);
  overflow-x: auto;
  scrollbar-width: thin;
}

.void-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 14px;
}

.void-compare-table th,
.void-compare-table td {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.void-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.void-compare-table th {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #151722;
}

.void-compare-table tbody td {
  background: #101117;
}

.void-compare-table th:first-child,
.void-compare-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}

.void-compare-table th:first-child {
  background: #151722;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.void-compare-table tbody td:first-child {
  background: #101117;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.void-compare-table th.void-col img {
  margin: 0 auto;
}

.void-compare-table th.void-col,
.void-compare-table td.void-col {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.void-compare-table tbody tr {
  transition: background-color 0.2s ease;
}

.void-compare-table tbody tr:hover td {
  background: #13151E;
}

.cmp-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.cmp-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.cmp-void-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cmp-check {
  color: var(--void-cobalt);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  flex-shrink: 0;
}

.cmp-void-main {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cmp-void-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.cmp-other {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.cmp-minus {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  flex-shrink: 0;
}

.cmp-partial {
  color: #93C5FD;
  font-weight: 700;
  flex-shrink: 0;
}

.compare-source-note {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   APP SCREENSHOT SHOWCASE (Autonomous Slow Marquee + Manual Pointer Drag)
   ========================================================================== */
.showcase-marquee-viewport {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 16px 0 28px;
  position: relative;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.showcase-marquee-viewport.is-dragging {
  cursor: grabbing;
}

.showcase-marquee-track {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  width: max-content;
  padding: 10px 28px;
  will-change: transform;
}

.showcase-phone-card {
  flex: 0 0 228px;
  width: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.28s ease;
}

.showcase-phone-screen {
  aspect-ratio: 9 / 20;
  border-radius: 26px;
  overflow: hidden;
  background: #030303;
  position: relative;
}

.showcase-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.showcase-drag-hint {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.showcase-phone-card:hover {
  transform: translateY(-6px);
}

.showcase-phone-frame {
  width: 100%;
  max-width: 262px;
  background: #030303;
  border-radius: 34px;
  border: 2px solid #262731;
  padding: 5px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.showcase-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #26314a 0%, #07080c 60%, #000000 100%);
  border: 1.5px solid #353847;
  box-shadow: 0 0 0 1px #030303;
  pointer-events: none;
  z-index: 4;
}

.showcase-phone-screen {
  border-radius: 27px;
  overflow: hidden;
  background: #030303;
  position: relative;
}

.showcase-phone-screen img {
  width: 100%;
  display: block;
}

.showcase-caption {
  text-align: center;
}

.showcase-caption-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.showcase-caption-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   GOAL WEB APP (/goal)
   ========================================================================== */
.goal-app-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.goal-card-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 22px;
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: all 0.2s ease;
  user-select: none;
}

.goal-card-option:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.goal-card-option.selected {
  border-color: var(--void-cobalt);
  background: linear-gradient(180deg, rgba(84, 144, 251, 0.18) 0%, rgba(40, 96, 214, 0.10) 100%);
}

.goal-check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.goal-card-option.selected .goal-check-circle {
  border-color: var(--void-cobalt);
  background: var(--cobalt-gradient);
  color: #FFFFFF;
}

/* ==========================================================================
   DIAGNOSTIC + DOWNLOAD SIDE-BY-SIDE SECTION & GEOLOCK RADIUS SLIDERS
   ========================================================================== */
.diagnostic-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.calculator-box {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
}

.slider-group {
  margin-bottom: 18px;
}

.slider-label-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: 10px;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 500;
}

/* Exact GeoLock Radius Slider Cavity (GeolockSetupScreen.kt VoidRadiusSlider) */
.void-slider-cavity {
  height: 56px;
  border-radius: 16px;
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--cavity-shadow);
  padding: 0 18px;
  display: flex;
  align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.void-slider-cavity:has(.void-radius-input:focus-visible) {
  border-color: var(--void-cobalt);
  box-shadow: var(--cavity-shadow), 0 0 0 3px rgba(64, 128, 250, 0.32);
}

.void-radius-track-wrap {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
}

.void-radius-track-bg {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px;
  background: #2A2E39;
  pointer-events: none;
}

.void-radius-track-fill {
  position: absolute;
  left: 0;
  height: 4px;
  border-radius: 4px;
  background: var(--primary-action-gradient);
  width: var(--fill-pct, 40%);
  pointer-events: none;
}

.void-radius-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #111216;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  left: calc(var(--fill-pct, 40%) - (var(--fill-ratio, 0.4) * 20px));
  pointer-events: none;
}

.void-radius-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 24px;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.calc-metric-card {
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-inner);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--cavity-shadow);
}

.metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.calc-assumption-note {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
  padding: 2px 2px 0;
}

/* ==========================================================================
   BOOST WEB COMPANION (/boost)
   ========================================================================== */
.boost-app-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 36px 20px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.boost-timer-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 24px 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boost-progress-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.boost-progress-bg {
  fill: none;
  stroke: rgba(56, 63, 78, 0.5);
  stroke-width: 10;
}

.boost-progress-bar {
  fill: none;
  stroke: var(--void-cobalt);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 779.1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s linear;
}

.boost-timer-display {
  font-size: 64px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  user-select: none;
}

.boost-timer-status {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.boost-modes-row {
  display: flex;
  gap: 8px;
  margin: 20px 0 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.boost-mode-btn {
  padding: 9px 18px;
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.boost-mode-btn.active {
  background: var(--cobalt-gradient);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.boost-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.audio-soundscape-card {
  width: 100%;
  max-width: 520px;
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: var(--radius-card);
  padding: 22px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), var(--card-shadow);
}

.sound-options {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.sound-btn {
  padding: 8px 14px;
  background: var(--surface-cavity);
  border: 1px solid var(--rim-inner);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sound-btn.active {
  border-color: var(--void-cobalt);
  color: var(--text-primary);
  background: rgba(64, 128, 250, 0.16);
}

/* ==========================================================================
   TEAMWORK ROADMAP PREVIEW (/teamwork-preview)
   ========================================================================== */
.teamwork-app-wrapper {
  max-width: 1020px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.circles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.circle-card {
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), var(--card-shadow);
}

.circle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.circle-members-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.circle-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #23242D;
  background: #2A2C35;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-left: -8px;
}

.circle-avatar:first-child {
  margin-left: 0;
}

.member-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-inner);
  background: var(--surface-cavity);
  margin-bottom: 8px;
  font-size: 13px;
}

.member-badge-locked {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(64, 128, 250, 0.16);
  color: #7BA9FF;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   USER MANUAL & DOCUMENTATION (/manual)
   ========================================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.docs-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 28px);
  height: fit-content;
  max-height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), var(--card-shadow);
}

.docs-content {
  line-height: 1.7;
}

.docs-section {
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), var(--card-shadow);
  scroll-margin-top: calc(var(--nav-height) + 32px);
}

.help-panel > .docs-section:last-child {
  margin-bottom: 0;
}

.help-faq-hero {
  margin-bottom: 26px;
}

.help-faq-hero-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.docs-section h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 22px 0 10px;
}

.docs-section p,
.docs-section li {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 12px;
}

.docs-section ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.docs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-nav-link {
  display: block;
  padding: 9px 14px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.docs-nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.docs-nav-link.active {
  color: var(--text-primary);
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--cavity-shadow);
  margin-bottom: 18px;
}

.docs-mode-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-geist);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 10px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.docs-mode-btn.active {
  background: var(--cobalt-gradient);
  color: #FFFFFF;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(32, 74, 176, 0.45);
}

.docs-nav-group[hidden],
.help-panel[hidden] {
  display: none;
}

.docs-sidebar-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-sidebar-footer a {
  font-size: 12.5px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.docs-sidebar-footer a:hover {
  color: var(--text-primary);
}

.help-faq-item {
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--cavity-shadow);
}

.help-faq-question {
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-geist);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.help-faq-item.open .faq-chevron {
  transform: rotate(90deg);
}

.help-faq-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.help-faq-answer[hidden] {
  display: none;
}

.docs-callout {
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-inner);
  padding: 16px 18px;
  margin: 18px 0 4px;
  box-shadow: var(--cavity-shadow);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.docs-callout strong {
  color: var(--text-primary);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.faq-search-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto 28px;
}

.faq-search-box {
  width: 100%;
  height: var(--control-height);
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  padding: 0 48px 0 22px;
  color: var(--text-primary);
  font-family: var(--font-geist);
  font-size: 14.5px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search-box:focus {
  border-color: var(--void-cobalt);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 3px rgba(64, 128, 250, 0.16);
}

.faq-search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  pointer-events: none;
}

.faq-extra-item {
  display: none;
}

.faq-empty-state {
  display: none;
  text-align: center;
  padding: 28px 20px;
  border-radius: 24px;
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  color: var(--text-secondary);
  font-size: 14.5px;
}

.faq-accordion-item {
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: 24px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.faq-accordion-item.open .faq-chevron {
  transform: rotate(90deg);
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.faq-search-label {
  display: block;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.faq-live-status {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  min-height: 20px;
}

.faq-toggle-all-wrap {
  text-align: center;
  margin-top: 12px;
}

.blocking-overlay-card {
  width: 100%;
  max-width: 460px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--surface-obsidian-glass);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: inset 0 1px 0 var(--rim-glass), 0 24px 64px rgba(0, 0, 0, 0.8);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-qr-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 22px 18px;
  border-radius: 20px;
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--cavity-shadow);
  margin-bottom: 16px;
}

.modal-qr-frame {
  padding: 12px;
  background: #FFFFFF;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

#void-download-modal[data-platform="non-android"] .modal-android-panel {
  display: none;
}

#void-download-modal[data-platform="android"] .modal-qr-panel {
  display: none;
}

.download-play-btn {
  justify-content: space-between;
  gap: 10px;
}

.download-placeholder-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.download-modal-status {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--void-green);
  text-align: center;
  min-height: 18px;
  margin-bottom: 10px;
}

.download-modal-status.is-placeholder {
  color: #FBBF24;
}

#section-closing {
  padding: 72px 24px;
}

.closing-cta-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), var(--card-shadow);
}

/* ==========================================================================
   PRIVACY POLICY & TERMS OF SERVICE (Spacious Width & Cards Over Starfield)
   ========================================================================== */
.legal-page-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  line-height: 1.75;
}

.legal-header {
  margin-bottom: 28px;
}

.legal-page-wrapper h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 13.5px;
  color: var(--text-disabled);
  margin-bottom: 16px;
}

.legal-lead {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
}

.legal-sections-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-section-card {
  background: var(--surface-card);
  border: 1px solid var(--rim-outer);
  border-radius: 26px;
  padding: 24px 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), var(--card-shadow);
}

.legal-section-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-primary);
}

.legal-section-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 14.5px;
}

.legal-section-card p:last-child,
.legal-section-card ul:last-child {
  margin-bottom: 0;
}

.legal-section-card ul {
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.legal-section-card li {
  margin-bottom: 8px;
  font-size: 14.5px;
}

.legal-cross-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding: 4px 2px;
}

.legal-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-nav-link:hover {
  color: var(--void-cobalt);
}

/* ==========================================================================
   INTERACTIVE SIMULATED INTERCEPTION OVERLAY (Smoked Obsidian Glass)
   ========================================================================== */
.void-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 3, 0.84);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.32s;
}

.void-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.void-modal-backdrop.active .blocking-overlay-card {
  transform: scale(1) translateY(0);
}

.blocking-swirl {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  animation: swirlRotate 28s linear infinite;
}

.blocking-prompt {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blocking-app-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.blocking-open-count {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.barrier-mode-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.barrier-pill {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.barrier-pill.active {
  background: var(--cobalt-gradient);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.barrier-interactive-area {
  width: 100%;
  background: var(--surface-cavity);
  border: 1px solid var(--rim-inner);
  border-radius: var(--radius-inner);
  padding: 14px;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  text-align: center;
}

.barrier-typing-input {
  width: 100%;
  height: 44px;
  margin-top: 10px;
  border-radius: 12px;
  background: #060709;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0 12px;
  color: #FFFFFF;
  font-family: var(--font-geist);
  font-size: 13px;
  outline: none;
}

.barrier-typing-input:focus {
  border-color: var(--void-cobalt);
}

.blocking-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(18px);
  padding: 56px 24px 36px;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
}

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

.footer-links a,
.footer-links button {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-geist);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-disabled);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   PHONE BOTTOM NAVIGATION BAR & LEFT SLIDE DRAWER VS TABLET/DESKTOP TOP BAR
   ========================================================================== */
.nav-phone-download {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cobalt-gradient);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(32, 74, 176, 0.45);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(8px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  width: min(84vw, 320px);
  background: var(--void-bg);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.9);
  z-index: 1100;
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.32s;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 16px;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-drawer-close:hover {
  color: #FFFFFF;
}

.mobile-drawer-card {
  background: linear-gradient(180deg, var(--layer1-top), var(--layer1-body));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  border-radius: 16px;
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--cavity-shadow);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mobile-drawer-links a .lucide-icon {
  color: rgba(255, 255, 255, 0.45);
}

.mobile-drawer-links a.active {
  color: var(--void-cobalt);
  font-weight: 600;
}

.mobile-drawer-links a.active .lucide-icon {
  color: var(--void-cobalt);
}

/* Tablet stays with Top Bar cleanly like Desktop */
@media (max-width: 1024px) and (min-width: 768px) {
  .main-nav {
    padding: 0 10px 0 16px;
  }

  .nav-link {
    padding: 7px 10px;
    font-size: 13px;
  }

  .aurora-btn-sm {
    padding: 0 14px;
    font-size: 13px;
  }
}

@media (max-width: 920px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
  }

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

  .calc-results-grid {
    grid-template-columns: 1fr;
  }

  .compare-void-grid,
  .diagnostic-split-grid {
    grid-template-columns: 1fr;
  }

  .showcase-phone-card {
    flex: 0 0 206px;
    width: 206px;
  }
}

/* Phones ONLY (<= 767px): Top Navbar (VOID left, Download icon + borderless 3-line menu right -> opens Right Drawer) */
@media (max-width: 767px) {
  .nav-wrapper {
    top: 14px;
    bottom: auto;
    left: 12px;
    right: 12px;
  }

  .main-nav {
    height: 60px;
    padding: 0 12px 0 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-desktop-download {
    display: none;
  }

  .nav-phone-download,
  .nav-mobile-toggle {
    display: inline-flex;
  }

  .hero-wrapper {
    padding: 84px 18px 40px;
  }
}

.download-card {
  width: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  border-color: rgba(255, 255, 255, 0.08);
}

.void-setting-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.void-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--surface-cavity);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--cavity-shadow);
  font-size: 14px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

a.void-setting-row:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: #14161E;
}

.void-setting-row-val {
  color: var(--text-secondary);
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 540px) {
  .section-container,
  #section-closing {
    padding: 52px 16px;
  }

  .closing-cta-card {
    padding: 28px 20px;
  }

  .showcase-phone-card {
    flex: 0 0 186px;
    width: 186px;
  }

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

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

  .aurora-btn, .void-white-btn, .secondary-btn {
    width: 100%;
  }
}
