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

:root {
  --accent: #208aef;
  --accent-dark: #1670cc;
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --text: #0d1117;
  --text-muted: #5a6272;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --bg-alt: #161b22;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  }
}

html {
  scroll-behavior: smooth;
}

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

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

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

/* ── Header ───────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(128, 128, 128, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

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

.logo img {
  border-radius: 8px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.1s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-dark);
}
.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 36px;
}

.download-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 460px;
  margin-top: 14px;
}

.store-btn {
  display: inline-block;
  transition:
    opacity 0.15s,
    transform 0.1s;
}

.store-btn:hover {
  opacity: 0.85;
}
.store-btn:active {
  transform: scale(0.97);
}

/* App Store / Play Store badge fallback if SVG is missing */
.store-btn img {
  height: 48px;
  width: auto;
  border-radius: 10px;
}

/* Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
}

.mockup-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 260px;
  height: 520px;
  background: var(--bg-alt);
  border-radius: 36px;
  border: 2px dashed rgba(128, 128, 128, 0.2);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 24px;
}

/* ── Features ─────────────────────────────────────────────────── */
.features {
  background: var(--bg-alt);
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

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

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

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(128, 128, 128, 0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-inner a:hover {
  color: var(--accent);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 720px) {
  .hero {
    padding: 48px 0 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 32px;
  }

  .download-note {
    margin: 14px auto 0;
  }

  .download-btns {
    justify-content: center;
  }

  .hero-mockup {
    display: none;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
