/* ==========================================================================
   DockMon: VPS Docker Monitor - Modern Design System
   Organization: Zephyrus Labs (https://zephyrus-labs.tech/)
   Domain: dockmon.zephyrus-labs.tech
   Lead Developer: Shubham Sharma (https://github.com/uchiha-fire)
   ========================================================================== */

:root {
  --bg-primary: #050811;
  --bg-secondary: #0a0f1d;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-input: #040712;
  --bg-elevated: #0d1424;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(99, 102, 241, 0.4);

  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;

  --accent-cyan: #06b6d4;
  --accent-sky: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.2), transparent 70%),
    radial-gradient(circle at 100% 25%, rgba(6, 182, 212, 0.1), transparent 45%),
    radial-gradient(circle at 0% 75%, rgba(99, 102, 241, 0.08), transparent 50%);
  background-attachment: fixed;
}

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

/* Typography Utilities */
.font-mono {
  font-family: var(--font-mono);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #c7d2fe 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-brand-text {
  background: linear-gradient(135deg, var(--brand-400), #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Top Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 17, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 74px;
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.4);
}

.brand-version-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-400);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: #fff;
  transition: color 0.15s;
}

.nav-cta {
  padding: 9px 20px;
  background: var(--brand-600);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover {
  background: var(--brand-500);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

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

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 980px;
  margin: 0 auto 24px;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Hero CTA Area */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.cta-button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

/* Split CTA Button with Dropdown */
.split-btn-container {
  position: relative;
  display: inline-flex;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
}

.primary-btn:hover {
  background: linear-gradient(135deg, var(--brand-500), #818cf8);
}

.split-toggle-btn {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  color: #fff;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.split-toggle-btn:hover {
  background: var(--brand-500);
}

/* Dropdown Menu */
.download-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 320px;
  background: #0d1424;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 50;
  text-align: left;
}

.download-dropdown-menu.show {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text-main);
  font-size: 0.85rem;
  transition: background 0.15s;
}
.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #fff;
}

.btn-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.btn-subtext {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-100);
  opacity: 0.9;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.secondary-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

/* Quick Run Terminal Snippet */
.quick-curl-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 15, 29, 0.95);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.quick-curl-box code {
  color: var(--accent-sky);
}

/* OS Switcher Pills */
.os-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.os-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.os-tab-btn:hover {
  color: var(--text-main);
}

