/* =====================================================
   Predicto — Landing Page Styles
   ===================================================== */

:root {
  --color-bg:        #0d1117;
  --color-surface:   #161b22;
  --color-border:    #30363d;
  --color-accent:    #5CFD86;
  --color-accent-dim:#4ad470;
  --color-text:      #e6edf3;
  --color-muted:     #8b949e;
  --radius:          12px;
  --font:            -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width:       1100px;
}

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

html { scroll-behavior: smooth; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s, transform .15s;
  border: 2px solid transparent;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }

.btn--primary {
  background: var(--color-accent);
  color: #000;
}
.btn--outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ── Header ──────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo__img {
  height: 24px;
  width: auto;
}
.logo__icon { font-size: 24px; }
.logo__text { font-size: 20px; font-weight: 700; color: var(--color-text); }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 15px;
  transition: color .15s;
}
.nav a:hover { color: var(--color-text); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 48px 0 0px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(63,185,80,.12) 0%, transparent 70%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.text--accent { color: var(--color-accent); }

.hero__subtitle {
  font-size: 18px;
  color: var(--color-muted);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.store-badge img {
  height: clamp(40px, 5.5vw, 52px);
  width: auto;
}
.coming-soon {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-muted);
}

/* ── Phone mockup ────────────────────────────────── */
.hero__visual {
  display: flex;
  justify-content: center;
}
.hero__mockup {
  max-width: 600px;
  width: 100%;
  height: auto;
}
.phone-mockup {
  width: 240px;
  height: 480px;
  background: var(--color-surface);
  border-radius: 36px;
  border: 2px solid var(--color-border);
  padding: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.mock-app { text-align: center; width: 100%; }
.mock-match {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-team { font-size: 11px; font-weight: 600; }
.mock-score {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-score__num {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent);
}
.mock-score__sep { font-size: 16px; color: var(--color-muted); }
.mock-prediction {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 8px;
}
.mock-points {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
}

/* ── Section title ───────────────────────────────── */
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

/* ── How it works ────────────────────────────────── */
.how-it-works { padding: 96px 0; }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
}
.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #000;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--color-muted); }
.step__arrow {
  font-size: 24px;
  color: var(--color-accent);
  margin-top: 16px;
  align-self: flex-start;
}

/* ── CTA ─────────────────────────────────────────── */
.cta {
  padding: 96px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.cta__inner {
  text-align: center;
}
.cta__inner h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}
.cta__inner p {
  color: var(--color-muted);
  margin-bottom: 36px;
  font-size: 17px;
}
.cta__inner .hero__actions { justify-content: center; }

/* ── Footer ──────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}
.footer__links a:hover { color: var(--color-text); }
.footer__copy {
  color: var(--color-muted);
  font-size: 13px;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero__subtitle { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__note { text-align: center; }
  .hero__visual { order: -1; }
  .phone-mockup { width: 180px; height: 360px; }

  .nav a:not(.btn) { display: none; }

  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); margin: 0; align-self: center; }

  .footer__links { flex-wrap: wrap; justify-content: center; }
}
