:root {
  --header: #020b16;
  --surface: #152f52;
  --blue: #1473e6;
  --blue-bright: #2f8cff;
  --blue-light: #65b3ff;
  --orange: #ff6600;
  --ink: #ffffff;
  --muted: #b8c7d9;
  --line: rgb(100 179 255 / 0.25);
  --bg: #0a1a2e;
  --card: rgb(21 47 82 / 0.82);
  --radius: 16px;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Poppins", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
a { color: inherit; }
img { max-width: 100%; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px;
  background: rgb(2 11 22 / 0.95);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 72px; width: auto; }
.brand span { font-weight: 700; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a, .btn {
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav a { color: rgb(255 255 255 / 0.82); }
.nav a:hover, .nav a.active { color: var(--blue-light); background: rgb(255 255 255 / 0.08); }
.btn-orange {
  background: var(--orange);
  color: var(--header);
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 30px -12px rgb(255 102 0 / 0.7);
}
.btn-ghost { border: 1px solid rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.08); color: white; }

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(2 11 22 / 0.95), rgb(2 11 22 / 0.78) 55%, rgb(2 11 22 / 0.4)),
    radial-gradient(circle at 30% 50%, rgb(47 140 255 / 0.35), transparent 60%);
}
.hero .copy { position: relative; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0; }
.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.06);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
}
.dot { width: 6px; height: 6px; border-radius: 99px; background: var(--blue-bright); }
.hero h1 { max-width: 820px; margin: 18px 0 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.05; }
.accent {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { max-width: 680px; color: rgb(255 255 255 / 0.82); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions a { text-decoration: none; border-radius: 12px; padding: 14px 18px; font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; max-width: 760px; }
.fact { display: flex; gap: 10px; align-items: center; border: 1px solid rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.05); border-radius: 12px; padding: 14px; }

.section { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 80px; }
.kicker { color: var(--blue-light); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 40px -24px rgb(2 11 22 / 0.8);
}
.card h2 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }
.empty { border-style: dashed; text-align: center; padding: 40px 24px; }

.admin { width: min(1120px, calc(100% - 48px)); margin: 28px auto 64px; display: grid; grid-template-columns: 220px 1fr; gap: 22px; }
.side { position: sticky; top: 108px; align-self: start; display: grid; gap: 6px; padding: 8px; }
.side a { text-decoration: none; border-radius: 12px; padding: 10px 12px; color: rgb(255 255 255 / 0.82); font-weight: 700; }
.side a.active, .side a:hover { background: var(--orange); color: var(--header); }
.panel h1 { margin-top: 0; }
label { display: grid; gap: 6px; font-size: 14px; margin-bottom: 10px; }
input, textarea, select {
  font: inherit;
  color: white;
  background: rgb(10 26 46 / 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.check { display: flex; gap: 8px; align-items: center; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.danger { background: rgb(248 113 113 / 0.15); color: #fecaca; border: 0; border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.ok { background: rgb(16 185 129 / 0.16); color: #bbf7d0; border-radius: 12px; padding: 12px 14px; }
.error { color: #fecaca; margin: 0 0 8px; }
.badge { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.pub { background: rgb(16 185 129 / 0.16); color: #6ee7b7; }
.hide { background: rgb(245 158 11 / 0.16); color: #fcd34d; }
.foot { border-top: 1px solid rgb(255 255 255 / 0.08); color: var(--muted); padding: 28px; text-align: center; }
.login { width: min(460px, calc(100% - 32px)); margin: 48px auto; }

@media (max-width: 860px) {
  .nav .hide-sm { display: none; }
  .facts, .admin { grid-template-columns: 1fr; }
  .side { position: static; }
  .brand img { height: 56px; }
}
