/* ==========================================================================
   CapShorts — Minimalist High-End SaaS Design System
   Benchmarks: Linear.app, Vercel, Apple, Raycast
   ========================================================================== */

:root {
  /* Neutral Palette (Zinc / Obsidian) */
  --bg-app: #09090b;             /* Pure Obsidian Background */
  --bg-surface: #121215;         /* Card Surface */
  --bg-surface-elevated: #18181c;/* Hover Surface */
  --bg-glass: rgba(9, 9, 11, 0.88); /* Frosted Glass */
  
  --border-subtle: #27272a;      /* border-zinc-800 */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Typography Colors */
  --text-primary: #fafafa;      /* Zinc 50 */
  --text-secondary: #a1a1aa;    /* Zinc 400 */
  --text-muted: #71717a;        /* Zinc 500 */
  --text-faint: #3f3f46;        /* Zinc 700 */

  /* Restrained Accent (Indigo / Violet) */
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-faint: rgba(99, 102, 241, 0.12);
  --accent-glow: rgba(99, 102, 241, 0.25);
  
  --emerald: #10b981;
  --emerald-faint: rgba(16, 185, 129, 0.12);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 50px -10px rgba(99, 102, 241, 0.25);
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden; /* Crucial: no horizontal scrollbar */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-app);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.65;
  position: relative;
  padding-top: 68px; /* Strict fixed navbar offset to prevent content underlap */
}

a {
  color: inherit;
  text-decoration: none;
}

/* Fluid Responsive Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem; /* px-5 default */
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; } /* sm:px-8 */
}

/* ==========================================================================
   Navigation (Strictly Fixed, Blur, Zinc-850 Border, z-50)
   ========================================================================== */

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 68px;
  background: rgba(9, 9, 11, 0.80); /* bg-zinc-950/80 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #27272a; /* border-b border-zinc-850 */
  z-index: 50; /* fixed top-0 inset-x-0 z-50 */
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: opacity 150ms ease;
}

.brand-link:hover {
  opacity: 0.85;
}

.brand-logo-img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 2px 10px rgba(99, 102, 241, 0.45));
  flex-shrink: 0;
}

.brand-version-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 150ms ease;
}

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

.nav-actions-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  transition: all 150ms ease;
}

.btn-nav-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-strong);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: #ffffff;
  color: #000000;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  transition: all 150ms ease;
}

.btn-nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 0.45rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 150ms ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #27272a;
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 49;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: color 150ms ease;
}

.mobile-drawer a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section (Typography-Driven, No Fake Mockup)
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 7rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 550px;
  background: radial-gradient(ellipse at 50% 15%, rgba(99, 102, 241, 0.18) 0%, rgba(147, 51, 234, 0.08) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  transition: border-color 150ms ease;
  position: relative;
  z-index: 2;
}

.hero-pill-badge:hover {
  border-color: var(--border-strong);
}

.pill-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.hero-heading {
  font-size: clamp(2.5rem, 5.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em; /* Ultra-tight tracking */
  color: var(--text-primary);
  max-width: 980px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.heading-gradient {
  background: linear-gradient(180deg, #ffffff 40%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.75rem;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

.hero-cta-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 2;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px; /* Pill-shaped */
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 25px rgba(99, 102, 241, 0.35);
  transition: all 180ms ease;
}

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

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  padding: 0.85rem 1.6rem;
  border-radius: 9999px; /* Pill-shaped */
  border: 1px solid var(--border-subtle);
  transition: all 180ms ease;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* Responsive 3-Column Live Metric Ribbon (No Fake Mockups) */
.hero-metric-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto 3rem;
  text-align: left;
  position: relative;
  z-index: 2;
}

.metric-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: border-color 200ms ease, transform 200ms ease;
}

.metric-card-box:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.metric-number-bold {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-number-bold.highlight {
  color: var(--accent);
}

.metric-title-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.metric-desc-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   Interactive Typographic Subtitle Preset Switcher (No Phone Frames)
   ========================================================================== */

.preset-section-wrap {
  padding: 4rem 0; /* py-16 */
  position: relative;
  background: #060608;
  clear: both;
}

@media (min-width: 640px) {
  .preset-section-wrap {
    padding: 6rem 0; /* sm:py-24 */
  }
}

.preset-card-container {
  width: 100%;
  max-width: 28rem; /* max-w-md on mobile */
  margin: 0 auto;
  padding: 0 1rem; /* px-4 */
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .preset-card-container {
    max-width: 880px;
    padding: 0;
  }
}

.preset-switcher-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 1.5rem 1rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

@media (min-width: 640px) {
  .preset-switcher-box {
    padding: 2.5rem 2rem;
  }
}

.preset-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  width: 100%;
}

@media (min-width: 640px) {
  .preset-pills-row {
    gap: 0.75rem;
    margin-bottom: 3.5rem;
  }
}

.preset-pill-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 150ms ease;
}

