/* ── Reset & Base ────────────────────────────────────── */

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

:root {
  --gold: #FCB636;
  --gold-light: #FCEAB2;
  --sunset-coral: #E07B8B;
  --sunset-orange: #F4A861;
  --sunset-ember: #D4713A;
  --sunrise-plum: #5A3D5C;
  --navy: #0D0F1A;
  --navy-light: #1A1D2E;
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.15);
  --text: #F0F0F0;
  --text-muted: #bAbAbA;
  --max-width: 960px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Background gradient ─────────────────────────────── */

body::before {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  top: -50vh;
  height: 200vh;
  background: linear-gradient(
    180deg,
    var(--navy) 0%,
    #1A1530 20%,
    #2A1A3A 38%,
    #5C2A4A 55%,
    #A34A32 75%,
    #D4713A 100%
  );
  z-index: -1;
  transform: translateY(var(--bg-y, 0px));
  will-change: transform;
}

/* ── Typography ──────────────────────────────────────── */

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
}

p {
  color: var(--text-muted);
}

/* ── Layout ──────────────────────────────────────────── */

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 0.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero .description {
  margin-bottom: 2rem;
}

.hero .description p {
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.8;
}

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

.hero .price-note {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Screenshots ─────────────────────────────────────── */

.screenshots {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
  max-width: 1100px;
}

.screenshot-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem 0;
}

.screenshot-row img {
  height: 480px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  flex: 0 1 auto;
  max-width: 23%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-row img:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* ── Value prop ──────────────────────────────────────── */

.value-prop {
  text-align: center;
}

.value-prop h2 {
  font-size: 2rem;
  color: var(--gold);
}

.value-prop .subtitle {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.value-prop .explanation {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Features ────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.feature-card .title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-card .icon {
  font-size: 1.375rem;
  line-height: 1;
}

.feature-card h3 {
  color: var(--text);
  margin-bottom: 0;
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ── Privacy ─────────────────────────────────────────── */

.privacy {
  text-align: center;
}

.privacy h2 {
  color: var(--text);
}

.privacy-points {
  list-style: none;
  margin: 1.5rem auto;
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-points li {
  font-size: 1.0625rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.privacy-points .check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.privacy .detail {
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── Story ────────────────────────────────────────────── */

.story {
  text-align: center;
}

.story p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

.story .credit {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 600;
}

.story a,
footer a {
  color: var(--text);
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}

.story a:hover,
footer a:hover {
  text-decoration-color: var(--text);
}

/* ── Bottom CTA ──────────────────────────────────────── */

.bottom-cta {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* ── Footer ──────────────────────────────────────────── */

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  text-decoration-color: transparent;
}

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

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

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .tagline {
    font-size: 1.0625rem;
  }

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

  .screenshot-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
  }

  .screenshot-row img {
    height: 360px;
    max-width: none;
    flex-shrink: 0;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
