@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05080d;
  --bg-soft: #080d15;
  --panel: rgba(13, 20, 32, 0.78);
  --panel-solid: #0c131f;
  --panel-2: #101a29;
  --line: rgba(137, 165, 203, 0.14);
  --line-strong: rgba(137, 165, 203, 0.26);
  --text: #eef4ff;
  --muted: #8b9bb4;
  --muted-2: #64748b;
  --mint: #4be3b0;
  --mint-soft: rgba(75, 227, 176, 0.12);
  --blue: #5b8cff;
  --blue-soft: rgba(91, 140, 255, 0.14);
  --amber: #ffc857;
  --red: #ff6b7a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(1200px 800px at 78% -10%, rgba(91, 140, 255, 0.12), transparent 60%),
    radial-gradient(900px 700px at 8% 8%, rgba(75, 227, 176, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(75, 227, 176, 0.28); color: #fff; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(5, 8, 13, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(5, 8, 13, 0.86); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.03em; font-size: 18px; }
.brand svg { width: 30px; height: 30px; }
.brand span b { color: var(--mint); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: 12px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s ease; }
.nav a:hover, .nav a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--panel); border-radius: 12px; color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 19px; border-radius: 11px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03); color: var(--text);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(137, 165, 203, 0.42); background: rgba(255, 255, 255, 0.055); }
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--mint), #43d7c4 55%, #58a9ff);
  border-color: transparent; color: #04110d;
  box-shadow: 0 10px 30px rgba(75, 227, 176, 0.18);
}
.btn-primary:hover { background: linear-gradient(135deg, #62f0c1, #50e0ce 55%, #6cb3ff); box-shadow: 0 14px 36px rgba(75, 227, 176, 0.28); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 36px; padding: 0 13px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-danger { color: #ffd8dd; border-color: rgba(255, 107, 122, .35); background: rgba(255, 107, 122, .08); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 92px 0 70px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -12% auto auto; width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.14) 0%, transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(rgba(137, 165, 203, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 165, 203, .13) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, #000 0%, transparent 72%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(13, 20, 32, .7);
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(75, 227, 176, .13); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(75, 227, 176, .13); } 50% { box-shadow: 0 0 0 7px rgba(75, 227, 176, .02); } }
.hero h1 {
  margin: 24px 0 20px; font-size: clamp(44px, 5.6vw, 76px); line-height: .99;
  letter-spacing: -.055em; font-weight: 700;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #eef4ff 8%, #9fe9d1 42%, #7fb0ff 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 530px; color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted-2); font-size: 12.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--mint); }

.console-wrap { position: relative; }
.console-wrap::before {
  content: ""; position: absolute; inset: 12% 4% -8% 12%;
  background: linear-gradient(135deg, rgba(75, 227, 176, .22), rgba(91, 140, 255, .2));
  filter: blur(44px); border-radius: 40px; z-index: 0;
}
.console {
  position: relative; z-index: 1; border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(160deg, rgba(16, 26, 41, .96), rgba(8, 13, 21, .96));
  box-shadow: var(--shadow); overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #263347; }
.dot.r { background: #3a2430; } .dot.y { background: #3a3424; } .dot.g { background: #1d3b32; }
.console-title { margin-left: 8px; letter-spacing: .02em; }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--mint); font-size: 11px; font-weight: 600; }
.console-body { padding: 20px; }
.console-host { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.host-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-soft); border: 1px solid rgba(75, 227, 176, .2); color: var(--mint); }
.host-icon svg { width: 21px; height: 21px; }
.host-name { font-weight: 650; letter-spacing: -.02em; }
.host-meta { color: var(--muted-2); font-size: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.badge-ok { color: var(--mint); background: var(--mint-soft); border: 1px solid rgba(75, 227, 176, .2); }
.badge-warn { color: var(--amber); background: rgba(255, 200, 87, .1); border: 1px solid rgba(255, 200, 87, .2); }
.badge-off { color: var(--muted); background: rgba(139, 155, 180, .08); border: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 18px; }
.metric { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: rgba(255, 255, 255, .018); }
.metric-label { color: var(--muted-2); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.metric-value { font-size: 19px; font-weight: 650; letter-spacing: -.03em; margin-top: 4px; }
.metric-value small { color: var(--muted); font-size: 11px; font-weight: 500; }
.graph { height: 82px; display: flex; align-items: flex-end; gap: 4px; padding: 10px 2px 0; border-bottom: 1px solid var(--line); }
.graph i { display: block; flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(75, 227, 176, .85), rgba(75, 227, 176, .1)); opacity: .85; }
.graph i:nth-child(3n) { background: linear-gradient(180deg, rgba(91, 140, 255, .8), rgba(91, 140, 255, .08)); }
.console-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; color: var(--muted-2); font-size: 11.5px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 10.5px; color: var(--muted); background: rgba(255, 255, 255, .02); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px;
  padding: 10px 13px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(10, 16, 26, .93); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); font-size: 12px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card svg { width: 16px; height: 16px; color: var(--mint); }
