:root{
  --bg0:#07070b;
  --bg1:#0c0c14;
  --card:#0f1020cc;
  --stroke:#ffffff14;
  --stroke2:#ffffff1f;

  --text:#f2f3ff;
  --muted:#b7b9d6;

  --accent:#ff2d55;
  --accent2:#ff6b8f;

  --ok:#41d07a;
  --warn:#f6c85f;

  --shadow: 0 20px 70px #00000080;
  --radius:18px;
  --radius2:22px;
  --max:1120px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background: radial-gradient(1200px 800px at 20% 10%, #1b0d1d 0%, transparent 60%),
              radial-gradient(1000px 800px at 80% 20%, #111a2a 0%, transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(700px 300px at 50% 0%, #ff2d5520 0%, transparent 65%),
    radial-gradient(600px 400px at 90% 30%, #6aa8ff15 0%, transparent 60%),
    radial-gradient(600px 400px at 10% 40%, #41d07a12 0%, transparent 60%);
  filter: blur(0px);
  opacity:.9;
}

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

.mono{ font-family:var(--mono); }
.muted{ color:var(--muted); }
.spacer{ flex:1; }

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, #080814cc, #08081466);
  border-bottom: 1px solid var(--stroke);
}
.topbar__inner{
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
}
.brand__mark{
  width:40px; height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.5px;
  background: linear-gradient(135deg, var(--accent), #7a2cff);
  box-shadow: 0 10px 30px #ff2d5530;
}
.brand__text{ display:flex; flex-direction:column; line-height:1.05; }
.brand__name{ font-weight:800; }
.brand__tag{ font-size:12px; color:var(--muted); margin-top:2px; }

.nav{
  display:flex;
  gap:10px;
  margin-left:14px;
}
.nav__link{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  transition: .18s ease;
}
.nav__link:hover{ color:var(--text); background:#ffffff0f; }
.nav__link.is-active{
  color:var(--text);
  background:#ffffff12;
  border:1px solid var(--stroke);
}

.topbar__actions{
  margin-left:auto;
  display:flex;
  gap:10px;
}

.iconbtn{
  display:none;
  margin-left:auto;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:#ffffff0b;
  cursor:pointer;
}
.iconbtn__bar{
  display:block;
  width:18px;
  height:2px;
  background:#ffffffcc;
  margin:4px auto;
  border-radius:2px;
}

.btn{
  border:1px solid var(--stroke);
  background:#ffffff0b;
  color:var(--text);
  padding:10px 14px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
  transition: .18s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: var(--stroke2); }
.btn:active{ transform: translateY(0px); }

.btn--primary{
  border-color: #ff2d5540;
  background: linear-gradient(135deg, #ff2d55, #7a2cff);
  box-shadow: 0 14px 45px #ff2d5520;
}
.btn--ghost{ background:#ffffff08; }
.btn--sm{ padding:7px 10px; border-radius:12px; font-size:13px; }

.hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  padding: 30px 0 18px;
  align-items:stretch;
}

.hero__copy{
  padding: 14px 0;
}
.hero__title{
  font-size: 44px;
  letter-spacing:-.7px;
  margin: 10px 0 10px;
}
.hero__subtitle{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:60ch;
}
.hero__cta{
  display:flex;
  gap:12px;
  margin-top:18px;
}
.hero__stats{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.stat{
  border:1px solid var(--stroke);
  background:#ffffff08;
  border-radius:16px;
  padding:10px 12px;
  min-width:140px;
}
.stat__value{ font-weight:900; font-size:18px; }
.stat__label{ color:var(--muted); font-size:12px; margin-top:2px; }

.card{
  border:1px solid var(--stroke);
  background: var(--card);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card--glow{
  box-shadow: 0 30px 90px #00000090, 0 0 0 1px #ffffff0f inset;
}
.card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 16px 16px 12px;
  border-bottom:1px solid var(--stroke);
}
.card__title{ font-weight:900; }
.card__hint{ color:var(--muted); font-size:12px; margin-top:2px; }
.card__foot{
  padding: 12px 16px 16px;
  border-top:1px solid var(--stroke);
}

.pill{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#ffffff0b;
  color:var(--muted);
}
.pill--ok{
  color:#d9ffe9;
  border-color:#41d07a40;
  background:#41d07a18;
}
.pill--warn{
  color:#fff2cc;
  border-color:#f6c85f40;
  background:#f6c85f18;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  padding: 14px 16px 16px;
}
.tile{
  display:flex;
  gap:12px;
  align-items:center;
  text-align:left;
  border:1px solid var(--stroke);
  background:#ffffff08;
  border-radius:18px;
  padding:12px 12px;
  cursor:pointer;
  transition:.18s ease;
}
.tile:hover{
  transform: translateY(-1px);
  border-color:var(--stroke2);
  background:#ffffff0c;
}
.tile__icon{
  width:40px; height:40px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#ffffff10;
  border:1px solid var(--stroke);
}
.tile__title{ font-weight:900; }
.tile__sub{ color:var(--muted); font-size:12px; margin-top:2px; }

.section{ padding: 18px 0 6px; }
.section__head{
  margin: 10px 0 12px;
}
.section__title{
  margin:0;
  font-size:22px;
  letter-spacing:-.3px;
}
.section__subtitle{
  margin:6px 0 0;
  color:var(--muted);
}

.table{
  width:100%;
}
.table__row{
  display:grid;
  grid-template-columns: 1.2fr 1.4fr 1fr .6fr .9fr 1fr;
  gap:12px;
  padding: 12px 16px;
  border-top:1px solid var(--stroke);
  align-items:center;
}
.table__row--head{
  border-top:none;
  font-size:12px;
  color:var(--muted);
  background:#ffffff06;
  font-weight:800;
}
.table__actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
}

.timeline{
  padding: 6px 0;
}
.event{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px 16px;
  border-top:1px solid var(--stroke);
}
.event:first-child{ border-top:none; }
.event__dot{
  width:10px; height:10px;
  border-radius:99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px #ff2d5522;
}
.event__body{ min-width:0; }
.event__title{ font-weight:900; }
.event__meta{ font-size:12px; color:var(--muted); margin-top:2px; }

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

.form{ padding: 14px 16px 16px; display:flex; flex-direction:column; gap:12px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field__label{ font-size:12px; color:var(--muted); font-weight:800; }
.input{
  width:100%;
  padding: 10px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:#0b0b16;
  color:var(--text);
  outline:none;
}
.input:focus{ border-color:#ff2d5550; box-shadow: 0 0 0 4px #ff2d5515; }

.statusbox{ padding: 14px 16px 16px; display:flex; flex-direction:column; gap:10px; }
.statusline{ display:flex; align-items:center; gap:10px; padding:10px 10px; border:1px solid var(--stroke); border-radius:16px; background:#ffffff08; }
.statusdot{ width:10px; height:10px; border-radius:99px; background:#ffffff33; }
.statusdot--ok{ background: var(--ok); box-shadow: 0 0 0 4px #41d07a22; }
.statusdot--warn{ background: var(--warn); box-shadow: 0 0 0 4px #f6c85f22; }

.footer{
  padding: 26px 0 40px;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid var(--stroke);
  padding-top:16px;
}
.footer__links{ display:flex; gap:12px; }
.link{ color:var(--muted); text-decoration:none; font-weight:700; font-size:13px; }
.link:hover{ color:var(--text); }

/* Responsive */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav{ display:none; }
  .topbar__actions{ display:none; }
  .iconbtn{ display:block; }
  .hero__title{ font-size: 36px; }
  .grid{ grid-template-columns: 1fr; }
  .table__row{ grid-template-columns: 1fr; gap:6px; }
  .table__actions{ justify-content:flex-start; }
}