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

/* ── Variables ──────────────────────────────────────── */
:root {
  --bg:       #0a0a0f;
  --surface:  #13131a;
  --surface2: #1a1a24;
  --border:   rgba(255,255,255,0.07);
  --text:     #f0f0f5;
  --muted:    rgba(240,240,245,0.5);
  --accent:   #7c6af7;
  --radius:   16px;
}

/* ── Base ───────────────────────────────────────────── */
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

/* ── Nav ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.nav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

nav a.nav-link {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}

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

/* ── Section shared ─────────────────────────────────── */
section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}

.section-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* ── Store buttons ──────────────────────────────────── */
.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
}

.store-btn-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.store-btn:hover {
  background: var(--surface2);
  border-color: rgba(124,106,247,0.4);
  transform: translateY(-2px);
}

.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }

.store-btn-text { text-align: left; }
.store-btn-text small { display: block; font-size: 11px; color: var(--muted); }
.store-btn-text strong { display: block; font-size: 16px; font-weight: 600; }

/* ── App CTA (blog articles) ────────────────────────── */
.app-cta {
  margin-top: 60px;
  padding: 32px;
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.cta-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn-store:hover { opacity: 0.9; }

/* ── Footer ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.footer-brand img { border-radius: 50%; }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}

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

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

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 680px) {
  nav { padding: 14px 20px; }
}