.float-a { right: -16px; top: 13%; }
.float-b { left: -22px; bottom: 12%; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- sections ---------- */
.section { padding: 86px 0; position: relative; }
.section-tight { padding: 58px 0; }
.section-head { max-width: 650px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--mint); opacity: .7; }
.section h2 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.045em; font-weight: 700; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }
.section-head.center p { margin-inline: auto; max-width: 560px; }

.logo-cloud { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-cloud span { color: var(--muted-2); font-size: 13px; }
.logo-cloud strong { color: rgba(238, 244, 255, .58); font-size: 15px; letter-spacing: -.02em; font-weight: 650; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature {
  position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
  overflow: hidden; transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-strong); background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.feature::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(75, 227, 176, .1), transparent 65%); }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); color: var(--mint); margin-bottom: 18px; }
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.025em; font-weight: 650; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.stat { padding: 26px; background: var(--panel-solid); }
.stat-value { font-size: 32px; font-weight: 700; letter-spacing: -.04em; }
.stat-value span { color: var(--mint); }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- pricing ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin-bottom: 28px; }
.billing-toggle button { border: 0; background: transparent; color: var(--muted); padding: 8px 14px; border-radius: 7px; font-size: 13px; font-weight: 600; }
.billing-toggle button.active { background: rgba(255, 255, 255, .07); color: var(--text); }
.save-tag { color: var(--mint); font-size: 11px; margin-left: 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.plan.popular { border-color: rgba(75, 227, 176, .35); background: linear-gradient(180deg, rgba(75, 227, 176, .07), rgba(13, 20, 32, .75) 34%); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.plan-tag { position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #052117; background: var(--mint); padding: 5px 8px; border-radius: 6px; }
.plan h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.03em; }
.plan > p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.price { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 4px; }
.price strong { font-size: 42px; line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.price span { color: var(--muted); font-size: 13px; padding-bottom: 4px; }
.price-note { color: var(--muted-2); font-size: 12px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; color: var(--muted); font-size: 13.5px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: var(--mint); }
.plan .btn { margin-top: auto; }
.plan-foot { color: var(--muted-2); font-size: 11.5px; margin-top: 12px; text-align: center; }

/* ---------- network ---------- */
.network-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.network-visual { position: relative; min-height: 360px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 50% 45%, rgba(91, 140, 255, .12), transparent 58%), var(--panel-solid); overflow: hidden; }
.network-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(137, 165, 203, .28) 1px, transparent 1px); background-size: 22px 22px; opacity: .35; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%); }
.globe { position: absolute; left: 50%; top: 50%; width: 280px; height: 280px; transform: translate(-50%, -50%); border: 1px solid rgba(91, 140, 255, .28); border-radius: 50%; }
.globe::before, .globe::after { content: ""; position: absolute; border: 1px solid rgba(91, 140, 255, .18); border-radius: 50%; inset: 34px; }
.globe::after { inset: 72px; }
.globe-line { position: absolute; left: 50%; top: 50%; width: 280px; height: 1px; background: linear-gradient(90deg, transparent, rgba(75, 227, 176, .35), transparent); transform: translate(-50%, -50%) rotate(-24deg); }
.node-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(75, 227, 176, .1); }
.node-dot.n1 { left: 30%; top: 27%; } .node-dot.n2 { right: 25%; top: 37%; } .node-dot.n3 { left: 40%; bottom: 22%; } .node-dot.n4 { right: 32%; bottom: 29%; background: var(--blue); box-shadow: 0 0 0 5px rgba(91, 140, 255, .1); }
.region-list { display: grid; gap: 8px; }
.region { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .018); font-size: 13.5px; }
.region-name { display: flex; align-items: center; gap: 9px; }
.flag { width: 20px; height: 14px; border-radius: 3px; background: linear-gradient(90deg, #2b3a52 50%, #1b2638 50%); border: 1px solid var(--line); display: inline-block; }
.ping { color: var(--muted-2); font-size: 11.5px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); display: inline-block; }

/* ---------- faq / cta ---------- */
.faq { display: grid; gap: 9px; max-width: 850px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-size: 14.5px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 17px; color: var(--muted); font-size: 13.5px; }
.cta-panel { position: relative; padding: 54px; border: 1px solid rgba(75, 227, 176, .22); border-radius: 24px; background: radial-gradient(700px 300px at 80% 0%, rgba(91, 140, 255, .14), transparent 60%), linear-gradient(150deg, rgba(75, 227, 176, .08), rgba(13, 20, 32, .8)); overflow: hidden; text-align: center; }
.cta-panel h2 { max-width: 600px; margin: 0 auto 14px; }
.cta-panel p { max-width: 520px; margin: 0 auto 26px; color: var(--muted); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; }

/* ---------- cookie bar ---------- */
.cookie-bar {
  position: fixed; left: 22px; bottom: 22px; z-index: 110;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  width: min(480px, calc(100% - 44px)); padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(10, 16, 26, .96); box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  color: var(--muted); font-size: 12px; line-height: 1.5;
  backdrop-filter: blur(12px);
}
.cookie-bar .btn { margin-left: auto; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 24px; margin-top: 30px; background: rgba(4, 7, 11, .6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 290px; margin: 14px 0 18px; }
.footer-col h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.footer-col a { display: block; color: var(--muted); font-size: 13px; padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted-2); font-size: 12px; }
.footer-status { display: inline-flex; align-items: center; gap: 7px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.pay-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pay-row span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; font-size: 10px; color: var(--muted-2); }

/* ---------- forms / auth ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; padding: 54px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: radial-gradient(700px 600px at 20% 20%, rgba(75, 227, 176, .09), transparent 60%), radial-gradient(700px 600px at 80% 80%, rgba(91, 140, 255, .12), transparent 60%), var(--bg-soft); overflow: hidden; }
.auth-aside::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(137, 165, 203, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(137, 165, 203, .09) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); pointer-events: none; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-copy { margin-top: auto; max-width: 440px; }
.auth-copy h2 { margin: 0 0 14px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.05em; }
.auth-copy p { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.auth-quote { border-left: 2px solid var(--mint); padding-left: 16px; color: var(--muted); font-size: 13px; }
.auth-quote strong { display: block; color: var(--text); margin-top: 8px; font-weight: 600; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: min(430px, 100%); }
.auth-card h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.04em; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.input {
  width: 100%; height: 46px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .025); color: var(--text); outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input:focus { border-color: rgba(75, 227, 176, .55); box-shadow: 0 0 0 3px rgba(75, 227, 176, .1); background: rgba(255, 255, 255, .04); }
.input::placeholder { color: #526077; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
textarea.input { height: auto; min-height: 100px; padding: 12px 13px; resize: vertical; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 20px; color: var(--muted); font-size: 12.5px; }
.check { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.check input { margin: 3px 0 0; accent-color: var(--mint); }
.link { color: var(--mint); font-weight: 600; }
.link:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-foot { margin-top: 24px; color: var(--muted); font-size: 13px; text-align: center; }
.form-error { display: none; margin: 0 0 14px; padding: 10px 12px; border: 1px solid rgba(255, 107, 122, .3); border-radius: 9px; background: rgba(255, 107, 122, .08); color: #ffb4bd; font-size: 12.5px; }
.form-error.show { display: block; }
.strength { display: flex; gap: 4px; margin-top: 7px; }
.strength i { height: 3px; flex: 1; border-radius: 2px; background: var(--line-strong); }
.strength i.on { background: var(--mint); }
.strength i.mid { background: var(--amber); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; color: var(--muted-2); font-size: 11.5px; }
.secure-note svg { width: 13px; height: 13px; color: var(--mint); }

/* ---------- dashboard ---------- */
.dash-body { background: #060a10; }
.dash { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 16px; border-right: 1px solid var(--line); background: rgba(7, 12, 19, .82); }
.sidebar .brand { padding: 0 8px; margin-bottom: 28px; }
.side-nav { display: grid; gap: 3px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 500; }
.side-nav a svg { width: 17px; height: 17px; opacity: .8; }
.side-nav a:hover { background: rgba(255, 255, 255, .035); color: var(--text); }
.side-nav a.active { background: var(--mint-soft); color: var(--mint); }
.side-nav .side-label { margin: 18px 11px 6px; color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.user-mini { display: flex; align-items: center; gap: 9px; padding: 6px 8px; }
.avatar { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint), var(--blue)); color: #06110d; font-size: 12px; font-weight: 700; }
.user-mini strong { display: block; font-size: 12.5px; line-height: 1.3; font-weight: 600; }
.user-mini span { display: block; color: var(--muted-2); font-size: 10.5px; }
.dash-main { min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 16px; height: 68px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(6, 10, 16, .7); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.dash-search { display: flex; align-items: center; gap: 8px; width: min(340px, 45%); height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted-2); font-size: 12.5px; background: rgba(255, 255, 255, .02); }
.dash-search svg { width: 15px; height: 15px; }
.dash-top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); }
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn svg { width: 16px; height: 16px; }
.dash-content { padding: 28px; max-width: 1320px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin: 0 0 4px; font-size: 25px; letter-spacing: -.04em; }
.page-head p { margin: 0; color: var(--muted); font-size: 13px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.kpi-label { color: var(--muted); font-size: 11.5px; display: flex; justify-content: space-between; gap: 8px; }
.kpi-value { font-size: 25px; letter-spacing: -.04em; font-weight: 700; margin: 6px 0 2px; }
.kpi-sub { color: var(--muted-2); font-size: 11px; }
.kpi-sub b { color: var(--mint); font-weight: 600; }
.panel-card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 14px; letter-spacing: -.02em; }
.panel-head .small { color: var(--muted-2); }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.data th { text-align: left; color: var(--muted-2); font-weight: 600; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 13px 18px; border-bottom: 1px solid rgba(137, 165, 203, .08); color: var(--muted); }
table.data tr:last-child td { border-bottom: 0; }
table.data td strong { color: var(--text); font-weight: 600; }
.server-name { display: flex; align-items: center; gap: 9px; }
.server-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.server-ico svg { width: 14px; height: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.status-pill.provisioning::before { background: var(--amber); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.dash-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; margin-top: 14px; }
.chart { padding: 18px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.chart-head h3 { margin: 0; font-size: 13px; }
.chart-head span { color: var(--muted-2); font-size: 11px; }
.bar-chart { display: flex; align-items: flex-end; gap: 3px; height: 130px; border-bottom: 1px solid var(--line); padding-top: 6px; }
.bar-chart i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, rgba(75, 227, 176, .7), rgba(75, 227, 176, .06)); }
.bar-chart i:nth-child(4n) { background: linear-gradient(180deg, rgba(91, 140, 255, .6), rgba(91, 140, 255, .05)); }
.chart-legend { display: flex; gap: 16px; padding-top: 12px; color: var(--muted-2); font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--mint); }
.legend-dot.blue { background: var(--blue); }
.info-list { display: grid; }
.info-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 18px; border-bottom: 1px solid rgba(137, 165, 203, .08); font-size: 12px; }
.info-row:last-child { border-bottom: 0; }
.info-row span { color: var(--muted-2); }
.info-row strong { font-weight: 600; }
.quick-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-foot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 24px 0 8px; color: var(--muted-2); font-size: 11px; }
.empty-state { padding: 40px 20px; text-align: center; color: var(--muted); }

