:root {
  --bg-0: #EEF1F7;
  --bg-1: #F4F6FB;
  --ink-1: #1A2541;
  --ink-2: #4A5878;
  --ink-3: #76849F;
  --ink-4: #A0ACC4;
  --line: rgba(120, 135, 175, 0.16);
  --line-soft: rgba(120, 135, 175, 0.10);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-frost: rgba(255, 255, 255, 0.72);
  --glass-thick: rgba(255, 255, 255, 0.82);
  --glass-cool: rgba(238, 244, 255, 0.55);
  --iri: conic-gradient(from 120deg,
    #E5F1FF 0%,
    #D0E0FF 18%,
    #DCE8FF 36%,
    #EEF4FF 52%,
    #E5F7F2 70%,
    #D8E8FF 85%,
    #E5F1FF 100%);
  --iri-soft: linear-gradient(135deg, rgba(229,241,255,0.6), rgba(208,224,255,0.5), rgba(220,232,255,0.5), rgba(229,247,242,0.55));
  --accent: #4F8AE0;
  --accent-2: #7EB6FF;
  --accent-3: #5BA3FF;
  --accent-deep: #2E5FBE;
  --accent-glow: rgba(79, 138, 224, 0.35);
  --iri-blue: #7EB6FF;
  --iri-sky: #A8D4FF;
  --iri-mint: #C5F0EB;
  --iri-pink: #E8D4F0;
  --success: #10B981;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 34px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
@font-face {
  font-family: "Twemoji Country Flags";
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E007F, U+200D;
  src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2") format("woff2");
  font-display: swap;
}
html, body { font-family: "Twemoji Country Flags", 'Inter', system-ui, sans-serif; color: var(--ink-1); background: var(--bg-1); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
.flag-emoji { font-family: "Twemoji Country Flags", 'Inter', sans-serif; }
body { min-height: 100vh; overflow-x: hidden; position: relative; }

.bg-canvas {
  position: fixed; inset: 0; z-index: -3; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, #BCDAFF 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 25%, #A8CFFF 0%, transparent 55%),
    radial-gradient(ellipse 65% 60% at 75% 90%, #C5E5FF 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 95%, #D0F0EB 0%, transparent 50%),
    linear-gradient(180deg, #EDF4FB 0%, #E2ECF7 50%, #EDF4FB 100%);
}
.bg-blob {
  position: fixed; border-radius: 50%;
  filter: blur(90px); z-index: -2; pointer-events: none;
}
.bg-blob.b1 { width: 640px; height: 640px; background: radial-gradient(circle, #7EB6FF 0%, transparent 65%); opacity: 0.55; top: 10%; left: 5%; }
.bg-blob.b2 { width: 600px; height: 600px; background: radial-gradient(circle, #A8D4FF 0%, transparent 65%); opacity: 0.5; top: 12%; right: -60px; }
.bg-blob.b3 { width: 540px; height: 540px; background: radial-gradient(circle, #9FE8DD 0%, transparent 65%); opacity: 0.38; bottom: 8%; left: 45%; }

.lg, .lg-thick, .lg-iri, .lg-tint {
  position: relative;
  border-radius: var(--r-md);
  isolation: isolate;
  -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.08) contrast(1.05);
  backdrop-filter: blur(22px) saturate(200%) brightness(1.08) contrast(1.05);
}
.lg {
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.42) 0%,
      rgba(255,255,255,0.12) 45%,
      rgba(255,255,255,0.28) 100%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 18px 50px -16px rgba(40, 55, 110, 0.28),
    0 6px 18px -6px rgba(40, 55, 110, 0.14),
    inset 0 1.5px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 1.5px 0 6px -3px rgba(255,255,255,0.55),
    inset -1.5px 0 6px -3px rgba(255,255,255,0.45),
    inset 0 14px 28px -14px rgba(255,255,255,0.55),
    inset 0 -12px 28px -14px rgba(40, 55, 110, 0.10);
}
.lg-thick {
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.62) 0%,
      rgba(255,255,255,0.28) 45%,
      rgba(255,255,255,0.45) 100%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 28px 70px -20px rgba(40, 55, 110, 0.34),
    0 10px 24px -8px rgba(40, 55, 110, 0.16),
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.22),
    inset 1.5px 0 8px -3px rgba(255,255,255,0.6),
    inset -1.5px 0 8px -3px rgba(255,255,255,0.5),
    inset 0 18px 36px -16px rgba(255,255,255,0.6),
    inset 0 -14px 32px -16px rgba(40, 55, 110, 0.12);
}
.lg-tint {
  background:
    linear-gradient(155deg,
      rgba(220,235,255,0.45) 0%,
      rgba(220,235,255,0.15) 45%,
      rgba(220,235,255,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 12px 32px -12px rgba(40, 55, 110, 0.22),
    inset 0 1.5px 0 rgba(255,255,255,0.85),
    inset 1px 0 4px -2px rgba(255,255,255,0.5),
    inset -1px 0 4px -2px rgba(255,255,255,0.4);
}
.lg-iri {
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.45) 0%,
      rgba(255,255,255,0.12) 45%,
      rgba(255,255,255,0.3) 100%) padding-box,
    var(--iri) border-box;
  border: 1.5px solid transparent;
  box-shadow:
    0 22px 56px -18px rgba(91, 134, 229, 0.38),
    0 8px 20px -6px rgba(168, 212, 255, 0.32),
    inset 0 1.5px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 1.5px 0 8px -3px rgba(184,225,255,0.6),
    inset -1.5px 0 8px -3px rgba(168,212,255,0.5),
    inset 0 16px 32px -14px rgba(255,255,255,0.5),
    inset 0 -14px 30px -14px rgba(91, 134, 229, 0.12);
}

.lg::before, .lg-thick::before, .lg-iri::before, .lg-tint::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg,
      transparent 25%,
      rgba(255,255,255,0.55) 38%,
      rgba(255,255,255,0.85) 42%,
      rgba(255,255,255,0.4) 46%,
      transparent 60%);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  pointer-events: none; z-index: 1;
  mix-blend-mode: screen;
}
.lg::after, .lg-thick::after, .lg-iri::after, .lg-tint::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 80% at 50% -20%, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none; z-index: 1;
  mix-blend-mode: overlay;
}
.lg > *, .lg-thick > *, .lg-iri > *, .lg-tint > * {
  position: relative; z-index: 2;
}

.glass {
  position: relative; border-radius: var(--r-md); isolation: isolate;
  -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.08) contrast(1.05);
  backdrop-filter: blur(22px) saturate(200%) brightness(1.08) contrast(1.05);
  background:
    linear-gradient(155deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0.28) 100%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 18px 50px -16px rgba(40, 55, 110, 0.28),
    0 6px 18px -6px rgba(40, 55, 110, 0.14),
    inset 0 1.5px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 1.5px 0 6px -3px rgba(255,255,255,0.55),
    inset -1.5px 0 6px -3px rgba(255,255,255,0.45),
    inset 0 14px 28px -14px rgba(255,255,255,0.55),
    inset 0 -12px 28px -14px rgba(40, 55, 110, 0.10);
}
.glass-iri {
  position: relative; border-radius: var(--r-md); isolation: isolate;
  background: var(--iri);
  border: none;
  box-shadow:
    0 22px 56px -18px rgba(91, 134, 229, 0.4),
    0 8px 20px -6px rgba(168, 212, 255, 0.32);
}
.glass-cool {
  position: relative; border-radius: var(--r-md); isolation: isolate;
  -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.08) contrast(1.05);
  backdrop-filter: blur(22px) saturate(200%) brightness(1.08) contrast(1.05);
  background:
    linear-gradient(155deg, rgba(220,235,255,0.45) 0%, rgba(220,235,255,0.15) 45%, rgba(220,235,255,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 12px 32px -12px rgba(40, 55, 110, 0.22),
    inset 0 1.5px 0 rgba(255,255,255,0.85),
    inset 1px 0 4px -2px rgba(255,255,255,0.5),
    inset -1px 0 4px -2px rgba(255,255,255,0.4);
}
.glass::before, .glass-cool::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.55) 38%, rgba(255,255,255,0.85) 42%, rgba(255,255,255,0.4) 46%, transparent 60%);
  background-size: 220% 100%;
  background-position: -10% 0%;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
}
.glass::after, .glass-cool::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(ellipse 60% 80% at 50% -20%, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none; z-index: 1; mix-blend-mode: overlay;
}

.glass-iri::before {
  content: '';
  position: absolute; inset: 3px;
  border-radius: inherit;
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.30) 50%,
      rgba(255,255,255,0.48) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
          backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
  pointer-events: none;
  z-index: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 1px 0 4px -2px rgba(255,255,255,0.5),
    inset -1px 0 4px -2px rgba(255,255,255,0.4);
}

.glass-iri::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 80% at 50% -20%, rgba(255,255,255,0.45) 0%, transparent 60%) 0 0 / 100% 100% no-repeat,
    linear-gradient(115deg,
      transparent 25%,
      rgba(255,255,255,0.55) 38%,
      rgba(255,255,255,0.85) 42%,
      rgba(255,255,255,0.4) 46%,
      transparent 60%) -8% 0 / 220% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
  opacity: 0.55;
}

.glass > *, .glass-iri > *, .glass-cool > * { position: relative; z-index: 2; }

