/* ==========================================================================
   Smart File Sync - Modern High-Performance Landing Page Stylesheet
   Pure Vanilla CSS Design System with Tokens & Fluid Breakpoints
   ========================================================================== */

:root {
  --bg-dark: #070b14;
  --bg-surface: #0d1527;
  --bg-card: #131e36;
  --bg-card-hover: #182744;
  --bg-card-subtle: rgba(19, 30, 54, 0.65);
  
  --border-subtle: #1e2d4a;
  --border-focus: #38bdf8;
  --border-glow: rgba(56, 189, 248, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  
  --brand-blue: #0ea5e9;
  --brand-cyan: #38bdf8;
  --brand-emerald: #10b981;
  --brand-red: #ef4444;
  --brand-amber: #f59e0b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px -3px rgba(14, 165, 233, 0.25);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Reset & Base Setup */
*, *::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-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

.btn-subtext {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
  margin-left: 4px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 68px;
  display: flex;
  align-items: center;
}

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

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

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  background-color: rgba(56, 189, 248, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

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

/* Mobile Hamburger Toggle Button */
.nav-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px 7px;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 36px;
  height: 36px;
  transition: all var(--transition-fast);
}

.nav-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #e2e8f0;
  border-radius: 2px;
  transition: all 0.22s ease-in-out;
}

.nav-toggle-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background-color: var(--brand-cyan);
}

.nav-toggle-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background-color: var(--brand-cyan);
}