@media (min-width: 640px) {
  .preset-pill-btn {
    font-size: 0.85rem;
    padding: 0.55rem 1.15rem;
  }
}

.preset-pill-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.preset-pill-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* Large Bold Dynamic Quote Display Area */
.typography-stage-area {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (min-width: 640px) {
  .typography-stage-area {
    min-height: 200px;
    padding: 1.5rem 1rem;
  }
}

#dynamicTypographyQuote {
  width: 100%;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

/* 1. MrBeast Pop (text-xl sm:text-2xl on mobile, scaling up) */
.preset-mrbeast-pop {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(1.25rem, 5.2vw, 1.6rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 3px 3px 0 #dc2626, -1.5px -1.5px 0 #000;
  animation: mrbeastPop 0.8s infinite alternate cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes mrbeastPop {
  0% { transform: scale(0.96); }
  100% { transform: scale(1.05); text-shadow: 4px 4px 0 #dc2626, -2px -2px 0 #000; }
}

/* 2. Hormozi Box */
.preset-hormozi-box {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  line-height: 1.25;
  text-transform: uppercase;
  color: #facc15;
  text-shadow: 2px 2px 0 #000, -1.5px -1.5px 0 #000;
}

.preset-hormozi-box .hormozi-badge {
  background: #0284c7;
  color: #ffffff;
  padding: 0 0.4rem;
  border-radius: 6px;
  display: inline-block;
  animation: hormoziJump 0.75s infinite alternate ease-in-out;
}

@keyframes hormoziJump {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px) scale(1.05); }
}

/* 3. Vox Editorial */
.preset-vox-editorial {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  line-height: 1.35;
  color: #ffffff;
}

.preset-vox-editorial .vox-marker {
  background: #facc15;
  color: #000000;
  padding: 0 0.4rem;
  border-radius: 4px;
  font-style: normal;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
  animation: voxMarker 1s infinite alternate ease-in-out;
}

@keyframes voxMarker {
  0% { opacity: 0.9; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1.03); }
}

/* 4. Neon Cyberpunk */
.preset-neon-cyber {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.1rem, 4.4vw, 1.45rem);
  line-height: 1.3;
  color: #00f2fe;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px #00f2fe, 0 0 20px #0284c7;
  animation: neonTech 1.4s infinite alternate ease-in-out;
}

@keyframes neonTech {
  0% { opacity: 0.85; text-shadow: 0 0 8px #00f2fe; }
  100% { opacity: 1; text-shadow: 0 0 18px #00f2fe, 0 0 30px #0284c7; }
}

@media (min-width: 640px) {
  .preset-mrbeast-pop {
    font-size: clamp(1.85rem, 3.8vw, 3rem);
    text-shadow: 4px 4px 0 #dc2626, -2px -2px 0 #000;
  }
  .preset-hormozi-box {
    font-size: clamp(1.75rem, 3.4vw, 2.7rem);
    text-shadow: 3px 3px 0 #000, -2px -2px 0 #000;
  }
  .preset-vox-editorial {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  }
  .preset-neon-cyber {
    font-size: clamp(1.45rem, 2.8vw, 2.2rem);
    letter-spacing: 0.08em;
  }
}

.preset-footer-bar {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Micro-UI Bento Grid
   ========================================================================== */

.section-spacer {
  padding: 8rem 0;
  position: relative;
}

.section-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem;
}

.section-eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.85rem;
  display: block;
}

.section-main-heading {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: border-color 200ms ease, transform 200ms ease;
  box-shadow: var(--shadow-card);
}

.bento-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }

.micro-ui-frame {
  background: #08080a;
  border: 1px solid var(--border-subtle);
  border-radius: 0.85rem;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.micro-waveform-row {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  margin-bottom: 1rem;
}

.micro-wave-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.micro-wave-bar.active {
  background: var(--accent);
}

.micro-tokens-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.token-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.token-pill.highlight {
  background: var(--accent-faint);
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.35);
  font-weight: 600;
}

.virality-meter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.score-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-faint);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.bento-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

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

/* ==========================================================================
   Minimal Comparison Matrix (Fully Responsive Horizontal Scroll & Custom Scrollbar)
   ========================================================================== */

