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

:root {
  --color-bg: #fafafa;
  --color-text: #1a1a2e;
  --color-text-secondary: #555;
  --color-accent: #4ecdc4;
  --color-accent-light: #e8faf8;
  --color-border: #e8e8e8;
  --color-card-bg: #fff;
  --max-width: 960px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

img { max-width: 100%; height: auto; display: block; }

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

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  height: 44px;
  width: 148px;
  border-radius: 8px;
  transition: transform 0.2s;
}

.store-badge:hover { transform: scale(1.04); }

/* ── Screenshots ── */
.screenshots {
  padding: 40px 0 80px;
  overflow-x: auto;
}

.screenshots-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshots-row img {
  width: 220px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

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

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
}

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

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

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-brand img { width: 28px; height: 28px; }

.footer-copy {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
}

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

/* ── Legal pages ── */
.legal {
  padding: 60px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal .last-updated {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p, .legal ul {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.legal ul {
  padding-left: 24px;
}

.legal li {
  margin-bottom: 6px;
}

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

/* ── Support page ── */
.support-contact {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 48px 24px 40px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.82rem; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .screenshots-row img { width: 160px; }
}
