/* ==========================================================================
   NEBULA — BESPOKE MAC STORAGE MANAGEMENT WEBSITE
   Aesthetic: Deep Space Celestial + macOS Sequoia Native Glassmorphism
   Accessibility: WCAG 2.2 AA Compliant • Zero Heavy Libraries
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Space Cosmic Dark Theme (Default) */
  --bg-deep: #07090e;
  --bg-surface: #0e131f;
  --bg-surface-elevated: #141b2d;
  --bg-glass: rgba(14, 19, 31, 0.78);
  --bg-mac-window: #161c2e;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(56, 189, 248, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-cyan: #38bdf8;

  --accent-cyan: #38bdf8;
  --accent-indigo: #818cf8;
  --accent-purple: #c084fc;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;
  --accent-crimson: #f43f5e;
  --accent-blue: #0284c7;

  /* APFS Storage Meter Colors */
  --apfs-system: #6366f1;
  --apfs-apps: #a855f7;
  --apfs-media: #f59e0b;
  --apfs-dev: #06b6d4;
  --apfs-warning: #f43f5e;
  --apfs-free: #10b981;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-window: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-glow-cyan: 0 0 35px rgba(56, 189, 248, 0.25);
  --shadow-glow-crimson: 0 0 35px rgba(244, 63, 94, 0.3);

  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Support */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-deep: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-mac-window: #ffffff;

    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.14);
    --border-glow: rgba(2, 132, 199, 0.3);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-cyan: #0284c7;

    --shadow-window: 0 20px 50px -15px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
    --shadow-glow-cyan: 0 0 25px rgba(2, 132, 199, 0.15);
  }
}

:root[data-theme="light"] {
  --bg-deep: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-mac-window: #ffffff;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-glow: rgba(2, 132, 199, 0.3);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-cyan: #0284c7;

  --shadow-window: 0 20px 50px -15px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
  --shadow-glow-cyan: 0 0 25px rgba(2, 132, 199, 0.15);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Background Subtle Starfield / Cosmic Gradient */
.cosmic-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(129, 140, 248, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(192, 132, 252, 0.04) 0%, transparent 50%);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  padding: 10px 18px;
  background: var(--accent-cyan);
  color: #07090e;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--accent-indigo);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Typography & Layout Containers */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 860px;
}

/* Site Header (macOS Frosted Glass Navigation) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon-svg {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

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

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

/* Primary Button (macOS Aqua / Sonoma Inspired) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.5);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.86rem;
}

/* Hero Section */
.hero-section {
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}

.hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Waitlist Form */
.waitlist-form-container {
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-form {
  display: flex;
  gap: 10px;
}

.waitlist-input {
  flex: 1;
  padding: 13px 18px;
  font-size: 0.98rem;
  font-family: inherit;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.waitlist-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  outline: none;
}

.waitlist-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.4;
}

.non-mac-banner {
  display: none;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 0.88rem;
  color: var(--accent-amber);
  text-align: center;
}

/* ==========================================================================
   BESPOKE HERO CONCEPT: "THE FULL BAR -> ORBIT" STAGE
   ========================================================================== */

.orbital-showcase-stage {
  margin: 48px auto 24px;
  max-width: 1060px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px 32px 42px;
  position: relative;
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

/* macOS Window Header Chrome */
.mac-window-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.window-traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.traffic-light.red { background: #ef4444; }
.traffic-light.yellow { background: #f59e0b; }
.traffic-light.green { background: #10b981; }

.window-title-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-title-badge .mac-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.sim-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--accent-cyan);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
}

/* Realistic APFS Storage Allocation Bar */
.apfs-bar-container {
  margin-bottom: 28px;
}

.apfs-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.apfs-bar-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.apfs-status-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.18);
  color: var(--accent-crimson);
  border: 1px solid rgba(244, 63, 94, 0.4);
  transition: all var(--transition-slow);
}

.apfs-status-pill.settled {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.4);
}

.apfs-bar-metrics {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Multi-Segment APFS Bar */
.apfs-track {
  height: 28px;
  background: #0f1420;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  position: relative;
  border: 1px solid var(--border-medium);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.apfs-segment {
  height: 100%;
  transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.apfs-segment.system { width: 14%; background: var(--apfs-system); }
.apfs-segment.apps { width: 15%; background: var(--apfs-apps); }
.apfs-segment.media { width: 16%; background: var(--apfs-media); }
.apfs-segment.dev { width: 18%; background: var(--apfs-dev); }

.apfs-segment.cold-warning {
  width: 35%;
  background: linear-gradient(90deg, #e11d48 0%, #f43f5e 100%);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.5);
}

.apfs-segment.cold-warning.settled {
  width: 0%;
  opacity: 0;
}

.apfs-segment.free-space {
  width: 2%;
  background: var(--apfs-free);
  opacity: 0.4;
}

.apfs-segment.free-space.settled {
  width: 37%;
  opacity: 1;
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

/* APFS Legend */
.apfs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

/* File Chips Lift-Off Area */
.chips-liftoff-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 28px;
  min-height: 42px;
}

.liftoff-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease, border-color 0.4s ease;
}

.liftoff-chip .chip-weight {
  color: var(--accent-cyan);
  font-weight: 700;
}

.liftoff-chip.flying {
  transform: translateY(-12px) scale(0.95);
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   COSMIC ORBIT SYSTEM (MacBook at Core + Elliptical Orbit Nodes)
   ========================================================================== */

.cosmic-orbit-system {
  position: relative;
  margin-top: 24px;
  padding: 40px 16px 20px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Concentric Celestial Orbit Ring Canvas */
.orbit-svg-container {
  width: 100%;
  max-width: 900px;
  height: 380px;
  position: relative;
}

.orbit-svg-canvas {
  width: 100%;
  height: 100%;
}

/* Hardware Centerpiece: MacBook Silhouette */
.center-macbook-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.macbook-svg-chassis {
  width: 180px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
}

.macbook-core-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-top: 8px;
  background: rgba(14, 19, 31, 0.9);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
}

/* Orbit Destination Nodes */
.orbit-node-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 24px;
  position: relative;
  z-index: 5;
}

.orbit-node-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.orbit-node-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.node-icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.25rem;
}

.node-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.node-metric {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 6px;
}

.node-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* One-Click Restore Flyback Badge */
.restore-swoop-container {
  margin-top: 32px;
  width: 100%;
  max-width: 520px;
}

.restore-swoop-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
  text-align: center;
}

/* ==========================================================================
   INTERACTIVE HARDWARE STUDIO & APFS STORAGE INSPECTOR
   ========================================================================== */

.inspector-section {
  padding: 64px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 19, 31, 0.5) 50%, transparent 100%);
}

