/* ────────────────────────────────────────────────────────────────────── */
/* Tokens                                                                 */
/* ────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #06090d;
  --bg-2: #081016;
  --surface: #0b141c;
  --surface-2: #0f1b25;
  --surface-3: #13232f;
  --line: #1b2a38;
  --line-2: #263b4d;
  --text: #e9f1f7;
  --muted: #8ba0b2;
  --faint: #5d7385;
  --accent: #39e0a5;
  --accent-2: #8bf8cf;
  --accent-dim: rgba(57, 224, 165, 0.12);
  --blue: #6b93ff;
  --danger: #ff6b7a;
  --warn: #ffc857;
  --radius: 18px;
  --radius-sm: 11px;
  --radius-xs: 8px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.28);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 18% -10%, rgba(57, 224, 165, 0.11), transparent 65%),
    radial-gradient(800px 600px at 92% 4%, rgba(107, 147, 255, 0.09), transparent 62%),
    radial-gradient(700px 700px at 50% 110%, rgba(57, 224, 165, 0.05), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 78%);
}

::selection {
  background: rgba(57, 224, 165, 0.3);
  color: #fff;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

code,
kbd,
pre {
  font-family: var(--mono);
}

/* ────────────────────────────────────────────────────────────────────── */
/* Utilities                                                              */
/* ────────────────────────────────────────────────────────────────────── */

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
}

.muted {
  color: var(--muted);
}

.faint {
  color: var(--faint);
}

.small {
  font-size: 0.875rem;
}

.tiny {
  font-size: 0.78rem;
}

.nowrap {
  white-space: nowrap;
}

.center {
  text-align: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 18px 0;
}

.hidden {
  display: none !important;
}

.mobile-only {
  display: none !important;
}

section[id],
div[id] {
  scroll-margin-top: 92px;
}

.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;
}

/* ────────────────────────────────────────────────────────────────────── */
/* Buttons                                                                */
/* ────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.18s var(--ease),
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: var(--accent);
  color: #03130c;
  box-shadow: 0 12px 34px rgba(57, 224, 165, 0.22);
}

.btn.primary:hover {
  background: var(--accent-2);
  box-shadow: 0 16px 42px rgba(57, 224, 165, 0.3);
}

.btn.ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--faint);
  background: rgba(255, 255, 255, 0.04);
}

.btn.subtle {
  height: 36px;
  padding: 0 14px;
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.82rem;
}

.btn.subtle:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.btn.danger {
  border-color: rgba(255, 107, 122, 0.3);
  background: rgba(255, 107, 122, 0.08);
  color: #ff9aa4;
}

.btn.small {
  height: 34px;
  padding: 0 13px;
  font-size: 0.8rem;
}

.btn.block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn .spin {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: currentColor;
  animation: spin 0.7s linear infinite;
}

/* ────────────────────────────────────────────────────────────────────── */
/* Badges + chips                                                         */
/* ────────────────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge.live {
  border-color: rgba(57, 224, 165, 0.24);
  background: var(--accent-dim);
  color: var(--accent);
}

.badge.warn {
  border-color: rgba(255, 200, 87, 0.25);
  background: rgba(255, 200, 87, 0.08);
  color: var(--warn);
}

.badge.danger {
  border-color: rgba(255, 107, 122, 0.25);
  background: rgba(255, 107, 122, 0.08);
  color: #ff9aa4;
}

.badge.neutral {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(57, 224, 165, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ────────────────────────────────────────────────────────────────────── */
/* Header                                                                 */
/* ────────────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(6, 9, 13, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(6, 9, 13, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  filter: drop-shadow(0 0 14px rgba(57, 224, 165, 0.3));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 560;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 16px 24px 22px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 11px 0;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 14px;
}

/* ────────────────────────────────────────────────────────────────────── */
/* Landing hero                                                           */
/* ────────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  padding: 84px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 9px;
  border: 1px solid rgba(57, 224, 165, 0.2);
  border-radius: 999px;
  background: rgba(57, 224, 165, 0.06);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.65rem, 5.2vw, 4.55rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.grad {
  background: linear-gradient(100deg, var(--accent) 5%, #b9ffe6 48%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 540px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  color: var(--faint);
  font-size: 0.82rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* Hero visual */

.hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 224, 165, 0.16), transparent 68%);
  filter: blur(10px);
}

.network-card {
  position: relative;
  width: min(100%, 430px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), transparent 38%),
    linear-gradient(180deg, #0d1922, #081017);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  animation: float 8s ease-in-out infinite;
}

.network-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 220px at 100% 0%, rgba(107, 147, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.nc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.nc-dots {
  display: flex;
  gap: 5px;
}

.nc-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-2);
}

.nc-dots i:first-child {
  background: var(--accent);
}

.nc-title {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nc-body {
  padding: 20px;
}

.orbit {
  position: relative;
  height: 170px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(57, 224, 165, 0.22);
  border-radius: 50%;
}

.orbit-ring:nth-child(2) {
  width: 186px;
  height: 186px;
  border-color: rgba(107, 147, 255, 0.14);
  border-style: dashed;
  animation: rotate 34s linear infinite;
}

.orbit-ring:nth-child(3) {
  width: 228px;
  height: 228px;
  border-color: rgba(255, 255, 255, 0.05);
}

.orbit-core {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(57, 224, 165, 0.25), rgba(107, 147, 255, 0.12));
  border: 1px solid rgba(57, 224, 165, 0.4);
  box-shadow: 0 0 40px rgba(57, 224, 165, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.orbit-core svg {
  width: 34px;
  height: 34px;
  color: var(--accent-2);
}

.orbit-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(57, 224, 165, 0.8);
}

.orbit-node.n1 { top: 6px; left: 50%; }
.orbit-node.n2 { bottom: 20px; left: 18%; background: var(--blue); box-shadow: 0 0 16px rgba(107, 147, 255, 0.8); }
.orbit-node.n3 { right: 8%; bottom: 44%; }

.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 16px;
}

.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.country-chip b {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.code-block {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #060c11;
  overflow: hidden;
}

.code-line {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.code-line:last-child {
  border-bottom: 0;
}

.code-line span:first-child {
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.64rem;
  padding-top: 2px;
}

.code-line span:last-child {
  color: var(--accent-2);
  overflow: hidden;
  text-overflow: ellipsis;
}

.nc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--faint);
  font-size: 0.7rem;
}

.nc-foot b {
  color: var(--accent);
  font-weight: 650;
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(11, 20, 28, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  font-size: 0.74rem;
  font-weight: 600;
  animation: float 7s ease-in-out infinite;
}

.float-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.float-badge.pos-a {
  top: 34px;
  right: -8px;
  animation-delay: -2s;
}

.float-badge.pos-b {
  bottom: 42px;
  left: -18px;
  animation-delay: -4s;
}

/* ────────────────────────────────────────────────────────────────────── */
/* Stats + sections                                                       */
/* ────────────────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.stat {
  padding: 26px 24px;
  background: var(--bg-2);
}

.stat b {
  display: block;
  font-size: 1.85rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 680px;
}

.section-head.center {
  margin-inline: auto;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Coverage */

.coverage-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
  margin-top: 44px;
}

.coverage-copy p {
  color: var(--muted);
  margin-top: 14px;
}

.coverage-points {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.coverage-points li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.coverage-points svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

.coverage-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.coverage-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.search-wrap {
  position: relative;
  flex: 1;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--faint);
}

.search-wrap input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  font-size: 0.86rem;
}

.search-wrap input:focus {
  border-color: rgba(57, 224, 165, 0.45);
  box-shadow: 0 0 0 3px rgba(57, 224, 165, 0.08);
}

.table-wrap {
  overflow: auto;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

table.data th {
  padding: 11px 16px;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

table.data td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  color: var(--muted);
  vertical-align: middle;
}

table.data tr:last-child td {
  border-bottom: 0;
}

table.data tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

table.data td:first-child {
  color: var(--text);
  font-weight: 600;
}

.country-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
}

.avail-bar {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.avail-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.coverage-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.76rem;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent), var(--surface);
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}

