:root {
  --bg: #08111f;
  --panel: #101c2f;
  --panel-2: #14243a;
  --text: #edf5ff;
  --muted: #a9b8cc;
  --line: #243653;
  --accent: #61dafb;
  --accent-2: #8b5cf6;
  --ok: #35d399;
  --warn: #fbbf24;
  --danger: #fb7185;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(97, 218, 251, 0.14), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(139, 92, 246, 0.18), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.18rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06101f;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(97, 218, 251, 0.34);
  background: linear-gradient(135deg, rgba(97,218,251,0.16), rgba(139,92,246,0.14));
  color: var(--text);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(97, 218, 251, 0.08);
}

.hero { padding: 88px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); max-width: 860px; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); margin: 0 0 18px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 720px; color: #c5d5eb; }

.hero-card, .card, .notice {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 24px; }

.search-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  margin: 24px 0;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 1rem;
}
.search-box button { border: 0; cursor: pointer; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.stat { background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px; }
.stat strong { display: block; font-size: 1.42rem; color: var(--text); }
.stat span { color: var(--muted); font-size: 0.88rem; }

.section { padding: 66px 0; }
.section-title { max-width: 760px; margin-bottom: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { padding: 24px; }
.card .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(97,218,251,0.12); color: var(--accent); margin-bottom: 16px; font-weight: 900; }

.timeline { border-left: 1px solid var(--line); padding-left: 24px; }
.timeline-item { position: relative; margin-bottom: 26px; }
.timeline-item::before { content: ""; position: absolute; left: -31px; top: 5px; width: 12px; height: 12px; background: var(--accent); border-radius: 999px; box-shadow: 0 0 0 5px rgba(97,218,251,0.12); }

.notice { padding: 28px; border-color: rgba(251,191,36,0.28); background: rgba(251,191,36,0.06); }
.kicker { color: var(--warn); font-weight: 800; }

.code-panel {
  background: #050b14;
  border: 1px solid var(--line);
  color: #c8f7dc;
  border-radius: 16px;
  padding: 20px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

.list { padding-left: 20px; color: var(--muted); }
.list li { margin-bottom: 10px; }

.footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 34px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.resource-card { display: flex; gap: 16px; align-items: flex-start; }
.resource-thumb { min-width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, rgba(97,218,251,0.18), rgba(139,92,246,0.18)); display: grid; place-items: center; font-weight: 900; color: var(--accent); }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .stats { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
}
