
:root {
  --bg: #0b1020;
  --panel: #131a2e;
  --panel-2: #1a2340;
  --text: #edf2ff;
  --muted: #a9b4d0;
  --accent: #7aa2ff;
  --accent-2: #89f0c4;
  --accent-3: #ffd166;
  --danger: #ff9b9b;
  --border: #2b365d;
  --shadow: 0 18px 50px rgba(0,0,0,.28);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(122,162,255,.18), transparent 30%),
    radial-gradient(circle at top right, rgba(137,240,196,.12), transparent 28%),
    linear-gradient(180deg, #0a0f1d 0%, #0f1630 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(10,15,29,.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand-wrap { display:flex; align-items:center; gap:14px; }
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: -.02em;
}
.brand-badge {
  width: 40px; height: 40px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #08101e; font-weight: 900; box-shadow: var(--shadow);
}
.brand-meta { display:grid; gap:2px; }
.brand-meta strong { font-size: 17px; }
.brand-meta span { font-size: 12px; color: var(--muted); }
.nav {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.nav a, .cta-btn, .ghost-btn, .chip, .card-link, .small-btn {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text); padding: 10px 14px; border-radius: 999px;
  transition: .18s ease; display: inline-block; cursor:pointer;
}
.nav a:hover, .cta-btn:hover, .ghost-btn:hover, .chip:hover, .card-link:hover, .small-btn:hover {
  border-color: rgba(137,240,196,.45); transform: translateY(-1px);
}
.cta-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #091120; border:none; font-weight:800;
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 22px; }
.hero {
  display:grid; grid-template-columns: 1.1fr .9fr; gap:22px; align-items:stretch; margin: 26px 0 24px;
}
.hero-main, .hero-side, .panel, .mini-card, .card, .stat, .tool-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-main { padding:30px; position:relative; overflow:hidden; }
.hero-main::after {
  content:""; position:absolute; right:-70px; top:-70px; width:240px; height:240px; border-radius:50%;
  background: radial-gradient(circle, rgba(122,162,255,.26), transparent 70%); pointer-events:none;
}
.hero-side { padding:24px; display:grid; gap:14px; align-content:start; }
.mini-card { padding: 16px 18px; border-radius:18px; box-shadow:none; }
.mini-card .label, .eyebrow { color: var(--accent-2); font-size:13px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; }
.mini-card .label { color: var(--muted); margin-bottom:8px; letter-spacing:.08em; }
.mini-card .value { font-size:22px; font-weight:800; }
h1 { margin:0; font-size: clamp(34px, 5vw, 58px); line-height:1.02; letter-spacing:-.03em; max-width:780px; }
.subtitle { margin: 14px 0 0; color: var(--muted); max-width:760px; font-size:17px; line-height:1.65; }
.hero-actions { margin-top:22px; display:flex; gap:12px; flex-wrap:wrap; }
.breadcrumb { display:inline-flex; align-items:center; gap:10px; color: var(--muted); font-size:13px; margin: 4px 0 16px; flex-wrap:wrap; }
.section-title-row { display:flex; align-items:end; justify-content:space-between; gap:16px; margin: 10px 0 16px; }
.section-title-row h2 { margin:0; font-size:26px; }
.section-title-row p { margin:0; color: var(--muted); line-height:1.5; max-width:760px; }
.card-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.tool-card { padding:20px; display:grid; gap:12px; align-content:start; }
.tool-card h3, .tool-card h4 { margin:0; font-size:20px; }
.tool-card p { margin:0; color: var(--muted); line-height:1.55; min-height:50px; }
.icon {
  width:52px; height:52px; border-radius:16px; display:grid; place-items:center; font-size:24px;
  background: linear-gradient(135deg, rgba(122,162,255,.22), rgba(137,240,196,.16));
  border:1px solid rgba(255,255,255,.07);
}
.panel { padding:18px; }
.panel h3 { margin:0 0 8px; font-size:18px; }
.panel p { margin:0; color: var(--muted); line-height:1.55; }
.grid { display:grid; gap:12px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
label { display:grid; gap:7px; font-size:13px; color: var(--muted); }
input, select {
  width:100%; padding:12px; border-radius:12px; border:1px solid var(--border);
  background: var(--panel-2); color: var(--text); font-size:14px; outline:none;
}
input:focus, select:focus { border-color: var(--accent); box-shadow:0 0 0 3px rgba(122,162,255,.15); }
.result-box, .stats {
  margin-top: 14px; padding: 14px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(122,162,255,.08), rgba(137,240,196,.05));
  border: 1px solid rgba(255,255,255,.06);
}
.result-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.result-box .label, .stat .label { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.result-box .value, .stat .value { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.result-box .explain, .stat .explain { color:var(--muted); font-size:14px; line-height:1.55; }
.list-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.table-shell {
  max-height: 420px; overflow:auto; border:1px solid rgba(255,255,255,.05); border-radius:18px; margin-top:14px;
}
table { width:100%; border-collapse:collapse; font-size:13px; }
th, td { text-align:right; padding:11px 10px; border-bottom:1px solid rgba(255,255,255,.06); white-space:nowrap; }
th:first-child, td:first-child { text-align:left; }
thead th { color: var(--muted); font-weight: 600; position: sticky; top:0; background:#141c34; z-index:1; }
.footer-note { margin: 28px 0 10px; color: var(--muted); text-align:center; font-size:13px; }
@media (max-width: 1100px) {
  .hero, .card-grid, .grid.two, .grid.three, .result-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap, .topbar-inner { padding-left:14px; padding-right:14px; }
  .hero, .card-grid, .grid.two, .grid.three, .result-grid { grid-template-columns: 1fr; }
  .hero-main, .hero-side { padding:22px; }
}