.feature-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(57, 224, 165, 0.18);
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin-top: 18px;
  font-size: 1.02rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 46px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(57, 224, 165, 0.24);
  border-radius: 9px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.step h3 {
  margin-top: 16px;
  font-size: 0.98rem;
  font-weight: 680;
}

.step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 44px;
}

.price-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--surface);
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(57, 224, 165, 0.35);
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(57, 224, 165, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--surface);
  box-shadow: 0 30px 80px rgba(57, 224, 165, 0.07);
}

.price-tag {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin-top: 22px;
}

.price-tag b {
  font-size: 3.2rem;
  font-weight: 780;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.price-tag span {
  color: var(--muted);
  font-size: 0.86rem;
  padding-bottom: 6px;
}

.price-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.price-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.price-list {
  display: grid;
  gap: 11px;
  margin: 24px 0;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.86rem;
}

.price-list svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--accent);
  margin-top: 3px;
}

.volume-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.86rem;
}

.volume-strip b {
  color: var(--text);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  margin-top: 20px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details.faq-item {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

details.faq-item[open] {
  border-color: var(--line-2);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 620;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  color: var(--faint);
  font-size: 1.15rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 19px 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq-answer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA */

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 46px;
  border: 1px solid rgba(57, 224, 165, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(57, 224, 165, 0.15), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(107, 147, 255, 0.13), transparent 60%),
    var(--surface);
  overflow: hidden;
}

.cta-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.cta-panel p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 540px;
}

/* Footer */

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 13, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 54px 0 40px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 300px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-col h4 {
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.76rem;
}

.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: var(--faint);
}

.footer-bottom a:hover {
  color: var(--text);
}

/* ────────────────────────────────────────────────────────────────────── */
/* Auth                                                                   */
/* ────────────────────────────────────────────────────────────────────── */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(800px 500px at 20% 10%, rgba(57, 224, 165, 0.12), transparent 65%),
    radial-gradient(700px 500px at 90% 90%, rgba(107, 147, 255, 0.1), transparent 65%),
    var(--bg-2);
  overflow: hidden;
}

.auth-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 40% 30%, black, transparent 75%);
  pointer-events: none;
}

.auth-quote {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 60px 0;
}

.auth-quote h1 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 760;
}

.auth-quote p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.auth-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.auth-points svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex: none;
}

.auth-bottom {
  position: relative;
  z-index: 1;
  color: var(--faint);
  font-size: 0.76rem;
}

.auth-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}

.auth-card {
  width: min(100%, 430px);
  margin-inline: auto;
}

.auth-card h2 {
  font-size: 1.7rem;
  font-weight: 740;
  letter-spacing: -0.04em;
}

.auth-card .auth-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-form {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  font-size: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  height: auto;
  min-height: 90px;
  padding: 11px 13px;
  resize: vertical;
}

