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

:root {
  --ink:     #0d0f14;
  --ink-mid: #3a3d47;
  --ink-dim: #7a7f8e;
  --bg:      #f8f7f4;
  --bg-alt:  #eeecea;
  --accent:  #4a6cf7;
  --accent-h:#3558e0;
  --teal:    #2bbfa4;
  --radius:  12px;
  --radius-sm: 6px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header / Nav ─────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon { font-size: 22px; }
.logo-text { font-weight: 700; font-size: 18px; letter-spacing: -0.3px; color: var(--ink); }

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

.nav-links a {
  text-decoration: none;
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

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

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-h); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(0,0,0,0.15);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Section Labels ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 20px;
  color: var(--ink-mid);
  max-width: 480px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── About ────────────────────────────────────────────────── */
.about {
  background: var(--bg-alt);
  padding: 96px 0;
}

.about h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 560px;
}

.about > .container > p {
  color: var(--ink-mid);
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 56px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pillar {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
}

.pillar-icon { font-size: 28px; margin-bottom: 12px; }
.pillar h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pillar p { color: var(--ink-mid); font-size: 15px; }

/* ─── Products ─────────────────────────────────────────────── */
.products { padding: 96px 0; }
.games-section { background: var(--bg); }
.tools-section { background: var(--bg-alt); }

.products h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow var(--transition), transform var(--transition);
}

.games-section .product-card { background: var(--bg-alt); }
.tools-section .product-card { background: var(--bg); }

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.product-icon { font-size: 32px; margin-bottom: 14px; }
.product-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.product-card p { color: var(--ink-mid); font-size: 15px; margin-bottom: 16px; }

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-live { background: #d4edda; color: #1a6630; }
.badge-soon { background: #fff3cd; color: #856404; }

/* ─── Contact ──────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  text-align: center;
  background: var(--ink);
  color: #fff;
}

.contact .section-label { color: var(--teal); }

.contact h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.contact p {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  margin-bottom: 36px;
}

.contact .btn-primary {
  background: var(--teal);
  font-size: 16px;
  padding: 14px 32px;
}
.contact .btn-primary:hover { background: #23a38c; }

/* ─── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
}

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

footer .logo-text { color: rgba(255,255,255,0.7); font-size: 14px; }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }

  .hero { padding: 80px 0 64px; }

  .about h2,
  .products h2 { letter-spacing: -0.5px; }

  .about > .container > p { font-size: 16px; }
}
