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

:root {
  --cream:    #F5F0E8;
  --cream-dk: #EDE8DC;
  --navy:     #1C2033;
  --coral:    #C5616E;
  --coral-dk: #AE4F5B;
  --muted:    #7A7B85;
  --border:   #D9D4C8;
  --white:    #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
}

/* ── Nav ────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 48px;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: inline-flex;
  text-decoration: none;
  color: var(--navy);
}

.nav-logo span {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy);
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 48px 80px;
  text-align: center;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 28px;
}

h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(28, 32, 51, 0.18);
}

.btn-primary:hover {
  background: #2d3350;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(28, 32, 51, 0.24);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: rgba(28, 32, 51, 0.04);
  transform: translateY(-2px);
}

/* ── Screenshot ─────────────────────────────────── */
.screenshot-wrap {
  max-width: 1000px;
  margin: 0 auto 112px;
  padding: 0 32px;
}

.screenshot-wrap img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* ── Section shared ─────────────────────────────── */
section {
  padding: 80px 48px;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 16px;
}

h2 em { font-style: italic; color: var(--coral); }

.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ── Features ───────────────────────────────────── */
.features {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--coral);
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.feature-card p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

/* ── How it works ───────────────────────────────── */
.how-it-works {
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: var(--border);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--coral);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Private ────────────────────────────────────── */
.private {
  background: var(--navy);
  color: var(--white);
}

.private h2 { color: var(--white); margin-bottom: 12px; max-width: 100%; }

.private .section-sub {
  color: rgba(255,255,255,0.5);
  margin-bottom: 56px;
  max-width: 100%;
  line-height: 1.45;
}

.private-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 64px;
}

.private-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.private-points li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: 9px;
  flex-shrink: 0;
}

.private-points li strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 2px;
}

/* ── Download ───────────────────────────────────── */
.download {
  background: var(--cream-dk);
  border-top: 1px solid var(--border);
  text-align: center;
}

.download h2 { margin-bottom: 12px; }

.download .section-sub {
  max-width: 400px;
  margin: 0 auto 44px;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 14px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(28,32,51,0.15);
}

.badge:hover {
  background: #2d3350;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(28,32,51,0.22);
}

.badge-icon { flex-shrink: 0; color: var(--coral); }

.badge-text { text-align: left; }

.badge-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0.04em;
}

.badge-text span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── Footer ─────────────────────────────────────── */
footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  background: var(--cream);
  text-align: center;
}

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

/* ── Animations ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

h1               { animation: fadeUp 0.6s 0.1s ease both; }
.hero-sub        { animation: fadeUp 0.6s 0.2s ease both; }
.hero-buttons    { animation: fadeUp 0.6s 0.3s ease both; }
.screenshot-wrap { animation: fadeUp 0.8s 0.4s ease both; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  section { padding: 64px 24px; }
  .hero { padding: 72px 24px 64px; }
  .screenshot-wrap { padding: 0 16px; margin-bottom: 72px; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .private-points { grid-template-columns: 1fr; }
}