.os-tab-btn.active {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.os-detected-meta {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Trust Badges */
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.trust-badge-item svg {
  color: var(--brand-400);
  width: 16px;
  height: 16px;
}

/* Interactive Desktop App Showcase Mockup Window */
.mockup-container {
  margin: 48px auto 0;
  max-width: 1140px;
  border-radius: var(--radius-xl);
  background: #070a14;
  border: 1px solid var(--border-card);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 60px -10px rgba(99, 102, 241, 0.25);
  overflow: hidden;
  text-align: left;
}

.mockup-header {
  height: 50px;
  background: #090e1c;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-titlebar {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
}

.mockup-tabs {
  display: flex;
  background: #070a14;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 16px;
}

.mockup-tab-btn {
  padding: 12px 20px;
  font-size: 0.825rem;
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.mockup-tab-btn.active {
  color: var(--brand-400);
  border-bottom-color: var(--brand-500);
  background: rgba(99, 102, 241, 0.05);
}

/* Mockup Layout with Sidebar */
.mockup-layout {
  display: flex;
  min-height: 440px;
}

.mockup-sidebar {
  width: 240px;
  background: #050812;
  border-right: 1px solid var(--border-subtle);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.sidebar-heading {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0 8px 8px;
}

.server-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.server-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.server-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #fff;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.server-ping {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-emerald);
}

.add-server-btn {
  margin-top: auto;
  padding: 8px 10px;
  border: 1px dashed var(--border-card);
  border-radius: 6px;
  color: var(--text-subtle);
  font-size: 0.75rem;
  text-align: center;
  cursor: pointer;
  background: transparent;
  transition: all 0.15s;
}
.add-server-btn:hover {
  border-color: var(--brand-400);
  color: var(--brand-400);
}

.mockup-body {
  flex: 1;
  padding: 24px;
  background: #070a14;
  overflow-y: auto;
}

/* Tab Panels */
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* Stacks List Preview */
.stack-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.stack-header {
  padding: 14px 18px;
  background: rgba(30, 41, 59, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

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

.stack-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--brand-400);
  font-family: var(--font-mono);
}

.container-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  gap: 16px;
}
.container-row:last-child {
  border-bottom: none;
}

.container-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.status-running {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.status-stopped {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

/* Telemetry Sparklines in Containers */
.container-telemetry {
  display: flex;
  align-items: center;
  gap: 16px;
}

.telemetry-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.telemetry-chip span {
  font-size: 0.68rem;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.telemetry-chip strong {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #e2e8f0;
}

.container-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-action-btn {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}

.mini-action-btn:hover {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-500);
}

/* Interactive Terminal Panel */
.terminal-wrapper {
  background: #020408;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  overflow: hidden;
}

.terminal-toolbar {
  padding: 8px 14px;
  background: #080d1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  gap: 10px;
}

.terminal-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-search {
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  outline: none;
}
.terminal-search:focus {
  border-color: var(--brand-400);
}

.terminal-stream {
  height: 290px;
  overflow-y: auto;
  padding: 14px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.log-line {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
}
.log-ts { color: #64748b; }
.log-info { color: #38bdf8; }
.log-warn { color: #f59e0b; }
.log-err { color: #f43f5e; font-weight: bold; }
.log-success { color: #34d399; }

/* Interactive SSH Parser Tool */
.parser-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px;
}

.parser-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.preset-chip-btn {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.725rem;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s;
}
.preset-chip-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  color: var(--brand-400);
  border-color: var(--brand-500);
}

.parser-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
}
.parser-input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.parser-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.result-card {
  background: #090d19;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.result-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.result-card-val {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brand-400);
  margin-top: 4px;
}

/* Speed & Simplicity Section (3 Seconds vs 15 Minutes) */
.speed-comparison-section {
  padding: 90px 0;
  position: relative;
  background: rgba(10, 15, 29, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.speed-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.speed-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  position: relative;
}

.speed-card.legacy {
  background: rgba(244, 63, 94, 0.03);
  border-color: rgba(244, 63, 94, 0.2);
}

.speed-card.dockmon {
  background: rgba(16, 185, 129, 0.03);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.08);
}

.speed-stat-hero {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.speed-card.legacy .speed-stat-hero {
  color: #fb7185;
}

.speed-card.dockmon .speed-stat-hero {
  color: #34d399;
}

.speed-stat-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

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

.speed-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.speed-features-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Features Grid */
.features-section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-400);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

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

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  color: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
}

/* Downloads Section & Matrix */
.downloads-section {
  padding: 100px 0;
  position: relative;
}

.table-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.table-filter-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.table-filter-btn:hover {
  color: #fff;
  border-color: var(--border-glow);
}

.table-filter-btn.active {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4);
}

.downloads-table-container {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  background: rgba(13, 18, 31, 0.7);
  overflow-x: auto;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.downloads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.downloads-table th {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-subtle);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-card);
}

.downloads-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.downloads-table tr:last-child td {
  border-bottom: none;
}

.downloads-table tr:hover td {
  background: rgba(30, 41, 59, 0.3);
}

.platform-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #fff;
}

.platform-icon {
  width: 24px;
  height: 24px;
  color: var(--brand-400);
  flex-shrink: 0;
}

.format-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-400);
  background: rgba(99, 102, 241, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.arch-chip {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

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

.command-snippet-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #050811;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #cbd5e1;
  max-width: 440px;
  width: 100%;
  box-sizing: border-box;
}

.command-snippet-box.multi-step {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.command-snippet-box .step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.command-snippet-box .step-subtext {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.35;
}

.command-snippet-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Quick Installation Guide Card */
.install-guide-card {
  margin-top: 2.25rem;
  background: #0b1120;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.12);
  transition: all 0.3s ease;
}

.install-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.install-guide-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.install-guide-title h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.01em;
}

.install-guide-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.install-guide-tabs .preset-chip-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.install-guide-tabs .preset-chip-btn:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: var(--brand-500);
  color: #fff;
}

.install-guide-tabs .preset-chip-btn.active {
  background: rgba(99, 102, 241, 0.25);
  border-color: var(--brand-500);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.35);
}

.install-guide-content {
  animation: fadeIn 0.25s ease-in-out;
}

.install-guide-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.75;
}

.install-guide-list li {
  margin-bottom: 0.65rem;
}

.install-guide-list li:last-child {
  margin-bottom: 0;
}

.copy-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.copy-icon-btn:hover {
  color: #fff;
}

.download-action-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.table-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--brand-600);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}
.table-download-btn:hover {
  background: var(--brand-500);
  transform: translateY(-1px);
}

.table-checksum-btn {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}
.table-checksum-btn:hover {
  color: #fff;
  border-color: var(--border-glow);
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
  border-top: 1px solid var(--border-subtle);
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.faq-arrow {
  transition: transform 0.25s ease;
  color: var(--brand-400);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* Footer & Attributions */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #040710;
  padding: 72px 0 40px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-subtle);
  font-size: 0.875rem;
  max-width: 400px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-column h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  color: var(--text-subtle);
  transition: color 0.15s;
}
.footer-column a:hover {
  color: var(--text-main);
}

.footer-attributions {
  padding: 24px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.lead-dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lead-dev-credit a {
  color: var(--brand-400);
  font-weight: 600;
}
.lead-dev-credit a:hover {
  text-decoration: underline;
}

/* Modal: SHA-256 Checksum */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  background: #0d1424;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 4px;
}
.modal-close-btn:hover {
  color: #fff;
}

.hash-display-box {
  background: #050811;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 16px 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  word-break: break-all;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  background: #1e293b;
  border: 1px solid var(--brand-500);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.25s ease;
}

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

/* Responsive adjustments */
@media (max-width: 960px) {
  .speed-metric-grid {
    grid-template-columns: 1fr;
  }
  .mockup-layout {
    flex-direction: column;
  }
  .mockup-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: row;
    overflow-x: auto;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 50px 0 40px;
  }
  .downloads-table th:nth-child(3),
  .downloads-table td:nth-child(3) {
    display: none;
  }
  .split-btn-container {
    width: 100%;
  }
  .primary-btn {
    flex: 1;
  }
}