@supports (backdrop-filter: url(#x)) or (-webkit-backdrop-filter: url(#x)) {
  .lg-warp {
    -webkit-backdrop-filter: url(#liquid-warp) blur(8px) saturate(200%) brightness(1.06);
    backdrop-filter: url(#liquid-warp) blur(8px) saturate(200%) brightness(1.06);
  }
}

@media (max-width: 900px) {
  .lg-warp {
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    backdrop-filter: blur(14px) saturate(170%);
  }
  .glass, .glass-iri, .glass-cool, .lg, .lg-thick, .lg-iri, .lg-tint {
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    backdrop-filter: blur(14px) saturate(170%);
  }
  .bg-blob { filter: blur(70px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1ms !important;
  }
  .bg-blob { animation: none !important; }
}

@media (hover: none) and (pointer: coarse) {
  .lg, .lg-thick, .lg-iri, .lg-tint, .lg-warp,
  .glass, .glass-iri, .glass-cool,
  .nav-frost, .dash-sidebar, .balance-pill,
  .tile, .lq-tabs, .dd-btn, .dd-pop, .promo strong,
  .sidebar-overlay, .toast, .country-select-btn,
  .dash-input-wrap, .output-wrap, .modal, .modal-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .lg::before, .lg-thick::before, .lg-iri::before, .lg-tint::before,
  .lg::after, .lg-thick::after, .lg-iri::after, .lg-tint::after,
  .glass::before, .glass-cool::before, .glass::after, .glass-cool::after,
  .glass-iri::after,
  .nav-frost::before, .dashboard-wrap::before, .dashboard-wrap::after,
  .price-box::before, .support-card::before,
  .tile.tile-iri::after {
    mix-blend-mode: normal !important;
    display: none !important;
  }

  .glass-iri::before, .tile.tile-iri::before {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    mix-blend-mode: normal !important;
  }

  .nav-frost {
    background: linear-gradient(155deg, rgba(248,251,254,0.98) 0%, rgba(242,247,252,0.97) 45%, rgba(247,250,253,0.98) 100%) !important;
  }
  .dash-sidebar {
    background: linear-gradient(180deg, rgba(242,247,253,0.995) 0%, rgba(236,243,251,0.99) 50%, rgba(242,247,253,0.995) 100%) !important;
  }

  .bg-blob { display: none !important; }
  .bg-canvas {
    background:
      radial-gradient(ellipse 70% 50% at 15% 18%, #C3DCFB 0%, transparent 58%),
      radial-gradient(ellipse 60% 50% at 90% 22%, #B0D2FA 0%, transparent 58%),
      radial-gradient(ellipse 65% 55% at 78% 88%, #C8E6FF 0%, transparent 58%),
      radial-gradient(ellipse 55% 45% at 8% 92%, #CDEDE8 0%, transparent 55%),
      linear-gradient(180deg, #EDF4FB 0%, #E2ECF7 50%, #EDF4FB 100%);
  }
}

.promo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 10px 24px;
  background:
    linear-gradient(90deg, #5BA3FF 0%, #7EB6FF 35%, #A8D4FF 50%, #7EB6FF 65%, #5BA3FF 100%);
  color: white; font-size: 13.5px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  box-shadow: 0 6px 24px rgba(79, 138, 224, 0.25);
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.promo strong { font-weight: 700; padding: 2px 8px; background: rgba(255,255,255,0.2); border-radius: 4px; backdrop-filter: blur(4px); }
.promo a.promo-cta {
  background: rgba(255,255,255,0.95); color: var(--accent-deep); padding: 6px 14px; border-radius: 8px;
  font-weight: 700; font-size: 12.5px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  backdrop-filter: blur(8px);
}
.promo a.promo-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.promo .promo-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: rgba(255,255,255,0.8); cursor: pointer;
}
.promo .promo-close:hover { color: white; }
@media (max-width: 768px) { .promo { display: none; } }

.nav {
  position: fixed; top: 42px; left: 0; right: 0; z-index: 50;
  padding: 12px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 768px) { .nav { top: 0; padding: 12px 16px; } }
.nav-inner {
  position: relative;
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding: 10px 20px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 18px 50px -16px rgba(40, 55, 110, 0.28),
    0 6px 18px -6px rgba(40, 55, 110, 0.14),
    inset 0 1.5px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 1.5px 0 6px -3px rgba(255,255,255,0.55),
    inset -1.5px 0 6px -3px rgba(255,255,255,0.45),
    inset 0 14px 28px -14px rgba(255,255,255,0.55),
    inset 0 -12px 28px -14px rgba(40, 55, 110, 0.10);
}
.nav-inner > * { position: relative; z-index: 1; }
.nav-inner > .nav-frost { z-index: 0; }
.nav-frost {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden;
  background: linear-gradient(155deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0.28) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.08) contrast(1.05);
  backdrop-filter: blur(22px) saturate(200%) brightness(1.08) contrast(1.05);
}
.nav-frost::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.55) 38%, rgba(255,255,255,0.85) 42%, rgba(255,255,255,0.4) 46%, transparent 60%);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  mix-blend-mode: screen;
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 5px; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; filter: drop-shadow(0 2px 8px rgba(45,125,250,0.25)); }
.nav-logo span {
  font-family: 'Space Grotesk', sans-serif; font-size: 25px; font-weight: 700;
  letter-spacing: -0.02em; transform: translateY(-2px);
  background: linear-gradient(135deg, #2E5FBE 0%, #5BA3FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-links button {
  position: relative;
  background: transparent; border: none; cursor: pointer;
  padding: 9px 14px; border-radius: 10px;
  color: var(--ink-2); font-size: 14px; font-weight: 500; font-family: inherit;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  transition: color .3s ease, background .35s ease;
}
.nav-links a:hover, .nav-links button:hover {
  color: var(--accent-deep);
  background: linear-gradient(155deg, #FFFFFF 0%, #DCEAFF 55%, #FFFFFF 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.95),
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(168,212,255,0.5),
    inset 1.5px 0 6px -2px rgba(126,182,255,0.45),
    inset -1.5px 0 6px -2px rgba(126,182,255,0.4),
    0 6px 16px -3px rgba(79,138,224,0.32),
    0 2px 6px -1px rgba(79,138,224,0.18),
    0 0 0 1px rgba(126,182,255,0.18);
}

/* ===== Nav dropdowns (Proxies / Locations) — lq glass ===== */
.nav-dd { position: relative; }
.nav-dd-btn { position: relative; }
.nav-dd-btn .liquid-spot { display: none; }
.nav-chev { transition: transform .45s cubic-bezier(.34, 1.3, .64, 1); flex-shrink: 0; }
.nav-dd.open .nav-chev { transform: rotate(180deg); }
.nav-dd.open .nav-dd-btn {
  color: var(--accent-deep);
  background: linear-gradient(155deg, #FFFFFF 0%, #DCEAFF 55%, #FFFFFF 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.95),
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(168,212,255,0.5),
    inset 1.5px 0 6px -2px rgba(126,182,255,0.45),
    inset -1.5px 0 6px -2px rgba(126,182,255,0.4),
    0 6px 16px -3px rgba(79,138,224,0.32),
    0 2px 6px -1px rgba(79,138,224,0.18),
    0 0 0 1px rgba(126,182,255,0.18);
}

.nav-dd-pop {
  position: absolute; top: 100%; left: 0;
  padding-top: 11px;
  z-index: 60;
  visibility: hidden; pointer-events: none;
}
.nav-dd.open .nav-dd-pop {
  visibility: visible; pointer-events: auto;
}
.nav-dd-panel {
  padding: 7px; border-radius: 18px; min-width: 252px;
  transform: translateY(-14px) scale(0.96); transform-origin: top center;
}
.nav-dd.open .nav-dd-panel {
  transform: translateY(0) scale(1);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.nav-dd-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: 12px;
  color: var(--ink-2); font-size: 13.5px; font-weight: 500; text-decoration: none;
  transition: color .65s ease, background .8s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}
.nav-dd-item + .nav-dd-item { margin-top: 1px; }
.nav-dd-item:hover { color: var(--accent-deep); background: rgba(126,182,255,0.12); transform: translateX(3px); }
.nav-dd-ic {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--accent-deep);
  background: linear-gradient(135deg, rgba(184,225,255,0.7), rgba(168,212,255,0.5));
  border: 1px solid rgba(255,255,255,0.7);
}
.nav-dd-flag { font-size: 19px; width: 26px; text-align: center; flex-shrink: 0; }
.nav-dd-txt { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.nav-dd-tt { font-weight: 600; color: var(--ink-1); white-space: nowrap; }
.nav-dd-item:hover .nav-dd-tt { color: var(--accent-deep); }

.nav-dd[data-dd="proxies"] .nav-dd-panel { min-width: 0; }
/* Locations panel — compact 2-column country grid */
.nav-dd[data-dd="locations"] .nav-dd-panel { min-width: 384px; }
.nav-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 2px; }
.nav-loc-grid .nav-dd-item { gap: 9px; padding: 8px 10px; }
.nav-loc-grid .nav-dd-item + .nav-dd-item { margin-top: 0; }
.nav-dd-all {
  display: flex; justify-content: center;
  margin: 6px 4px 2px; padding: 10px; border-radius: 11px;
  color: var(--accent-deep); font-weight: 600; font-size: 12.5px; text-decoration: none;
  border-top: 1px solid rgba(184,225,255,0.45);
  transition: background .3s ease, color .25s ease;
}
.nav-dd-all:hover { background: rgba(126,182,255,0.12); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.btn {
  --mx: 50%;
  --my: 50%;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  text-decoration: none; cursor: pointer; border: none;
  white-space: nowrap;
  transform: translateZ(0);
  transition:
    transform .4s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .4s cubic-bezier(.4, 0, .2, 1),
    background .35s ease;
}
.btn .liquid-spot {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(155deg, #FFFFFF 0%, #DCEAFF 55%, #FFFFFF 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(168,212,255,0.5),
    inset 1.5px 0 6px -2px rgba(126,182,255,0.45),
    inset -1.5px 0 6px -2px rgba(126,182,255,0.4),
    0 6px 16px -3px rgba(79,138,224,0.32),
    0 2px 6px -1px rgba(79,138,224,0.18),
    0 0 0 1px rgba(126,182,255,0.18);
  opacity: 0;
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
}
.btn-primary .liquid-spot {
  background: linear-gradient(155deg, #6FA4EE 0%, #4F8AE0 55%, #6FA4EE 100%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.1),
    inset 1.5px 0 6px -2px rgba(255,255,255,0.4),
    inset -1.5px 0 6px -2px rgba(168,212,255,0.4),
    0 0 0 1px rgba(126,182,255,0.2);
}
.btn:hover .liquid-spot { opacity: 1; }
.btn > :not(.liquid-spot) { position: relative; z-index: 2; }
.btn:active { transform: translateY(1px) scale(0.97); transition-duration: .12s; }
.btn-ghost {
  position: relative;
  background: linear-gradient(155deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.4) 100%);
  color: var(--ink-1);
  border: 1px solid rgba(184,225,255,0.55);
  backdrop-filter: blur(18px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(180%) brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 1px 0 4px -2px rgba(255,255,255,0.5),
    inset -1px 0 4px -2px rgba(255,255,255,0.4),
    0 6px 16px -4px rgba(40, 55, 110, 0.18);
  overflow: hidden;
}
.btn-ghost::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 80%);
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}
.btn-ghost:hover { transform: translateY(-2px); color: var(--accent-deep); background: linear-gradient(155deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.55) 100%); }
.btn-primary {
  color: white; font-weight: 700;
  background:
    linear-gradient(135deg, #4F8AE0 0%, #2E5FBE 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 10px 24px -6px rgba(79, 138, 224, 0.5),
    0 4px 10px -2px rgba(79, 138, 224, 0.28);
  overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 18px 36px -10px rgba(79, 138, 224, 0.6),
    0 8px 18px -4px rgba(79, 138, 224, 0.34);
}
.btn-primary:active { transform: translateY(1px) scale(0.97); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: var(--r-md); }

.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; color: var(--ink-1); padding: 8px; border-radius: 10px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right .btn-ghost { display: none; }
  .menu-toggle { display: block; }
}

.m-nav-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(40,55,110,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.m-nav-overlay.open { opacity: 1; pointer-events: auto; }
.m-nav-drawer {
  position: fixed; top: 0; right: 0; z-index: 71;
  width: 300px; max-width: 84vw; height: 100%;
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, #F6FAFE 0%, #EEF4FB 100%);
  border-left: 1px solid rgba(255,255,255,0.7);
  box-shadow: -12px 0 40px -10px rgba(40,55,110,0.3);
  transform: translateX(105%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.m-nav-drawer.open { transform: translateX(0); }
.m-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.m-nav-head .m-nav-logo { display: flex; align-items: center; gap: 3px; text-decoration: none; }
.m-nav-head .m-nav-logo img { height: 30px; }
.m-nav-head .m-nav-logo span {
  font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; transform: translateY(-2px);
  background: linear-gradient(135deg, #2E5FBE 0%, #5BA3FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.m-nav-close { background: transparent; border: none; cursor: pointer; color: var(--ink-2); padding: 6px; border-radius: 8px; }
.m-nav-close:hover { background: rgba(184,225,255,0.25); }
.m-nav-link {
  display: block; padding: 13px 14px; border-radius: 12px;
  text-decoration: none; color: var(--ink-1);
  font-size: 15px; font-weight: 500;
  transition: background .25s ease, color .25s ease;
}
.m-nav-link:hover, .m-nav-link:active { background: rgba(126,182,255,0.14); color: var(--accent-deep); }
.m-nav-group-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-4); padding: 14px 14px 4px;
}
.m-nav-sub { display: block; padding: 10px 14px 10px 26px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.m-nav-sub:hover, .m-nav-sub:active { background: rgba(126,182,255,0.12); color: var(--accent-deep); }
.m-nav-foot { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.m-nav-foot .btn { width: 100%; justify-content: center; }
body.m-nav-lock { overflow: hidden; }

.hero {
  position: relative;
  padding: 180px 24px 80px;
  text-align: center;
  max-width: 1240px; margin: 0 auto;
}
@media (max-width: 768px) { .hero { padding: 120px 16px 60px; } }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-chip .dot {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(45, 125, 250, 0.1); color: var(--accent-deep);
  font-weight: 600;
}
.hero-chip .dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(45, 125, 250, 0.18);
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-1);
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(100deg, #2E5FBE 0%, #5BA3FF 52%, #7EB6FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.hero p.lede {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--ink-2); line-height: 1.55;
  max-width: 620px; margin: 0 auto 36px;
}
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
  color: var(--ink-3); font-size: 13px; margin-bottom: 56px;
}
.pay-icons {
  display: inline-flex; gap: 6px; padding: 6px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(8px); border: 1px solid var(--line-soft);
}
.pay-icons span {
  font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 4px;
  background: white; color: var(--ink-2); border: 1px solid var(--line-soft);
}

.hero-butterfly {
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  width: min(900px, 90vw); pointer-events: none; opacity: 0.18;
  z-index: -1;
  filter: blur(0.5px);
}
.hero-butterfly img { width: 100%; height: auto; display: block; }

.dashboard-wrap {
  position: relative;
  max-width: 1100px; margin: 0 auto;
  padding: 18px;
  border-radius: var(--r-xl);
  isolation: isolate;
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.5) 0%,
      rgba(255,255,255,0.15) 45%,
      rgba(255,255,255,0.35) 100%) padding-box,
    var(--iri) border-box;
  border: 1.5px solid transparent;
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.08);
  backdrop-filter: blur(24px) saturate(200%) brightness(1.08);
  box-shadow:
    0 40px 90px -28px rgba(40, 55, 110, 0.4),
    0 14px 30px -10px rgba(91, 134, 229, 0.2),
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.2),
    inset 1.5px 0 8px -3px rgba(184,225,255,0.6),
    inset -1.5px 0 8px -3px rgba(168,212,255,0.5),
    inset 0 18px 36px -16px rgba(255,255,255,0.55),
    inset 0 -14px 32px -16px rgba(91, 134, 229, 0.12);
}
.dashboard-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.55) 38%, rgba(255,255,255,0.85) 42%, rgba(255,255,255,0.4) 46%, transparent 60%);
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
}
.dashboard-wrap::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(ellipse 60% 80% at 50% -20%, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none; z-index: 1; mix-blend-mode: overlay;
}
.dashboard {
  position: relative; z-index: 2;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #FCFDFF 0%, #F1F4FA 100%);
  border: 1px solid var(--line-soft);
}
.dashboard-shot {
  position: relative; z-index: 2;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-soft);
  line-height: 0;
}
.dashboard-shot img {
  display: block; width: 100%; height: auto;
}
.dash-body {
  display: grid; grid-template-columns: 220px 1fr; min-height: 460px;
}
.dash-side {
  background: rgba(255,255,255,0.5);
  border-right: 1px solid var(--line-soft);
  padding: 18px 12px;
}
.dash-side .logo-row {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px; margin-bottom: 18px;
}
.dash-side .logo-row img { height: 26px; width: auto; }
.dash-side .logo-row span { font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px; }
.dash-side .menu-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 10px; font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  margin-bottom: 2px; text-align: left;
}
.dash-side .menu-item.active {
  background: linear-gradient(135deg, rgba(184,225,255,0.5), rgba(168,212,255,0.35));
  color: var(--accent-deep); font-weight: 600;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.dash-side .menu-item:hover:not(.active) { background: rgba(184,225,255,0.18); }
.dash-side .menu-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-3);
}
.dash-side .menu-icon svg { width: 100%; height: 100%; }
.dash-side .menu-item.active .menu-icon { color: var(--accent-deep); }
.dash-side .dm-group {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-4); padding: 14px 12px 6px;
}

