@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  --bg:           #0A0906;
  --bg-surface:   #111009;
  --bg-card:      #161310;
  --bg-elevated:  #1D1A15;
  --text:         #EDE8DC;
  --text-2:       #8A8070;
  --text-3:       #3D3828;
  --accent:       #C8A84B;
  --accent-dim:   rgba(200, 168, 75, 0.10);
  --accent-glow:  rgba(200, 168, 75, 0.14);
  --border:       rgba(237, 232, 220, 0.07);
  --border-warm:  rgba(200, 168, 75, 0.18);
  --radius:       16px;
  --radius-pill:  100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Header ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 6, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}

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

.nav-download {
  background: var(--accent) !important;
  color: #0A0906 !important;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: opacity 0.2s !important;
}

.nav-download:hover {
  opacity: 0.82;
  color: #0A0906 !important;
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 24px 96px;
  min-height: calc(100vh - 65px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 168, 75, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 168, 75, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, black 5%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 45%, black 5%, transparent 75%);
}

.hero-glow {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero-overline {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px var(--border-warm),
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 48px var(--accent-glow);
  margin-bottom: 36px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-icon:hover {
  transform: scale(1.04) rotate(-1deg);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-2);
  max-width: 400px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-badges span {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  letter-spacing: 0.04em;
}

/* ── Store Buttons ── */
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s;
}

.store-btn:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

.store-btn svg { flex-shrink: 0; }

.store-btn.primary {
  background: var(--text);
  color: var(--bg);
}

.store-btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.store-btn.secondary:hover {
  border-color: rgba(237, 232, 220, 0.22);
}

/* ── Section Label ── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}

/* ── Screenshots ── */
.screenshots {
  padding: 72px 0 80px;
  border-top: 1px solid var(--border);
}

.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 56px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshots-scroll:active { cursor: grabbing; }

.screenshot {
  height: 540px;
  width: auto;
  border-radius: 28px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  flex-shrink: 0;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
}

.screenshot:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 36px 88px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border-warm);
}

/* ── Features ── */
.features {
  padding: 88px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.features-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: 14px;
}

.features-header h2 em {
  font-style: italic;
  color: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg-card);
  padding: 40px 34px;
  transition: background 0.22s;
}

.feature-card:hover {
  background: var(--bg-elevated);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 18px;
  line-height: 1;
  display: block;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.865rem;
  color: var(--text-2);
  line-height: 1.68;
  font-weight: 300;
}

/* ── Privacy ── */
.privacy-callout {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 88px 48px;
}

.privacy-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.privacy-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: 14px;
  margin-bottom: 20px;
}

.privacy-inner h2 em {
  font-style: italic;
  color: var(--accent);
}

.privacy-lead {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 52px;
  font-weight: 300;
  line-height: 1.72;
}

.privacy-points {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin-bottom: 44px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-point {
  background: var(--bg-card);
  flex: 1;
  padding: 32px 24px;
  text-align: center;
}

.privacy-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 14px;
}

.privacy-point h3 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}

.privacy-point p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.55;
  font-weight: 300;
}

.privacy-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.privacy-link:hover { opacity: 0.7; }

/* ── CTA ── */
.cta-section {
  position: relative;
  padding: 112px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 168, 75, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 168, 75, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 65% 85% at 50% 50%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 65% 85% at 50% 50%, black 0%, transparent 78%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  box-shadow:
    0 0 0 1px var(--border-warm),
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 36px var(--accent-glow);
}

.cta-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.cta-inner h2 em {
  font-style: italic;
  color: var(--accent);
}

.cta-inner p {
  font-size: 1rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Footer ── */
footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-3);
}

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

.footer-links a {
  color: var(--text-3);
  transition: color 0.2s;
}

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

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Privacy Policy Prose (privacy.html) ── */
.privacy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.privacy-page h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.privacy-page .effective-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 48px;
}

.privacy-page section {
  margin-bottom: 36px;
}

.privacy-page h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.privacy-page p {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 10px;
  font-weight: 300;
}

.privacy-page ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}

.privacy-page ul li {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
  font-weight: 300;
}

.privacy-page ul li::before {
  content: '·';
  position: absolute;
  left: 6px;
  font-weight: 700;
  color: var(--accent);
}

.privacy-page a {
  color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  header {
    padding: 16px 20px;
  }

  .nav-download { display: none; }

  .hero {
    padding: 80px 20px 72px;
    min-height: auto;
  }

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

  .hero-tagline br { display: none; }

  .screenshots {
    padding: 56px 0 64px;
  }

  .screenshots-scroll {
    padding: 8px 20px 20px;
    gap: 14px;
  }

  .screenshot { height: 400px; }

  .features {
    padding: 64px 20px;
  }

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

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

  .privacy-callout {
    padding: 64px 20px;
  }

  .privacy-points {
    flex-direction: column;
    max-width: 100%;
  }

  .privacy-point {
    padding: 28px 20px;
  }

  .cta-section {
    padding: 88px 20px;
  }

  footer {
    padding: 24px 20px;
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .privacy-page {
    padding: 40px 20px 60px;
  }
}
