:root {
    --bg: #090b10;
    --surface: #11151d;
    --surface-2: #171c26;
    --line: rgba(255,255,255,.085);
    --text: #f4f6f8;
    --muted: #9299a7;
    --accent: #75d0b4;
    --accent-strong: #a3f1d7;
    --danger: #ff7d86;
    --warning: #f0c46a;
    --success: #75d0b4;
    --shadow: 0 24px 80px rgba(0,0,0,.32);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); }
body { margin: 0; min-height: 100vh; background:
    radial-gradient(circle at 12% -10%, rgba(68,120,105,.22), transparent 34rem),
    radial-gradient(circle at 88% 5%, rgba(80,87,126,.16), transparent 28rem), var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { width: min(1180px, calc(100% - 40px)); margin: 0 auto; height: 84px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:12px; }
.brand-mark { width:38px; height:38px; border:1px solid rgba(117,208,180,.45); display:grid; place-items:center; border-radius:12px; background:rgba(117,208,180,.08); color:var(--accent-strong); font-weight:800; letter-spacing:.06em; }
.brand strong { display:block; font-size:16px; letter-spacing:.02em; }
.brand small { display:block; color:var(--muted); margin-top:2px; font-size:11px; }
.nav { display:flex; gap:6px; align-items:center; }
.nav a, .nav-form button { padding:10px 12px; color:var(--muted); border-radius:10px; font-size:14px; }
.nav a:hover, .nav-form button:hover { color:var(--text); background:rgba(255,255,255,.045); }
.nav-form { margin:0; display:inline; }
.nav-form input { display:none; }
.nav-form button { border:0; background:transparent; cursor:pointer; }
.content { width:min(1180px, calc(100% - 40px)); margin:0 auto; flex:1; padding:58px 0 72px; }
.hero { min-height:430px; display:grid; grid-template-columns:1.2fr .8fr; gap:54px; align-items:center; padding:30px 0 72px; }
.hero h1, .section-head h1, .auth-card h1 { font-size:clamp(38px,6vw,72px); line-height:.98; letter-spacing:-.05em; margin:12px 0 20px; max-width:760px; }
.hero p { max-width:650px; color:var(--muted); font-size:18px; line-height:1.7; }
.eyebrow { color:var(--accent); text-transform:uppercase; letter-spacing:.14em; font-size:11px; font-weight:800; }
.hero-actions { display:flex; gap:10px; margin-top:28px; flex-wrap:wrap; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px; border-radius:12px; border:1px solid transparent; cursor:pointer; font-weight:750; font-size:14px; }
.button.primary { background:var(--accent); color:#07100d; }
.button.primary:hover { background:var(--accent-strong); }
.button.ghost { border-color:var(--line); background:rgba(255,255,255,.025); color:var(--text); }
.hero-card, .card, .stat-card, .account-card { border:1px solid var(--line); background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)); box-shadow:var(--shadow); }
.hero-card { border-radius:26px; padding:32px; position:relative; overflow:hidden; }
.hero-card::after { content:""; position:absolute; width:180px; height:180px; border-radius:50%; background:rgba(117,208,180,.09); filter:blur(10px); top:-95px; right:-70px; }
.pulse { width:10px; height:10px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 7px rgba(117,208,180,.09); display:inline-block; margin-bottom:36px; }
.hero-card strong { display:block; font-size:27px; letter-spacing:-.03em; }
.hero-card p { font-size:14px; margin:8px 0 28px; }
.mini-stats { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); padding-top:20px; gap:18px; }
.mini-stats small, .mini-stats b { display:block; }
.mini-stats small { color:var(--muted); font-size:11px; margin-bottom:5px; }
.grid { display:grid; gap:18px; }
.grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.card { border-radius:22px; padding:30px; }
.card h2 { font-size:26px; margin:8px 0 24px; letter-spacing:-.025em; }
.form { display:grid; gap:16px; }
.form label { display:grid; gap:8px; color:#d8dce3; font-size:13px; font-weight:650; }
.form small { color:var(--muted); font-weight:400; line-height:1.45; }
input, select { width:100%; border:1px solid var(--line); background:#0b0e14; color:var(--text); border-radius:11px; min-height:45px; padding:0 13px; outline:none; }
input:focus, select:focus { border-color:rgba(117,208,180,.65); box-shadow:0 0 0 3px rgba(117,208,180,.08); }
.feature-list { display:grid; gap:7px; }
.feature-list > div { display:grid; grid-template-columns:42px 1fr; gap:12px; align-items:start; padding:14px 0; border-top:1px solid var(--line); }
.feature-list span { color:var(--accent); font-weight:800; font-size:12px; }
.feature-list p { margin:0; color:var(--muted); line-height:1.55; font-size:14px; }
.feature-list strong { color:var(--text); }
.site-footer { width:min(1180px, calc(100% - 40px)); margin:0 auto; border-top:1px solid var(--line); padding:24px 0 34px; color:var(--muted); font-size:12px; display:flex; justify-content:space-between; gap:15px; }
.alert { margin-bottom:18px; border:1px solid var(--line); border-radius:13px; padding:13px 15px; background:rgba(255,255,255,.035); }
.alert-success { border-color:rgba(117,208,180,.35); color:#bff4e3; }
.alert-error { border-color:rgba(255,125,134,.35); color:#ffb5ba; }
.alert-warning { border-color:rgba(240,196,106,.35); color:#f7dca6; }
.section-head { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:30px; }
.section-head h1 { font-size:clamp(36px,5vw,58px); margin-bottom:0; }
.status-pill { border:1px solid var(--line); padding:10px 14px; border-radius:99px; display:flex; align-items:center; gap:9px; color:var(--muted); font-size:13px; }
.status-pill i { width:8px; height:8px; border-radius:50%; background:var(--danger); }
.status-pill.online i { background:var(--success); box-shadow:0 0 0 5px rgba(117,208,180,.08); }
.stat-card { border-radius:18px; padding:24px; }
.stat-card small, .stat-card span { display:block; color:var(--muted); }
.stat-card strong { display:block; font-size:30px; margin:11px 0 6px; letter-spacing:-.035em; }
.stat-card span { font-size:12px; }
.status-detail { margin-top:18px; }
.status-detail p { color:var(--muted); line-height:1.7; }
.auth-wrap { min-height:560px; display:grid; place-items:center; }
.auth-card { width:min(480px,100%); }
.auth-card h1 { font-size:42px; }
.auth-card > p { color:var(--muted); line-height:1.65; }
.narrow-card { width:min(620px,100%); }
.muted { color:var(--muted); }
.admin-tools { margin-top:18px; }
.tool-card { border:1px solid var(--line); border-radius:18px; padding:22px; display:flex; gap:16px; align-items:center; background:rgba(255,255,255,.025); transition:.18s ease; }
.tool-card:hover { border-color:rgba(117,208,180,.35); transform:translateY(-1px); }
.tool-card > span { width:48px; height:48px; border-radius:13px; display:grid; place-items:center; background:rgba(117,208,180,.085); color:var(--accent); font-size:12px; font-weight:900; }
.tool-card strong, .tool-card small { display:block; }
.tool-card small { color:var(--muted); margin-top:5px; }
.search-form { display:grid; grid-template-columns:1fr auto auto; gap:10px; }
.account-list { display:grid; gap:14px; margin-top:18px; }
.account-card { border-radius:18px; padding:22px; }
.account-card header { display:flex; justify-content:space-between; gap:20px; align-items:center; padding-bottom:16px; }
.account-card header small, .account-card header strong { display:block; }
.account-card header small { color:var(--muted); font-size:11px; margin-bottom:4px; }
.account-card header strong { font-size:19px; }
.account-card header > span { color:var(--muted); font-size:12px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:12px; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th,td { text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); white-space:nowrap; }
th { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
tbody tr:last-child td { border-bottom:0; }
.empty-state { border:1px dashed var(--line); border-radius:14px; padding:20px; color:var(--muted); background:rgba(255,255,255,.015); }
@media (max-width: 780px) {
    .site-header { height:auto; padding:18px 0; align-items:flex-start; gap:18px; }
    .nav { flex-wrap:wrap; justify-content:flex-end; }
    .hero { grid-template-columns:1fr; padding-top:25px; gap:26px; }
    .grid.two, .grid.three { grid-template-columns:1fr; }
    .content { padding-top:38px; }
    .section-head { align-items:flex-start; flex-direction:column; }
    .search-form { grid-template-columns:1fr; }
}
@media (max-width: 520px) {
    .site-header, .content, .site-footer { width:min(100% - 24px,1180px); }
    .brand small { display:none; }
    .nav a { padding:8px; font-size:12px; }
    .card, .hero-card { padding:22px; border-radius:18px; }
    .site-footer { flex-direction:column; }
}