.dash-main { padding: 24px; text-align: left; }
.dash-h { font-family: 'Space Grotesk'; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.dash-sub { font-size: 12.5px; color: var(--ink-3); margin-bottom: 22px; }

/* ===== Dashboard preview content — mirrors the real app dashboard ===== */
.dash-main .dm-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.dash-main .dm-top .dash-sub { margin-bottom: 0; }
.dm-top-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.dm-bal {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2);
  background: rgba(255,255,255,0.75); border: 1px solid var(--line-soft);
}
.dm-bal strong { color: var(--accent-deep); font-weight: 700; }
.dm-bal svg { color: var(--ink-3); }
.dm-topup {
  padding: 8px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #5BA3FF, #2E5FBE);
  box-shadow: 0 6px 14px -5px rgba(79,138,224,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}

.dm-card { padding: 18px; border-radius: 16px; background: white; border: 1px solid var(--line-soft); box-shadow: 0 1px 0 white inset; margin-bottom: 22px; }
.dm-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.dm-ct { font-family: 'Space Grotesk'; font-size: 15px; font-weight: 700; color: var(--ink-1); }
.dm-cs { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.dm-tabs { display: inline-flex; gap: 3px; padding: 3px; border-radius: 9px; background: rgba(184,225,255,0.2); border: 1px solid rgba(255,255,255,0.6); flex-shrink: 0; }
.dm-tabs span { padding: 5px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.dm-tabs span.on { background: white; color: var(--accent-deep); box-shadow: 0 1px 3px rgba(40,55,110,0.1); }

.dm-chart-body { display: grid; grid-template-columns: 1fr 172px; gap: 18px; align-items: stretch; }
.dm-chart-left { display: flex; flex-direction: column; }
.dm-chart { width: 100%; flex: 1; min-height: 150px; }
.dm-x { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-4); margin-top: 6px; }
.dm-chart-side { display: flex; flex-direction: column; gap: 10px; }
.dm-cs-row { padding: 12px 14px; border-radius: 12px; background: rgba(220,235,255,0.32); border: 1px solid rgba(255,255,255,0.6); }
.dm-cs-row .lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-4); }
.dm-cs-row .v { font-family: 'Space Grotesk'; font-size: 20px; font-weight: 700; color: var(--ink-1); margin-top: 3px; }
.dm-cs-row .v.sm { font-size: 16px; }
.dm-cs-row .d { font-size: 11px; font-weight: 600; color: var(--success); margin-top: 2px; }
.dm-cs-row .d2 { font-size: 11px; color: var(--ink-4); margin-top: 2px; }

