:root{
  --bg:#0b1220;
  --card:#101a33;
  --text:#e9eefc;
  --muted:#b7c3e6;
  --line:rgba(255,255,255,.12);
  --accent:#27d3a2;
  --accent2:#4aa3ff;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius:16px;
  --max:1100px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  color:var(--text);
  background: radial-gradient(1000px 600px at 20% 0%, rgba(74,163,255,.18), transparent 60%),
              radial-gradient(900px 600px at 80% 10%, rgba(39,211,162,.18), transparent 60%),
              var(--bg);
  line-height:1.5;
}
a{color:inherit; text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}

.topbar{
  border-bottom:1px solid var(--line);
  background: rgba(11,18,32,.75);
  backdrop-filter: blur(10px);
}
.topbar .row{
  display:flex; gap:14px; align-items:center; justify-content:space-between;
  padding:10px 0;
  flex-wrap:wrap;
}
.meta{
  display:flex; gap:12px; align-items:center; flex-wrap:wrap;
  color:var(--muted); font-size:14px;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line);
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
}
.cta{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#071018;
  font-weight:800;
  box-shadow: var(--shadow);
  border:0;
  cursor:pointer;
  white-space:nowrap;
}
.ghost{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:800;
}

header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.65);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.4px;
}
.logo{
  width:36px; height:36px; border-radius:10px;
  background: linear-gradient(135deg, rgba(39,211,162,.9), rgba(74,163,255,.9));
  box-shadow: var(--shadow);
}
.menu{display:flex; gap:10px; align-items:center}
.menu > .item{position:relative}
.link{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 10px; border-radius:12px;
  color:var(--muted);
}
.link:hover{background: rgba(255,255,255,.05); color:var(--text)}
.link.active{background: rgba(255,255,255,.08); color:var(--text)}
.caret{opacity:.8; font-size:12px}
.dropdown{
  position:absolute; top:44px; left:0;
  min-width:260px;
  background: rgba(16,26,51,.92);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow: var(--shadow);
  padding:8px;
  display:none;
}
.item:hover .dropdown{display:block}
.dd a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  color:var(--muted);
}
.dd a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.hamb{display:none}
@media (max-width: 920px){
  .menu{display:none}
  .hamb{display:inline-flex}
  .mobile{display:none; padding:10px 0 16px}
  .mobile.open{display:block}
  .mobile a{
    display:block; padding:12px 10px;
    border-radius:12px; color:var(--muted);
  }
  .mobile a:hover{background: rgba(255,255,255,.05); color:var(--text)}
  .mobile a.active{background: rgba(255,255,255,.08); color:var(--text)}
}

.card{
  background: rgba(16,26,51,.7);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero{padding:42px 0 22px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 920px){ .hero-grid{grid-template-columns:1fr} }
.hero .card{padding:22px}
h1{margin:0 0 10px; font-size:40px; line-height:1.15}
@media (max-width: 520px){ h1{font-size:32px} }
.lead{color:var(--muted); font-size:16px; margin:0 0 16px}
.actions{display:flex; gap:10px; flex-wrap:wrap}

.section{padding:18px 0}
.grid3{display:grid; grid-template-columns:repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns:repeat(2, 1fr); gap:14px}
@media (max-width: 920px){ .grid3,.grid2{grid-template-columns:1fr} }
.box{padding:18px}
.box h3{margin:0 0 8px}
.box p{margin:0; color:var(--muted)}
.badge{
  display:inline-flex; align-items:center;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:12px;
  background: rgba(255,255,255,.04);
  margin-bottom:10px;
}
.small{font-size:13px; color:var(--muted)}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--line);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  text-align:left;
}
.table th{color:var(--text); background: rgba(255,255,255,.04)}
.table tr:last-child td{border-bottom:0}

.form{
  display:grid; gap:10px;
}
.input, .textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}
.textarea{min-height:130px; resize:vertical}

footer{
  margin-top:22px;
  padding:18px 0 30px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
}
footer .row{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
