:root {
  --bg: #07110f;
  --bg-soft: #0b1714;
  --panel: rgba(16, 30, 26, 0.86);
  --panel-strong: #10211c;
  --line: rgba(226, 247, 239, 0.12);
  --line-strong: rgba(226, 247, 239, 0.2);
  --text: #edf8f3;
  --muted: #9db6ac;
  --accent: #77f0ba;
  --accent-strong: #34d399;
  --accent-soft: rgba(119, 240, 186, 0.12);
  --warning: #f6c56f;
  --danger: #ff8f8f;
  --ok: #7ce2ad;
  --shadow: 0 24px 70px rgba(0,0,0,.32);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(57, 185, 133, .12), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(51, 130, 104, .12), transparent 30%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(7,17,15,.78);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.025em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: #07110f; font-size: 13px; font-weight: 900; letter-spacing: -.06em;
  background: linear-gradient(135deg, #9bffd2, #4bd59c);
  box-shadow: 0 8px 28px rgba(75,213,156,.24);
}
.brand span:last-child { font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  border: 1px solid transparent; border-radius: 11px; min-height: 42px; padding: 0 17px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; font-weight: 680; font-size: 14px; transition: .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #07110f; box-shadow: 0 8px 30px rgba(119,240,186,.16); }
.btn-primary:hover { background: #94f8ca; }
.btn-ghost { color: var(--text); background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.045); }
.btn-subtle { color: var(--muted); background: rgba(255,255,255,.035); border-color: var(--line); }
.btn-subtle:hover { color: var(--text); }
.btn-danger { color: #ffd4d4; background: rgba(255,143,143,.08); border-color: rgba(255,143,143,.18); }
.btn-small { min-height: 34px; padding: 0 12px; border-radius: 9px; font-size: 13px; }

.kicker { color: var(--accent); font-weight: 760; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }

.hero { padding: 104px 0 82px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: 74px; align-items: center; }
.hero h1 { max-width: 760px; margin: 16px 0 22px; font-size: clamp(46px, 6vw, 80px); line-height: .98; letter-spacing: -.06em; font-weight: 790; }
.hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.68; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 24px; display: flex; gap: 18px; align-items: center; color: #809b90; font-size: 12px; }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(119,240,186,.08); }

.network-card {
  position: relative; min-height: 456px; border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(160deg, rgba(18,38,32,.94), rgba(9,21,18,.76)); box-shadow: var(--shadow); overflow: hidden;
}
.network-card::before {
  content:""; position:absolute; inset:0; opacity:.17;
  background-image: linear-gradient(rgba(119,240,186,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(119,240,186,.25) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.net-head { position: relative; z-index: 1; padding: 24px 26px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.live-pill { display:inline-flex; align-items:center; gap:8px; color: var(--accent); font-size:12px; font-weight:700; }
.live-pill i { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 14px var(--accent); }
.net-body { position:relative; z-index:1; min-height: 360px; padding: 34px; display:grid; place-items:center; }
.path { width:100%; display:grid; grid-template-columns:1fr 78px 1fr; gap:14px; align-items:center; }
.node-box { padding:20px; border:1px solid var(--line-strong); border-radius:16px; background:rgba(5,13,11,.62); }
.node-box strong { display:block; margin:8px 0 5px; font-size:15px; }
.node-box small { color:var(--muted); }
.node-icon { width:38px; height:38px; border-radius:11px; display:grid; place-items:center; background:var(--accent-soft); color:var(--accent); font-weight:800; }
.path-line { position:relative; height:2px; background:linear-gradient(90deg, rgba(119,240,186,.18), var(--accent), rgba(119,240,186,.18)); }
.path-line::after { content:""; position:absolute; left:50%; top:50%; width:8px; height:8px; border-radius:50%; background:var(--accent); transform:translate(-50%,-50%); box-shadow:0 0 18px var(--accent); }
.net-meta { position:absolute; left:34px; right:34px; bottom:28px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.metric { padding:13px 14px; border-radius:12px; background:rgba(255,255,255,.035); border:1px solid var(--line); }
.metric b { display:block; font-size:13px; margin-bottom:3px; }
.metric span { color:var(--muted); font-size:11px; }

.section { padding: 88px 0; }
.section-line { border-top: 1px solid var(--line); }
.section-head { max-width:680px; margin-bottom:38px; }
.section h2 { margin: 11px 0 12px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; line-height:1.05; }
.section-head p { color:var(--muted); line-height:1.7; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.feature { padding:25px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.025); }
.feature-num { color:var(--accent); font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature h3 { margin:24px 0 9px; font-size:18px; letter-spacing:-.02em; }
.feature p { margin:0; color:var(--muted); line-height:1.65; font-size:14px; }

.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--line); }
.step { padding:30px; background:var(--bg-soft); }
.step em { color:var(--accent); font-style:normal; font-size:12px; font-weight:780; letter-spacing:.1em; }
.step h3 { margin:15px 0 9px; }
.step p { margin:0; color:var(--muted); line-height:1.65; font-size:14px; }

.cta-panel { padding:44px; border-radius:24px; border:1px solid rgba(119,240,186,.22); background:linear-gradient(135deg, rgba(119,240,186,.11), rgba(119,240,186,.025)); display:flex; align-items:center; justify-content:space-between; gap:30px; }
.cta-panel h2 { margin:0 0 8px; font-size:32px; }
.cta-panel p { margin:0; color:var(--muted); }
.footer { padding:30px 0 46px; color:#718b80; font-size:12px; }
.footer-row { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--line); padding-top:24px; }

.auth-layout { min-height:100vh; display:grid; grid-template-columns:minmax(340px,.92fr) minmax(480px,1.08fr); }
.auth-side { padding:44px clamp(32px,6vw,84px); display:flex; flex-direction:column; border-right:1px solid var(--line); background:linear-gradient(160deg, #0d1c18, #07110f); }
.auth-side .brand { align-self:flex-start; }
.auth-copy { margin:auto 0; max-width:540px; }
.auth-copy h1 { margin:18px 0; font-size:clamp(42px,5vw,66px); line-height:1; letter-spacing:-.055em; }
.auth-copy p { color:var(--muted); line-height:1.7; font-size:17px; }
.auth-points { margin-top:30px; display:grid; gap:14px; }
.auth-point { display:flex; gap:12px; align-items:flex-start; color:#c5d8d0; font-size:14px; }
.auth-check { width:22px; height:22px; flex:0 0 auto; display:grid; place-items:center; border-radius:7px; background:var(--accent-soft); color:var(--accent); font-weight:900; }
.auth-foot { color:#698278; font-size:11px; }
.auth-main { display:grid; place-items:center; padding:42px; }
.auth-card { width:min(100%, 470px); }
.auth-card h2 { font-size:30px; letter-spacing:-.035em; margin:0 0 8px; }
.auth-card > p { color:var(--muted); margin:0 0 24px; }
.tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; padding:5px; border:1px solid var(--line); background:rgba(255,255,255,.025); border-radius:13px; margin-bottom:24px; }
.tab { min-height:38px; border:0; border-radius:9px; color:var(--muted); background:transparent; cursor:pointer; font-weight:680; font-size:13px; }
.tab.active { color:var(--text); background:rgba(255,255,255,.07); box-shadow:0 4px 12px rgba(0,0,0,.15); }
.form-panel { display:none; }
.form-panel.active { display:block; }
.field { margin-bottom:15px; }
.field label { display:block; margin:0 0 7px; color:#c7d8d1; font-size:12px; font-weight:680; }
.field input { width:100%; height:48px; border:1px solid var(--line-strong); border-radius:11px; background:#0b1714; color:var(--text); padding:0 14px; outline:none; transition:.18s; }
.field input::placeholder { color:#61786e; }
.field input:focus { border-color:rgba(119,240,186,.65); box-shadow:0 0 0 3px rgba(119,240,186,.08); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form-meta { margin:2px 0 18px; display:flex; justify-content:space-between; gap:10px; align-items:center; color:var(--muted); font-size:12px; }
.checkline { display:flex; align-items:center; gap:8px; }
.checkline input { accent-color:var(--accent-strong); }
.full { width:100%; }
.form-note { margin-top:14px; text-align:center; color:#718b80; font-size:11px; line-height:1.55; }
.alert { display:none; margin:0 0 16px; padding:12px 14px; border-radius:10px; border:1px solid rgba(119,240,186,.18); background:rgba(119,240,186,.07); color:#b9f3d5; font-size:12px; line-height:1.5; }
.alert.show { display:block; }
.alert.error { border-color:rgba(255,143,143,.2); background:rgba(255,143,143,.07); color:#ffc9c9; }
.demo-badge { margin-top:24px; padding:12px 14px; border:1px dashed rgba(246,197,111,.28); border-radius:10px; color:#d2b579; font-size:11px; line-height:1.5; }

.dashboard-body { background:#091310; }
.dashboard-nav { min-height:68px; }
.user-menu { display:flex; align-items:center; gap:10px; }
.user-id { margin-right:6px; text-align:right; }
.user-id b { display:block; font-size:12px; }
.user-id span { display:block; margin-top:2px; color:var(--muted); font-size:10px; }
.dashboard { padding:42px 0 72px; }
.page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:27px; }
.page-head h1 { margin:8px 0 6px; font-size:36px; letter-spacing:-.045em; }
.page-head p { margin:0; color:var(--muted); font-size:14px; }
.status-chip { display:inline-flex; gap:8px; align-items:center; padding:8px 11px; border:1px solid rgba(119,240,186,.18); background:rgba(119,240,186,.06); color:#a6edc8; border-radius:999px; font-size:11px; font-weight:700; }
.status-chip i { width:7px; height:7px; background:var(--accent); border-radius:50%; }
.summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:28px; }
.summary-card { padding:19px 20px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.025); }
.summary-card span { display:block; color:var(--muted); font-size:11px; margin-bottom:7px; }
.summary-card b { font-size:21px; letter-spacing:-.025em; }
.panel { border:1px solid var(--line); border-radius:16px; background:rgba(14,28,24,.7); overflow:hidden; box-shadow:0 14px 36px rgba(0,0,0,.13); }
.panel + .panel { margin-top:22px; }
.panel-head { min-height:67px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:0 20px; border-bottom:1px solid var(--line); }
.panel-head h2 { margin:0; font-size:15px; letter-spacing:-.015em; }
.panel-head p { margin:4px 0 0; color:var(--muted); font-size:11px; }
.table-wrap { width:100%; overflow-x:auto; }
table { width:100%; border-collapse:collapse; min-width:820px; }
th { padding:13px 18px; text-align:left; color:#839c92; background:rgba(255,255,255,.018); border-bottom:1px solid var(--line); font-size:10px; text-transform:uppercase; letter-spacing:.075em; white-space:nowrap; }
td { padding:17px 18px; border-bottom:1px solid rgba(255,255,255,.05); color:#d7e8e1; font-size:13px; vertical-align:middle; }
tbody tr:last-child td { border-bottom:0; }
tbody tr:hover td { background:rgba(255,255,255,.018); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:12px; }
.node-cell { display:flex; align-items:center; gap:10px; }
.node-dot { width:9px; height:9px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(124,226,173,.07); }
.badge { display:inline-flex; align-items:center; border-radius:999px; padding:5px 8px; font-size:10px; font-weight:760; }
.badge-paid { color:#a7efca; background:rgba(119,240,186,.08); border:1px solid rgba(119,240,186,.14); }
.amount { font-weight:700; }
.empty-note { color:var(--muted); }

.modal-backdrop { position:fixed; inset:0; z-index:100; display:none; place-items:center; padding:20px; background:rgba(0,0,0,.66); backdrop-filter:blur(8px); }
.modal-backdrop.open { display:grid; }
.modal { width:min(100%,570px); border:1px solid var(--line-strong); border-radius:18px; background:#0c1916; box-shadow:0 28px 90px rgba(0,0,0,.5); }
.modal-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:20px; border-bottom:1px solid var(--line); }
.modal h3 { margin:0 0 5px; font-size:18px; }
.modal p { margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.icon-btn { width:34px; height:34px; border:1px solid var(--line); border-radius:9px; background:transparent; color:var(--muted); cursor:pointer; }
.modal-body { padding:20px; }
.secret-box { position:relative; border:1px solid var(--line); border-radius:11px; padding:14px 92px 14px 14px; background:#07110f; min-height:76px; word-break:break-all; color:#b9e8d2; font:12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.secret-copy { position:absolute; right:9px; top:9px; }
.secret-note { margin-top:12px !important; color:#d0ad69 !important; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns:1fr; gap:48px; }
  .network-card { min-height:410px; }
  .feature-grid, .steps { grid-template-columns:1fr; }
  .auth-layout { grid-template-columns:1fr; }
  .auth-side { min-height:auto; border-right:0; border-bottom:1px solid var(--line); }
  .auth-copy { margin:70px 0 54px; }
  .auth-foot { display:none; }
}
@media (max-width: 700px) {
  .shell { width:min(calc(100% - 28px), var(--max)); }
  .nav-links { display:none; }
  .hero { padding:70px 0 58px; }
  .hero h1 { font-size:48px; }
  .hero p { font-size:16px; }
  .path { grid-template-columns:1fr; }
  .path-line { width:2px; height:34px; margin:auto; background:linear-gradient(rgba(119,240,186,.18), var(--accent), rgba(119,240,186,.18)); }
  .net-meta { position:static; margin-top:20px; grid-template-columns:1fr; }
  .net-body { display:block; padding:24px; }
  .cta-panel { padding:28px; align-items:flex-start; flex-direction:column; }
  .footer-row { flex-direction:column; }
  .auth-main { padding:34px 20px 50px; }
  .auth-side { padding:28px 22px; }
  .auth-copy h1 { font-size:44px; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .dashboard { padding-top:28px; }
  .dashboard-nav .brand span:last-child { display:none; }
  .user-id { display:none; }
  .page-head { align-items:flex-start; flex-direction:column; }
  .summary-grid { grid-template-columns:1fr; }
  .btn-label-hide { display:none; }
  .panel-head { align-items:flex-start; padding:16px 18px; }
}
.tab-link { border:0; padding:0; background:transparent; color:var(--accent); cursor:pointer; font-size:12px; }
.tab-link:hover { text-decoration:underline; }
