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

:root {
  --bg: #09090b;
  --bg-card: #13131a;
  --bg-card-hover: #1a1a24;
  --text: #fafaf9;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #e8b931;
  --accent-glow: rgba(232, 185, 49, 0.15);
  --border: #27272a;
  --border-light: #3f3f46;
  --gradient-1: #3b82f6;
  --gradient-2: #a855f7;
  --radius: 12px;
  --font-display: "Instrument Serif", "DM Serif Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ── Typography ──────────────────────────────────────── */
.font-display {
  font-family: var(--font-display);
  font-weight: 400;
}

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

.text-dim {
  color: var(--text-dim);
}

.text-accent {
  color: var(--accent);
}

/* ── Layout ──────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.6rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--text);
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 6px 16px;
  border: 1px solid rgba(232, 185, 49, 0.25);
  border-radius: 100px;
  background: var(--accent-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

/* ── Stats Bar ───────────────────────────────────────── */
.stats {
  padding: 0;
  position: relative;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── About / Pitch ───────────────────────────────────── */
.pitch {
  text-align: center;
}

.pitch h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.pitch p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Features Grid ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 72px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Example Places ──────────────────────────────────── */
.examples {
  text-align: center;
}

.examples h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.examples > .container > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 56px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.example-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.example-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.example-image {
  width: 100%;
  height: 200px;
  background: var(--bg-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.example-body {
  padding: 24px;
}

.example-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--accent-glow);
}

.example-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.example-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.example-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 14px;
}

.example-location svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  position: relative;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 auto 40px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  font-size: 0.95rem;
  font-weight: 500;
}

.store-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-dim);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 24px;
  height: 24px;
}

.store-btn-text {
  text-align: left;
  line-height: 1.2;
}

.store-btn-text small {
  font-size: 0.7rem;
  color: var(--text-dim);
  display: block;
  font-weight: 400;
}

.store-btn-text span {
  font-size: 1.05rem;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

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

/* ── Legal Pages (Privacy, Terms) ────────────────────── */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-container {
  max-width: 780px;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.15;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: disc;
  margin-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul li {
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  color: var(--text);
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 28px 20px;
  }
}

/* ── Scroll Reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

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

  .stats-bar {
    gap: 32px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

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

@media (max-width: 480px) {
  .stats-bar {
    flex-direction: column;
    gap: 24px;
  }

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

  .nav {
    padding: 14px 0;
  }
}
