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

:root {
  --wine:   #8B1A2B;
  --wine-dark: #5C0F1C;
  --gold:   #C9A84C;
  --gold-light: #E2C97A;
  --bg:     #0D0908;
  --bg2:    #160C0A;
  --text:   #F5EFE6;
  --muted:  #9A8578;
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

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

/* ── Nav ────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(13, 9, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.nav-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

.nav-cta {
  background: var(--wine);
  color: var(--text) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--wine-dark) !important; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,26,43,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  max-width: 700px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  margin: 0 auto 2rem;
  box-shadow: 0 24px 60px rgba(139,26,43,0.5), 0 0 0 1px rgba(201,168,76,0.2);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--wine);
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(139,26,43,0.4);
}
.btn-primary:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(139,26,43,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* App Store Badges */
.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #000;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.15s, border-color 0.2s;
  min-width: 155px;
}
.badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.35);
}
.badge svg { flex-shrink: 0; }
.badge-text { text-align: left; line-height: 1.2; }
.badge-text small { display: block; font-size: 0.65rem; opacity: 0.7; letter-spacing: 0.04em; }
.badge-text strong { font-size: 1rem; }

/* ── Section Base ───────────────────────────────────────────────────────── */
section { padding: 6rem 2rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Features ───────────────────────────────────────────────────────────── */
#features { background: var(--bg2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(139,26,43,0.4);
}

.step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Platforms ──────────────────────────────────────────────────────────── */
#platforms { background: var(--bg2); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.platform-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.platform-card:hover { border-color: rgba(201,168,76,0.2); }

.platform-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.platform-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.platform-card p { font-size: 0.85rem; color: var(--muted); }

/* ── CTA Banner ─────────────────────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 100%);
  text-align: center;
  padding: 5rem 2rem;
}

#cta .section-label { color: rgba(255,255,255,0.6); }
#cta .section-title { color: #fff; }
#cta .section-sub { color: rgba(255,255,255,0.75); margin: 0 auto 2.5rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: #080404;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── Legal Pages ────────────────────────────────────────────────────────── */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}

.legal-page .updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: var(--text);
}

.legal-page p, .legal-page li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.legal-page ul, .legal-page ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.legal-page a { color: var(--gold-light); text-decoration: underline; }

/* ── Divider ────────────────────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--wine), var(--gold));
  border-radius: 100px;
  margin: 1.25rem 0 2rem;
}
.text-center .divider { margin-left: auto; margin-right: auto; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: 0.875rem 1.25rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 3rem; }
  .hero-icon { width: 96px; height: 96px; border-radius: 22px; }
  .badge { min-width: 140px; }
}