.dm-plans-head { font-family: 'Space Grotesk'; font-size: 15px; font-weight: 700; color: var(--ink-1); margin-bottom: 12px; }
.dm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dm-plan { padding: 14px 16px; border-radius: 14px; background: white; border: 1px solid var(--line-soft); box-shadow: 0 1px 0 white inset; }
.dm-pl-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dm-pl-t { font-size: 13px; font-weight: 700; color: var(--ink-1); }
.dm-pl-p { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.dm-pl-u { font-family: 'Space Grotesk'; font-size: 15px; font-weight: 700; color: var(--ink-1); margin-bottom: 8px; }
.dm-pl-bar { height: 7px; border-radius: 999px; background: rgba(184,225,255,0.4); overflow: hidden; }
.dm-pl-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4F8AE0, #5BA3FF); }
.dm-pl-f { font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.dm-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; border-style: dashed; border-color: rgba(126,182,255,0.55);
  background: rgba(126,182,255,0.05); box-shadow: none;
}
.dm-add-ic { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #5BA3FF, #2E5FBE); }
.dm-add-t { font-size: 13px; font-weight: 700; color: var(--ink-1); }

@media (max-width: 720px) {
  .dm-chart-body { grid-template-columns: 1fr; }
  .dm-plans { grid-template-columns: 1fr; }
  .dm-tabs { display: none; }
}
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card {
  padding: 16px; border-radius: 14px;
  background: white; border: 1px solid var(--line-soft);
  box-shadow: 0 1px 0 white inset;
}
.stat-card .lbl { font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.stat-card .val { font-family: 'Space Grotesk'; font-size: 22px; font-weight: 700; color: var(--ink-1); margin-top: 4px; }
.stat-card .delta { font-size: 11.5px; margin-top: 6px; font-weight: 600; }
.stat-card .delta.up { color: var(--success); }

.chart-card {
  padding: 18px; border-radius: 14px;
  background: white; border: 1px solid var(--line-soft);
}
.chart-card .ch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chart-card .ch-title { font-size: 13px; font-weight: 600; }
.chart-card .ch-period { font-size: 11px; color: var(--ink-4); padding: 4px 10px; border-radius: 6px; background: rgba(45,125,250,0.08); }
.chart-svg { width: 100%; height: 140px; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1100px; margin: 56px auto 0;
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-pill {
  padding: 18px 22px; border-radius: var(--r-md);
  display: flex; align-items: center; gap: 14px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.stat-pill:hover { transform: translateY(-5px); }
.stat-pill .ic {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(184,225,255,0.75) 0%, rgba(168,212,255,0.55) 100%);
  border: 1px solid rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-deep); flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.stat-pill .num { font-family: 'Space Grotesk'; font-size: 20px; font-weight: 700; color: var(--ink-1); }
.stat-pill .lbl { font-size: 12px; color: var(--ink-3); font-weight: 500; }

.section { padding: 96px 24px; max-width: 1240px; margin: 0 auto; }
@media (max-width: 768px) { .section { padding: 64px 16px; } }
.section-eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.15;
  color: var(--ink-1);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--ink-2); line-height: 1.6;
  max-width: 620px; margin: 0 auto 56px;
}
.center { text-align: center; }

.loc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 1100px; margin: 0 auto 40px;
}
@media (max-width: 960px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
.loc-card:hover { transform: translateY(-2px); }
.loc-flag {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(184,225,255,0.55), rgba(168,212,255,0.4));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.loc-info { flex: 1; text-align: left; min-width: 0; }
.loc-name { font-size: 13.5px; font-weight: 600; color: var(--ink-1); }
.loc-arrow { color: var(--ink-4); flex-shrink: 0; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1040px; margin: 0 auto;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  padding: 36px 28px; border-radius: var(--r-lg);
  text-align: center;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.step-card:hover { transform: translateY(-5px); }
.step-num {
  width: 48px; height: 48px; margin: 0 auto 20px;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.1) 100%),
    linear-gradient(135deg, #4F8AE0 0%, #7EB6FF 50%, #A8D4FF 100%);
  background-blend-mode: overlay, normal;
  color: white; font-family: 'Space Grotesk'; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 10px 24px -6px rgba(79, 138, 224, 0.45);
}
.step-card h3 { font-family: 'Space Grotesk'; font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--ink-1); }
.step-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

.cases {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1140px; margin: 0 auto;
}
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }
.case-card {
  padding: 30px; border-radius: var(--r-lg);
  transition: transform .35s cubic-bezier(.4,0,.2,1); text-align: left;
}
.case-card:hover { transform: translateY(-4px); }
.case-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(184,225,255,0.75), rgba(168,212,255,0.55), rgba(197,240,235,0.4));
  border: 1px solid rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-deep); margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 6px 14px -4px rgba(79, 138, 224, 0.2);
}
.case-card h3 { font-family: 'Space Grotesk'; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

.pricing-card {
  max-width: 1140px; margin: 0 auto;
  padding: 44px;
  border-radius: var(--r-xl);
}
@media (max-width: 768px) { .pricing-card { padding: 24px; } }
.pricing-head {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px;
}
@media (max-width: 960px) { .pricing-head { grid-template-columns: 1fr; } }
/* Left column holds the title + the slider, so it fills the height of the
   price summary on the right (no big empty gap). */
.pricing-left { display: flex; flex-direction: column; min-width: 0; }
.pricing-left .slider-section { margin-top: auto; padding-top: 24px; border-top: none; }
.pricing-highlights {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px;
}
.ph-tile {
  padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(155deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.22) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(184,225,255,0.3),
    0 8px 20px -12px rgba(40,55,110,0.3);
}
.ph-tile .ph-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700;
  color: var(--accent-deep); letter-spacing: -0.01em; line-height: 1.1;
}
.ph-tile .ph-lbl { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
@media (max-width: 600px) {
  .pricing-highlights { gap: 8px; }
  .ph-tile { padding: 12px 12px; }
  .ph-tile .ph-num { font-size: 17px; }
}
.pricing-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pricing-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(45,125,250,0.3);
}
.pricing-card h2, .pricing-card .pricing-h { font-family: 'Space Grotesk'; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.ips-avail { font-size: 14px; color: var(--ink-2); margin-bottom: 24px; }
.ips-avail .num {
  color: var(--accent-deep); font-weight: 700; font-family: 'Space Grotesk';
}
.tabs {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  padding: 6px; border-radius: var(--r-md);
  background: linear-gradient(155deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.3) 100%);
  backdrop-filter: blur(20px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.05);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 0 10px 20px -10px rgba(40,55,110,0.06);
  margin-bottom: 20px;
}
.tabs::before {
  content: '';
  position: absolute;
  top: 6px; height: calc(100% - 12px);
  left: var(--tab-left, 6px);
  width: var(--tab-width, 33%);
  border-radius: 12px;
  background: linear-gradient(155deg,
    #FFFFFF 0%,
    #DCEAFF 55%,
    #FFFFFF 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(168,212,255,0.5),
    inset 1.5px 0 6px -2px rgba(126,182,255,0.45),
    inset -1.5px 0 6px -2px rgba(126,182,255,0.4),
    0 8px 22px -4px rgba(79,138,224,0.4),
    0 3px 8px -1px rgba(79,138,224,0.22),
    0 0 0 1px rgba(126,182,255,0.18);
  transition:
    left .5s cubic-bezier(.34, 1.2, .64, 1),
    width .5s cubic-bezier(.34, 1.2, .64, 1);
  z-index: 0;
}
.tab {
  position: relative; z-index: 1;
  padding: 11px 8px; border-radius: 12px;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  background: transparent; border: none; cursor: pointer; font-family: inherit;
  white-space: nowrap; text-align: center;
  transition: color .35s ease;
}
.tab:hover:not(.active) {
  color: var(--accent-deep);
}
.tab.active {
  color: var(--accent-deep);
  font-weight: 700;
}
@media (max-width: 620px) {
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .tabs::before { display: none; }
  .tab {
    font-size: 12.5px; padding: 11px 8px; border: 1px solid transparent;
    transition: color .3s ease, background .35s ease, box-shadow .35s ease, border-color .35s ease;
  }
  .tab.active {
    background: linear-gradient(155deg, #FFFFFF 0%, #DCEAFF 55%, #FFFFFF 100%);
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow:
      inset 0 1.5px 0 rgba(255,255,255,1),
      inset 0 -1px 0 rgba(168,212,255,0.5),
      0 6px 16px -3px rgba(79,138,224,0.32),
      0 0 0 1px rgba(126,182,255,0.18);
  }
}
.tab-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

.price-box {
  position: relative;
  border-radius: var(--r-lg); overflow: hidden;
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.65) 0%,
      rgba(255,255,255,0.25) 45%,
      rgba(255,255,255,0.45) 100%);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.08);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.2),
    inset 1.5px 0 6px -3px rgba(255,255,255,0.55),
    inset -1.5px 0 6px -3px rgba(255,255,255,0.45),
    inset 0 14px 28px -14px rgba(255,255,255,0.55),
    inset 0 -12px 28px -14px rgba(40, 55, 110, 0.10),
    0 20px 48px -16px rgba(40, 55, 110, 0.3),
    0 6px 14px -4px rgba(40, 55, 110, 0.12);
}
.price-box::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0.85) 43%, rgba(255,255,255,0.4) 46%, transparent 58%);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 60%);
  mask-image: linear-gradient(180deg, black 0%, transparent 60%);
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
}
.price-box > * { position: relative; z-index: 2; }
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; font-size: 13.5px;
}
.price-row[hidden] { display: none; }
.price-row + .price-row { border-top: 1px solid var(--line-soft); }
.price-row .lbl { color: var(--ink-3); }
.price-row .val { color: var(--ink-1); font-weight: 600; }
.price-row .val.accent { color: var(--accent-deep); }
.price-row .val.accent s { color: var(--ink-4); font-weight: 500; opacity: 0.75; margin-right: 6px; }
.price-row.save .val { color: #2E9E6B; font-weight: 700; }
.price-total {
  padding: 22px; display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line-soft);
}
.price-total .lbl { font-size: 13.5px; color: var(--ink-3); }
.price-total .num { font-family: 'Space Grotesk'; font-size: 36px; font-weight: 700; color: var(--ink-1); }
.price-floor {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0 22px 14px; padding: 9px 12px; border-radius: 11px;
  font-size: 12px; font-weight: 600; color: #2E9E6B;
  background: rgba(127,203,168,0.13); border: 1px solid rgba(127,203,168,0.3);
}
.price-floor:empty { display: none; }
.price-floor b { font-weight: 800; }
.buy-btn {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: block; width: calc(100% - 44px); margin: 0 22px 22px;
  padding: 18px; border-radius: var(--r-md);
  background: linear-gradient(135deg, #4F8AE0 0%, #2E5FBE 100%);
  color: white; font-weight: 700; font-size: 15px;
  text-align: center; text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 14px 32px -8px rgba(79, 138, 224, 0.55),
    0 4px 10px rgba(79, 138, 224, 0.22);
  transition:
    transform .4s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .35s ease;
}
.buy-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.34) 0%, transparent 50%);
  pointer-events: none; z-index: 1;
}
.buy-btn .liquid-spot {
  position: absolute; inset: 0;
  background: radial-gradient(circle 100px at var(--mx) var(--my),
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.15) 40%,
    transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}
