/* ==========================================================================
   mailto: Landing Page Design System & Styles
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Monaco, Consolas, monospace;

  /* Color Palette - Deep Obsidian & Glassmorphism */
  --bg-canvas: #07090e;
  --bg-card: rgba(18, 22, 34, 0.65);
  --bg-card-hover: rgba(26, 32, 50, 0.8);
  --bg-card-active: rgba(35, 45, 70, 0.9);
  
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(99, 102, 241, 0.45);

  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;

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

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 60px -15px rgba(99, 102, 241, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-window: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

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

/* Ambient Background Lights */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), rgba(59, 130, 246, 0.15), transparent 70%);
}

.glow-middle {
  top: 1100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.1), transparent 70%);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

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

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

/* Section Common Headers */
.section-header {
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #818cf8;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px -5px rgba(99, 102, 241, 0.5);
}

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

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

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

.external-link {
  color: #818cf8;
}

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

.hero-badge-wrapper {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-size: 0.85rem;
  color: #c7d2fe;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

/* Terminal Pill Box */
.hero-install-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.terminal-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.terminal-pill:hover {
  border-color: rgba(99, 102, 241, 0.6);
}

.terminal-prompt {
  color: var(--accent-green);
  user-select: none;
  font-weight: 600;
}

.terminal-pill code {
  color: #e2e8f0;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.copy-toast {
  font-size: 0.8rem;
  color: var(--accent-green);
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

/* Metrics Pill Bar */
.hero-metrics {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-subtle);
}

/* ==========================================================================
   Interactive Simulator Section
   ========================================================================== */
.demo-section {
  padding: 80px 0;
}

.mac-window-wrapper {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.mac-window {
  background: #0f131d;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

/* Titlebar */
.mac-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(22, 28, 44, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mac-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mac-btn.close { background: #ff5f56; }
.mac-btn.minimize { background: #ffbd2e; }
.mac-btn.zoom { background: #27c93f; }

.mac-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.mac-spacer {
  width: 48px;
}

/* Window Content Body */
.mac-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 440px;
}

/* Sidebar */
.mac-sidebar {
  background: rgba(13, 17, 26, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.sidebar-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.email-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.sim-btn.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.45);
}

.sim-btn-info {
  display: flex;
  flex-direction: column;
}

.sim-btn-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sim-btn-email {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.sim-btn-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

.sim-btn-tag.work { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.sim-btn-tag.web { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.sim-btn-tag.default { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.sim-btn-tag.clip { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

/* Modifier Switch Box */
.modifier-box {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.modifier-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modifier-icon {
  font-size: 1.2rem;
}

.modifier-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

/* Switch UI */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 34px;
  transition: var(--transition-fast);
}

.slider::before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: var(--transition-fast);
}

input:checked + .slider {
  background-color: var(--accent-indigo);
}

input:checked + .slider::before {
  transform: translateX(16px);
}

/* Canvas Area */
.mac-canvas {
  padding: 24px;
  background: #0b0e17;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.canvas-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Steps Visual */
.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.step-card.active {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.06);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.step-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #38bdf8;
}

.step-detail {
  font-size: 0.85rem;
  color: var(--text-primary);
}

/* Destination Card */
.destination-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: pulseCard 2.5s infinite alternate;
}

@keyframes pulseCard {
  0% { border-color: rgba(99, 102, 241, 0.3); }
  100% { border-color: rgba(99, 102, 241, 0.65); }
}

.dest-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dest-details {
  flex: 1;
  min-width: 0;
}

.dest-target {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.dest-action {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.dest-url-preview {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}

.dest-speed {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.speed-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-green);
}

.speed-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */
.comparison-section {
  padding: 80px 0;
}

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

.card-blur {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.featured-col {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(26, 32, 54, 0.85);
  position: relative;
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.winner-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.comp-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.comp-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-list li {
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comp-list.negative li::before {
  content: "✕";
  color: #ef4444;
  font-weight: 700;
}

.comp-list.positive li::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: 700;
}

/* ==========================================================================
   Bento Grid Section
   ========================================================================== */
.features-section {
  padding: 80px 0;
}

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

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

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

.bento-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

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

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

.bento-visual {
  margin-top: 20px;
}

.memory-meter {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.meter-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.meter-fill.zero {
  width: 0%;
  height: 100%;
}

.meter-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.meter-label strong {
  color: var(--accent-green);
}

.provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.prov-badge {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

/* ==========================================================================
   Installation Tabs Section
   ========================================================================== */
.install-section {
  padding: 80px 0;
}

.install-tabs-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.tabs-nav {
  display: flex;
  background: rgba(14, 18, 28, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.tab-btn {
  flex: 1;
  padding: 14px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.08);
}

.tab-pane {
  display: none;
  padding: 32px;
}

.tab-pane.active {
  display: block;
}

.tab-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.terminal-block {
  position: relative;
  background: #090c14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  overflow-x: auto;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.term-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.terminal-code {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.t-cmd { color: #38bdf8; font-weight: 600; }
.t-comment { color: var(--text-muted); }

.tab-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.tab-note {
  font-size: 0.85rem;
  color: var(--accent-green);
  margin-top: 14px;
}

.direct-download-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}

.file-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gatekeeper-tip {
  background: rgba(255, 189, 46, 0.08);
  border: 1px solid rgba(255, 189, 46, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.tip-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fcd34d;
  margin-bottom: 6px;
}

.gatekeeper-tip p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.gatekeeper-tip ol {
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 60px 0 100px;
}

.faq-container {
  max-width: 780px;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  transition: all var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(99, 102, 241, 0.35);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: rgba(5, 7, 11, 0.8);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.footer-title {
  font-weight: 700;
  font-size: 1.1rem;
}

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

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

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

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .hero-title { font-size: 2.5rem; }
  .mac-body { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2 { grid-column: span 1; }
  .hero-metrics { flex-direction: column; border-radius: var(--radius-lg); }
  .metric-divider { width: 60px; height: 1px; }
  .footer-container { flex-direction: column; gap: 20px; text-align: center; }
  .footer-left { align-items: center; }
  .nav-links { display: none; }
}
