/* ==========================================================================
   mendSoul - Calmer Days, Softer Nights
   Cinematic Dark Luxury Aesthetic with 3D Centerpiece Showcase
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-dark: #05060a;
  --bg-surface: #0a0c14;
  --bg-card: rgba(15, 18, 28, 0.7);
  --bg-card-hover: rgba(22, 27, 42, 0.85);
  
  /* Accent Hues */
  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  
  --accent-teal: #06b6d4;
  --accent-teal-light: #22d3ee;
  --accent-teal-glow: rgba(6, 182, 212, 0.35);

  --accent-coral: #f43f5e;
  --accent-coral-glow: rgba(244, 63, 94, 0.3);

  --accent-sage: #10b981;
  --accent-sage-glow: rgba(16, 185, 129, 0.3);

  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.3);

  /* Typography & Lines */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.18);
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 840px;
  --header-h: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  scroll-behavior: smooth;
  /* The header floats fixed above the page, so an in-page anchor jump has to
     stop short of the real top or it lands the section title underneath it. */
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0d1020 0%, var(--bg-dark) 55%);
}

/* Particle Background Canvas */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

/* Interactive Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.4s ease;
  filter: blur(40px);
}

/* Utilities & Containers */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.max-w-narrow {
  max-width: var(--max-w-narrow);
}

.section {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--accent-purple-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-title-center {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-align: center;
  color: #fff;
  margin-bottom: 18px;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.06em;
}

.section-desc-center {
  max-width: 640px;
  margin: 0 auto 56px auto;
  font-size: 1.12rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.65;
}

.title-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #c4b5fd 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s var(--ease-spring);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #9f75ff 0%, #7579ff 50%, #22d3ee 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-primary span, .btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.55);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

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

.btn-glow {
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.45);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Navigation (Floating Frosted Glass Pill)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1060px, calc(100% - 32px));
  height: 58px;
  z-index: 1000;
  background: rgba(10, 12, 22, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease-spring);
}

.site-header.scrolled {
  background: rgba(7, 9, 16, 0.92);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 48px -6px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.header-container {
  width: 100%;
  height: 100%;
  padding: 0 12px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-mark-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.45);
}

