:root {
  --bg: #070a12;
  --bg-elevated: #0d1220;
  --panel: rgba(17, 24, 40, .72);
  --panel-solid: #11182a;
  --line: rgba(154, 173, 215, .16);
  --text: #f4f7ff;
  --muted: #9aa8c7;
  --cyan: #63e6ff;
  --violet: #9b7bff;
  --green: #65e7a5;
  --red: #ff6b88;
  --yellow: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 8%, rgba(99,230,255,.12), transparent 28%), radial-gradient(circle at 87% 22%, rgba(155,123,255,.12), transparent 31%); z-index: -2; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 88%); z-index: -1; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.astra-container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.navbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(154,173,215,.12); background: rgba(7,10,18,.74); backdrop-filter: blur(20px); }
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--violet)); display: grid; place-items: center; box-shadow: 0 0 28px rgba(99,230,255,.28); }
.brand-mark svg { width: 22px; }
.brand span { font-size: 19px; }
.nav-links { display: none; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; }
.pulse { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 16px var(--cyan); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.06; letter-spacing: -.055em; margin: 0; }
.hero h1 { font-size: clamp(42px, 10vw, 82px); max-width: 760px; margin-top: 17px; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-copy { color: var(--muted); font-size: 17px; max-width: 590px; margin: 24px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { border: 1px solid var(--line); border-radius: 13px; padding: 12px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--text); background: rgba(255,255,255,.035); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; font-weight: 700; font-size: 14px; }
.btn:hover { transform: translateY(-2px); border-color: rgba(99,230,255,.55); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-primary { border-color: transparent; background: linear-gradient(110deg, var(--cyan), #8bbaff 48%, var(--violet)); color: #06101c; box-shadow: 0 9px 28px rgba(99,230,255,.18); }
.btn-danger { color: var(--red); border-color: rgba(255,107,136,.34); }
.btn-small { padding: 8px 11px; border-radius: 10px; font-size: 12px; }
.hero-orbit { min-height: 365px; position: relative; display: grid; place-items: center; }
.orbit-ring { position: absolute; width: min(84vw, 390px); aspect-ratio: 1; border: 1px solid rgba(99,230,255,.24); border-radius: 50%; transform: rotate(-23deg) skewX(-12deg); box-shadow: inset 0 0 80px rgba(99,230,255,.06), 0 0 70px rgba(155,123,255,.08); }
.orbit-ring::after { content: ""; position: absolute; inset: 17%; border: 1px solid rgba(155,123,255,.24); border-radius: 50%; }
.orbit-core { width: 145px; height: 145px; border-radius: 44px; background: linear-gradient(140deg, rgba(99,230,255,.22), rgba(155,123,255,.2)); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(18px); box-shadow: 0 0 70px rgba(99,230,255,.2), inset 0 0 30px rgba(255,255,255,.08); display: grid; place-items: center; transform: rotate(-8deg); }
.orbit-core svg { width: 74px; filter: drop-shadow(0 0 18px rgba(99,230,255,.8)); }
.float-card { position: absolute; padding: 13px 15px; background: rgba(17,24,42,.75); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(16px); box-shadow: var(--shadow); font-size: 12px; color: var(--muted); }
.float-card strong { display: block; color: var(--text); font-size: 16px; }
.float-card.one { top: 25px; right: 0; } .float-card.two { bottom: 28px; left: 0; }
.glass { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.section { padding: 58px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }
.section-heading h2 { font-size: clamp(28px, 5vw, 46px); max-width: 540px; }
.section-heading p { color: var(--muted); max-width: 400px; margin: 0; }
.feature-grid { display: grid; gap: 13px; }
.feature-card { padding: 23px; min-height: 205px; position: relative; overflow: hidden; }
.feature-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -55px; bottom: -55px; border: 1px solid rgba(99,230,255,.2); border-radius: 50%; }
.icon-box { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--cyan); background: rgba(99,230,255,.09); border: 1px solid rgba(99,230,255,.21); margin-bottom: 30px; }
.icon-box svg { width: 23px; }
.feature-card h3 { font-size: 21px; letter-spacing: -.03em; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; max-width: 310px; }
.metrics { display: grid; gap: 12px; }
.metric { padding: 22px; }
.metric-value { color: var(--text); display: block; font: 700 clamp(30px, 6vw, 42px)/1 "Space Grotesk", sans-serif; letter-spacing: -.06em; }
.metric-label { color: var(--muted); font-size: 13px; margin-top: 8px; display: block; }
.cta-band { padding: 30px; display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; background: linear-gradient(110deg, rgba(99,230,255,.12), rgba(155,123,255,.12)); }
.cta-band h2 { font-size: 30px; }
.footer { border-top: 1px solid var(--line); padding: 25px 0 34px; color: var(--muted); font-size: 13px; }
.page-shell { min-height: 100vh; }
.dashboard-layout { display: grid; gap: 18px; padding: 24px 0 52px; }
.sidebar { padding: 17px; align-self: start; }
.side-nav { display: grid; gap: 7px; margin-top: 18px; }
.side-link { padding: 11px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; display: flex; gap: 9px; align-items: center; }
.side-link.active, .side-link:hover { background: rgba(99,230,255,.09); color: var(--text); }
.content { min-width: 0; }
.page-top { display: flex; gap: 16px; justify-content: space-between; align-items: start; margin-bottom: 22px; }
.page-top h1 { font-size: clamp(30px, 6vw, 52px); margin: 0; }
.page-top p { color: var(--muted); margin: 7px 0 0; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 12px; white-space: nowrap; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--violet)); object-fit: cover; }
.cards-grid { display: grid; gap: 13px; }
.server-card { padding: 19px; display: grid; gap: 17px; }
.server-head { display: flex; gap: 12px; align-items: center; }
.guild-icon { width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(135deg, rgba(99,230,255,.22), rgba(155,123,255,.28)); display: grid; place-items: center; font-weight: 800; color: var(--cyan); object-fit: cover; }
.server-head h3 { font-size: 18px; letter-spacing: -.03em; }
.server-head small { color: var(--muted); }
.status-line { display: flex; gap: 9px; align-items: center; font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px currentColor; }
.status-dot.warn { background: var(--yellow); } .status-dot.danger { background: var(--red); }
.status-pill { padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; color: var(--green); background: rgba(101,231,165,.1); }
.status-pill.danger { color: var(--red); background: rgba(255,107,136,.1); }
.status-pill.warn { color: var(--yellow); background: rgba(255,209,102,.1); }
.alert { padding: 13px 15px; border-radius: 13px; border: 1px solid rgba(255,107,136,.3); color: #ffd7df; background: rgba(255,107,136,.08); font-size: 13px; margin-bottom: 14px; }
.panel { padding: 20px; margin-bottom: 16px; }
.panel h2 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 16px; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.kpi strong { display: block; font: 700 28px/1 "Space Grotesk", sans-serif; }
.kpi span { color: var(--muted); font-size: 12px; }
.chart { display: flex; align-items: end; gap: 9px; height: 160px; padding-top: 20px; }
.bar { flex: 1; min-width: 10px; border-radius: 7px 7px 2px 2px; background: linear-gradient(to top, var(--violet), var(--cyan)); position: relative; min-height: 8px; }
.bar small { position: absolute; bottom: -23px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 10px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 15px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; } th, td { padding: 12px 13px; text-align: left; border-bottom: 1px solid var(--line); font-size: 12px; white-space: nowrap; } th { color: var(--muted); font-weight: 650; } tr:last-child td { border-bottom: 0; }
.form-grid { display: grid; gap: 11px; } label { color: var(--muted); display: grid; gap: 6px; font-size: 12px; } input, select { width: 100%; background: rgba(4,8,16,.7); border: 1px solid var(--line); color: var(--text); padding: 11px 12px; border-radius: 10px; outline: none; } input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(99,230,255,.1); }
.empty { padding: 35px 20px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 15px; }
.toast { position: fixed; right: 18px; bottom: 18px; max-width: 340px; z-index: 50; padding: 13px 15px; border: 1px solid rgba(99,230,255,.35); border-radius: 13px; background: #111a2c; box-shadow: var(--shadow); font-size: 13px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
@media (min-width: 680px) { .nav-links { display: flex; } .feature-grid { grid-template-columns: repeat(3, 1fr); } .metrics { grid-template-columns: repeat(3, 1fr); } .form-grid.two { grid-template-columns: repeat(2, 1fr); } .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .hero { padding: 105px 0 78px; } .hero-grid { grid-template-columns: 1.03fr .97fr; } .dashboard-layout { grid-template-columns: 220px minmax(0, 1fr); align-items: start; } .sidebar { position: sticky; top: 96px; } .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 679px) { .table-wrap { border: 0; overflow: visible; } table { display: block; min-width: 0; } thead { display: none; } tbody, tr, td { display: block; } tr { border-bottom: 1px solid var(--line); padding: 10px 0; } td { border: 0; padding: 5px 0; white-space: normal; display: flex; gap: 10px; justify-content: space-between; text-align: right; } td::before { content: attr(data-label); color: var(--muted); text-align: left; } }
@media (prefers-reduced-motion: no-preference) { .hero-copy, .hero h1, .hero .actions { animation: rise .65s both; } .hero-copy { animation-delay: .08s; } .hero .actions { animation-delay: .14s; } .orbit-ring { animation: breathe 7s ease-in-out infinite; } @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } } @keyframes breathe { 50% { transform: rotate(-19deg) skewX(-12deg) scale(1.04); opacity: .78; } } }