.field input::placeholder {
  color: var(--faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(57, 224, 165, 0.5);
  box-shadow: 0 0 0 3px rgba(57, 224, 165, 0.08);
}

.field .hint {
  color: var(--faint);
  font-size: 0.74rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.check-row input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex: none;
}

.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 200, 87, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 200, 87, 0.07);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.notice b {
  display: block;
  color: var(--text);
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.notice p {
  margin: 0;
}

.notice strong {
  color: var(--text);
  font-weight: 650;
}

.notice.danger {
  border-color: rgba(255, 107, 122, 0.32);
  background: rgba(255, 107, 122, 0.08);
}

.price-disclaimer {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 200, 87, 0.24);
  border-radius: var(--radius-xs);
  background: rgba(255, 200, 87, 0.06);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.price-disclaimer b {
  color: var(--text);
  font-weight: 650;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  color: var(--faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-alt {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.auth-alt a {
  font-weight: 600;
}

.form-error {
  display: none;
  padding: 10px 12px;
  border: 1px solid rgba(255, 107, 122, 0.25);
  border-radius: 9px;
  background: rgba(255, 107, 122, 0.08);
  color: #ff9aa4;
  font-size: 0.82rem;
}

.form-error.show {
  display: block;
}

.form-success {
  display: none;
  padding: 10px 12px;
  border: 1px solid rgba(57, 224, 165, 0.25);
  border-radius: 9px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.82rem;
}

.form-success.show {
  display: block;
}

/* ────────────────────────────────────────────────────────────────────── */
/* App shell                                                              */
/* ────────────────────────────────────────────────────────────────────── */

.app-body {
  background: var(--bg);
}

.app-shell {
  display: grid;
  grid-template-columns: 256px 1fr;
  min-height: 100vh;
}

.sidebar-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.sidebar-scrim.open {
  display: block;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: rgba(8, 14, 20, 0.88);
  backdrop-filter: blur(18px);
  z-index: 40;
}

.sidebar .brand {
  padding: 4px 8px 20px;
}

.side-nav {
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 570;
  transition: background 0.15s ease, color 0.15s ease;
}

.side-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  opacity: 0.8;
}

.side-link:hover {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.side-link.active {
  background: var(--accent-dim);
  color: var(--accent);
}

.side-link.active svg {
  opacity: 1;
}

.side-label {
  margin: 22px 12px 8px;
  color: var(--faint);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
}

.side-user:hover {
  background: rgba(255, 255, 255, 0.03);
}

.avatar {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(57, 224, 165, 0.24), rgba(107, 147, 255, 0.16));
  border: 1px solid rgba(57, 224, 165, 0.24);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.side-user-info {
  min-width: 0;
}

.side-user-info b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 650;
}

.side-user-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--faint);
  font-size: 0.68rem;
}

.app-main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 13, 0.82);
  backdrop-filter: blur(18px);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topbar h1 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 650;
}

.balance-pill span {
  color: var(--faint);
  font-weight: 500;
  font-size: 0.72rem;
}

.app-content {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 30px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-head h2 {
  font-size: 1.65rem;
  font-weight: 740;
  letter-spacing: -0.04em;
}

.page-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent), var(--surface);
}

.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.metric-label svg {
  width: 15px;
  height: 15px;
  color: var(--faint);
}

.metric b {
  display: block;
  margin-top: 12px;
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.metric small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  font-size: 0.92rem;
  font-weight: 680;
  letter-spacing: -0.01em;
}

.panel-body {
  padding: 19px;
}

.panel-body.flush {
  padding: 0;
}

.panel-foot {
  padding: 13px 19px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.76rem;
}

.empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
}

.empty svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  color: var(--faint);
}

.empty b {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}

.empty p {
  margin-top: 5px;
  font-size: 0.8rem;
}

/* Buy flow */

