/* ============================================================
   DriveSyncAI — Futuristic Landing Page
   ============================================================ */

:root {
  --bg-primary: #050510;
  --bg-secondary: #0a0a1a;
  --bg-card: rgba(15, 15, 35, 0.6);
  --bg-card-hover: rgba(20, 20, 45, 0.8);

  --text-primary: #f0f0f8;
  --text-secondary: #8888aa;
  --text-muted: #555577;

  --accent-purple: #a855f7;
  --accent-blue: #6366f1;
  --accent-cyan: #22d3ee;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-pink: #ec4899;

  --gradient-primary: linear-gradient(135deg, #a855f7, #6366f1);
  --gradient-hero: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #22d3ee 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(99, 102, 241, 0.1), transparent);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);

  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  --nav-height: 72px;
  --container-max: 1200px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Particle Canvas ---- */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 10px;
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gradient-primary) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(5, 5, 16, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  z-index: 1;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite;
}

.hero-glow-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  top: 200px;
  left: 30%;
  width: 500px;
  height: 500px;
  animation-delay: -4s;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(168, 85, 247, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--glass);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

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

.btn-large {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: 14px;
}

/* ---- Hero Stats ---- */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* ---- Hero Image ---- */
.hero-image {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 60px auto 0;
}

.hero-image-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.12), transparent 70%);
  border-radius: 24px;
  z-index: -1;
}

.hero-image-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(168, 85, 247, 0.08);
}

.hero-image-frame img {
  width: 100%;
  display: block;
}

/* ---- Marquee ---- */
.marquee-section {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
}

.marquee-content span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.marquee-dot {
  width: 4px !important;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-purple);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Section Headers ---- */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-purple);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ---- Features ---- */
.features {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 36px 28px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
}

.feature-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.06), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover .feature-card-glow {
  opacity: 1;
}

.feature-card-large {
  grid-column: span 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-purple);
}

.feature-icon.icon-cyan {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.15);
  color: var(--accent-cyan);
}

.feature-icon.icon-purple {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
}

.feature-icon.icon-orange {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.15);
  color: var(--accent-orange);
}

.feature-icon.icon-green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.feature-icon.icon-pink {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.15);
  color: var(--accent-pink);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.feature-tags span {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* ---- AI Pipeline Section ---- */
.ai-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.02) 50%, transparent 100%);
}

.pipeline {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 80px;
}

.pipeline-tier {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s var(--ease-out-expo);
}

.pipeline-tier:hover {
  border-color: rgba(168, 85, 247, 0.15);
  transform: translateY(-2px);
}

.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tier-number {
  font-size: 32px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
}

.tier-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.tier-badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.tier-badge-blue {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.tier-badge-purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.pipeline-tier h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pipeline-tier p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.tier-bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.tier-bar-fill {
  height: 100%;
  width: var(--width);
  border-radius: 4px;
  transition: width 1.5s var(--ease-out-expo);
}

.tier-bar-green { background: var(--accent-green); }
.tier-bar-blue { background: var(--accent-blue); }
.tier-bar-purple { background: var(--accent-purple); }

.pipeline-arrow {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ---- Providers ---- */
.providers {
  text-align: center;
}

.providers-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.providers-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.provider-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px 28px;
  min-width: 160px;
  text-align: center;
  transition: all 0.3s var(--ease-out-expo);
}

.provider-card:hover {
  border-color: rgba(168, 85, 247, 0.15);
  transform: translateY(-2px);
}

.provider-icon {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.provider-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.provider-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.provider-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.provider-badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ---- Safety Section ---- */
.safety-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

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

.safety-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s var(--ease-out-expo);
}

.safety-card:hover {
  border-color: rgba(168, 85, 247, 0.15);
  transform: translateY(-2px);
}

.safety-number {
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 12px;
}

.safety-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.safety-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Screenshots Section ---- */
.screenshots-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.02) 50%, transparent 100%);
}

.screenshot-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.screenshot-tab {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

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

.screenshot-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.screenshot-viewer {
  max-width: 960px;
  margin: 0 auto;
}

.screenshot-frame {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(168, 85, 247, 0.05);
}

.screenshot-dots {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}

.screenshot-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.screenshot-dots span:nth-child(1) { background: rgba(255, 95, 87, 0.7); }
.screenshot-dots span:nth-child(2) { background: rgba(255, 189, 46, 0.7); }
.screenshot-dots span:nth-child(3) { background: rgba(39, 201, 63, 0.7); }

.screenshot-images {
  position: relative;
  min-height: 200px;
}

.screenshot-img {
  width: 100%;
  display: none;
  animation: screenshot-fade 0.4s var(--ease-out-expo);
}

.screenshot-img.active {
  display: block;
}

@keyframes screenshot-fade {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* ---- Comparison Table ---- */
.comparison-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.comparison-table {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-card);
}

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

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

.comparison-table thead th {
  background: var(--bg-card);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.comparison-table tbody td {
  color: var(--text-secondary);
}

.comparison-table .row-label {
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.comparison-table .highlight-col {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.04);
}

.comparison-table thead .highlight-col {
  color: var(--accent-purple);
}

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

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:hover .highlight-col {
  background: rgba(168, 85, 247, 0.07);
}

/* ---- Download Section ---- */
.download-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.download-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.1), transparent 70%);
  pointer-events: none;
}

.download-content {
  position: relative;
}

.download-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.download-content > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.download-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.download-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.download-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ---- Quick Start Code Block ---- */
.quickstart {
  margin-top: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.quickstart h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.code-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

.copy-btn {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

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

.code-block pre {
  padding: 20px;
  overflow-x: auto;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}

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

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-large {
    grid-column: span 1;
  }

  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline {
    flex-direction: column;
    gap: 20px;
  }

  .pipeline-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .download-card {
    padding: 48px 24px;
  }

  .download-actions {
    flex-direction: column;
    align-items: center;
  }

  .providers-grid {
    flex-direction: column;
    align-items: center;
  }

  .provider-card {
    width: 100%;
    max-width: 280px;
  }

  .screenshot-tabs {
    gap: 6px;
  }

  .screenshot-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ---- Selection ---- */
::selection {
  background: rgba(168, 85, 247, 0.3);
  color: white;
}