.buy-btn:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 20px 44px -10px rgba(79,138,224,0.62), 0 8px 16px rgba(79,138,224,0.3); }
.buy-btn:hover .liquid-spot { opacity: 1; }
.buy-btn:active { transform: translateY(1px) scale(0.985); transition-duration: .12s; }

.slider-section { padding-top: 28px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.slider-header .lbl { font-size: 14px; font-weight: 600; }
.slider-header .badge {
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #DBEAFE, #BAE6FD);
  color: var(--accent-deep); font-weight: 700; font-size: 13px;
  border: 1px solid rgba(45,125,250,0.2);
}
.slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 10px; border-radius: 999px;
  background:
    linear-gradient(90deg,
      var(--accent) 0%,
      var(--accent-2) var(--p,0%),
      rgba(79,138,224,0.13) var(--p,0%),
      rgba(79,138,224,0.13) 100%);
  outline: none;
  box-shadow:
    inset 0 1px 2px rgba(40,55,110,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.6);
  transition: box-shadow .3s ease;
}
.slider:hover {
  box-shadow:
    inset 0 1px 2px rgba(40,55,110,0.12),
    inset 0 -1px 0 rgba(255,255,255,0.7),
    0 0 0 4px rgba(79,138,224,0.08);
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background:
    linear-gradient(155deg, #FFFFFF 0%, #E8F1FF 100%);
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 -1px 0 rgba(126,182,255,0.4) inset,
    0 4px 12px rgba(79,138,224,0.42),
    0 0 0 0 rgba(79,138,224,0.25);
  cursor: grab;
  transition:
    transform .3s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .3s ease;
}
.slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 -1px 0 rgba(126,182,255,0.4) inset,
    0 6px 18px rgba(79,138,224,0.55),
    0 0 0 8px rgba(79,138,224,0.12);
}
.slider:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.25);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 -1px 0 rgba(126,182,255,0.4) inset,
    0 6px 18px rgba(79,138,224,0.6),
    0 0 0 12px rgba(79,138,224,0.16);
}
.slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: linear-gradient(155deg, #FFFFFF 0%, #E8F1FF 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.95) inset,
    0 4px 12px rgba(79,138,224,0.42);
  cursor: grab;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
.slider::-moz-range-thumb:hover { transform: scale(1.18); }
.slider-minmax { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }

.included {
  margin-top: 28px;
}
.included-title { font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; font-weight: 500; }
.included-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
@media (max-width: 600px) { .included-list { grid-template-columns: 1fr; } }
.included-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-1);
  list-style: none;
}
.included-list .check {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #C8F0DD, #7FCBA8);
  color: white; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 4px 10px -3px rgba(127, 203, 168, 0.4);
}


.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1140px; margin: 0 auto;
}
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature-card {
  padding: 28px; border-radius: var(--r-lg);
  text-align: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-ic {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(184,225,255,0.75), rgba(168,212,255,0.55));
  border: 1px solid rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-deep); margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.feature-card h3 { font-family: 'Space Grotesk'; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  margin-bottom: 12px;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.faq-item:hover { transform: translateY(-1px); }
.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: transparent; border: none; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 600; color: var(--ink-1); text-align: left;
  transition: color .3s ease;
}
.faq-q:hover { color: var(--accent-deep); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(184,225,255,0.7), rgba(168,212,255,0.55));
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition:
    transform .55s cubic-bezier(.34, 1.4, .64, 1),
    background .4s ease,
    color .4s ease;
  border: 1px solid rgba(255,255,255,0.85);
}
.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: linear-gradient(135deg, #7EB6FF, #4F8AE0);
  color: white;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s cubic-bezier(.4, 0, .2, 1);
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
  padding: 0 24px;
  font-size: 14px; color: var(--ink-2); line-height: 1.65;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity .3s ease,
    transform .4s cubic-bezier(.4, 0, .2, 1),
    padding-bottom .5s cubic-bezier(.4, 0, .2, 1);
}
.faq-item.open .faq-a-inner {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 22px;
  transition:
    opacity .4s ease .15s,
    transform .45s cubic-bezier(.4, 0, .2, 1) .15s,
    padding-bottom .5s cubic-bezier(.4, 0, .2, 1);
}

.cta-box {
  max-width: 980px; margin: 80px auto 0;
  padding: 52px 32px; border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(126,182,255,0.45) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(168,212,255,0.4) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(197,240,235,0.3) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.avatar-stack {
  display: flex; justify-content: center; margin-bottom: 20px;
}
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #7EB6FF, #4F8AE0);
  border: 3px solid white;
  margin-left: -12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 16px -4px rgba(79,138,224,0.35);
}
.avatar:first-child { margin-left: 0; }
.avatar:nth-child(2) { background: linear-gradient(135deg, #A8D4FF, #5BA3FF); }
.avatar:nth-child(3) { background: linear-gradient(135deg, #C5F0EB, #7FCBC0); }
.avatar:nth-child(4) { background: linear-gradient(135deg, #5BA3FF, #2E5FBE); }
.cta-box h3 { font-family: 'Space Grotesk'; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cta-box p { color: var(--ink-2); margin-bottom: 24px; }

.footer {
  margin-top: 80px;
  padding: 60px 24px 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(220,235,255,0.5) 100%);
  border-top: 1px solid var(--line-soft);
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 36px; }
.footer-brand .name { font-family: 'Space Grotesk'; font-weight: 700; font-size: 20px; }
.footer-brand p { font-size: 14px; color: var(--ink-2); line-height: 1.6; max-width: 380px; }
.support-card {
  position: relative; isolation: isolate;
  padding: 22px 26px; border-radius: var(--r-md);
  background:
    linear-gradient(155deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.35) 100%) padding-box,
    var(--iri) border-box;
  border: 1.5px solid transparent;
  backdrop-filter: blur(22px) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.08);
  height: fit-content;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 1.5px 0 6px -3px rgba(184,225,255,0.6),
    inset -1.5px 0 6px -3px rgba(168,212,255,0.5),
    inset 0 14px 28px -14px rgba(255,255,255,0.55),
    0 22px 48px -16px rgba(91,134,229,0.32);
}
.support-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.7) 42%, rgba(255,255,255,0.3) 48%, transparent 60%);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
}
.support-card > * { position: relative; z-index: 2; }
.support-card .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-4); margin-bottom: 8px; }
.support-card a { font-size: 16px; font-weight: 600; color: var(--ink-1); text-decoration: none; }
.support-card a:hover { color: var(--accent-deep); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--accent-deep); }
.footer-divider { height: 1px; background: var(--line-soft); margin-bottom: 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--ink-3);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); transition: all .25s;
  box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset, 0 4px 12px -4px rgba(70,90,140,0.15);
}
.socials a:hover { color: var(--accent-deep); transform: translateY(-2px); background: white; }

.tab-content { display: none; }
.tab-content.active { display: block; }
::selection { background: rgba(45,125,250,0.3); color: var(--ink-1); }


.dash-page { min-height: 100vh; }

