*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;
  --bg:             #ffffff;
  --bg-soft:        #f8fafc;
  --bg-card:        #ffffff;
  --border:         #e2e8f0;
  --accent:         #2563eb;
  --accent-dark:    #1d4ed8;
  --accent-light:   #eff6ff;
  --radius:         12px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:      0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
}

html { scroll-behavior: smooth; }

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

/* ── Layout ────────────────────────────────────────────────────────────────── */

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

/* ── Nav ───────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
}

.logo-icon { font-size: 20px; }

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

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

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

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all .15s;
  white-space: nowrap;
}

.btn-sm  { font-size: 13px; padding: 6px 14px; }
.btn-lg  { font-size: 15px; padding: 12px 24px; }
.btn-xl  { font-size: 16px; padding: 16px 32px; border-radius: 10px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--text-primary); }

.btn-icon { font-size: 18px; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  padding: 100px 0 88px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Features ──────────────────────────────────────────────────────────────── */

.features {
  padding: 96px 0;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

/* ── How it works ──────────────────────────────────────────────────────────── */

.how {
  padding: 96px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-connector {
  width: 2px;
  height: 36px;
  background: var(--border);
  margin-left: 23px;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.step-body {
  padding-top: 10px;
  padding-bottom: 8px;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Download ──────────────────────────────────────────────────────────────── */

.download-section {
  padding: 96px 0;
  text-align: center;
}

.download-inner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}

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

#download-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

#download-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

#download-btn small {
  font-size: 12px;
  font-weight: 400;
  opacity: .8;
}

.download-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.download-note a {
  color: var(--accent);
  text-decoration: none;
}

.download-note a:hover { text-decoration: underline; }

/* ── Footer ────────────────────────────────────────────────────────────────── */

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}

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

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .features, .how, .download-section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
}
