:root {
  --bg: #221a33;
  --bg-alt: #2b2140;
  --card: #2e2445;
  --text: #f2eef8;
  --text-dim: #b8aecb;
  --orange: #ff8c40;
  --coral: #ff7366;
  --amber: #ffb333;
  --sky: #4da6f2;
  --lime: #99d94d;
  --magenta: #e659bf;
  --violet: #a666e6;
  --ocean: #2680a6;
  --teal: #33bfb3;
  --radius: 18px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(34, 26, 51, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

nav.site-nav {
  display: flex;
  gap: 28px;
}

nav.site-nav a {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 14px;
}

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

/* Hero */

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero img.hero-logo {
  width: 190px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 8px 0 12px;
  letter-spacing: -0.5px;
}

.hero p.tagline {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffa25c, var(--orange));
  color: #1a1225;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 140, 64, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.appstore-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 140, 64, 0.45);
  text-decoration: none;
}

.appstore-badge svg {
  width: 18px;
  height: 18px;
}

/* Pad grid decoration */

.pad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 260px;
  margin: 48px auto 0;
}

.pad-grid span {
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.pad-grid span:nth-child(1) { background: var(--coral); }
.pad-grid span:nth-child(2) { background: var(--amber); }
.pad-grid span:nth-child(3) { background: var(--sky); }
.pad-grid span:nth-child(4) { background: var(--lime); }
.pad-grid span:nth-child(5) { background: var(--magenta); }
.pad-grid span:nth-child(6) { background: var(--violet); }
.pad-grid span:nth-child(7) { background: var(--ocean); }
.pad-grid span:nth-child(8) { background: var(--orange); }
.pad-grid span:nth-child(9) { background: var(--teal); }

/* Sections */

section {
  padding: 64px 0;
}

section.alt {
  background: var(--bg-alt);
}

h2.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
}

p.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 40px;
}

/* Screenshots gallery */

.screens {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screens::-webkit-scrollbar {
  height: 6px;
}

.screens::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.screen-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 220px;
  text-align: center;
}

.screen-item img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-item span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
}

@media (min-width: 760px) {
  .screens {
    justify-content: center;
    overflow: visible;
    flex-wrap: wrap;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 26px;
}

.feature-card .icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

.free-pro-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 32px;
}

.free-pro-note strong {
  color: var(--text);
}

/* CTA */

.cta {
  text-align: center;
}

.cta h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta p {
  color: var(--text-dim);
  margin-bottom: 30px;
}

/* Footer */

footer.site {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-dim);
}

footer.site nav {
  display: flex;
  gap: 20px;
}

footer.site nav a {
  color: var(--text-dim);
  font-weight: 600;
}

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

/* Privacy page */

.legal {
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.legal .updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 10px;
  color: var(--orange);
}

.legal p, .legal li {
  color: var(--text-dim);
  font-size: 15px;
}

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

.legal a {
  word-break: break-word;
}

.legal .draft-note {
  background: var(--card);
  border: 1px solid rgba(255, 140, 64, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  nav.site-nav { display: none; }
  .hero h1 { font-size: 32px; }
}