.lq-tabs {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border-radius: 14px;
  background: linear-gradient(155deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.30) 100%);
  border: 1px solid rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.05);
  backdrop-filter: blur(20px) saturate(180%) brightness(1.05);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 0 10px 20px -10px rgba(40,55,110,0.06);
  vertical-align: top;
}
.lq-tabs.lq-tabs-stretch { display: flex; }
.lq-tabs.lq-tabs-stretch .lq-tab { flex: 1; }
.lq-tabs::before {
  content: '';
  position: absolute;
  top: 5px; height: calc(100% - 10px);
  left: var(--tab-left, 5px);
  width: var(--tab-width, 0);
  border-radius: 10px;
  background: linear-gradient(155deg,
    #FFFFFF 0%,
    #DCEAFF 55%,
    #FFFFFF 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(168,212,255,0.5),
    inset 1.5px 0 6px -2px rgba(126,182,255,0.45),
    inset -1.5px 0 6px -2px rgba(126,182,255,0.4),
    0 6px 16px -3px rgba(79,138,224,0.32),
    0 2px 6px -1px rgba(79,138,224,0.18),
    0 0 0 1px rgba(126,182,255,0.18);
  transition:
    left .5s cubic-bezier(.34, 1.2, .64, 1),
    width .5s cubic-bezier(.34, 1.2, .64, 1);
  z-index: 0;
  opacity: 1;
}
.lq-tabs[data-no-active]::before { opacity: 0; }
.lq-tab {
  position: relative; z-index: 1;
  padding: 9px 16px;
  border-radius: 10px;
  background: transparent; border: none;
  cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600;
  color: var(--ink-3);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap;
  transition: color .35s ease;
}
.lq-tab:hover:not(.active) { color: var(--ink-1); }
.lq-tab.active { color: var(--accent-deep); font-weight: 700; }
.lq-tab .lq-tab-ic { width: 14px; height: 14px; opacity: 0.8; }

.fade-up { animation: fade-up .55s cubic-bezier(.34, 1.05, .64, 1) both; }
.fade-up.d-1 { animation-delay: 0.05s; }
.fade-up.d-2 { animation-delay: 0.12s; }
.fade-up.d-3 { animation-delay: 0.20s; }
.fade-up.d-4 { animation-delay: 0.28s; }
.fade-up.d-5 { animation-delay: 0.36s; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tile.stat-tile.fade-up { animation-name: stat-pop; }

.tile.tile-iri {
  position: relative;
  isolation: isolate;
  background: var(--iri);
  border: none;
  box-shadow:
    0 22px 56px -18px rgba(91, 134, 229, 0.4),
    0 8px 20px -6px rgba(168, 212, 255, 0.32);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.tile.tile-iri::before {
  content: '';
  position: absolute; inset: 3px;
  border-radius: inherit;
  background: linear-gradient(155deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.30) 50%,
    rgba(255,255,255,0.48) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
          backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
  pointer-events: none;
  z-index: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    inset 1px 0 4px -2px rgba(255,255,255,0.5),
    inset -1px 0 4px -2px rgba(255,255,255,0.4);
}
.tile.tile-iri::after {
  content: '';
  position: absolute; inset: 3px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 80% at 50% -20%, rgba(255,255,255,0.45) 0%, transparent 60%) 0 0 / 100% 100% no-repeat,
    linear-gradient(115deg,
      transparent 25%,
      rgba(255,255,255,0.55) 38%,
      rgba(255,255,255,0.85) 42%,
      rgba(255,255,255,0.4) 46%,
      transparent 60%) -8% 0 / 220% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
          mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
  opacity: 0.55;
}
.tile.tile-iri > * { position: relative; z-index: 2; }
@keyframes stat-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.tile.stat-tile { transition: transform .35s cubic-bezier(.34, 1.4, .64, 1), box-shadow .35s ease; }
.tile.stat-tile:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .tile.stat-tile.fade-up { animation: none; opacity: 1; transform: none; }
}

.dash-shell {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
  gap: 0;
}
@media (max-width: 900px) {
  .dash-shell { grid-template-columns: minmax(0, 1fr); }
}

.dash-sidebar {
  position: sticky; top: 0;
  height: 100vh;
  padding: 22px 14px;
  display: flex; flex-direction: column;
  gap: 4px;
  z-index: 20;
  isolation: isolate;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.35) 50%,
      rgba(255,255,255,0.5) 100%);
  border-right: 1px solid rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    inset -1px 0 0 rgba(184,225,255,0.18),
    8px 0 32px -10px rgba(70,90,140,0.08);
}
@media (max-width: 900px) {
  .dash-sidebar {
    position: fixed; top: 0; left: 0;
    width: 280px; max-width: 80vw;
    transform: translateX(-105%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 8px 0 40px -8px rgba(40,55,110,0.32);
  }
  .dash-sidebar.open { transform: translateX(0); }
}

.dash-logo {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px;
  text-decoration: none;
  margin-bottom: 18px;
}
.dash-logo img { height: 32px; }
.dash-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em; transform: translateY(-2px);
  background: linear-gradient(135deg, #2E5FBE 0%, #5BA3FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-group-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-4);
  padding: 14px 14px 6px;
}

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14px; font-weight: 500;
  position: relative;
  z-index: 1;
  transition: color .25s ease, background .3s ease, transform .3s ease;
}
.nav-item .nav-ic {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--ink-3);
  transition: color .25s ease;
}
.nav-item:hover {
  color: var(--accent-deep);
  background: linear-gradient(155deg, rgba(255,255,255,0.55), rgba(220,234,255,0.32));
  transform: translateX(2px);
}
.nav-item:hover .nav-ic { color: var(--accent-deep); transform: scale(1.08); transition: transform .3s cubic-bezier(.34, 1.4, .64, 1), color .25s ease; }
.nav-item.active { color: var(--accent-deep); font-weight: 600; }
.nav-item.active:hover { background: transparent; transform: none; }
.nav-item.active .nav-ic { color: var(--accent-deep); }

.nav-sub {
  display: flex; flex-direction: column; gap: 3px;
  position: relative; z-index: 1;
  max-height: 0; margin: -4px 0 0; opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height .44s cubic-bezier(.22, .61, .36, 1),
    margin     .44s cubic-bezier(.22, .61, .36, 1),
    opacity    .3s ease;
}
.nav-sub.open { max-height: 130px; margin: 4px 0 6px; opacity: 1; pointer-events: auto; }
.nav-sub.show-overflow { overflow: visible; }

.nav-subitem {
  position: relative; isolation: isolate; z-index: 1;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px 9px 30px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink-3); font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: color .4s ease, background .4s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
}
.nav-subitem::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: 12px;
  background: linear-gradient(155deg, #FFFFFF 0%, #DCEAFF 55%, #FFFFFF 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(168,212,255,0.5),
    inset 1.5px 0 6px -2px rgba(126,182,255,0.45),
    inset -1.5px 0 6px -2px rgba(126,182,255,0.4),
    0 6px 16px -3px rgba(79,138,224,0.32),
    0 2px 6px -1px rgba(79,138,224,0.18),
    0 0 0 1px rgba(126,182,255,0.18);
  opacity: 0;
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.nav-subitem.active::before { opacity: 1; }
.nav-subitem:not(.active):hover { color: var(--accent-deep); background: rgba(126,182,255,0.10); transform: translateX(2px); }
.nav-subitem.active { color: var(--accent-deep); font-weight: 600; }
.nav-sub-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: 0.4; flex-shrink: 0;
  transition: opacity .5s ease, box-shadow .5s ease;
}
.nav-subitem.active .nav-sub-dot { opacity: 1; box-shadow: 0 0 6px currentColor; }

@media (prefers-reduced-motion: reduce) {
  .nav-sub { transition: none; }
  .nav-subitem, .nav-subitem::before { transition: none; }
}

.nav-rail-ind {
  position: absolute;
  left: 14px; right: 14px;
  top: 0; height: 44px;
  border-radius: 12px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(155deg, #FFFFFF 0%, #DCEAFF 55%, #FFFFFF 100%);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(168,212,255,0.5),
    inset 1.5px 0 6px -2px rgba(126,182,255,0.45),
    inset -1.5px 0 6px -2px rgba(126,182,255,0.4),
    0 6px 16px -3px rgba(79,138,224,0.32),
    0 2px 6px -1px rgba(79,138,224,0.18),
    0 0 0 1px rgba(126,182,255,0.18);
  transition:
    transform .5s cubic-bezier(.34, 1.2, .64, 1),
    height .5s cubic-bezier(.34, 1.2, .64, 1);
}
.nav-rail-ind.ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .nav-rail-ind { transition: none; }
}

.dash-sidebar-foot { margin-top: auto; padding-top: 14px; }

.user-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.7) 0%, rgba(245,250,255,0.45) 100%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
  text-decoration: none;
}
.user-pill .avatar-sm {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #7EB6FF, #2E5FBE);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.user-pill .user-info { min-width: 0; flex: 1; }
.user-pill .user-name { font-size: 13px; font-weight: 600; color: var(--ink-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-pill .user-mail { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.logout-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  margin-top: 6px;
  transition: color .25s ease, background .3s ease;
}
.logout-btn:hover { color: #C36B4E; background: rgba(195,107,78,0.08); }

.dash-main {
  padding: 28px 36px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 768px) { .dash-main { padding: 18px 16px; } }

.dash-main.is-leaving { opacity: 0; transition: opacity .15s ease; }
.dash-main.is-entering { opacity: 0; }
.dash-main.is-entering-active { opacity: 1; transition: opacity .26s ease; }
@media (prefers-reduced-motion: reduce) {
  .dash-main.is-leaving, .dash-main.is-entering, .dash-main.is-entering-active { transition: none; }
}

.dash-topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.topbar-title h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700; letter-spacing: -0.025em;
  color: var(--ink-1);
}
.topbar-title p {
  font-size: 14px; color: var(--ink-3); margin-top: 2px;
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }

.balance-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 12px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.78) 0%, rgba(245,250,255,0.5) 100%);
  border: 1px solid rgba(184,225,255,0.55);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  font-size: 13.5px; font-weight: 600; color: var(--ink-1);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 4px 12px -3px rgba(70,90,140,0.12);
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1), box-shadow .3s ease;
}
.balance-pill:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 8px 20px -4px rgba(79,138,224,0.25);
}
.balance-pill .lbl { color: var(--ink-3); font-weight: 500; }
.balance-pill .val {
  color: var(--accent-deep);
  font-family: 'Space Grotesk'; font-weight: 700;
}

.hamburger {
  display: none;
  background: transparent; border: none; cursor: pointer;
  padding: 8px;
  color: var(--ink-1);
  border-radius: 10px;
}
.hamburger:hover { background: rgba(184,225,255,0.18); }
@media (max-width: 900px) { .hamburger { display: inline-flex; } }

.sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(40,55,110,0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 19;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.sidebar-overlay.show { opacity: 1; pointer-events: auto; }
@media (min-width: 901px) { .sidebar-overlay { display: none; } }

.tile {
  position: relative; isolation: isolate;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.42) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.2),
    0 12px 32px -10px rgba(40,55,110,0.18),
    0 4px 10px -3px rgba(70,90,140,0.1);
}
.tile h3 {
  font-family: 'Space Grotesk'; font-size: 15px; font-weight: 600;
  color: var(--ink-1); margin-bottom: 4px;
}
.tile p.tile-desc { font-size: 13px; color: var(--ink-3); line-height: 1.55; }

.stat-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; }
.stat-tile .label {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-4);
}
.stat-tile .value {
  font-family: 'Space Grotesk'; font-size: 28px; font-weight: 700; color: var(--ink-1);
  letter-spacing: -0.02em; margin-top: 4px; line-height: 1.1;
}
.stat-tile .delta {
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 4px;
}
.stat-tile .delta.up { color: #4FA67E; }
.stat-tile .delta.down { color: #C36B4E; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.dash-section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 26px 0 14px;
  gap: 14px; flex-wrap: wrap;
}
.dash-section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink-1);
}
.dash-section-head .head-sub { font-size: 13px; color: var(--ink-3); }

.chart-card { padding: 24px; }
.chart-card .chart-sub {
  font-size: 12.5px; color: var(--ink-3); margin-top: 2px;
}
.chart-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .chart-body { grid-template-columns: 1fr; }
}
.chart-left { min-width: 0; display: flex; flex-direction: column; }
.chart-x-row {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 11.5px; color: var(--ink-4); font-weight: 500;
  padding: 0 4px;
}
.chart-side {
  display: flex; flex-direction: column;
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid rgba(184,225,255,0.3);
}
@media (max-width: 880px) {
  .chart-side {
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    padding-top: 18px;
    border-left: none;
    border-top: 1px solid rgba(184,225,255,0.3);
  }
  .chart-side-row { flex: 1; min-width: 140px; }
}
.chart-side-row {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.55), rgba(245,250,255,0.32));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}
.csr-lbl {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-4);
}
.csr-val {
  font-family: 'Space Grotesk'; font-size: 22px; font-weight: 700;
  color: var(--ink-1); letter-spacing: -0.02em;
  margin-top: 4px;
}
.csr-val-sm { font-size: 17px; }
.csr-delta {
  font-size: 11.5px; color: var(--ink-3);
  margin-top: 3px;
}
.csr-delta.up { color: #4FA67E; font-weight: 600; }
.csr-delta.down { color: #C36B4E; font-weight: 600; }

.chart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 12px;
}
.chart-head h3 { font-family: 'Space Grotesk'; font-size: 16px; font-weight: 700; }
.chart-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chart-plan-dd { width: 220px; }
@media (max-width: 640px) {
  .chart-controls { width: 100%; }
  .chart-plan-dd { width: 100%; }
}

.dp-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.dp-plan {
  display: block; text-decoration: none; padding: 16px 18px;
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1), box-shadow .35s ease;
}
.dp-plan:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 18px 40px -16px rgba(40,55,110,0.28), 0 5px 12px -4px rgba(79,138,224,0.18);
}
.dp-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.dp-plan-type { font-family: 'Inter', system-ui, sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: -0.012em; color: var(--ink-1); text-transform: capitalize; }
.dp-plan-pct { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.dp-plan-used { font-family: 'Space Grotesk'; font-size: 15px; font-weight: 700; color: var(--ink-1); margin-bottom: 9px; }
.dp-bar { height: 7px; border-radius: 999px; overflow: hidden; background: rgba(184,225,255,0.32); border: 1px solid rgba(255,255,255,0.6); }
.dp-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4F8AE0, #5BA3FF); transition: width .7s cubic-bezier(.4, 0, .2, 1); }
.dp-bar.full > span { background: linear-gradient(90deg, #E08A4F, #E0A65B); }
.dp-plan-foot { font-size: 12px; color: var(--ink-3); margin-top: 9px; }
.dp-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 9px; min-height: 100%;
  border: 1.5px dashed rgba(126,182,255,0.5);
  background: rgba(126,182,255,0.05);
  box-shadow: none;
}
.dp-add:hover {
  transform: translateY(-3px);
  border-color: rgba(126,182,255,0.85);
  background: rgba(126,182,255,0.1);
  box-shadow: 0 16px 36px -16px rgba(40,55,110,0.26);
}
.dp-add-ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, #5BA3FF, #2E5FBE);
  box-shadow: 0 6px 14px -4px rgba(79,138,224,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}
.dp-add-tt { font-family: 'Inter', system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: -0.012em; color: var(--ink-1); }
.dp-add-dd { font-size: 11.5px; color: var(--ink-3); max-width: 190px; line-height: 1.4; }
.chart-period-tabs {
  display: flex; gap: 4px;
  padding: 4px;
  background: rgba(184,225,255,0.18);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.6);
}
.chart-period-tabs button {
  padding: 6px 12px; border-radius: 7px;
  background: transparent; border: none; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--ink-3);
  transition: all .25s ease;
}
.chart-period-tabs button.active {
  background: white; color: var(--accent-deep);
  box-shadow: 0 2px 8px -2px rgba(79,138,224,0.2);
}
.chart-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 272;
  display: block;
  cursor: crosshair;
}

.dash-form { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.dash-field { display: flex; flex-direction: column; gap: 7px; }
.dash-field-label { font-size: 13px; font-weight: 600; color: var(--ink-1); }
.dash-field-hint { font-size: 12px; color: var(--ink-3); }
.dash-input-wrap {
  position: relative; isolation: isolate;
  border-radius: 12px;
}
.dash-input-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.85) 0%, rgba(247,251,255,0.62) 50%, rgba(255,255,255,0.78) 100%);
  border: 1px solid rgba(184,225,255,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(168,212,255,0.18),
    0 2px 8px -2px rgba(70,90,140,0.08);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  pointer-events: none;
  z-index: 0;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.dash-input-wrap:focus-within::before {
  border-color: rgba(126,182,255,0.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(168,212,255,0.25),
    0 0 0 4px rgba(126,182,255,0.18),
    0 4px 14px -2px rgba(79,138,224,0.22);
}
.dash-input {
  position: relative; z-index: 1;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: none; outline: none;
  font-family: inherit; font-size: 14px;
  color: var(--ink-1);
}
.dash-input::placeholder { color: var(--ink-4); }

.seg {
  display: inline-flex;
  padding: 4px;
  background: rgba(184,225,255,0.18);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.seg-opt {
  padding: 9px 16px;
  border-radius: 9px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px; font-weight: 600;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .25s ease, background .3s ease;
}
.seg-opt:hover:not(.active) { color: var(--ink-1); }
.seg-opt.active {
  background: linear-gradient(155deg, #FFFFFF 0%, #DCEAFF 60%, #FFFFFF 100%);
  color: var(--accent-deep);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 4px 12px -3px rgba(79,138,224,0.25);
}
.seg-opt .seg-ic { width: 14px; height: 14px; }

.country-select { position: relative; user-select: none; }
.country-select-btn {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.85) 0%, rgba(247,251,255,0.62) 50%, rgba(255,255,255,0.78) 100%);
  border: 1px solid rgba(184,225,255,0.55);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  font-family: inherit; font-size: 14px;
  color: var(--ink-1);
  cursor: pointer; text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 2px 8px -2px rgba(70,90,140,0.08);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.country-select-btn:hover {
  border-color: rgba(126,182,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 0 3px rgba(126,182,255,0.12),
    0 4px 12px -2px rgba(79,138,224,0.18);
}
.country-select.open .country-select-btn {
  border-color: rgba(126,182,255,0.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 0 4px rgba(126,182,255,0.18),
    0 4px 14px -2px rgba(79,138,224,0.22);
}
.country-select-btn .flag-emoji { font-size: 18px; line-height: 1; }
.country-select-btn .country-name { flex: 1; }
.country-select-btn .chev {
  width: 14px; height: 14px;
  color: var(--ink-3);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.country-select.open .country-select-btn .chev { transform: rotate(180deg); }

.country-select-pop {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  z-index: 25;
  max-height: 320px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.92) 0%, rgba(247,251,255,0.85) 100%);
  border: 1px solid rgba(184,225,255,0.55);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 22px 50px -16px rgba(40,55,110,0.32),
    0 6px 16px -4px rgba(79,138,224,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity .25s ease,
    transform .35s cubic-bezier(.34, 1.2, .64, 1),
    visibility 0s linear .25s;
  pointer-events: none;
}
.country-select.open .country-select-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition:
    opacity .3s ease,
    transform .4s cubic-bezier(.34, 1.4, .64, 1),
    visibility 0s linear 0s;
}
.country-select.drop-up .country-select-pop {
  top: auto; bottom: calc(100% + 6px);
  transform: translateY(6px) scale(0.98);
  transform-origin: bottom center;
}
.country-select.drop-up.open .country-select-pop { transform: translateY(0) scale(1); }
.country-search {
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(184,225,255,0.25);
}
.country-search input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(245,250,255,0.7);
  border: 1px solid rgba(184,225,255,0.4);
  font-family: inherit; font-size: 13.5px;
  outline: none;
  color: var(--ink-1);
}
.country-search input:focus { border-color: rgba(126,182,255,0.6); background: white; }
.country-list { overflow-y: auto; padding: 6px; }
.country-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink-1);
  transition: background .2s ease;
}
.country-opt:hover, .country-opt.highlight { background: rgba(126,182,255,0.14); }
.country-opt .flag-emoji { font-size: 17px; line-height: 1; flex-shrink: 0; }
.country-opt .country-code {
  font-size: 11.5px; color: var(--ink-4);
  font-family: ui-monospace, monospace;
  margin-left: auto;
}

.dd { position: relative; user-select: none; }
.dd-btn {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.85) 0%, rgba(247,251,255,0.62) 50%, rgba(255,255,255,0.78) 100%);
  border: 1px solid rgba(184,225,255,0.55);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  font-family: inherit; font-size: 14px; color: var(--ink-1);
  cursor: pointer; text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 2px 8px -2px rgba(70,90,140,0.08);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.dd-btn:hover { border-color: rgba(126,182,255,0.65); box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 0 0 3px rgba(126,182,255,0.12), 0 4px 12px -2px rgba(79,138,224,0.18); }
