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

:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b6b6b;
  --color-accent: #0a6bff;
  --color-accent-hover: #0052cc;
  --color-border: #e5e5e5;
  --color-card-bg: #f5f5f7;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 960px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-download {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  transition: background 0.15s, color 0.15s;
}

.nav-download:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ── Hero ── */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
}

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-text);
  color: #fff;
  padding: 12px 28px;
  font-size: 15px;
}

.btn-primary:hover { background: #333; }

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ── Screenshot placeholder ── */
.hero-screenshot {
  max-width: 780px;
  margin: 0 auto;
}

.screenshot-placeholder {
  aspect-ratio: 16 / 10;
  background: var(--color-card-bg);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 14px;
}

/* ── Section titles ── */
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 48px;
}

/* ── Features ── */
.features {
  padding: 80px 24px;
}

.features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--color-card-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ── How it works ── */
.how-it-works {
  padding: 80px 24px;
}

.how-inner {
  max-width: 600px;
  margin: 0 auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

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

.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

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

/* ── Download ── */
.download {
  padding: 100px 24px;
  text-align: center;
}

.download-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.download-subtitle {
  font-size: 17px;
  color: var(--color-muted);
  margin-bottom: 32px;
  margin-top: -28px;
}

.download-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-muted);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-copy {
  font-size: 13px;
  color: var(--color-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero { padding: 120px 20px 60px; }
  .features, .how-it-works { padding: 60px 20px; }
  .download { padding: 80px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
}