/* modal / toast / chat */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(2, 5, 9, .72); backdrop-filter: blur(6px); }
.modal-backdrop.open { display: grid; }
.modal { width: min(520px, 100%); border: 1px solid var(--line-strong); border-radius: 18px; background: #0b121d; box-shadow: var(--shadow); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 17px; letter-spacing: -.03em; }
.modal-body { padding: 20px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 20px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(75, 227, 176, .3); border-radius: 10px; background: #0c1a18; color: var(--text); font-size: 12.5px; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 15px; height: 15px; color: var(--mint); }
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(75, 227, 176, .35); background: linear-gradient(135deg, #10251f, #0d1726); color: var(--mint); display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.chat-fab svg { width: 21px; height: 21px; }
.chat-panel { position: fixed; right: 22px; bottom: 82px; z-index: 80; width: min(340px, calc(100% - 44px)); border: 1px solid var(--line-strong); border-radius: 16px; background: #0b121d; box-shadow: var(--shadow); overflow: hidden; display: none; }
.chat-panel.open { display: block; }
.chat-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.chat-body { padding: 16px; display: grid; gap: 9px; max-height: 260px; overflow: auto; }
.chat-msg { padding: 9px 11px; border-radius: 9px; background: rgba(255, 255, 255, .035); color: var(--muted); font-size: 12px; line-height: 1.5; }
.chat-msg.me { background: var(--mint-soft); color: #b9f5e2; margin-left: 30px; }
.chat-input { display: flex; gap: 7px; padding: 11px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .03); padding: 0 9px; font-size: 12px; outline: none; }
.chat-input button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--mint); color: #04110d; display: grid; place-items: center; }

/* page hero for inner pages */
.page-hero { padding: 64px 0 34px; }
.page-hero h1 { margin: 14px 0 10px; font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -.05em; line-height: 1.03; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0; }
.status-banner { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid rgba(75, 227, 176, .25); border-radius: 13px; background: var(--mint-soft); color: var(--mint); font-weight: 600; font-size: 14px; }
.status-banner .badge { margin-left: auto; }
.component-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 18px; }
.component { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.component:last-child { border-bottom: 0; }
.uptime-bars { display: flex; gap: 2px; flex: 0 0 210px; }
.uptime-bars i { height: 18px; flex: 1; border-radius: 2px; background: rgba(75, 227, 176, .55); }
.uptime-bars i.warn { background: rgba(255, 200, 87, .55); }
.uptime-bars i.down { background: rgba(255, 107, 122, .55); }
.uptime-label { color: var(--muted-2); font-size: 11px; width: 58px; text-align: right; }
.incident { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; margin-top: 9px; background: var(--panel); }
.incident strong { display: block; font-size: 13px; margin-bottom: 4px; }
.incident p { margin: 0; color: var(--muted); font-size: 12.5px; }
.incident time { color: var(--muted-2); font-size: 11px; }

/* legal */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 32px 0 70px; }
.legal-wrap h2 { font-size: 21px; letter-spacing: -.03em; margin: 30px 0 10px; }
.legal-wrap p, .legal-wrap li { color: var(--muted); font-size: 14px; }
.legal-wrap ul { padding-left: 20px; }
.legal-meta { color: var(--muted-2); font-size: 12px; margin-bottom: 20px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .network-grid, .auth-page { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  .hero-grid { gap: 40px; }
  .console-wrap { max-width: 620px; }
  .feature-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan.popular { transform: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .auth-aside { display: none; }
  .auth-main { min-height: 100vh; }
  .dash { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 14px 16px 18px; flex-direction: column; align-items: stretch; gap: 3px; background: rgba(5, 8, 13, .98); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 8px; }
  .nav-toggle { display: grid; }
  .header-actions .btn:not(.btn-primary) { display: none; }
  .hero { padding: 46px 0 50px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-lead { font-size: 15.5px; }
  .section { padding: 62px 0; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .network-visual { min-height: 300px; }
  .cta-panel { padding: 34px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .dash-content { padding: 18px; }
  .dash-top { padding: 0 18px; }
  .dash-search { display: none; }
  .kpi-grid { gap: 9px; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 21px; }
  .float-a { right: -4px; } .float-b { left: -4px; }
  .component { flex-wrap: wrap; }
  .uptime-bars { flex-basis: 100%; order: 3; }
  .auth-main { padding: 34px 18px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1; }
  .header-actions .btn-primary { padding: 0 13px; font-size: 12.5px; }
  .stats-band { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 16px; }
  .page-head h1 { font-size: 22px; }
}
