/* ==========================================================================
   DiskAtlas for Mac - Modern Dark Theme & Design System
   ========================================================================== */

:root {
  --bg-main: #0c0d10;
  --bg-card: #15161b;
  --bg-card-hover: #1c1e24;
  --bg-elevated: #22242c;
  --bg-glass: rgba(22, 24, 30, 0.75);
  --bg-glass-heavy: rgba(14, 15, 19, 0.88);
  
  --chrome-bg: #1e1e24;
  --chrome-border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-active: rgba(0, 122, 255, 0.4);
  
  --ink: #f5f5f7;
  --ink-secondary: #9ca3af;
  --ink-muted: #6b7280;
  
  --accent: #007aff;
  --accent-glow: rgba(0, 122, 255, 0.25);
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --success: #34c759;
  --warning: #ff9500;
  --error: #ff3b30;
  
  /* DiskAtlas Treemap Kind Colors */
  --kind-video: #3b82f6;
  --kind-image: #f59e0b;
  --kind-doc: #8b5cf6;
  --kind-dev: #22c55e;
  --kind-archive: #ef4444;
  --kind-app: #ec4899;
  --kind-other: #6b7280;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-window: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 40px rgba(0, 122, 255, 0.2);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Ambient glow backgrounds */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1200px;
  height: 650px;
  background: radial-gradient(circle at 50% 10%, rgba(0, 122, 255, 0.15) 0%, rgba(139, 92, 246, 0.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

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

/* Typography & Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--chrome-border);
  color: var(--ink-secondary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.badge-glow {
  background: rgba(0, 122, 255, 0.12);
  border-color: rgba(0, 122, 255, 0.3);
  color: #60a5fa;
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #d1d5db 40%, #007aff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--chrome-border);
  transition: all 0.3s ease;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0, 122, 255, 0.2);
  color: #60a5fa;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 4px;
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: linear-gradient(180deg, #007aff 0%, #0056b3 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #1a87ff 0%, #0062cc 100%);
  box-shadow: 0 6px 24px rgba(0, 122, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--chrome-border);
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  letter-spacing: -0.035em;
  margin: 20px 0 20px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto 34px;
  font-weight: 400;
}

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

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

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

/* ==========================================================================
   Interactive macOS App Simulator
   ========================================================================== */
.mac-window-container {
  margin: 50px auto 0;
  max-width: 1100px;
  position: relative;
}

.mac-window-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at 50% 40%, rgba(0, 122, 255, 0.25) 0%, rgba(139, 92, 246, 0.1) 45%, transparent 75%);
  filter: blur(35px);
  z-index: 0;
  border-radius: var(--radius-xl);
}

.mac-window {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: var(--shadow-window);
  border: 1px solid var(--chrome-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 620px;
}

/* macOS Titlebar */
.mac-titlebar {
  height: 48px;
  background: #18191f;
  border-bottom: 1px solid var(--chrome-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  user-select: none;
}

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

.traffic-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.traffic-close { background: #ff5f56; border: 1px solid #e0443e; }
.traffic-min { background: #ffbd2e; border: 1px solid #dea123; }
.traffic-max { background: #27c93f; border: 1px solid #1aab29; }

.mac-titlebar-center {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.mac-volume-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.mac-titlebar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.simulator-pill-btn {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.simulator-pill-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

/* App Main View */
.mac-app-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  height: calc(100% - 48px);
}

/* Sidebar */
.mac-sidebar {
  width: 240px;
  background: #121318;
  border-right: 1px solid var(--chrome-border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin: 14px 8px 6px;
}

.disk-meter-card {
  background: var(--bg-card);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 12px;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.meter-bar-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.meter-bar-fill {
  height: 100%;
  width: 82%;
  background: linear-gradient(90deg, #007aff, #ff9500);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.meter-subtext {
  font-size: 0.72rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
}

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

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.sidebar-nav-item.active {
  background: rgba(0, 122, 255, 0.15);
  color: #60a5fa;
  font-weight: 600;
}

.sidebar-nav-badge {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-muted);
}

.sidebar-nav-item.active .sidebar-nav-badge {
  background: rgba(0, 122, 255, 0.25);
  color: #93c5fd;
}

.sidebar-footer {
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.sidebar-scan-btn {
  width: 100%;
  padding: 8px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}

.sidebar-scan-btn:hover {
  background: #0062cc;
}

/* App Main Content Area */
.mac-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #16171d;
  overflow: hidden;
  position: relative;
}

/* Breadcrumbs bar */
.sim-breadcrumbs {
  height: 38px;
  border-bottom: 1px solid var(--border-subtle);
  background: #181920;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  gap: 6px;
}

.crumb-btn {
  background: transparent;
  border: none;
  color: var(--ink-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.crumb-btn:hover {
  color: var(--accent);
  background: rgba(0, 122, 255, 0.1);
}

.crumb-active {
  color: var(--ink);
  font-weight: 600;
}

/* Interactive Treemap Canvas */
.treemap-viewport {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.treemap-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-secondary);
}

.treemap-legend {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.treemap-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 100%;
}

.treemap-block {
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.treemap-block:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.treemap-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.block-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.block-size {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.block-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Color palettes for treemap blocks */
.block-dev { background: linear-gradient(135deg, #1b4332 0%, #081c15 100%); border-color: rgba(34, 197, 94, 0.3); }
.block-dev:hover { border-color: #22c55e; box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }

.block-apps { background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%); border-color: rgba(59, 130, 246, 0.3); }
.block-apps:hover { border-color: #3b82f6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }

.block-media { background: linear-gradient(135deg, #78350f 0%, #451a03 100%); border-color: rgba(245, 158, 11, 0.3); }
.block-media:hover { border-color: #f59e0b; box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }

.block-cache { background: linear-gradient(135deg, #581c87 0%, #2e1065 100%); border-color: rgba(139, 92, 246, 0.3); }
.block-cache:hover { border-color: #8b5cf6; box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }

.block-docker { background: linear-gradient(135deg, #0e7490 0%, #083344 100%); border-color: rgba(6, 182, 212, 0.3); }
.block-docker:hover { border-color: #06b6d4; box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); }

.block-archives { background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%); border-color: rgba(239, 68, 68, 0.3); }
.block-archives:hover { border-color: #ef4444; box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }

/* Interactive hint overlay */
.sim-tooltip {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--chrome-border);
  font-size: 0.76rem;
  color: var(--ink-secondary);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: bounce-slight 2s infinite;
}

@keyframes bounce-slight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Alternate Tab Panes (Apps, Pulse, Queue) */
.mac-pane-view {
  flex: 1;
  padding: 18px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.mac-pane-view.active {
  display: flex;
}

/* ==========================================================================
   Feature Showcase Grid
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 14px 0 16px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--chrome-border);
}

.icon-blue { background: rgba(0, 122, 255, 0.15); color: #60a5fa; border-color: rgba(0, 122, 255, 0.3); }
.icon-green { background: rgba(52, 199, 89, 0.15); color: #4ade80; border-color: rgba(52, 199, 89, 0.3); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc; border-color: rgba(139, 92, 246, 0.3); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); }
.icon-red { background: rgba(239, 68, 68, 0.15); color: #f87171; border-color: rgba(239, 68, 68, 0.3); }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border-color: rgba(6, 182, 212, 0.3); }

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

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

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

.feature-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-muted);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Interactive Live Pulse & Reclaim Simulator Section
   ========================================================================== */
.split-interactive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.interactive-panel {
  background: var(--bg-card);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

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

/* Live Pulse Gauges */
.pulse-gauges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.gauge-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.gauge-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 6px 0 2px;
}

.gauge-label {
  font-size: 0.74rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-sparkline {
  height: 48px;
  width: 100%;
  margin-top: 8px;
}

/* Process List */
.process-list-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.process-list-table th {
  text-align: left;
  color: var(--ink-muted);
  font-size: 0.72rem;
  padding-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.process-list-table td {
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
}

.proc-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* Interactive Reclaim Queue */
.reclaim-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.reclaim-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reclaim-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.reclaim-item.checked {
  border-color: rgba(52, 199, 89, 0.4);
  background: rgba(52, 199, 89, 0.06);
}

.reclaim-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.2s;
}

.reclaim-item.checked .reclaim-checkbox {
  background: var(--success);
  border-color: var(--success);
  color: #000;
}

.reclaim-info {
  display: flex;
  align-items: center;
  flex: 1;
}

.reclaim-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.reclaim-path {
  font-size: 0.74rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

.reclaim-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.badge-safe { background: rgba(52, 199, 89, 0.2); color: #4ade80; }
.badge-review { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.reclaim-size {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: #f87171;
}

.reclaim-actions-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.reclaim-counter-box {
  font-size: 0.86rem;
}

.reclaim-counter-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success);
  font-family: var(--font-mono);
}

/* ==========================================================================
   APFS Clones / Deep Comparison Highlight
   ========================================================================== */
.highlight-card {
  background: linear-gradient(135deg, rgba(30, 30, 36, 0.9) 0%, rgba(18, 19, 24, 0.9) 100%);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.highlight-visual {
  background: #111216;
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.apfs-block-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apfs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg-card);
  font-size: 0.84rem;
}

.apfs-shared-link {
  text-align: center;
  font-size: 0.76rem;
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 0;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #181c2b 0%, #13151f 100%);
  border-color: rgba(0, 122, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 122, 255, 0.15);
  transform: scale(1.02);
}

.featured-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  color: var(--ink-secondary);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-period {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.plan-check {
  color: var(--success);
  font-weight: bold;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  user-select: none;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--ink-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

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

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(0, 122, 255, 0.2) 0%, rgba(20, 22, 28, 0.95) 70%);
  border: 1px solid rgba(0, 122, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0;
  box-shadow: var(--shadow-glow);
}

.site-footer {
  border-top: 1px solid var(--chrome-border);
  padding: 50px 0 40px;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-window);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--chrome-border);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-in 0.3s ease;
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .split-interactive {
    grid-template-columns: 1fr;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .mac-window {
    height: auto;
    min-height: 520px;
  }
  .mac-sidebar {
    display: none;
  }
  .treemap-grid {
    grid-template-columns: 1fr 1fr;
    height: 380px;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .treemap-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
}