.dd.open .dd-btn { border-color: rgba(126,182,255,0.75); box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 0 0 4px rgba(126,182,255,0.18), 0 4px 14px -2px rgba(79,138,224,0.22); }
.dd-btn .dd-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: capitalize; }
.dd-btn .chev { width: 14px; height: 14px; color: var(--ink-3); flex-shrink: 0; transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
.dd.open .dd-btn .chev { transform: rotate(180deg); }
.dd-pop {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 25;
  max-height: 0; border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(247,251,255,0.88) 100%);
  border: 1px solid rgba(184,225,255,0.55);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 22px 50px -16px rgba(40,55,110,0.32), 0 6px 16px -4px rgba(79,138,224,0.18);
  overflow: hidden; opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(0.98); transform-origin: top center;
  transition: opacity .25s ease, transform .35s cubic-bezier(.34,1.2,.64,1), visibility 0s linear .25s, max-height 0s linear .25s;
  pointer-events: none;
}
.dd.open .dd-pop {
  max-height: 320px; opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto;
  transition: opacity .3s ease, transform .4s cubic-bezier(.34,1.4,.64,1), visibility 0s linear 0s, max-height 0s linear 0s;
}
.dd-list { overflow-y: auto; padding: 6px; }
.dd-opt {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px;
  cursor: pointer; font-size: 13.5px; color: var(--ink-1); text-transform: capitalize;
  transition: background .2s ease, color .2s ease;
}
.dd-opt:hover, .dd-opt.highlight { background: rgba(126,182,255,0.14); }
.dd-opt.selected { background: rgba(126,182,255,0.18); color: var(--accent-deep); font-weight: 600; }
.dd-opt .dd-opt-sub { margin-left: auto; font-size: 11.5px; color: var(--ink-4); font-family: 'JetBrains Mono', monospace; text-transform: none; }

.output-wrap {
  position: relative; isolation: isolate;
  border-radius: 14px;
}
.output-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(247,251,255,0.85) 0%, rgba(232,241,255,0.65) 100%);
  border: 1px solid rgba(184,225,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  pointer-events: none;
  z-index: 0;
}
.output-textarea {
  position: relative; z-index: 1;
  width: 100%;
  padding: 16px 18px;
  padding-right: 70px;
  min-height: 130px;
  resize: vertical;
  background: transparent;
  border: none; outline: none;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-1);
  white-space: pre;
  overflow: auto;
}
.btn-toolbar {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  background: linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(220,234,255,0.85) 100%);
  border: 1px solid rgba(184,225,255,0.55);
  font-family: inherit; font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 2px 6px -1px rgba(70,90,140,0.12);
  transition:
    transform .3s cubic-bezier(.4, 0, .2, 1),
    box-shadow .3s ease,
    color .25s ease;
}
.btn-toolbar:hover {
  transform: translateY(-1px);
  color: var(--accent-deep);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 6px 16px -3px rgba(79,138,224,0.3);
}
.btn-toolbar:active {
  transform: translateY(0);
  transition-duration: .1s;
}



.btn-toolbar.is-regen svg { transform-origin: center; }
.btn-toolbar.is-regen.is-animating svg {
  animation: bt-regen-spin .8s cubic-bezier(.4, 0, .2, 1);
}
@keyframes bt-regen-spin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.btn-toolbar.is-download.is-animating svg {
  animation: bt-download-drop .65s cubic-bezier(.34, 1.4, .64, 1);
}
@keyframes bt-download-drop {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(3px); }
  70%  { transform: translateY(-1.5px); }
  100% { transform: translateY(0); }
}

.btn-toolbar.is-copy .bt-ico-swap {
  position: relative;
  display: inline-block;
  width: 13px; height: 13px;
  perspective: 200px;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.btn-toolbar.is-copy .bt-ico-swap svg {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: color .25s ease;
}
.btn-toolbar.is-copy .bt-ico-active {
  transform: rotateY(180deg);
  color: var(--accent-deep);
}
.btn-toolbar.is-copy.copied .bt-ico-swap {
  transform: rotateY(180deg);
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.tbl thead th {
  text-align: left;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-4);
  padding: 12px 14px;
  border-bottom: 1px solid rgba(184,225,255,0.28);
}
.tbl tbody td {
  padding: 14px;
  border-bottom: 1px solid rgba(184,225,255,0.18);
  color: var(--ink-1);
  vertical-align: middle;
}
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background .25s ease; position: relative; }
.tbl tbody tr td:first-child { position: relative; }
.tbl tbody tr td:first-child::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; border-radius: 999px;
  background: linear-gradient(180deg, #5BA3FF, #2E5FBE);
  opacity: 0; transform: scaleY(0.4);
  transition: opacity .25s ease, transform .35s cubic-bezier(.34, 1.5, .64, 1);
}
.tbl tbody tr:hover { background: linear-gradient(90deg, rgba(184,225,255,0.18) 0%, rgba(184,225,255,0.06) 100%); }
.tbl tbody tr:hover td:first-child::before { opacity: 1; transform: scaleY(1); }
.tbl .status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
}
.tbl .status-pill.ok {
  background: rgba(127,203,168,0.2);
  color: #2A8059;
  border: 1px solid rgba(127,203,168,0.35);
}
.tbl .status-pill.pending {
  background: rgba(244,200,138,0.22);
  color: #8A5C1F;
  border: 1px solid rgba(244,200,138,0.4);
}
.tbl .status-pill.failed {
  background: rgba(225,170,154,0.22);
  color: #9C4A2E;
  border: 1px solid rgba(225,170,154,0.4);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.plan-card {
  position: relative; isolation: isolate;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.42) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(255,255,255,0.2),
    0 12px 32px -10px rgba(40,55,110,0.18);
  transition: transform .35s cubic-bezier(.34, 1.4, .64, 1);
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured { padding-top: 38px; }
.plan-card.featured::after {
  content: 'POPULAR';
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5BA3FF, #2E5FBE);
  color: white;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  box-shadow: 0 4px 10px -2px rgba(79,138,224,0.4);
}
.plan-name {
  font-family: 'Space Grotesk'; font-size: 18px; font-weight: 700;
  color: var(--ink-1); margin-bottom: 4px;
}
.plan-tagline { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 18px;
}
.plan-price .amt {
  font-family: 'Space Grotesk'; font-size: 36px; font-weight: 700;
  color: var(--ink-1); letter-spacing: -0.02em;
}
.plan-price .unit { font-size: 13px; color: var(--ink-3); }
.plan-feat {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 22px;
  font-size: 13.5px; color: var(--ink-2);
}
.plan-feat li { display: flex; align-items: center; gap: 9px; }
.plan-feat .ck {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(184,225,255,0.6), rgba(168,212,255,0.45));
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.7);
}

.referral-link-row {
  display: flex; gap: 10px; align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(247,251,255,0.85) 0%, rgba(232,241,255,0.6) 100%);
  border: 1px solid rgba(184,225,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.referral-link-row code {
  flex: 1;
  font-family: ui-monospace, monospace;
  font-size: 13.5px;
  color: var(--ink-1);
  white-space: nowrap;
  overflow: auto;
}

.plan-slider-wrap {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(247,251,255,0.7), rgba(232,241,255,0.4));
  border: 1px solid rgba(184,225,255,0.32);
}
.plan-slider-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  margin-bottom: 10px;
}
.plan-slider-head .qty {
  font-family: 'Space Grotesk'; font-weight: 700;
  color: var(--accent-deep);
}

.toast-wrap {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  display: flex; flex-direction: column-reverse; gap: 8px;
  pointer-events: none;
}
.toast {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(245,250,255,0.85) 100%);
  border: 1px solid rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 14px 30px -8px rgba(40,55,110,0.28);
  color: var(--ink-1);
  font-size: 13.5px; font-weight: 500;
  pointer-events: auto;
  animation: toast-in .35s cubic-bezier(.34, 1.4, .64, 1);
  opacity: 0.95;
}
.toast.leaving { animation: toast-out .25s ease forwards; }
.toast .ico {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #7FCBC0, #4FA67E);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.toast.error .ico { background: linear-gradient(135deg, #F2998C, #D94E45); }
@keyframes toast-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 0.95; }
}
@keyframes toast-out {
  to { transform: translateY(20px); opacity: 0; }
}

@media (max-width: 640px) {
  .dash-topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .dash-topbar > div:first-child { min-width: 0; flex: 1 1 auto; }
  .topbar-title { min-width: 0; }
  .topbar-title h1 { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .topbar-title p { font-size: 13px; }
  .topbar-actions {
    flex: 0 0 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .topbar-actions .balance-pill { flex: 1 1 auto; justify-content: center; }

  .pl-types { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .pl-types .lq-tabs { min-width: max-content; }

  .chart-controls { width: 100%; }
  .chart-controls .lq-tabs {
    max-width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .chart-controls .lq-tabs::-webkit-scrollbar { display: none; }

  .lq-tabs.lq-tabs-stretch { max-width: 100%; }
  .lq-tabs.lq-tabs-stretch .lq-tab {
    min-width: 0;
    padding-left: 10px; padding-right: 10px;
    gap: 5px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .referral-link-row code { min-width: 0; }

  .balance-grid, .referral-hero, .profile-grid,
  .pl-presets, .pl-custom, .chart-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .balance-grid > *, .referral-hero > *, .profile-grid > *,
  .pl-presets > *, .pl-custom > *, .chart-body > * { min-width: 0; }
}

@media (max-width: 900px) {
  .tile > .tbl {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}
