:root{
  --bg:#070A12;
  --panel:#0B1020;
  --panel2:#0E1630;
  --stroke:rgba(255,255,255,.08);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);
  --muted2:rgba(255,255,255,.42);
  --brand:#4DA3FF;
  --brand2:#6C5CE7;
  --good:#33d69f;
  --bad:#ff5c7a;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 28px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(900px 600px at 70% -10%, rgba(77,163,255,.22), transparent 60%),
    radial-gradient(800px 500px at 15% 5%, rgba(108,92,231,.16), transparent 55%),
    radial-gradient(900px 700px at 50% 120%, rgba(77,163,255,.10), transparent 60%),
    linear-gradient(180deg, #050711 0%, #070A12 60%, #050711 100%);
}

a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92%); margin:0 auto}

.btn{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  color:var(--text);
  padding:12px 16px;
  border-radius:14px;
  cursor:pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}
.btn:hover{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14)}
.btn:active{ transform: translateY(1px) }
.btn.primary{
  border:none;
  background: linear-gradient(135deg, rgba(77,163,255,1) 0%, rgba(108,92,231,1) 100%);
  color:#081022;
}
.btn.primary:hover{ filter:brightness(1.06) }

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}

.nav{
  position:sticky; top:0; z-index:40;
  backdrop-filter: blur(14px);
  background: rgba(7,10,18,.65);
  border-bottom:1px solid var(--stroke);
}
.nav-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.3px;
}
.logo{
  width:36px;height:36px;border-radius:12px;
  background: linear-gradient(135deg, rgba(77,163,255,1) 0%, rgba(108,92,231,1) 100%);
  box-shadow: 0 12px 35px rgba(77,163,255,.28);
}
.nav-links{
  display:flex; gap:18px;
  align-items:center;
  color:var(--muted);
  font-weight:600;
}
.nav-links a{padding:10px 10px; border-radius:12px}
.nav-links a:hover{background:rgba(255,255,255,.04); color:var(--text)}
.nav-actions{display:flex; gap:10px; align-items:center}

.hero{
  padding:74px 0 46px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:34px;
  align-items:center;
}
@media (max-width: 960px){
  .hero-grid{ grid-template-columns:1fr; }
}
.h-title{
  font-size: clamp(40px, 4.3vw, 66px);
  line-height:1.02;
  margin:16px 0 14px;
  letter-spacing:-.02em;
}
.h-title .accent{
  background: linear-gradient(135deg, rgba(77,163,255,1) 0%, rgba(108,92,231,1) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.h-sub{
  color:var(--muted);
  font-size: 16px;
  line-height:1.6;
  max-width: 56ch;
}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:22px}
.stats{
  display:flex; gap:22px; flex-wrap:wrap;
  margin-top:28px;
  color:var(--muted);
}
.stat{
  padding:14px 16px;
  border:1px solid var(--stroke);
  border-radius:16px;
  background: rgba(255,255,255,.03);
  min-width: 160px;
}
.stat b{display:block; color:var(--text); font-size:22px; margin-bottom:6px}

.panel{
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%);
  box-shadow: var(--shadow2);
}
.panel-pad{ padding:22px; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 960px){ .grid-3{grid-template-columns:1fr} }

.card{
  border:1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(10,16,32,.70);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.card .card-h{
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--stroke);
}
.card .card-b{padding:16px}
.badge{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(77,163,255,.12);
  border:1px solid rgba(77,163,255,.20);
  color: rgba(190,220,255,.95);
  font-size:12px;
  font-weight:700;
}

.input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
.input:focus{ border-color: rgba(77,163,255,.45) }

.row{display:flex; gap:12px}
.row > *{flex:1}
.muted{color:var(--muted)}
.small{font-size:13px; color:var(--muted)}
.sep{height:1px; background:var(--stroke); margin:14px 0}

.footer{
  padding:40px 0 54px;
  color:var(--muted2);
  border-top:1px solid var(--stroke);
  margin-top:44px;
}

.modal-backdrop{
  position:fixed; inset:0; z-index:80;
  background: rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.modal{
  width:min(520px, 100%);
  border:1px solid var(--stroke);
  border-radius: 22px;
  background: rgba(9,13,25,.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.modal-h{
  padding:18px 18px 12px;
  display:flex; align-items:center; justify-content:space-between;
}
.modal-b{ padding: 0 18px 18px; }
.x{
  border:none;
  background: transparent;
  color: var(--muted);
  font-size:20px;
  cursor:pointer;
}
.x:hover{ color: var(--text) }

/* App shell */
.shell{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:16px;
  padding:16px 0 40px;
}
@media (max-width: 980px){
  .shell{ grid-template-columns: 1fr; }
}
.sidebar{
  position:sticky; top:88px;
  align-self:start;
  padding:14px;
}
.side-link{
  display:flex; gap:12px; align-items:center;
  padding:12px 12px;
  border-radius:14px;
  color:var(--muted);
  font-weight:700;
}
.side-link:hover{ background: rgba(255,255,255,.04); color: var(--text) }
.side-link.active{ background: rgba(77,163,255,.10); border:1px solid rgba(77,163,255,.20); color: rgba(210,230,255,.98) }

.main{
  padding:0;
}
.h2{font-size:28px; margin:0 0 6px}
.subh{color:var(--muted); margin:0 0 16px; line-height:1.55}
.toolbar{
  display:flex; gap:12px; flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin: 8px 0 14px;
}
.toolbar .left{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.table{
  width:100%;
  border-collapse: collapse;
}
.table th,.table td{
  padding:12px 10px;
  border-bottom:1px solid var(--stroke);
  text-align:left;
  font-size:14px;
}
.table th{color:var(--muted); font-weight:800; letter-spacing:.02em}
.switch{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  padding:8px 10px;
  min-width: 108px;
  display:inline-flex;
  justify-content:center;
  font-weight:800;
}
.switch.on{
  border-color: rgba(51,214,159,.30);
  background: rgba(51,214,159,.10);
  color: rgba(210,255,238,.95);
}
.switch.off{
  border-color: rgba(255,92,122,.25);
  background: rgba(255,92,122,.08);
  color: rgba(255,220,228,.92);
}

/* fullport wordmark */
.wordmark{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:-.02em;
}
.wordmark .mark{
  width:30px;
  height:30px;
  object-fit:contain;
  display:block;
}
.wordmark .full{ color: rgba(255,255,255,.96); }
.wordmark .port{ color: #2D7DFF; }

/* centered hero brand */
.hero-center{
  padding:140px 0 120px;
  text-align:center;
}
.hero-center .bigmark{
  width:92px;
  height:92px;
  object-fit:contain;
  margin:0 auto 18px;
  filter: drop-shadow(0 24px 60px rgba(45,125,255,.22));
}
.hero-center .brandline{
  font-size: clamp(44px, 6vw, 84px);
  line-height:1;
  margin: 10px 0 0;
}

/* Global word split (works anywhere, not only in .wordmark) */
.full { color: rgba(255,255,255,.96); }
.port { color: #2D7DFF; }

/* True center area under the nav */
.hero-center{
  min-height: calc(100vh - 72px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  text-align:center;
}
.hero-center .container{
  display:flex;
  align-items:center;
  justify-content:center;
}
