/* ===========================================================
   Matchlete — matchlete.com
   Static marketing site. No build step required.
   Theme mirrors the in-app Matchlete branding (dark blue/violet).
   =========================================================== */

:root {
  --bg: #080d1a;
  --bg-alt: #0a1020;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-border: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --violet: #8b5cf6;
  --grad: linear-gradient(90deg, #60a5fa, #93c5fd 45%, #a78bfa);
  --grad-btn: linear-gradient(90deg, #2563eb, #7c3aed);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.9rem; border-radius: 10px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.6);
}
.btn-primary:hover { background: #2563eb; transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 64px;
  background: rgba(8, 13, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 32px; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.orb { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.orb-1 { top: -10%; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; background: rgba(37, 99, 235, 0.20); }
.orb-2 { top: 30%; left: 8%; width: 500px; height: 500px; background: rgba(109, 40, 217, 0.16); }
.orb-3 { top: 18%; right: 4%; width: 420px; height: 420px; background: rgba(59, 130, 246, 0.12); }
.grid-overlay {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.20);
  color: var(--blue-light);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-blue { color: var(--blue-light); }
.badge-violet { background: rgba(139, 92, 246, 0.10); border-color: rgba(139, 92, 246, 0.22); color: #c4b5fd; }

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.hero h1 .line { display: block; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.5rem); color: var(--muted); max-width: 640px; margin: 0 0 36px; }
.lede strong { color: #fff; }

/* ---------- App store buttons ---------- */
.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.store-buttons.center { justify-content: center; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #08111f;
  border-radius: 14px;
  padding: 10px 22px 10px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(59, 130, 246, 0.5); }
.store-glyph { width: 26px; height: 26px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-text small { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: #475569; }
.store-text strong { font-size: 1.15rem; font-weight: 800; }
.store-note { color: var(--muted-2); font-size: 0.85rem; margin: 14px 0 0; }

/* ---------- Hero pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 760px; margin-top: 48px; opacity: 0.5; }
.pills span { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid rgba(255, 255, 255, 0.05); background: rgba(15, 22, 41, 0.5); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 24px; text-align: center; }
.stat-value {
  display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 6px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: rgba(10, 16, 32, 0.6); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .badge { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 32px;
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.card:hover { border-color: rgba(59, 130, 246, 0.35); transform: translateY(-3px); }
.card-icon { font-size: 2.2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; }
.card.mini { padding: 26px; }
.card.mini h3 { font-size: 1.1rem; }

.step .step-num {
  position: absolute; top: 10px; right: 22px;
  font-size: 80px; font-weight: 900; line-height: 1;
  color: rgba(255, 255, 255, 0.04); user-select: none;
}
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.card-head span { font-size: 1.8rem; }
.card-head h3 { margin: 0; }
.muted-sm { color: var(--muted-2); font-size: 0.85rem; margin: 0 0 18px; }

/* ---------- Tag chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 0.75rem; border-radius: 7px; padding: 4px 8px; border: 1px solid transparent; }
.tags .more { color: var(--muted-2); font-style: italic; border: none; }
.tags-blue span { background: rgba(59, 130, 246, 0.10); color: #93c5fd; border-color: rgba(59, 130, 246, 0.20); }
.tags-green span { background: rgba(16, 185, 129, 0.10); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.20); }
.tags-violet span { background: rgba(139, 92, 246, 0.10); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.20); }

/* ---------- Final CTA ---------- */
.cta { position: relative; padding: 110px 0; text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(37, 99, 235, 0.18), transparent 70%); }
.cta-inner h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 14px; }
.cta-inner > p { color: var(--muted); font-size: 1.15rem; margin: 0 0 32px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.06); background: var(--bg-alt); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.1rem; }
.footer-nav { display: flex; gap: 24px; color: var(--muted); font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { width: 100%; color: var(--muted-2); font-size: 0.85rem; margin: 0; }
.footer-legal a { color: var(--blue-light); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section { padding: 72px 0; }
  .hero { padding: 100px 0 64px; min-height: auto; }
}
