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

:root {
  --bg: #0A0E0F;
  --surface: #131A1C;
  --border: #1E2E30;
  --text: #F0F5F3;
  --text-secondary: #6B8A80;
  --accent: #2ECC71;
  --accent-light: #6EEAA0;
  --success: #27AE60;
  --warning: #F1C40F;
  --danger: #E74C3C;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--text); }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-1px);
}

/* ── Nav ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 19, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { font-size: 24px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: white; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid rgba(108, 92, 231, 0.3);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-cta { margin-bottom: 48px; }
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.stat { text-align: center; }
.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-light);
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Features ─────────────────────────────────── */
.features {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How It Works ─────────────────────────────── */
.how-it-works {
  padding: 80px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.step {
  text-align: center;
  padding: 32px 24px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Download ─────────────────────────────────── */
.download {
  padding: 80px 0;
}
.download-card {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 184, 148, 0.1));
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: 20px;
  padding: 64px 32px;
  text-align: center;
}
.download-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.download-card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  transition: all 0.2s;
}
.store-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}
.store-label {
  font-size: 11px;
  color: var(--text-secondary);
}
.store-name {
  font-size: 16px;
  font-weight: 600;
}

/* ── Footer ───────────────────────────────────── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a { color: var(--text-secondary); font-size: 13px; }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