.brand-icon {
  width: 100%;
  height: 100%;
  max-width: 32px;
  max-height: 32px;
  object-fit: cover;
  border-radius: inherit;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.brand-glow-ring {
  display: none;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 4px;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-item:hover {
  color: #fff;
}

.nav-item:hover::after {
  width: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-cta {
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s var(--ease-spring);
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
  background: linear-gradient(135deg, #9f75ff 0%, #7579ff 100%);
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mobile-menu-btn .menu-bar {
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-btn[aria-expanded="true"] .bar-top {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .bar-mid {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .bar-bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* Floating Mobile Drawer */
.mobile-drawer {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(10, 12, 22, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mobile-drawer-footer {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-cta {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
}

.aurora-1 {
  width: 650px;
  height: 650px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #7c5cff, #4338ca 70%);
}

.aurora-2 {
  width: 480px;
  height: 480px;
  top: 250px;
  left: 15%;
  background: radial-gradient(circle, #06b6d4, #0284c7 70%);
  opacity: 0.15;
}

.aurora-3 {
  width: 420px;
  height: 420px;
  top: 300px;
  right: 15%;
  background: radial-gradient(circle, #f43f5e, #be185d 70%);
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.badge-tag {
  color: #fff;
  font-weight: 600;
}

.badge-separator {
  opacity: 0.4;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

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

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

/* ==========================================================================
   Product Centerpiece: 3D Floating Smartphone Stage
   ========================================================================== */
.hero-product-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 50px auto 0 auto;
  padding: 40px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Neon Pedestal Rings behind Phone */
.stage-backlight {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 75%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.stage-ring {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 0;
}

.stage-ring-outer {
  width: 780px;
  height: 780px;
  animation: rotateRing 80s linear infinite;
}

.stage-ring-middle {
  width: 600px;
  height: 600px;
  border-color: rgba(139, 92, 246, 0.15);
  animation: rotateRing 60s linear infinite reverse;
}

.stage-ring-inner {
  width: 440px;
  height: 440px;
  border-color: rgba(6, 182, 212, 0.2);
}

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 3D Wrapper */
.device-3d-wrapper {
  position: relative;
  z-index: 1;
  perspective: 1400px;
  padding: 30px;
  transition: transform 0.15s ease-out;
}

/* Satellite Floating Feature Cards */
.satellite-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(15, 19, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.15);
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.satellite-card:hover {
  transform: scale(1.05) translateY(-4px) !important;
  border-color: var(--accent-purple-light);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.35);
}

.sat-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.sat-icon-wrap.bg-teal { background: rgba(6, 182, 212, 0.2); color: #22d3ee; }
.sat-icon-wrap.bg-purple { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.sat-icon-wrap.bg-coral { background: rgba(244, 63, 94, 0.2); color: #fda4af; }
.sat-icon-wrap.bg-sage { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }

.sat-info {
  display: flex;
  flex-direction: column;
}

.sat-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.sat-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Satellite Positions & Floating Keyframes */
.sat-left-top {
  top: 14%;
  left: -180px;
  animation: floatCard1 6s ease-in-out infinite;
}

.sat-right-top {
  top: 16%;
  right: -180px;
  animation: floatCard2 7s ease-in-out infinite 0.5s;
}

.sat-left-bottom {
  bottom: 24%;
  left: -170px;
  animation: floatCard3 6.5s ease-in-out infinite 1s;
}

.sat-right-bottom {
  bottom: 20%;
  right: -170px;
  animation: floatCard4 7.5s ease-in-out infinite 1.5s;
}

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatCard2 {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}

@keyframes floatCard3 {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50% { transform: translateY(-10px) rotate(-1.5deg); }
}

@keyframes floatCard4 {
  0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

/* Smartphone Chassis (Matte Titanium Glass) */
.phone-frame {
  position: relative;
  width: 320px;
  height: 670px;
  background: #090a10;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 25px 60px -10px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(139, 92, 246, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease-spring);
  transform-style: preserve-3d;
}

.phone-speaker-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notch-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d1326;
  border: 1px solid #1e293b;
}

.notch-sensor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111827;
}

/* Screen Viewport */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #06070b;
}

.screen-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-spring), visibility 0.4s;
  overflow: hidden;
}

.screen-layer.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-glass-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.03) 70%, transparent 100%);
  pointer-events: none;
  z-index: 15;
}

/* Screen Switcher Tabs Bar */
.screen-switcher-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 18, 28, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px;
  margin-top: 36px;
  backdrop-filter: blur(16px);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.screen-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
}

.screen-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.screen-tab.active {
  color: #fff;
  background: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.35);
}

.screen-tab.active .tab-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple-light);
  box-shadow: 0 0 8px var(--accent-purple-light);
}

/* ==========================================================================
   Metrics Strip
   ========================================================================== */
.metrics-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 980px;
  margin: 60px auto 0 auto;
  padding: 24px 36px;
  background: rgba(13, 16, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  z-index: 2;
  position: relative;
}

.metric-block {
  text-align: center;
}

.metric-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Section 2: Philosophy & Architecture (Vision / Mission Split)
   ========================================================================== */
.philosophy-section {
  position: relative;
}

.split-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 50px;
}

.split-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.split-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}

.split-card-header {
  margin-bottom: 24px;
}

.split-sub {
  font-size: 0.8rem;
  color: var(--accent-purple-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.split-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.split-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.split-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.point-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.split-left .point-icon { color: var(--accent-coral); background: rgba(244, 63, 94, 0.15); }
.split-right .point-icon { color: var(--accent-sage); background: rgba(16, 185, 129, 0.15); }

.point-content {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.point-content strong {
  color: #fff;
}

/* Center Teleport Portal */
.split-portal-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portal-frame {
  position: relative;
  width: 280px;
  height: 480px;
  background: radial-gradient(circle at 50% 50%, #151829 0%, #080912 100%);
  border-radius: 40px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.25), inset 0 0 30px rgba(6, 182, 212, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  overflow: hidden;
}

.portal-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(6, 182, 212, 0.1) 60%, transparent 70%);
  filter: blur(25px);
  animation: pulseHalo 4s ease-in-out infinite alternate;
}

@keyframes pulseHalo {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}

.portal-mark-holder {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.portal-floating-ribbon {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(139, 92, 246, 0.6));
  animation: floatRibbon 5s ease-in-out infinite;
}

@keyframes floatRibbon {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.portal-sine-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 60px;
  z-index: 2;
}

.sine-bar {
  width: 4px;
  height: 12px;
  background: linear-gradient(180deg, var(--accent-teal), var(--accent-purple));
  border-radius: 2px;
  animation: sineWave 1.4s ease-in-out infinite alternate;
}

.sb-1  { animation-delay: 0.0s; }
.sb-2  { animation-delay: 0.1s; }
.sb-3  { animation-delay: 0.2s; }
.sb-4  { animation-delay: 0.3s; }
.sb-5  { animation-delay: 0.4s; }
.sb-6  { animation-delay: 0.5s; }
.sb-7  { animation-delay: 0.6s; }
.sb-8  { animation-delay: 0.7s; }
.sb-9  { animation-delay: 0.8s; }
.sb-10 { animation-delay: 0.9s; }
.sb-11 { animation-delay: 1.0s; }
.sb-12 { animation-delay: 1.1s; }

@keyframes sineWave {
  0% { height: 8px; opacity: 0.4; }
  100% { height: 48px; opacity: 1; }
}

.portal-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.portal-label code {
  color: var(--accent-teal-light);
  font-family: monospace;
  font-size: 0.75rem;
}

/* ==========================================================================
   Section 3: Signature Breathing Orb (Matching Reference Frames 12 & 16)
   ========================================================================== */
.breathing-section {
  position: relative;
  background: radial-gradient(circle at 50% 60%, rgba(139, 92, 246, 0.09) 0%, transparent 60%);
  padding: 130px 0;
}

.breathing-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.breathing-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.breathing-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
}

/* Single Signature Rhythm Pill */
.rhythm-single-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 16px rgba(139, 92, 246, 0.12);
  margin-bottom: 24px;
}

.rhythm-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 10px #a78bfa;
  animation: pulseDot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 14px #c084fc; }
}

.rhythm-pill-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.rhythm-pill-timing {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* 3D Orb Stage */
.orb-stage-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.orb-visual-stage {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Concentric Luminous Wave Rings */
.orb-wave {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}

.wave-1 {
  width: 290px;
  height: 290px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

.wave-2 {
  width: 330px;
  height: 330px;
  border: 1px dashed rgba(6, 182, 212, 0.25);
}

.wave-3 {
  width: 370px;
  height: 370px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* SVG Circular Progress Ring */
.orb-progress-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 6;
}

.orb-progress-ring .ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3px;
}

.orb-progress-ring .ring-indicator {
  fill: none;
  stroke: var(--accent-purple-light);
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-dasharray: 829.38;
  stroke-dashoffset: 829.38;
  filter: drop-shadow(0 0 8px var(--accent-purple));
  will-change: stroke-dashoffset;
}

/* The Glowing Orb Core */
.breathing-orb-core {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c084fc 0%, #7c3aed 45%, #312e81 80%, #0f172a 100%);
  box-shadow: 
    0 0 40px rgba(139, 92, 246, 0.6),
    0 0 90px rgba(6, 182, 212, 0.3),
    inset 0 0 35px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  z-index: 5;
  will-change: transform, box-shadow;
}

.orb-inner-light {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.orb-glow-corona {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  opacity: 0.6;
  filter: blur(4px);
  pointer-events: none;
}

.orb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
}

.orb-action-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.orb-countdown-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.orb-sub-guide {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Subtle gentle shimmer during hold */
@keyframes orbHoldPulse {
  0%, 100% {
    transform: scale(1.36);
    box-shadow: 0 0 65px rgba(245, 158, 11, 0.65), 0 0 110px rgba(139, 92, 246, 0.45), inset 0 0 45px rgba(255, 255, 255, 0.65);
  }
  50% {
    transform: scale(1.39);
    box-shadow: 0 0 80px rgba(245, 158, 11, 0.8), 0 0 130px rgba(139, 92, 246, 0.55), inset 0 0 55px rgba(255, 255, 255, 0.75);
  }
}

.breathing-orb-core.is-holding {
  animation: orbHoldPulse 3s ease-in-out infinite;
}

/* Control Panel */
.orb-control-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.orb-session-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple-light);
}

.orb-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon-only {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================================================
   Section 4: The 6 Pillars Bento Grid
   ========================================================================== */
.features-section {
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.28s var(--ease-spring), border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.bento-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.bg-teal-glow { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.bg-purple-glow { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.3); }
.bg-coral-glow { background: rgba(244, 63, 94, 0.15); color: #fda4af; border: 1px solid rgba(244, 63, 94, 0.3); }
.bg-sage-glow { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.bg-amber-glow { background: rgba(245, 158, 11, 0.15); color: #fde047; border: 1px solid rgba(245, 158, 11, 0.3); }
.bg-blue-glow { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }

.bento-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.bento-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.quote-display {
  padding: 24px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent-purple-light);
}

.featured-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}

.featured-quote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section 5: Procedural Soundscapes Engine
   ========================================================================== */
.soundscape-section {
  position: relative;
}

.soundscape-wrap {
  background: radial-gradient(circle at 50% 0%, #101426 0%, #0a0c16 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.sound-card {
  background: rgba(18, 22, 36, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sound-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.sound-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sound-emoji {
  font-size: 1.8rem;
}

.sound-chip {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-purple-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

.sound-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.sound-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.sound-features-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sound-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-teal-light);
  background: rgba(6, 182, 212, 0.08);
  border-radius: 6px;
  padding: 3px 8px;
}

.sleep-features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.sleep-feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.sleep-feature-pill .pill-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.sleep-feature-pill .pill-text {
  display: flex;
  flex-direction: column;
}

.sleep-feature-pill .pill-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.sleep-feature-pill .pill-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.soundscape-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Section 6: Real Screens Carousel
   ========================================================================== */
.gallery-section {
  position: relative;
  overflow: hidden;
}

.gallery-scroll-container {
  overflow-x: auto;
  padding: 20px 24px 40px 24px;
  scrollbar-width: none;
}

.gallery-scroll-container::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 28px;
  width: max-content;
}

.gallery-card {
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 16px;
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
}

.card-screen-frame {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-meta {
  padding: 0 6px 6px 6px;
}

.meta-tag {
  font-size: 0.72rem;
  color: var(--accent-purple-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.card-meta h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.card-meta p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Section 7: Privacy & Trust Matrix
   ========================================================================== */
.trust-section {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comparison-table th, .comparison-table td {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.2);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  color: var(--text-secondary);
}

.col-highlight {
  background: rgba(139, 92, 246, 0.06);
  color: #fff !important;
}

.col-highlight strong {
  color: #fff;
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-weight: bold;
  font-size: 0.8rem;
  margin-right: 6px;
}

/* ==========================================================================
   Section 8: FAQ Accordion
   ========================================================================== */
.faq-section {
  position: relative;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-toggle-icon::before, .faq-toggle-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-secondary);
  transition: transform 0.25s ease;
}

.faq-toggle-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-toggle-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

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

/* ==========================================================================
   Section 9: Call to Action Card & Waitlist Form
   ========================================================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 140px;
}

.cta-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.cta-card {
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 50% 0%, #15182a 0%, #0d0f1a 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(139, 92, 246, 0.2);
}

.cta-icon-holder {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px auto;
}

.cta-logo-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.7));
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.waitlist-form {
  max-width: 480px;
  margin: 0 auto 28px auto;
}

.form-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-pill);
  padding: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-group:focus-within {
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

.waitlist-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 18px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.btn-submit {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.waitlist-success-msg {
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.9rem;
  margin-top: 14px;
}

.waitlist-error-msg {
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
  font-size: 0.9rem;
  margin-top: 14px;
}

.cta-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================= */
.site-footer {
  position: relative;
  z-index: 2;
  background: #030407;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-brand-col .brand-mark-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 16px 0 20px 0;
  max-width: 320px;
}

.footer-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.78rem;
  color: #34d399;
}

.pulse-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

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

.footer-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: #fff;
}

.footer-disclaimer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .split-showcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-portal-container {
    order: -1;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-wide {
    grid-column: span 2;
  }
  .sound-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sleep-features-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .satellite-card {
    display: none; /* Keep phone centerpiece prominent and avoid edge clipping */
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .btn-header-cta {
    display: none;
  }
  .site-header {
    width: calc(100% - 24px);
    top: 12px;
    height: 54px;
  }
  .header-container {
    padding: 0 12px 0 16px;
  }
  .hero-section {
    padding-top: 96px;
  }
  .hero-title {
    font-size: clamp(2.1rem, 7.5vw, 3rem);
  }
  .phone-frame {
    width: 275px;
    height: 570px;
  }
  .stage-ring-outer, .stage-ring-middle, .stage-ring-inner {
    display: none;
  }
  .orb-visual-stage {
    transform: scale(0.86);
    margin: 0 auto;
  }
  .rhythm-single-pill {
    max-width: 95%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 8px 16px;
    gap: 6px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
    flex-direction: column;
  }
  .sound-grid {
    grid-template-columns: 1fr;
  }
  .sleep-features-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .screen-switcher-bar {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .screen-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .form-input-group {
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: transparent;
    border: none;
    gap: 10px;
    padding: 0;
  }
  .waitlist-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-pill);
    padding: 14px 20px;
    width: 100%;
  }
  .btn-submit {
    width: 100%;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    height: 52px;
  }
  .brand-text {
    font-size: 1.15rem;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
  }
  .badge-sub, .badge-separator {
    display: none;
  }
  .hero-title {
    font-size: clamp(1.95rem, 8.5vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-trust-bar {
    flex-direction: column;
    gap: 8px;
  }
  .trust-dot {
    display: none;
  }
  .phone-frame {
    width: 245px;
    height: 510px;
  }
  .screen-switcher-bar {
    gap: 6px;
    padding: 4px;
  }
  .screen-tab {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  .orb-visual-stage {
    transform: scale(0.78);
    margin: -15px auto;
  }
  .rhythm-single-pill {
    font-size: 0.76rem;
    padding: 6px 12px;
  }
  .rhythm-pill-timing {
    font-size: 0.72rem;
  }
  .soundscape-wrap {
    padding: 36px 20px;
  }
  .sleep-features-strip {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 36px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   Documentation & Subpage Styles (Privacy, Account Deletion)
   ========================================================================== */
.wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px 24px;
}

header.site {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

header.site a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

header.site img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.wrap .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.wrap .lede {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

.wrap h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 44px 0 16px 0;
}

.wrap h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 28px 0 12px 0;
}

.wrap p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.wrap a {
  color: var(--accent-purple-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wrap a:hover {
  color: #fff;
}

.wrap ul, .wrap ol {
  color: var(--text-secondary);
  margin: 0 0 24px 24px;
  line-height: 1.7;
}

.wrap li {
  margin-bottom: 8px;
}

.wrap strong {
  color: #fff;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
  backdrop-filter: blur(14px);
}

.card.soft {
  background: rgba(139, 92, 246, 0.07);
  border-color: rgba(139, 92, 246, 0.25);
}

.table-scroll {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}

.table-scroll th, .table-scroll td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.table-scroll th {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.table-scroll td {
  color: var(--text-secondary);
}

.steps {
  counter-reset: step-counter;
  list-style: none;
  margin-left: 0;
}

.steps li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
}

.steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--accent-purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer.site {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}
