:root {
  --bg: #f3eee6;
  --text: #1a1a1a;
  --primary: #1565C0;
  --muted: #5c5c5c;
  --card-bg: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #e8e8e8;
    --primary: #64B5F6;
    --muted: #9a9a9a;
    --card-bg: #1e1e1e;
  }
}

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

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

a {
  color: var(--primary);
}

.page-home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px 40px;
}

.page-home .card {
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 24px;
}

h1 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 8px;
}

.tagline {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.use-cases {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
  font-style: italic;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto 28px;
  text-align: left;
  max-width: 460px;
}

.features div {
  color: var(--muted);
  font-size: 15px;
  padding: 4px 0;
}

.screenshots {
  display: flex;
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  margin: 0 auto 28px;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.screenshots img {
  flex: 0 0 auto;
  height: 420px;
  width: auto;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  scroll-snap-align: center;
}

.download {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s, opacity 0.2s;
}

.store-badge:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.store-badge img {
  height: 54px;
  width: auto;
}

.store-badge.play img {
  height: 80px;
}

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

.links a {
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: 10px;
  transition: 0.2s;
}

.links a:hover {
  background: var(--primary);
  color: #fff;
}

footer {
  margin-top: 36px;
  font-size: 13px;
  color: var(--muted);
}

.page-privacy {
  padding: 24px 16px 40px;
}

.page-privacy .container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.back-link:hover {
  text-decoration: underline;
}

.page-privacy h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.page-privacy h2 {
  color: var(--primary);
  font-size: 20px;
  margin: 28px 0 12px;
}

.page-privacy h3 {
  color: var(--primary);
  font-size: 16px;
  margin: 16px 0 8px;
}

.page-privacy p,
.page-privacy li {
  color: var(--muted);
  font-size: 15px;
}

.page-privacy ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.page-privacy li {
  margin-bottom: 6px;
}

.page-privacy footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--muted);
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 16px;
  }

  .download {
    flex-direction: column;
  }

  .store-badge img,
  .store-badge.play img {
    height: 48px;
  }

  .store-badge.play img {
    height: 72px;
  }

  .screenshots img {
    height: 360px;
  }

  .page-privacy .container {
    padding: 28px 20px;
  }
}
