/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; background: #f4f6f9; color: #1a1a2e; }

/* ── Variables ─────────────────────────────────────── */
:root {
  --navy:   #1a1a2e;
  --navy2:  #2d2d4e;
  --blue:   #3b82f6;
  --green:  #22c55e;
  --red:    #dc2626;
  --slate:  #64748b;
  --light:  #f8fafc;
  --border: #e8edf3;
  --border2:#e2e8f0;
  --muted:  #94a3b8;
}

/* ── Nav ───────────────────────────────────────────── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100; height: 60px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-weight: 800; font-size: 1rem; color: var(--navy);
  text-decoration: none; letter-spacing: .03em;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: .875rem; color: var(--slate);
  text-decoration: none; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-right { display: flex; gap: .75rem; align-items: center; }
.nav-lang { display: flex; gap: .35rem; align-items: center; font-size: .775rem; font-weight: 600; }
.nav-lang a { text-decoration: none; }
.nav-lang span { color: var(--border2); }
.btn-nav-cta {
  background: var(--navy); color: #fff;
  padding: .45rem 1.1rem; border-radius: 7px;
  font-size: .825rem; font-weight: 700; text-decoration: none;
}
.btn-nav-cta:hover { background: var(--navy2); }
.btn-nav-ghost {
  background: transparent; color: var(--slate);
  border: 1px solid var(--border2); padding: .45rem 1rem;
  border-radius: 7px; font-size: .825rem; font-weight: 500; text-decoration: none;
}
.btn-nav-ghost:hover { border-color: #cbd5e1; color: var(--navy); }
.avatar { width: 30px; height: 30px; border-radius: 50%; }
.username { font-size: .825rem; color: var(--slate); font-weight: 500; }

/* ── Footer ────────────────────────────────────────── */
footer { background: var(--navy); color: var(--muted); padding: 3.5rem 0 2rem; margin-top: 5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand p { font-size: .825rem; line-height: 1.6; color: #64748b; margin-top: .6rem; max-width: 220px; }
.footer-brand .logo { font-weight: 800; font-size: .95rem; color: #fff; }
.footer-col h4 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: #fff; margin-bottom: .85rem;
}
.footer-col a { display: block; font-size: .8rem; color: #64748b; text-decoration: none; margin-bottom: .4rem; }
.footer-col a:hover { color: #e2e8f0; }
.footer-bottom {
  border-top: 1px solid #2d3748; padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .775rem; color: #475569; }
.footer-bottom a { color: #475569; text-decoration: none; font-size: .775rem; }
.footer-bottom a:hover { color: var(--muted); }

/* ── Shared page components ────────────────────────── */
.page-hero {
  background: #fff; text-align: center;
  padding: 3.5rem 1.5rem 3rem; border-bottom: 1px solid var(--border);
}
.page-badge {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .25rem .8rem; border-radius: 99px; margin-bottom: .85rem;
}
.page-hero h1 { font-size: 2.25rem; font-weight: 800; color: #0f172a; margin-bottom: .5rem; }
.page-hero p { color: var(--slate); font-size: .925rem; }

.section { max-width: 1100px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.section-narrow { max-width: 900px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }

.section-label {
  display: inline-block; background: #eff6ff; color: var(--blue);
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; padding: .25rem .75rem; border-radius: 99px; margin-bottom: .75rem;
}
.section-title { font-size: 1.75rem; font-weight: 800; color: #0f172a; margin-bottom: .5rem; }
.section-sub { color: var(--slate); font-size: .925rem; margin-bottom: 2.5rem; }

.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; border-radius: 8px; font-size: .825rem; font-weight: 600; cursor: pointer; border: none; text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy2); }
.btn-ghost { background: var(--light); color: #475569; border: 1px solid var(--border2); }
.btn-ghost:hover { border-color: #cbd5e1; color: var(--navy); }

.badge-available { background: #dcfce7; color: #16a34a; }
.badge-soon      { background: #fef3c7; color: #d97706; }
.badge-wip       { background: #fff7ed; border: 1px solid #fed7aa; color: #ea580c; }
.badge-hosted    { background: #eff6ff; border: 1px solid #bfdbfe; color: var(--blue); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