/* Mobile Swipe Hint for Tables */
.mobile-scroll-hint {
  display: none;
  text-align: center;
  margin-bottom: 12px;
  font-size: 11.5px;
  color: var(--brand-cyan);
  background: rgba(56, 189, 248, 0.07);
  border: 1px dashed rgba(56, 189, 248, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px 0;
  background: radial-gradient(circle at 50% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-cyan);
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 860px;
}

.hero-desc {
  font-size: 18px;
  max-width: 680px;
  margin-bottom: 34px;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 54px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-icon {
  color: var(--brand-emerald);
}

/* Sections Shared Setup */
.section {
  padding: 84px 0;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 88px;
}

.section-header {
  margin-bottom: 48px;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Delta Simulator Card */
.delta-simulator-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.sim-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.sim-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.block-grid-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.block-grid-legend {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

.legend-box {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-box.match { background-color: #1e3a5f; }
.legend-box.modified { background-color: var(--brand-emerald); box-shadow: 0 0 6px var(--brand-emerald); }

.block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12px, 1fr));
  gap: 4px;
}

.block-unit {
  height: 12px;
  background-color: #1e3a5f;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.block-unit.modified {
  background-color: var(--brand-emerald);
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--brand-emerald);
}

.sim-results-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sim-metric {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-metric.highlight {
  border-color: rgba(16, 185, 129, 0.4);
  background-color: rgba(16, 185, 129, 0.05);
}

.sim-metric-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

.sim-metric-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
}

.sim-metric-value.red { color: #f87171; }
.sim-metric-value.green { color: #34d399; }

.sim-metric-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  background-color: var(--bg-card);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(14, 165, 233, 0.12);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.55;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

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

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

.comparison-table th {
  background-color: #0b1120;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.comparison-table .highlight-col {
  background-color: rgba(14, 165, 233, 0.06);
  font-weight: 600;
  color: #ffffff;
}

.badge-tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.badge-tag.green {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.check-icon {
  color: #34d399;
  font-weight: 700;
}

.cross-icon {
  color: #94a3b8;
}

/* CLI Section */
.cli-terminal-box {
  background-color: #070b14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.terminal-header {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background-color: #0b1120;
  border-bottom: 1px solid var(--border-subtle);
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background-color: #ef4444; }
.terminal-dot.yellow { background-color: #f59e0b; }
.terminal-dot.green { background-color: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 6px;
  flex: 1;
}

.btn-copy-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-code:hover {
  color: #ffffff;
  border-color: var(--brand-blue);
}

.terminal-body {
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  overflow-x: auto;
}

.cmd-prompt { color: #64748b; margin-right: 8px; }
.cmd-keyword { color: #38bdf8; font-weight: 600; }
.cmd-param { color: #34d399; }

.cli-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cli-opt-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.cli-opt-card code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-cyan);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
}

.cli-opt-card p {
  font-size: 12px;
  line-height: 1.4;
}

/* ==========================================================================
   Downloads Section (Ultra-Premium High-Impact Cards & Buttons)
   ========================================================================== */

.downloads-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.download-card {
  background: linear-gradient(180deg, #0e172a 0%, #090e1a 100%);
  border: 1px solid #1e2e4d;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

.download-card:hover {
  border-color: #2e4775;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.7);
}

.download-card.featured {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 35px -5px rgba(14, 165, 233, 0.2);
}

.download-card.featured:hover {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 15px 45px -5px rgba(14, 165, 233, 0.35);
}

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

.download-badge {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.download-badge.highlight {
  color: var(--brand-cyan);
}

.release-ver-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.download-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.download-title {
  font-size: 24px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.download-desc {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 18px;
  line-height: 1.5;
  min-height: 42px;
}

.download-meta-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
}

.meta-chip {
  background-color: #0b1120;
  border: 1px solid #1a2742;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.meta-chip strong {
  color: #ffffff;
  font-family: var(--font-mono);
}

.meta-chip strong.green {
  color: #34d399;
}

/* ==========================================================================
   High-Impact Premium Download Buttons
   ========================================================================== */

.premium-download-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  user-select: none;
  margin-top: auto;
}

/* Primary Button (Standalone Exe) */
.premium-download-btn.primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 60%, #38bdf8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.premium-download-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(14, 165, 233, 0.6);
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 60%, #0ea5e9 100%);
}

.premium-download-btn.primary:active {
  transform: translateY(1px);
}

/* Secondary Button (Portable Folder) */
.premium-download-btn.secondary {
  background: linear-gradient(135deg, #101d36 0%, #0d172a 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.premium-download-btn.secondary:hover {
  border-color: #38bdf8;
  background: linear-gradient(135deg, #162747 0%, #101d36 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.premium-download-btn.secondary:active {
  transform: translateY(1px);
}

/* Button Sub-components */
.btn-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-fast);
}

.premium-download-btn.secondary .btn-icon-wrapper {
  background-color: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.premium-download-btn:hover .btn-icon-wrapper {
  transform: translateY(2px);
}

.btn-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  text-align: left;
}

.btn-main-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.btn-sub-caption {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
  margin-top: 2px;
}

.btn-arrow-badge {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.premium-download-btn:hover .btn-arrow-badge {
  opacity: 1;
  transform: translateX(4px);
}

/* Download Card Footer */
.download-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #162238;
}

.download-specs-clean {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #94a3b8;
}

.spec-check {
  color: #34d399;
  font-weight: 700;
  margin-right: 6px;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
}

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

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

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
}

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

.faq-toggle-icon {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-cyan);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 18px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.6;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: #060911;
  padding: 32px 0;
  font-size: 13px;
}

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

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

.footer-title {
  font-weight: 700;
  color: #ffffff;
}

.footer-copy {
  color: var(--text-faint);
  margin-left: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Architecture
   ========================================================================== */

/* Tablet Breakpoint (<= 960px) */
@media (max-width: 960px) {
  .downloads-cards-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
  }

  .nav-menu {
    gap: 18px;
  }
}

/* Mobile Devices Breakpoint (<= 768px) */
@media (max-width: 768px) {
  /* Layout & Spacing */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 56px 0;
    scroll-margin-top: 68px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 26px;
    letter-spacing: -0.02em;
  }

  .section-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Header & Mobile Navigation Drawer */
  .site-header {
    height: 60px;
  }

  .brand-name {
    font-size: 16px;
  }

  .nav-github-btn {
    display: none;
  }

  .nav-download-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .nav-toggle-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
    z-index: 99;
  }

  .nav-menu.mobile-open {
    display: flex;
    animation: mobileDrawerSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes mobileDrawerSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
  }

  .nav-link:hover, .nav-link:active {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--brand-cyan);
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 44px 0 32px 0;
  }

  .hero-tag {
    font-size: 11px;
    padding: 5px 12px;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 30px;
    line-height: 1.22;
    margin-bottom: 14px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-cta-row .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .metric-item {
    padding: 12px 10px;
  }

  .metric-val {
    font-size: 20px;
  }

  .metric-lbl {
    font-size: 11px;
  }

  /* Delta Simulator Mobile */
  .delta-simulator-card {
    padding: 18px 14px;
  }

  .sim-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .sim-controls .btn {
    width: 100%;
    min-height: 44px;
  }

  .block-grid-container {
    padding: 12px;
  }

  .block-grid-legend {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
  }

  .block-grid {
    grid-template-columns: repeat(auto-fill, minmax(7px, 1fr));
    gap: 2.5px;
  }

  .block-unit {
    height: 8px;
    border-radius: 1.5px;
  }

  .sim-results-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sim-metric {
    padding: 12px 16px;
  }

  .sim-metric-value {
    font-size: 18px;
  }

  /* Features Grid Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 20px 16px;
  }

  /* Comparison Table Mobile */
  .mobile-scroll-hint {
    display: block;
  }

  .comparison-table-wrapper {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  /* CLI Terminal Mobile */
  .cli-options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .terminal-body {
    font-size: 12px;
    padding: 14px 16px;
    -webkit-overflow-scrolling: touch;
  }

  /* Downloads Cards & Buttons Mobile */
  .downloads-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .download-card {
    padding: 22px 18px;
  }

  .download-title {
    font-size: 21px;
  }

  .download-desc {
    font-size: 13.5px;
    min-height: auto;
    margin-bottom: 14px;
  }

  .download-meta-chips {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }

  .meta-chip {
    font-size: 11px;
    padding: 4px 8px;
  }

  .premium-download-btn {
    padding: 12px 14px;
    gap: 10px;
  }

  .btn-main-title {
    font-size: 14px;
  }

  .btn-sub-caption {
    font-size: 10.5px;
  }

  .btn-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  /* FAQ & Footer Mobile */
  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 14px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .footer-copy {
    margin-left: 0;
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }
}

/* Small Smartphone Screen Breakpoint (<= 420px) */
@media (max-width: 420px) {
  .brand-badge {
    display: none;
  }

  .hero-title {
    font-size: 25px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .btn-arrow-badge {
    display: none;
  }

  .download-card-footer {
    margin-top: 16px;
    padding-top: 14px;
  }
}
