/* ==========================================================================
   Desktop Organizer — Apple-grade Dark Glassmorphic Design System
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Color System */
  --bg-main: #07090e;
  --bg-card: rgba(18, 22, 34, 0.7);
  --bg-card-hover: rgba(26, 32, 48, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(88, 166, 255, 0.4);
  --border-highlight: rgba(168, 85, 247, 0.4);

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

  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 50px rgba(168, 85, 247, 0.25);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Glow Spheres */
.glow-sphere {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.45;
  transition: transform 1s ease;
}

.sphere-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  top: -150px;
  left: 10%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.sphere-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #a855f7 0%, rgba(168, 85, 247, 0) 70%);
  top: 30%;
  right: -100px;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.sphere-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  bottom: 10%;
  left: -50px;
  animation: floatOrb 15s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(60px) scale(1.08); }
  100% { transform: translateY(-40px) scale(0.95); }
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(7, 9, 14, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

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

/* Segmented Language Switcher */
.lang-switch-group {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(168, 85, 247, 0.35));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-github-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.btn-github-nav:hover {
  color: var(--text-primary);
  background: var(--bg-glass-strong);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-badges-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform var(--transition-bounce), border-color var(--transition-fast);
}

.hero-badge:hover {
  transform: translateY(-2px);
}

.hero-downloads-badge {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}

.hero-downloads-badge:hover {
  border-color: rgba(99, 102, 241, 0.6);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #818cf8;
  box-shadow: 0 0 10px #6366f1;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #a5b4fc; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-description {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
}

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

.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
  transition: var(--transition);
  text-align: left;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(124, 58, 237, 0.65);
  filter: brightness(1.1);
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
}

.btn-subtext {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.btn-maintext {
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-hero-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  padding: 16px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-wrap: wrap;
}

/* ==========================================================================
   Interactive macOS Mockup Window
   ========================================================================== */
.hero-window-container {
  margin-top: 50px;
  perspective: 1200px;
}

.mac-window {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(15, 20, 32, 0.85);
  backdrop-filter: blur(35px) saturate(200%);
  -webkit-backdrop-filter: blur(35px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-align: left;
  transform: rotateX(2deg);
  transition: transform 0.4s ease;
}

.mac-window:hover {
  transform: rotateX(0deg);
}

/* Title bar */
.mac-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.mac-traffic-lights {
  display: flex;
  gap: 8px;
}

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

.light-red { background: #ff5f56; }
.light-yellow { background: #ffbd2e; }
.light-green { background: #27c93f; }

.mac-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.mac-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.mac-tab.active {
  background: rgba(59, 130, 246, 0.3);
  color: #fff;
  border: 1px solid rgba(59, 130, 246, 0.45);
}

.mac-tab:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.lang-indicator {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
}

/* Viewport */
.mac-content-viewport {
  padding: 20px;
  min-height: 380px;
}

.mockup-view {
  display: none;
  animation: fadeIn 0.3s ease;
}

.mockup-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* View 1: Toolbar */
.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.mockup-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 0.82rem;
  color: var(--text-muted);
  width: 260px;
}

.mockup-view-toggles {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px;
  border-radius: 8px;
}

.view-pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-muted);
}

.view-pill.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
}

.mockup-count-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

/* Grid Cards */
.mockup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.mockup-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.mockup-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-preview {
  height: 100px;
  background: #0d1117;
  position: relative;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-hover-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0.85;
}

.snap-btn, .force-quit-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.force-quit-btn {
  background: rgba(239, 68, 68, 0.65);
  font-weight: 700;
}

.preview-xcode .code-lines {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.code-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(96, 165, 250, 0.4);
}
.w-70 { width: 70%; }
.w-90 { width: 90%; background: rgba(192, 132, 252, 0.4); }
.w-50 { width: 50%; background: rgba(52, 211, 153, 0.4); }

.preview-safari .web-hero-sim {
  width: 90%;
  height: 65%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
  border-radius: 6px;
}

.preview-figma .figma-shapes {
  display: flex;
  gap: 8px;
}

.f-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}
.f-1 { background: rgba(236, 72, 153, 0.45); }
.f-2 { background: rgba(14, 165, 233, 0.45); }

.preview-term .term-text {
  font-family: monospace;
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.4;
  width: 100%;
}
.preview-term .green { color: #10b981; font-weight: 600; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
}

.card-icon {
  font-size: 1.25rem;
}

.card-title {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.card-app {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* View 2: HUD Switcher */
.hud-container {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px;
}

.hud-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #60a5fa;
}

.hud-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.hud-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.hud-card.selected {
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  transform: scale(1.04);
}

.hud-thumb {
  height: 65px;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #1e293b;
}

.hud-thumb-safari { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.hud-thumb-xcode { background: linear-gradient(135deg, #6d28d9, #a855f7); }
.hud-thumb-figma { background: linear-gradient(135deg, #be185d, #ec4899); }
.hud-thumb-term { background: #0f172a; border: 1px solid rgba(255, 255, 255, 0.1); }

.hud-label {
  font-size: 0.78rem;
  font-weight: 600;
}

.hud-badge-enter {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.hud-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

kbd {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}
kbd.red { background: rgba(239, 68, 68, 0.45); }

/* View 3: Desktop Cleaner */
.desktop-clean-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-auto-clean, .btn-hide-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.btn-auto-clean {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}

.btn-hide-icons {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.category-stacks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.cat-icon { font-size: 1.1rem; }
.cat-name { font-size: 0.85rem; font-weight: 600; }
.cat-badge {
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.cat-files {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Features Bento Grid
   ========================================================================== */
.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #a855f7;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.bento-icon-pill {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.icon-blue { background: rgba(59, 130, 246, 0.18); color: #60a5fa; }
.icon-purple { background: rgba(168, 85, 247, 0.18); color: #c084fc; }
.icon-green { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.icon-amber { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.icon-red { background: rgba(239, 68, 68, 0.18); color: #f87171; }
.icon-cyan { background: rgba(6, 182, 212, 0.18); color: #22d3ee; }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.feature-tags span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

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

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

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}

.col-dim {
  color: var(--text-muted);
}

.col-highlight {
  color: #60a5fa;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.05);
}

/* ==========================================================================
   Install Steps
   ========================================================================== */
.install-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.step-card code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: #60a5fa;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

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

.faq-arrow {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
  color: #a855f7;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner-section {
  padding: 60px 24px 100px;
  position: relative;
  z-index: 1;
}

.cta-banner-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-xl);
  padding: 60px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(124, 58, 237, 0.2);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cta-banner-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.cta-subnote {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 9, 14, 0.9);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

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

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-container { flex-direction: column; text-align: center; }
  .hud-cards-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-section { padding: 50px 16px 40px; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .mac-tabs span { display: none; }
  .hud-footer { flex-wrap: wrap; }
}