.table-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .table-swipe-hint {
    display: flex;
  }
}

.compare-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto; /* Fully responsive */
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  background: var(--bg-surface);
  box-sizing: border-box;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0.2);
}

.compare-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.compare-table-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 9999px;
}

.compare-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
}

.compare-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38);
}

.clean-table {
  width: 100%;
  min-width: 640px; /* Ensures table remains legible on mobile with scroll */
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.clean-table th, .clean-table td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.clean-table th {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #0d0d10;
}

.col-brand-highlight {
  color: var(--text-primary) !important;
  background: rgba(99, 102, 241, 0.05) !important;
}

.text-success {
  color: var(--emerald);
  font-weight: 600;
}

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

/* ==========================================================================
   Download Binaries Hub
   ========================================================================== */

.download-cards-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dl-card-minimal {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 180ms ease;
}

.dl-card-minimal:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.dl-card-minimal.featured {
  border-color: rgba(99, 102, 241, 0.35);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(18, 18, 22, 0.9) 100%);
}

.dl-platform-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.dl-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.dl-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.dl-specs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-download-solid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--text-primary);
  color: #000000;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  transition: all 150ms ease;
}

.dl-card-minimal.featured .btn-download-solid {
  background: var(--accent);
  color: #ffffff;
}

.btn-download-solid:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ==========================================================================
   FAQ Section (Below Downloads)
   ========================================================================== */

.faq-list-clean {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-row-item {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color 150ms ease;
}

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

.faq-trigger-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.6rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-toggle-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 200ms ease;
}

.faq-row-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--text-primary);
}

.faq-body-content {
  display: none;
  padding: 0 1.6rem 1.35rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-row-item.open .faq-body-content {
  display: block;
}

/* ==========================================================================
   Manifesto Section
   ========================================================================== */

.manifesto-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(9, 9, 11, 0.8) 100%);
}

.manifesto-quote {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.manifesto-author {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   Minimalist Footer (Real Logo Integration)
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 3.5rem;
  background: #060608;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links-group {
  display: flex;
  gap: 1.75rem;
}

.footer-link-item {
  color: var(--text-secondary);
  transition: color 150ms ease;
}

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

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Adaptations (Crucial for Mobile Screens)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-metric-ribbon {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: 480px;
    margin: 0 auto 2.5rem;
  }
  .metric-card-box {
    padding: 1.25rem 1.4rem;
  }
  .bento-col-8, .bento-col-4 {
    grid-column: span 12;
  }
  .download-cards-flex {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-section {
    padding: 3.5rem 0 3rem;
  }
  .hero-heading {
    font-size: clamp(2rem, 7.2vw, 2.5rem);
    line-height: 1.18;
  }
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  /* Stacking hero download CTA buttons with clean gap-3 (12px) */
  .hero-cta-container {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 2.5rem;
    gap: 0.75rem; /* gap-3 between buttons */
  }
  .btn-primary-action, .btn-secondary-action {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.85rem 1.25rem;
    text-align: center;
  }
  /* Consistent metric cards styling on mobile */
  .hero-metric-ribbon {
    gap: 0.75rem;
    max-width: 380px;
    margin: 0 auto 2.5rem;
  }
  .metric-card-box {
    padding: 1.25rem;
  }
  .metric-number-bold {
    font-size: 1.85rem;
    line-height: 1.1;
  }
  .metric-title-label {
    font-size: 0.92rem;
    line-height: 1.3;
  }
  .metric-desc-text {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .hero-trust-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .section-spacer {
    padding: 4.5rem 0;
  }
  .bento-card {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem; /* px-4 side margins */
  }
  /* Live Subtitle Presets on Mobile (< 640px): max-w-md mx-auto */
  .preset-section-wrap {
    padding: 4rem 0; /* py-16 */
  }
  .preset-card-container {
    width: 100%;
    max-width: 28rem; /* max-w-md */
    margin: 0 auto;
    padding: 0;
  }
  .preset-switcher-box {
    padding: 1.25rem 0.85rem;
    border-radius: 1rem;
  }
  .preset-pills-row {
    gap: 0.35rem;
    margin-bottom: 1.5rem;
  }
  .preset-pill-btn {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }
  .typography-stage-area {
    min-height: 120px;
    padding: 0.75rem 0.25rem;
  }
  .preset-footer-bar {
    margin-top: 1.25rem;
    padding-top: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
  }
  /* Comparison table responsive cell padding */
  .clean-table th, .clean-table td {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }
}
