@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #0D1B2A;
  --surface: #132538;
  --surface-elevated: #1A3047;
  --primary: #C8960A;
  --secondary: #E8B84B;
  --text: #F0F4F8;
  --text-muted: #7A99B8;
  --border: #1E3A50;
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

/* ── HERO ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12rem 2rem 4rem;
}

.hero-logo {
  height: clamp(100px, 20vw, 200px);
  width: auto;
  margin-bottom: 2rem;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 0.75rem;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--primary);
  color: #0D1B2A;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(200, 150, 10, 0.35);
}
.btn-download:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 150, 10, 0.45);
}
.btn-download svg { flex-shrink: 0; }

/* ── SECTION COMMONS ── */
section { padding: 5rem 2rem; }

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

section h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--surface); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #0D1B2A;
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 1.125rem;
}

.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.625rem; }
.step p { color: var(--text-muted); font-size: 0.875rem; }

/* ── SCORE SECTION ── */
.score-section { background: var(--bg); }

.score-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.score-content h2 { text-align: left; margin-bottom: 1rem; }

.score-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.score-legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-item { display: flex; align-items: center; gap: 0.4rem; }

/* Guess cards */
.score-demo { display: flex; flex-direction: column; gap: 0.875rem; }

.guess-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
}

.guess-name {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}

.gauge-track {
  height: 10px;
  background: var(--surface-elevated);
  border-radius: 100px;
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  border-radius: 100px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: fill-gauge 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fill-gauge {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ── MODES SECTION ── */
.modes-section { background: var(--surface); }

.mode-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mode-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.mode-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
}

.mode-card h3 { font-size: 1rem; font-weight: 600; }

.mode-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge.available {
  background: rgba(200, 150, 10, 0.18);
  color: var(--primary);
}

.badge.soon {
  background: rgba(122, 153, 184, 0.12);
  color: var(--text-muted);
}

/* ── WHY SECTION ── */
.why-section { background: var(--surface); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.why-icon { font-size: 1.75rem; }

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

/* ── FINAL CTA ── */
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 6rem;
}

.final-cta h2 { margin-bottom: 1rem; }

.final-cta p {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.25rem;
}

/* ── FOOTER ── */
.main-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

/* ── PRIVACY PAGE ── */
.privacy-header {
  display: flex;
  justify-content: center;
  padding: 3.5rem 2rem 0;
}

.privacy-logo {
  height: clamp(80px, 14vw, 150px);
  width: auto;
}

.privacy-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 1.5rem 2rem 4rem;
}

.privacy-content h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
  display: block;
}

.privacy-content > p:first-of-type {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.privacy-content h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: left;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  color: var(--secondary);
}

.privacy-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.privacy-content ul {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.privacy-content a {
  color: var(--primary);
  text-underline-offset: 3px;
}
.privacy-content a:hover { color: var(--secondary); }

.privacy-content strong {
  color: var(--text);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { padding: 3.5rem 1.5rem; }

  .score-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .score-content h2 { text-align: center; }

  .steps { grid-template-columns: 1fr; }
  .mode-cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

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

@media (max-width: 600px) {
  section { padding: 3.5rem 1.25rem; }
  .privacy-header { padding: 2.5rem 1.25rem 0; }
  .privacy-content { padding: 1.25rem 1.25rem 3rem; }
}