.mac-inspector-window {
  max-width: 840px;
  margin: 0 auto;
  background: var(--bg-mac-window);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.mac-inspector-titlebar {
  background: rgba(22, 28, 46, 0.9);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.inspector-body {
  padding: 36px 32px;
}

/* Hardware Model Selector */
.model-selector-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.model-radio-card {
  position: relative;
}

.model-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.model-box {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.model-box .model-capacity {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.model-box .model-name {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.model-radio-card input:checked + .model-box {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

/* Fullness Slider */
.slider-group {
  margin-bottom: 32px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-cyan);
}

.tactile-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #1e293b;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.tactile-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  border: 2px solid #ffffff;
  cursor: pointer;
}

/* Reclaim Summary Output Box */
.reclaim-output-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.reclaim-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.reclaim-big-metric {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  line-height: 1.1;
  margin-bottom: 10px;
}

.reclaim-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.reclaim-disclaimer-pill {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  display: inline-block;
}

/* ==========================================================================
   SMART RULES ENGINE UI (Native macOS Rule Cards)
   ========================================================================== */

.rules-section {
  padding: 72px 0;
}

.rules-macos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}

.rule-macos-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
}

.rule-macos-card:hover {
  border-color: var(--accent-cyan);
}

.rule-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rule-id-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.rule-toggle-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.rule-toggle-indicator::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.rule-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.rule-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.rule-body-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   NATIVE CODEBASE INVENTORY (BUILT VS PLANNED)
   ========================================================================== */

.codebase-features-section {
  margin-top: 54px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}

.codebase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.codebase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 18px;
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.built {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.planned {
  background: rgba(192, 132, 252, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

/* ==========================================================================
   HONEST COMPARISON TABLE (INSPECTOR SPLIT)
   ========================================================================== */

.comparison-section {
  padding: 72px 0;
}

.comparison-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-window);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.comparison-table th {
  background: var(--bg-surface-elevated);
  font-weight: 700;
  font-size: 0.95rem;
}

.comparison-table th.nebula-col, .comparison-table td.nebula-col {
  background: rgba(56, 189, 248, 0.04);
  border-left: 1px solid rgba(56, 189, 248, 0.25);
  border-right: 1px solid rgba(56, 189, 248, 0.25);
}

.comparison-table th.nebula-col {
  color: var(--accent-cyan);
}

/* Pricing Block */
.pricing-section {
  padding: 72px 0;
}

.price-box-mac {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-glow-cyan);
}

.price-pill-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-number {
  font-size: 3.8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
  margin: 16px 0 8px;
}

.price-strikethrough {
  font-size: 1.6rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 8px;
}

.price-sub {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 24px;
}

.perks-list {
  list-style: none;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.perks-list li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 900;
}

/* FAQ Accordion */
.faq-section {
  padding: 72px 0;
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-row:hover {
  border-color: var(--border-medium);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.aeo-direct-quote {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 12px;
  background: rgba(56, 189, 248, 0.08);
  padding: 12px 16px;
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Guide Articles Layout */
.guide-article {
  padding: 56px 0 72px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.guide-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.aeo-box {
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--accent-cyan);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 36px;
}

.aeo-box-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.aeo-box-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}

.terminal-block {
  background: #04060a;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38bdf8;
  overflow-x: auto;
  margin: 20px 0;
  line-height: 1.5;
}

.warning-callout {
  background: rgba(244, 63, 94, 0.08);
  border-left: 4px solid var(--accent-crimson);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 0.95rem;
}

/* Mobile Sticky CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 999;
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-links { display: none; }
  .orbit-node-grid { grid-template-columns: repeat(2, 1fr); }
  .model-selector-row { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
}

/* ==========================================================================
   FOOTER STYLES (POLISHED & RESPONSIVE)
   ========================================================================== */

.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 40px;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 96px; /* Offset for sticky mobile bottom CTA */
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.footer-brand-link:hover {
  color: var(--accent-cyan);
}

.footer-brand-name {
  font-weight: 800;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 320px;
}

.footer-dev-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

.footer-col-title {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-links-list li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-links-list li a:hover {
  color: var(--accent-cyan);
}

.footer-static-item {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-copyright {
  color: var(--text-secondary);
}

.footer-legal-notice {
  color: var(--text-muted);
}

/* Respect Prefers-Reduced-Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
