/* =========================================================
   ZexoHost 2030 — Cloudzy-class design system
   Deep navy · Electric blue · Glass · Glow · Flash
   ========================================================= */
:root {
  --bg: #030712;
  --bg2: #0a1222;
  --surface: #0f1a2e;
  --card: #ffffff;
  --paper: #eef2ff;
  --ink: #0b1220;
  --muted: #5b6b8c;
  --line: #dbe3f0;
  --line-dark: #1a2744;
  --primary: #2f6bff;
  --primary-hover: #1a56f0;
  --primary-soft: #e8efff;
  --accent: #00e5a8;
  --accent-dark: #00c48c;
  --navy: #030712;
  --navy2: #0b1628;
  --sky: #4cc9ff;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --warn: #f59e0b;
  --danger: #f43f5e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(15, 30, 60, .08);
  --shadow-lg: 0 28px 70px rgba(15, 30, 60, .16);
  --glow: 0 0 48px rgba(47, 107, 255, .4);
  --glow-accent: 0 0 40px rgba(0, 229, 168, .35);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --header-h: 70px;
  --topbar-h: 38px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .15s, opacity .15s; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 36px)); margin: 0 auto; }

/* Topbar */
.topbar {
  background: linear-gradient(90deg, #030712 0%, #0b1a36 45%, #0c2d5e 100%);
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 500;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(47,107,255,.2);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.topbar a { color: #e2e8f0; }
.topbar .promo { color: var(--accent); font-weight: 700; }
.topbar .promo strong { color: #fff; }

/* Nav */
.nav {
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(47,107,255,.15);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.brand img, .logo { width: 32px; height: 32px; border-radius: 9px; }
.brand:hover { color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links > a,
.nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 10px;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-links > a:hover,
.nav-item > button:hover,
.nav-item.open > button {
  background: rgba(47,107,255,.12);
  color: #fff;
}

.nav-item { position: relative; }
.nav-item .chev { width: 12px; height: 12px; opacity: .45; transition: transform .2s; }
.nav-item.open .chev { transform: rotate(180deg); opacity: 1; }

.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #0a1628;
  border: 1px solid #1a2744;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(47,107,255,.12);
  padding: 22px;
  min-width: 780px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 120;
}
.mega.mega-sm { min-width: 480px; }
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 240px;
  gap: 8px 20px;
}
.mega-cols-2 { grid-template-columns: 1fr 1fr; }
.mega-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #64748b;
  margin-bottom: 10px;
  padding: 0 8px;
}
.mega-col a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  color: #e2e8f0;
  transition: background .15s;
  margin-bottom: 2px;
}
.mega-col a:hover { background: rgba(47,107,255,.12); color: #fff; }
.mega-col a strong { display: block; font-size: 13.5px; font-weight: 700; color: #f1f5f9; }
.mega-col a span { display: block; font-size: 12px; color: #64748b; font-weight: 500; margin-top: 2px; }
.mega-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  color: #fff;
}
.mega-promo {
  background: linear-gradient(160deg, #0c4a6e 0%, #1e3a5f 50%, #0f172a 100%);
  border-radius: 16px;
  padding: 20px 18px;
  border: 1px solid rgba(56,189,248,.2);
}
.mega-promo-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #38bdf8;
  margin-bottom: 8px;
}
.mega-promo h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.mega-promo p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.mega-promo a {
  color: #38bdf8;
  font-weight: 700;
  font-size: 13px;
}
.mega-promo a:hover { color: #7dd3fc; }
.btn-white {
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.btn-white:hover { background: #f1f5f9; color: #0f172a; }
.btn-ghost-dark {
  background: transparent;
  color: #cbd5e1;
  border: 1.5px solid rgba(148,163,184,.25);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.3); }
.nav-toggle { background: rgba(47,107,255,.15); }
.nav-toggle span { background: #93c5fd; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 13.5px;
  font-family: inherit;
  transition: transform .12s, box-shadow .2s, background .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, #2f6bff 0%, #1a56f0 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(47,107,255,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3d78ff 0%, #2f6bff 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(47,107,255,.45);
}
.btn-accent {
  background: linear-gradient(135deg, #00e5a8, #00c48c);
  color: #03281e;
  box-shadow: 0 6px 18px rgba(0,229,168,.3);
}
.btn-accent:hover { filter: brightness(1.05); color: #03281e; }
.btn-dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(3,7,18,.25);
}
.btn-dark:hover { background: #0f1a2e; color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: #fff; border-color: #b6c4dc; color: var(--ink); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-danger {
  background: #fff1f2;
  color: var(--danger);
  border: 1px solid #fecdd3;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--primary-soft);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0;
  background: #fff;
  z-index: 90;
  overflow-y: auto;
  padding: 16px 20px 40px;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.nav.open .mobile-panel { display: block; transform: translateX(0); }
.mobile-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3,7,18,.5);
  z-index: 85;
}
.nav.open .mobile-scrim { display: block; }
.mobile-section { margin-bottom: 20px; }
.mobile-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
}
.mobile-section a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.mobile-section a span { font-size: 12px; color: var(--muted); font-weight: 500; }
.mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
.mobile-cta .btn { width: 100%; }

/* ===== HERO 2030 flash ===== */
.hero {
  background:
    radial-gradient(ellipse 100% 80% at 50% -40%, rgba(47,107,255,.55) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(0,229,168,.12) 0%, transparent 45%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(139,92,246,.1) 0%, transparent 40%),
    linear-gradient(165deg, #030712 0%, #0a1628 40%, #0c1e3d 100%);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,.25), transparent 70%);
  top: -120px;
  right: -80px;
  filter: blur(40px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(47,107,255,.15);
  border: 1px solid rgba(47,107,255,.3);
  border-radius: 999px;
}
.hero-kicker .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,229,168,.25), 0 0 12px var(--accent);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,229,168,.25), 0 0 12px var(--accent); }
  50% { box-shadow: 0 0 0 8px rgba(0,229,168,.1), 0 0 20px var(--accent); }
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 800;
  max-width: 820px;
  margin-bottom: 18px;
}
.hero h1 .hl {
  background: linear-gradient(135deg, #4cc9ff 0%, #2f6bff 50%, #00e5a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .lead {
  font-size: 17px;
  color: #94a8c7;
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: #7b8fad;
}
.hero-meta .stars { color: #fbbf24; letter-spacing: 1px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,229,168,.12);
  color: #86efac;
  border: 1px solid rgba(0,229,168,.3);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

/* Terminal */
.terminal {
  background: #0a1222;
  border: 1px solid #1a2744;
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(47,107,255,.15);
  max-width: 520px;
}
.terminal-bar {
  background: #0f1a2e;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-bar .r { background: #f43f5e; }
.terminal-bar .y { background: #f59e0b; }
.terminal-bar .g { background: #00e5a8; }
.terminal-body { padding: 16px 18px; color: #94a3b8; line-height: 1.7; }
.terminal-body .ok { color: #86efac; }
.terminal-body .cmd { color: #e2e8f0; }
.terminal-body .dim { color: #475569; }

/* Sections */
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-dark {
  background: linear-gradient(180deg, #030712 0%, #0a1628 100%);
  color: #e2e8f0;
}
.kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -.035em;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}
.section-dark h2 { color: #fff; }
.sub {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 560px;
  margin-bottom: 28px;
}
.section-dark .sub { color: #94a3b8; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Cards — glass / flash */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #c5d4f0;
  transform: translateY(-2px);
}
.card.glow:hover {
  box-shadow: var(--glow), var(--shadow-lg);
  border-color: rgba(47,107,255,.45);
}
.feat-card { text-align: left; }
.feat-ico {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #e8efff, #dbeafe);
  color: var(--primary);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(47,107,255,.15);
}
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feat-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* Plan cards */
.plan {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  position: relative;
  padding: 28px 22px;
  overflow: hidden;
}
.plan.popular {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #2f6bff, #00e5a8) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 40px rgba(47,107,255,.2), var(--shadow-lg);
}
.plan .badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2f6bff, #1a56f0);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 0 0 12px 12px;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(47,107,255,.35);
}
.plan .plan-name { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 4px; margin-top: 8px; }
.plan .price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 4px 0 2px;
  color: var(--ink);
}
.plan .price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan .old-price {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 6px;
}
.plan .save {
  display: inline-block;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.plan .specs {
  display: grid;
  gap: 8px;
  margin: 10px 0 18px;
  font-size: 13.5px;
  color: #334155;
}
.plan .spec {
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan .spec::before {
  content: "✓";
  color: var(--accent-dark);
  font-weight: 800;
  flex-shrink: 0;
}
.plan .grow { margin-top: auto; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  text-align: center;
  padding: 22px 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stat .num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #2f6bff, #00e5a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat .label { font-size: 12.5px; color: var(--muted); margin-top: 4px; font-weight: 600; }

/* Footer */
.footer {
  background: linear-gradient(180deg, #030712 0%, #0a1222 100%);
  color: #94a3b8;
  padding: 56px 0 28px;
  margin-top: 0;
  border-top: 1px solid #1a2744;
}
.footer a { color: #cbd5e1; display: block; margin: 7px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.fg {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid #1a2744;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { display: inline; margin: 0 10px 0 0; color: #64748b; }
.footer-bottom a:hover { color: #fff; }
.footer .coin {
  padding: 4px 8px;
  font-size: 11px;
  gap: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.footer .coin img { width: 14px; height: 14px; }

/* Forms */
.form { display: grid; gap: 14px; }
label { font-size: 13px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 4px; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47,107,255,.15);
}
textarea { min-height: 110px; resize: vertical; }

.notice {
  padding: 13px 16px;
  border-radius: 12px;
  margin: 12px 0;
  font-size: 14px;
  font-weight: 500;
}
.notice.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice.err { background: #fff1f2; color: #9f1239; border: 1px solid #fecaca; }
.notice.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.notice.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}
.pill-pending { background: #fffbeb; color: #b45309; }
.pill-paid { background: #ecfdf5; color: #047857; }
.pill-active { background: #eff6ff; color: #1d4ed8; }

.addr {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--navy);
  color: #a7f3d0;
  padding: 14px 16px;
  border-radius: 12px;
  word-break: break-all;
}
.paybox { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.qrwrap {
  background: #fff;
  width: 240px; height: 240px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.coins { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.coin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.coin img { width: 18px; height: 18px; }

/* Dashboard */
.dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 70vh;
  gap: 24px;
  padding: 28px 0 48px;
}
.side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 10px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.side a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
}
.side a.active, .side a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Admin — narrow modern sidebar */
.admin-shell {
  display: grid;
  grid-template-columns: 188px 1fr;
  min-height: 100vh;
  background: #eef2ff;
}
.admin-side {
  background: linear-gradient(180deg, #030712 0%, #0a1628 100%);
  color: #94a3b8;
  padding: 14px 8px;
  border-right: 1px solid #1a2744;
}
.admin-side .brand {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff !important;
  padding: 10px 12px 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid #1a2744;
}
.admin-side a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 12.5px;
  margin-bottom: 1px;
  transition: background .15s, color .15s;
}
.admin-side a:hover, .admin-side a.active {
  background: rgba(47,107,255,.18);
  color: #fff;
}
.admin-side a.active {
  border-left: 3px solid #2f6bff;
  padding-left: 8px;
}
.admin-main {
  padding: 22px 26px;
  min-width: 0;
}

table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: top;
}
th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
}

.cycle-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.cycle-tabs button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  color: #475569;
  transition: all .15s;
}
.cycle-tabs button.active {
  background: linear-gradient(135deg, #2f6bff, #1a56f0);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(47,107,255,.3);
}
.cycle-tabs .save-tag {
  font-size: 11px;
  background: #ecfdf5;
  color: #047857;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 700;
}

/* Location flag boxes only (no map on home) */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.loc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: var(--shadow);
}
.loc-item:hover {
  border-color: rgba(47,107,255,.4);
  box-shadow: var(--glow), var(--shadow);
  transform: translateY(-2px);
}
.loc-item img {
  width: 32px !important;
  height: 22px !important;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.flagpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 6px 4px 0;
  font-size: 14px;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.flagimg, .flagpill img {
  width: 28px !important;
  height: 20px !important;
  border-radius: 3px;
  object-fit: cover;
}

/* World map (locations page only) */
.worldmap {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1628 0%, #132f4c 100%);
  border: 1px solid #1a3a5f;
  box-shadow: var(--shadow-lg);
}
.worldmap-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .5;
  filter: brightness(.85) contrast(1.1) saturate(.6);
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: transform .15s, box-shadow .15s;
  border: 1px solid #fff;
}
.map-pin:hover {
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 6px 24px rgba(47,107,255,.5);
  z-index: 3;
}
.map-pin img {
  width: 28px !important;
  height: 18px !important;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.tabs a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: #475569;
  font-weight: 600;
  font-size: 13px;
  transition: all .15s;
}
.tabs a:hover { border-color: #94a3b8; color: var(--ink); }
.tabs a.on {
  background: linear-gradient(135deg, #2f6bff, #1a56f0);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(47,107,255,.3);
}

.feat { list-style: none; padding: 0; margin: 0; }
.feat li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.feat li:last-child { border-bottom: 0; }
.off-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
}
.list-price { font-size: 13px; color: var(--muted); text-decoration: line-through; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-sm { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .fg { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .side { position: static; }
  .paybox { grid-template-columns: 1fr; }
  .mega { min-width: 400px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; }
  .admin-side .brand { width: 100%; border: 0; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 28px); }
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar span:not(.promo) { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 32px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .fg { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .plan { min-height: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
.tight { padding-top: 40px; padding-bottom: 40px; }
.text-center { text-align: center; }
.hidden { display: none !important; }


/* Dark pricing cards (Cloudzy-style) */
.pricing-dark {
  background: linear-gradient(180deg, #030712 0%, #0a1628 100%);
  color: #e2e8f0;
}
.pricing-dark h2 { color: #fff; }
.pricing-dark .sub { color: #94a3b8; }
.pricing-dark .plan {
  background: #0f1a2e;
  border: 1px solid #1a2744;
  color: #e2e8f0;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.pricing-dark .plan:hover {
  border-color: rgba(47,107,255,.4);
  box-shadow: 0 0 40px rgba(47,107,255,.2);
}
.pricing-dark .plan .plan-name { color: #94a3b8; }
.pricing-dark .plan .price { color: #fff; }
.pricing-dark .plan .price span { color: #64748b; }
.pricing-dark .plan .specs { color: #cbd5e1; }
.pricing-dark .plan.popular {
  background: linear-gradient(160deg, #0f1a2e 0%, #122a4a 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px #2f6bff, 0 0 40px rgba(47,107,255,.25);
}
.pricing-dark .plan.popular .price { color: #38bdf8; }
.pricing-dark .btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #e2e8f0;
}
.pricing-dark .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.pricing-dark .cycle-tabs button {
  background: transparent;
  border-color: #1a2744;
  color: #94a3b8;
}
.pricing-dark .cycle-tabs button.active {
  background: #fff;
  color: #0f172a;
  border-color: transparent;
}
.pricing-dark .cycle-tabs .save-tag {
  background: rgba(0,229,168,.15);
  color: #34d399;
}

/* Body base slightly cooler */
body { background: #f0f4ff; }

/* ========== FINAL: full dark site, no white surfaces ========== */
body {
  background: #070d1a !important;
  color: #e2e8f0 !important;
}
.section {
  background: #070d1a;
}
.section h2 { color: #f8fafc !important; }
.sub { color: #94a3b8 !important; }
.kicker { color: #38bdf8 !important; }

/* Cards dark */
.card {
  background: #0f1a2e !important;
  border: 1px solid #1a2744 !important;
  color: #e2e8f0 !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.35) !important;
}
.card:hover {
  border-color: rgba(47,107,255,.45) !important;
  box-shadow: 0 0 36px rgba(47,107,255,.22) !important;
  transform: translateY(-3px);
}
.card h3, .feat-card h3 { color: #f1f5f9 !important; }
.feat-card p, .card p, .card .sub { color: #94a3b8 !important; }

/* Feature icons centered top */
.feat-card {
  text-align: center !important;
  padding: 28px 20px !important;
}
.feat-ico, .feat-icon {
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 16px !important;
  background: rgba(47,107,255,.12) !important;
  border: 1px solid rgba(56,189,248,.2) !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 4px 20px rgba(47,107,255,.15) !important;
}
.feat-ico img, .feat-icon img {
  width: 28px !important;
  height: 28px !important;
}

/* Stats on dark */
.stat {
  background: #0f1a2e !important;
  border: 1px solid #1a2744 !important;
}
.stat .label { color: #94a3b8 !important; }

/* Light-ish sections force dark */
.section[style*="background:#f"],
.section[style*="background: #f"],
.section[style*="background:#fff"],
.section[style*="background: #fff"] {
  background: #0a1222 !important;
}

/* Forms dark */
input, select, textarea {
  background: #0a1628 !important;
  border-color: #1a2744 !important;
  color: #e2e8f0 !important;
}
label { color: #94a3b8 !important; }
input:focus, select:focus, textarea:focus {
  border-color: #2f6bff !important;
  box-shadow: 0 0 0 4px rgba(47,107,255,.2) !important;
}

/* Product page sticky box */
.buybox, .sticky-buy, .product-buy {
  background: #0f1a2e !important;
  border: 1px solid #1a2744 !important;
}

/* Tables */
th { color: #64748b !important; }
td { color: #cbd5e1 !important; border-color: #1a2744 !important; }

/* Loc items */
.loc-item {
  background: #0f1a2e !important;
  border-color: #1a2744 !important;
  color: #e2e8f0 !important;
}
.loc-item:hover {
  border-color: rgba(47,107,255,.5) !important;
}

/* Mobile panel dark */
.mobile-panel {
  background: #0a1628 !important;
  color: #e2e8f0 !important;
}
.mobile-section h4 { color: #64748b !important; }
.mobile-section a {
  color: #e2e8f0 !important;
  border-bottom-color: #1a2744 !important;
}
.mobile-section a span { color: #64748b !important; }
.nav-toggle {
  background: rgba(47,107,255,.2) !important;
}
.nav-toggle span { background: #93c5fd !important; }

/* Notice on dark */
/* t531: solid backgrounds — never inherit/blend with a parent colour (light parents made these unreadable) */
.notice.ok { background: #072a22; border-color: rgba(16,185,129,.3); color: #6ee7b7; }
.notice.err { background: #2b0f16; border-color: rgba(244,63,94,.3); color: #fda4af; }

/* Shape cards grid links */
a.card { color: inherit !important; }
a.card h3 { color: #f1f5f9 !important; }

/* Pill flags */
.flagpill {
  background: #0a1628 !important;
  color: #e2e8f0 !important;
  border: 1px solid #1a2744;
}

/* Ensure main content not white */
main { background: #070d1a; min-height: 40vh; }

.product-page .card { background:#0f1a2e !important; }
.product-page { color:#e2e8f0; }
.nav.open .mobile-panel {
  display: block !important;
  transform: translateX(0) !important;
}
.mobile-panel {
  display: none;
  position: fixed !important;
  inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0 !important;
  z-index: 200 !important;
  overflow-y: auto !important;
  padding: 16px 20px 40px !important;
  transform: translateX(100%);
  transition: transform .28s ease !important;
}
.nav.open .mobile-scrim {
  display: block !important;
  z-index: 190 !important;
}
.mobile-scrim {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.6) !important;
}
@media (max-width: 1024px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }
}
/* ========== VISIBILITY FIX — all text readable on dark ========== */
body, main { color: #e2e8f0 !important; background: #070d1a !important; }
h1, h2, h3, h4, h5 { color: #f8fafc !important; }
p, .sub, .lead { color: #94a3b8 !important; }
b, strong, .price, .plan .price { color: #f8fafc !important; }
.plan .plan-name { color: #cbd5e1 !important; }
.plan .price span { color: #94a3b8 !important; }
.plan .old-price { color: #64748b !important; }
.plan .specs, .plan .spec { color: #cbd5e1 !important; }
.plan .spec::before { color: #34d399 !important; }

/* Spec boxes on product page — was white */
.product-page .card,
.product-page [class*="spec"],
.grid-2 > div, .grid-3 > div {
  color: #e2e8f0;
}
.product-page input, .product-page select,
.product-page .card > div {
  background: #0a1628 !important;
  color: #e2e8f0 !important;
  border-color: #1a2744 !important;
}

/* Force any leftover white cards */
[style*="background:#fff"], [style*="background: #fff"],
[style*="background:#f"], [style*="background: #f"] {
  background: #0f1a2e !important;
  color: #e2e8f0 !important;
}

/* Topup amount chips */
.amt-chip, .topup-amts a, .topup-amts button, .amount-pick, .chip {
  background: #0f1a2e !important;
  color: #f8fafc !important;
  border: 1px solid #1a2744 !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
.amt-chip:hover, .topup-amts a:hover {
  border-color: #2f6bff !important;
  color: #fff !important;
}

/* Footer coins — white text */
.footer .coin, .coins .coin {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.footer .coin img, .coins .coin img {
  width: 16px !important;
  height: 16px !important;
}

/* Admin light text on dark cards */
.admin-main { color: #e2e8f0 !important; background: #070d1a !important; }
.admin-main h1, .admin-main h2, .admin-main h3 { color: #f8fafc !important; }
.admin-main .card { background: #0f1a2e !important; border-color: #1a2744 !important; }
.admin-main .card b { color: #f8fafc !important; font-size: 22px; }
.admin-main .sub { color: #94a3b8 !important; }
.admin-main .kicker { color: #38bdf8 !important; }
.admin-shell { background: #070d1a !important; }
.tabs a { background: #0f1a2e !important; color: #cbd5e1 !important; border-color: #1a2744 !important; }
.tabs a.on { background: linear-gradient(135deg,#2f6bff,#1a56f0) !important; color: #fff !important; }

/* Client dashboard */
.client-area .card b, section .card b { color: #f8fafc !important; }

/* Mega menu layout fix — no overlap */
.mega-col a {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 10px !important;
  min-height: 52px;
}
.mega-col a .mega-ico {
  flex-shrink: 0 !important;
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden;
}
.mega-col a .mega-ico img {
  width: 18px !important;
  height: 18px !important;
  filter: brightness(0) invert(1) !important;
  display: block !important;
}
.mega-col a > div {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  flex: 1;
}
.mega-col a strong {
  display: block !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega-col a span {
  display: block !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

/* Topbar centered with gaps */
.topbar .wrap {
  justify-content: center !important;
  gap: 28px !important;
  flex-wrap: wrap;
}
.topbar span { white-space: nowrap; }

/* Payment / invoice text */
.addr { color: #86efac !important; }
.pill-pending { background: rgba(245,158,11,.15) !important; color: #fbbf24 !important; }
.pill-paid { background: rgba(16,185,129,.15) !important; color: #34d399 !important; }

/* Select/dropdown readable */
select option { background: #0a1628; color: #e2e8f0; }

/* Locrow flags on product */
.locrow, .flagpill { color: #e2e8f0 !important; }
.flagpill { background: #0a1628 !important; border: 1px solid #1a2744; }

/* FAQ on product */
details, summary { color: #e2e8f0 !important; }
.admin-main h2 { color: #f8fafc !important; }
.admin-main .card b { color: #38bdf8 !important; }
.admin-main table { color: #e2e8f0; }
.admin-main th { color: #94a3b8 !important; }
.admin-main td { color: #cbd5e1 !important; border-color: #1a2744 !important; }
.admin-main a { color: #38bdf8; }
.notice.info {
  background: #0d1f45 !important; /* t531: solid (was rgba(47,107,255,.15)) */
  border: 1px solid rgba(56,189,248,.35) !important;
  color: #e0f2fe !important;
}
.notice.info strong, .notice.info b { color: #fff !important; }
.pricing-dark .btn-outline,
.plan .btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,.4) !important;
  background: transparent !important;
}
.pricing-dark .btn-outline:hover,
.plan .btn-outline:hover {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
}
.plan .btn-ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.35) !important;
  background: transparent !important;
}

/* ===== Global dashboard readability (admin / client / partner) ===== */
.dash, .admin-shell, .admin-main, .client-area {
  color: #e2e8f0 !important;
}
.side.card, .admin-side {
  background: #0a1628 !important;
  border: 1px solid #1a2744 !important;
}
.side a, .admin-side a {
  color: #cbd5e1 !important;
  border-radius: 10px;
  padding: 10px 12px !important;
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 13.5px;
}
.side a:hover, .admin-side a:hover,
.side a.active, .admin-side a.active {
  background: rgba(47,107,255,.22) !important;
  color: #fff !important;
}
.dash h2, .admin-main h2, .client-area h2 { color: #f8fafc !important; }
.dash .card, .admin-main .card, .client-area .card {
  background: #0f1a2e !important;
  border: 1px solid #1a2744 !important;
  color: #e2e8f0 !important;
}
.dash .card b, .admin-main .card b { color: #38bdf8 !important; }
.btn-primary { color: #fff !important; background: linear-gradient(135deg,#2563eb,#1d4ed8) !important; border: none !important; } /* t552: #2f6bff gave 4.499:1 with white */
.btn-outline, .btn-ghost, .btn-ghost-dark {
  color: #f1f5f9 !important;
  border: 1.5px solid rgba(148,163,184,.4) !important;
  background: transparent !important;
}
.btn-outline:hover, .btn-ghost:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
.btn-navy, .btn-dark { background: #1e3a5f !important; color: #fff !important; }
.dash table, .admin-main table { color: #e2e8f0 !important; }
.dash th, .admin-main th { color: #94a3b8 !important; }
.dash td, .admin-main td { color: #cbd5e1 !important; border-color: #1a2744 !important; }
.dash code, .affiliate-link code { color: #86efac !important; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 16px 0; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat-tile { background: #0f1a2e; border: 1px solid #1a2744; border-radius: 14px; padding: 14px 16px; }
.stat-tile .n { font-size: 22px; font-weight: 800; color: #38bdf8; }
.stat-tile .l { font-size: 12px; color: #94a3b8; font-weight: 600; margin-top: 4px; }
.copy-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; }
.copy-row code { flex: 1; min-width: 200px; word-break: break-all; }
.copy-row .btn { flex-shrink: 0; }

/* Mega menu reliability */
@media (hover: hover) and (min-width: 1025px) {
  .nav-item:hover > .mega,
  .nav-item:focus-within > .mega,
  .nav-item.open > .mega {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }
}
.nav-item.open > .mega {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
  display: block !important;
}
.nav-links .nav-item { position: relative; }
.nav-item > button { cursor: pointer; }

/* Partner product links always readable */
.copy-row { background: #0a1628; border: 1px solid #1a2744; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.copy-row code { display: block; margin-top: 6px; color: #86efac !important; font-size: 12px; }

/* Trust strip */
.trust-strip {
  text-align: center;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(47,107,255,.12), rgba(0,229,168,.08));
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 14px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  margin: 0 auto 8px;
  max-width: 720px;
}
.trust-strip span { color: #94a3b8; font-weight: 500; }

/* ===== FINAL MOBILE MENU FIX ===== */
@media (max-width: 1024px) {
  .nav-links { display: none !important; }
  .nav-actions .btn { display: none !important; }
  .nav-toggle {
    display: flex !important;
    position: relative;
    z-index: 220;
  }
}
.mobile-scrim {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.65) !important;
  z-index: 200 !important;
}
.nav.open .mobile-scrim {
  display: block !important;
}
.mobile-panel {
  display: none;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(340px, 88vw) !important;
  background: #0b1220 !important;
  border-left: 1px solid #1a2744 !important;
  z-index: 210 !important;
  overflow-y: auto !important;
  padding: 72px 20px 40px !important;
  transform: translateX(100%) !important;
  transition: transform .28s ease !important;
  box-shadow: -12px 0 40px rgba(0,0,0,.45) !important;
}
.nav.open .mobile-panel {
  display: block !important;
  transform: translateX(0) !important;
}
.mobile-section h4 {
  color: #64748b !important;
  font-size: 11px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  margin: 18px 0 6px !important;
}
.mobile-section a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #1a2744 !important;
  color: #e2e8f0 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}
.mobile-section a span {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.mobile-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-cta .btn {
  width: 100%;
  text-align: center;
  display: block !important;
}
.nav-toggle {
  background: rgba(47,107,255,.2) !important;
  border: 1px solid rgba(147,197,253,.3) !important;
}
.nav-toggle span {
  background: #93c5fd !important;
}

/* ===== MOBILE MENU — FORCE FULL OVERLAY ===== */
@media (max-width: 1024px) {
  .nav-links,
  .nav-item,
  .mega,
  .mega.mega-dark,
  .nav-item.open .mega {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  .nav-actions .btn-sm,
  .nav-actions .btn {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
    z-index: 300 !important;
  }
  .mobile-scrim {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.7) !important;
    z-index: 250 !important;
  }
  .nav.open .mobile-scrim {
    display: block !important;
  }
  .mobile-panel {
    display: none;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #070d1a !important;
    z-index: 260 !important;
    overflow-y: auto !important;
    padding: 80px 20px 60px !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .nav.open .mobile-panel {
    display: block !important;
    transform: none !important;
  }
  .mobile-section h4 {
    color: #64748b !important;
    font-size: 12px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    margin: 22px 0 8px !important;
    font-weight: 700 !important;
  }
  .mobile-section a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #1a2744 !important;
    color: #f1f5f9 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
  }
  .mobile-section a span {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }
  .mobile-cta {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-cta .btn {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 14px !important;
    font-size: 15px !important;
  }
}

/* ===== MOBILE MENU FULL SCREEN FORCE ===== */
@media (max-width: 1024px) {
  .nav-links,
  .nav-item,
  .mega,
  .mega.mega-dark,
  .nav-item.open .mega,
  .nav-item > button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  .nav-actions .btn,
  .nav-actions .btn-sm {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
    z-index: 999 !important;
    position: relative;
  }
  .mobile-scrim {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.75) !important;
    z-index: 998 !important;
  }
  .nav.open .mobile-scrim {
    display: block !important;
  }
  .mobile-panel {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    background: #070d1a !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
    padding: 90px 24px 80px !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
  }
  .nav.open .mobile-panel {
    display: block !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .mobile-section {
    margin-bottom: 8px !important;
  }
  .mobile-section h4 {
    color: #64748b !important;
    font-size: 12px !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    margin: 28px 0 10px !important;
    font-weight: 700 !important;
  }
  .mobile-section a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid #1a2744 !important;
    color: #f8fafc !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    text-decoration: none !important;
  }
  .mobile-section a span {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }
  .mobile-cta {
    margin-top: 36px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .mobile-cta .btn {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 16px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }
}

/* ===== MOBILE MENU — SCROLLABLE + STICKY CTA ===== */
@media (max-width: 1024px) {
  .mobile-panel {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #070d1a !important;
    z-index: 1000 !important;
    overflow: hidden !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .nav.open .mobile-panel {
    display: flex !important;
  }
  .mobile-panel .mobile-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 90px 24px 20px;
  }
  .mobile-cta {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 16px 24px 28px;
    background: #070d1a;
    border-top: 1px solid #1a2744;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    position: sticky;
    bottom: 0;
    z-index: 2;
  }
  .mobile-cta .btn {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 14px !important;
    font-size: 15px !important;
  }
}

/* ===== SHOW PASSWORD TOGGLE ===== */
.pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pw-wrap input[type="password"],
.pw-wrap input[type="text"] {
  flex: 1;
  padding-right: 44px !important;
}
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #64748b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}
.pw-toggle:hover {
  color: #e2e8f0;
  background: rgba(255,255,255,.06);
}

/* Dark theme text safety */
.card, .card p, .card label, .card .sub, .card td, .card th { color: #cbd5e1; }
.card h1, .card h2, .card h3, .card b, .card strong { color: #f8fafc; }
.card input, .card select, .card textarea { background: #0a1628; color: #f8fafc; border-color: #1a2744; }

.dash-sidebar { position:fixed; left:0; top:0; width:200px; height:100vh; background:#0a1628; border-right:1px solid #1a2744; padding:16px 0; z-index:100; overflow-y:auto; }
.dash-brand { font-weight:800; font-size:18px; padding:8px 16px 20px; color:#f8fafc; }
.dash-link { display:block; padding:10px 16px; color:#94a3b8; text-decoration:none; font-size:14px; }
.dash-link:hover, .dash-link.active { background:#1a2744; color:#f8fafc; }
.dash-main { margin-left:200px; padding:20px; min-height:100vh; }
@media(max-width:768px) { .dash-sidebar { width:60px; } .dash-link { font-size:0; padding:12px; } .dash-link::before { content:"•"; font-size:16px; } .dash-main { margin-left:60px; } }