.buy-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.quote-box {
  padding: 20px;
  border: 1px solid rgba(57, 224, 165, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(400px 180px at 100% 0%, rgba(57, 224, 165, 0.1), transparent 65%),
    var(--bg-2);
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.quote-row b {
  color: var(--text);
  font-weight: 650;
}

.quote-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.quote-total span {
  color: var(--faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-total b {
  font-size: 1.9rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tier-note {
  margin-top: 10px;
  color: var(--faint);
  font-size: 0.72rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.chip:hover {
  border-color: var(--line-2);
  color: var(--text);
}

.chip.active {
  border-color: rgba(57, 224, 165, 0.4);
  background: var(--accent-dim);
  color: var(--accent);
}

/* Proxy cards */

.proxy-list {
  display: grid;
  gap: 10px;
}

.proxy-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.proxy-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.proxy-card.expired {
  opacity: 0.82;
}

.proxy-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.proxy-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.proxy-title b {
  font-size: 0.82rem;
  font-weight: 650;
}

.proxy-title span {
  color: var(--faint);
  font-size: 0.72rem;
}

/* Credential panel */

.cred {
  padding: 13px 14px 14px;
}

.cred-hero {
  position: relative;
  border: 1px solid rgba(57, 224, 165, 0.22);
  border-radius: 13px;
  padding: 13px 14px 12px;
  background:
    radial-gradient(520px 150px at 10% -40%, rgba(57, 224, 165, 0.16), transparent 68%),
    linear-gradient(180deg, rgba(57, 224, 165, 0.055), rgba(57, 224, 165, 0.012)),
    var(--surface);
  overflow: hidden;
}

.cred-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.cred-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cred-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(57, 224, 165, 0.14);
}

.cred-dot.danger {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 122, 0.14);
}

.cred-format {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.cred-hero-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cred-full {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(57, 224, 165, 0.18);
  border-radius: 9px;
  background: rgba(2, 7, 11, 0.62);
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.005em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
}

.cred-copy-all {
  flex: none;
  height: 38px;
  padding: 0 14px;
  box-shadow: none;
}

.cred-copy-all svg {
  width: 13px;
  height: 13px;
}

.cred-note {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 0.65rem;
  line-height: 1.45;
}

.cred-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.cred-field {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.cred-label {
  display: block;
  color: var(--faint);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cred-value {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  min-width: 0;
}

.cred-value code {
  flex: 1;
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 0.78rem;
}

.cred-secret {
  letter-spacing: 0.09em;
  color: var(--muted) !important;
}

.cred-secret[data-masked="false"] {
  letter-spacing: 0;
  color: var(--accent-2) !important;
}

.reveal-btn.is-revealed {
  color: var(--accent);
  border-color: rgba(57, 224, 165, 0.3);
}

.cred-missing {
  padding-bottom: 14px;
}

.cred-missing .cred-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
}

.copy-btn {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--faint);
  padding: 0;
}

.copy-btn:hover {
  color: var(--accent);
  border-color: rgba(57, 224, 165, 0.3);
}

.copy-btn svg {
  width: 12px;
  height: 12px;
}

.proxy-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  color: var(--faint);
  font-size: 0.7rem;
}

.countdown {
  font-family: var(--mono);
  color: var(--muted);
}

.countdown.soon {
  color: var(--warn);
}

/* Tables */

.table-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pill.paid,
.status-pill.active {
  background: var(--accent-dim);
  color: var(--accent);
}

.status-pill.pending {
  background: rgba(255, 200, 87, 0.1);
  color: var(--warn);
}

.status-pill.expired,
.status-pill.canceled,
.status-pill.refunded {
  background: rgba(255, 255, 255, 0.04);
  color: var(--faint);
}

/* Toasts + modal */

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  gap: 9px;
  width: min(360px, calc(100vw - 40px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(13, 22, 30, 0.97);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 0.82rem;
  animation: slideIn 0.25s var(--ease);
}

.toast.success {
  border-color: rgba(57, 224, 165, 0.3);
}

.toast.error {
  border-color: rgba(255, 107, 122, 0.3);
}

.toast b {
  display: block;
  font-size: 0.82rem;
}

.toast span {
  color: var(--muted);
  font-size: 0.76rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 5, 8, 0.72);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.18s ease;
}

.modal {
  width: min(460px, 100%);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: popIn 0.22s var(--ease);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  font-size: 1rem;
  font-weight: 700;
}

.modal-head button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--faint);
  font-size: 1.2rem;
}

.modal-head button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.modal-body {
  padding: 20px;
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 0 20px 20px;
}

/* Admin */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin: 20px 0 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  width: fit-content;
}

.admin-tab {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.admin-tab.active {
  background: var(--accent-dim);
  color: var(--accent);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Legal */

.legal-page {
  padding: 60px 0 80px;
}

.legal-wrap {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}

.legal-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-header .back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-header h1 {
  margin-top: 22px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.legal-header p {
  margin-top: 10px;
  color: var(--faint);
  font-size: 0.82rem;
}

.prose {
  padding-top: 30px;
  color: var(--muted);
  font-size: 0.92rem;
}

.prose h2 {
  margin: 32px 0 10px;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 650;
}

.prose p {
  margin: 0 0 12px;
}

.prose ul,
.prose ol {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}

.prose li {
  margin-bottom: 6px;
}

.prose strong {
  color: var(--text);
  font-weight: 650;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .callout {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(57, 224, 165, 0.2);
  border-radius: 11px;
  background: var(--accent-dim);
  color: var(--muted);
  font-size: 0.86rem;
}

/* ────────────────────────────────────────────────────────────────────── */
/* Animations                                                             */
/* ────────────────────────────────────────────────────────────────────── */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(57, 224, 165, 0.12); }
  50% { box-shadow: 0 0 0 8px rgba(57, 224, 165, 0.02); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.96) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ────────────────────────────────────────────────────────────────────── */
/* Responsive                                                             */
/* ────────────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .hero {
    gap: 36px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-grid,
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-grid,
  .buy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-actions .btn.ghost {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .coverage-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 2 / 4;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }

  .auth-main {
    min-height: 100vh;
    padding: 32px 24px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .mobile-only {
    display: inline-flex !important;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 270px;
    transform: translateX(-104%);
    transition: transform 0.26s var(--ease);
    box-shadow: var(--shadow);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .hamburger {
    display: inline-flex;
  }

  .app-content {
    padding: 24px 20px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    height: 66px;
  }

  .header-actions .btn.primary {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 20px 18px;
  }

  .stat b {
    font-size: 1.5rem;
  }

  .section {
    padding: 66px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .network-card {
    transform: none;
  }

  .float-badge {
    display: none;
  }

  .hero-visual {
    min-height: 380px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .cta-panel {
    padding: 30px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-grid .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    padding: 0 16px;
  }

  .app-content {
    padding: 20px 16px 40px;
  }

  .metric-grid,
  .admin-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .page-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cred-hero-line {
    flex-direction: column;
    align-items: stretch;
  }

  .cred-copy-all {
    width: 100%;
  }

  .cred-format {
    display: none;
  }

  .volume-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .coverage-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .balance-pill span:first-child {
    display: none;
  }
}

@media (max-width: 460px) {
  .hero-cta .btn {
    width: 100%;
  }

  .auth-main {
    padding: 24px 18px;
  }

  .modal {
    border-radius: 14px;
  }

  .proxy-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .cred {
    padding: 11px 11px 12px;
  }

  .cred-hero {
    padding: 11px 11px 10px;
  }

  .cred-full {
    font-size: 0.78rem;
  }

  .cred-grid {
    grid-template-columns: 1fr;
  }
}

/* Bandwidth usage ------------------------------------------------------ */

.tiny.danger {
  color: var(--danger);
}

.usage-bar {
  position: relative;
  height: 7px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 6px;
}

.usage-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.4s var(--ease);
}

.usage-bar.warn i {
  background: linear-gradient(90deg, var(--warn), #ffe09b);
}

.usage-bar.danger i {
  background: linear-gradient(90deg, var(--danger), #ff9aa4);
}

.usage-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.usage-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.usage-head b {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.proxy-data {
  padding: 0 14px 10px;
}

.proxy-data .tiny {
  display: block;
  margin-top: 2px;
}

/* Developer documentation ---------------------------------------------- */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0 8px;
}

.doc-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.doc-card:hover {
  border-color: rgba(57, 224, 165, 0.4);
  transform: translateY(-2px);
}

.doc-card h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.98rem;
}

.doc-card p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.6;
}

.doc-card .doc-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose pre {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #060c11;
  overflow-x: auto;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--accent-2);
}

.prose pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.prose code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--accent-2);
  font-size: 0.82em;
}

.prose table {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.prose th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-2);
  color: var(--faint);
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prose td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: top;
}

.prose td:first-child {
  color: var(--text);
  white-space: nowrap;
}

.endpoint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.method {
  display: inline-block;
  min-width: 52px;
  padding: 2px 7px;
  border-radius: 5px;
  text-align: center;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.method.get { background: rgba(107, 147, 255, 0.14); color: var(--blue); }
.method.post { background: rgba(57, 224, 165, 0.14); color: var(--accent); }
.method.delete { background: rgba(255, 107, 122, 0.14); color: var(--danger); }

.doc-note {
  margin: 18px 0;
  padding: 13px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  background: var(--accent-dim);
  color: var(--muted);
  font-size: 0.84rem;
}
