/* Navy night — dark blue throughout. Layout unchanged. */

:root {
  --radius: 0.95rem;
  --background: #06152B;
  --foreground: #E7F0FF;
  --card: #0C2344;
  --primary: #38BDF8;
  --primary-glow: #7DD3FC;
  --secondary: #123056;
  --muted: #0F2A4D;
  --muted-foreground: #93A4C3;
  --accent: #22D3EE;
  --success: #34D399;
  --destructive: #FB7185;
  --border: rgba(125, 211, 252, 0.22);
  --input: rgba(12, 35, 68, 0.9);
  --glass: rgba(12, 35, 68, 0.88);
  --glass-border: rgba(125, 211, 252, 0.28);
  --gradient-primary: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 42%, #2563EB 100%);
  --gradient-hero:
    radial-gradient(ellipse at 12% -10%, rgba(56, 189, 248, 0.28), transparent 48%),
    radial-gradient(ellipse at 88% 8%, rgba(34, 211, 238, 0.14), transparent 42%),
    radial-gradient(ellipse at 100% 110%, rgba(37, 99, 235, 0.32), transparent 46%),
    linear-gradient(180deg, #0A1C38 0%, #06152B 45%, #04101F 100%);
  --gradient-card: linear-gradient(180deg, rgba(18, 48, 86, 0.96), rgba(8, 28, 56, 0.98));
  --shadow-glow: 0 0 36px -6px rgba(56, 189, 248, 0.6);
  --shadow-glow-cyan: 0 0 36px -4px rgba(34, 211, 238, 0.5);
  --shadow-soft: 0 12px 32px -16px rgba(0, 8, 24, 0.6), 0 2px 6px -2px rgba(0, 8, 24, 0.35);
  --shadow-card: 0 22px 44px -18px rgba(0, 8, 24, 0.8);
  --font-sans: "Figtree", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ink: #E7F0FF;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.045) 1px, transparent 1px),
    var(--gradient-hero);
  background-size: 42px 42px, 42px 42px, auto;
  background-attachment: fixed;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.16), transparent 32%),
    radial-gradient(circle at 86% 78%, rgba(34, 211, 238, 0.1), transparent 28%);
}
.app-shell { min-height: 100vh; display: flex; flex-direction: column; width: 100%; position: relative; z-index: 1; }
.main { flex: 1; min-width: 0; }

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 21, 43, 0.72);
  border-bottom: 1px solid rgba(125, 211, 252, 0.12);
  backdrop-filter: blur(16px);
}
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground) !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
}
.app-brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.48rem;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}
.app-top-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--muted-foreground) !important;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(18, 48, 86, 0.65);
  border: 1px solid var(--glass-border);
}
.app-top-nav a:hover { color: var(--primary) !important; }
.app-foot {
  padding: 0.95rem 1.15rem 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  border-top: 1px solid rgba(125, 211, 252, 0.1);
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent); }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p { margin: 0; }

/* Utilities */
.muted { color: var(--muted-foreground); }
.text-secondary { color: #B8C7DC; }
.tiny { font-size: 0.8125rem; }
.tabular { font-variant-numeric: tabular-nums; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w { max-width: 36rem; margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.hide-sm { display: none; }
.hide-xs { display: none; }
@media (min-width: 640px) { .hide-xs { display: inline; } }
@media (min-width: 768px) { .hide-sm { display: inline; } }

.glass {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.glass-strong {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 0.15rem);
  box-shadow: var(--shadow-card);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.gradient-primary-bg,
.btn-primary {
  background: var(--gradient-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  text-decoration: none !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-cyan); text-decoration: none; }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(18, 48, 86, 0.72);
  color: var(--foreground) !important;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.15s, transform 0.16s, border-color 0.15s;
}
.btn-ghost:hover { background: var(--secondary); border-color: rgba(125, 211, 252, 0.45); text-decoration: none; transform: translateY(-1px); }

.btn-block { width: 100%; display: inline-flex; }

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  background: rgba(18, 48, 86, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--muted-foreground);
}
.pill.success { color: var(--success); background: rgba(52, 211, 153, 0.16); }
.pill.accent { color: var(--accent); background: rgba(34, 211, 238, 0.16); }
.pill.primary { color: var(--primary); background: rgba(56, 189, 248, 0.16); }

.badge-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(251, 113, 133, 0.16);
  color: #FDA4AF;
  border: 1.5px solid rgba(251, 113, 133, 0.45);
}

.page {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
@media (min-width: 768px) {
  .page { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.card-panel { padding: 1.25rem; }
@media (min-width: 768px) { .card-panel { padding: 1.5rem; } }

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}
hr {
  border: none;
  border-top: 1.5px dashed var(--border);
  margin: 0.75rem 0;
}

.field { display: block; margin-bottom: 1rem; text-align: left; }
.field > span,
.field .label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  background: var(--muted);
  border: 1px solid var(--glass-border);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.input-wrap:focus-within {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18), var(--shadow-glow);
}
.input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--foreground);
  font-size: 0.875rem;
  min-width: 0;
}
.input-wrap input::placeholder { color: var(--muted-foreground); }

.error { color: #FDA4AF; font-size: 0.85rem; margin: 0.5rem 0; font-weight: 600; }
.alert {
  padding: 0.85rem 1rem;
  border-radius: 0.45rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border: 1.5px solid var(--ink);
}
.alert a { color: inherit; text-decoration: underline; }
.alert-warn {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.4);
  color: #FDE68A;
}
.alert-ok {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.4);
  color: #A7F3D0;
}

/* Animations */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 16px -4px rgba(56, 189, 248, 0.45); }
  50% { box-shadow: 0 0 28px 0 rgba(56, 189, 248, 0.7); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes wait-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes radar-ring-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.015); }
}

.anim-fade-up { animation: fade-up 0.6s ease both; }
.anim-fade-up-d1 { animation: fade-up 0.5s ease 0.15s both; }
.anim-fade-up-d2 { animation: fade-up 0.5s ease 0.3s both; }
.anim-scale-in { animation: scale-in 0.45s ease both; }
.anim-pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }
.anim-float { animation: float 4s ease-in-out infinite; }

/* ===== Hero / Home ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.25rem 2.5rem;
  max-width: 48rem;
  margin: 0 auto;
  min-height: calc(100dvh - 8rem);
}
.hero h1 { line-height: 1.18; font-size: clamp(1.55rem, 4.2vw, 2.65rem); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.28rem 0.75rem 0.28rem 0.42rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-glow);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.28);
}
.hero-kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse-glow 2s ease-in-out infinite;
}
.hero-sub {
  margin: 1rem auto 0;
  max-width: 30rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--muted-foreground);
  line-height: 1.55;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.35rem;
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.3rem; }
.hero-trust strong { color: var(--foreground); font-weight: 750; }
.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  width: 100%;
  max-width: 36rem;
  margin-top: 1.75rem;
}
@media (min-width: 640px) {
  .hero-features { grid-template-columns: repeat(3, 1fr); }
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(12, 35, 68, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}
.hero-feature strong { display: block; font-size: 0.88rem; }
.hero-feature span:last-child { display: block; font-size: 0.72rem; color: var(--muted-foreground); }
.hero-feature-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-feature-icon--wa { color: #25D366; background: rgba(37, 211, 102, 0.16); }
.hero-feature-icon--sms { color: #7DD3FC; background: rgba(56, 189, 248, 0.16); }
.hero-feature-icon--call { color: #A5B4FC; background: rgba(129, 140, 248, 0.16); }

.search-error {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: #FDA4AF;
  font-size: 0.85rem;
  font-weight: 600;
}
.search-error[hidden] { display: none !important; }

.search-bar { width: 100%; max-width: 36rem; margin-top: 2.15rem; }
.search-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.45rem 0.45rem 0.55rem;
  box-shadow: var(--shadow-card);
  border-radius: 999px;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.search-inner:focus-within { box-shadow: var(--shadow-glow); }
.country-wrap { position: relative; }
.country-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  padding: 0.75rem;
  border-radius: 0.45rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s;
}
.country-btn:hover { background: var(--secondary); }
.country-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  padding: 0.25rem;
  min-width: 140px;
  z-index: 30;
  box-shadow: var(--shadow-card);
  border-radius: 0.95rem;
}
.country-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 0.875rem;
  text-align: left;
}
.country-option:hover { background: var(--secondary); }
.divider { width: 1px; height: 1.65rem; background: var(--glass-border); }
#phone-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 0.5rem;
}
#phone-input::placeholder { color: var(--muted-foreground); font-weight: 500; }
.search-submit { flex-shrink: 0; padding: 0.8rem 1.2rem; min-width: 3.1rem; }
@media (max-width: 420px) {
  .search-inner { border-radius: 1.15rem; }
}

/* ===== Loading / Searching ===== */
.center-stage {
  min-height: calc(100dvh - 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.25rem 1rem 2rem;
  text-align: center;
}
.searching { justify-content: flex-start; padding-top: 2.5rem; min-height: calc(100vh - 6rem); }

.radar {
  position: relative;
  width: 10rem;
  height: 10rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(4px 4px 0 rgba(26, 21, 35, 0.12));
}
.center-stage:not(.searching) .radar {
  width: 16rem;
  height: 16rem;
  margin-bottom: 2.5rem;
}
.radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.35);
  box-shadow:
    inset 0 0 24px rgba(56, 189, 248, 0.06),
    0 0 0 0 rgba(56, 189, 248, 0.12);
  animation: radar-ring-pulse 3.2s ease-in-out infinite;
}
.radar-ring.glass-fill {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.7), transparent 55%),
    var(--card);
  border: 1.5px solid var(--ink);
}
.radar-ring.r2 {
  inset: 0.75rem;
  animation-delay: 0.35s;
  border-color: rgba(56, 189, 248, 0.5);
}
.center-stage:not(.searching) .radar-ring.r2 { inset: 1rem; }
.radar-ring.r3 {
  inset: 1.5rem;
  animation-delay: 0.7s;
  border-color: rgba(34, 211, 238, 0.5);
}
.center-stage:not(.searching) .radar-ring.r3 { inset: 2.5rem; }

.radar-sweep-wrap {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 61%);
  mask-image: radial-gradient(circle, black 60%, transparent 61%);
}
.radar-sweep {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.45));
  transform-origin: 50% 100%;
  animation: spin 2s linear infinite;
}
.radar-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.center-stage:not(.searching) .radar-core {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
}

.load-kicker {
  margin: 0 0 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.load-stage {
  position: relative;
  width: 9.4rem;
  height: 9.4rem;
  margin-bottom: 0.9rem;
  display: grid;
  place-items: center;
}

.load-pulse {
  position: absolute;
  inset: 0.35rem;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.28);
  animation: load-pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
}
.load-pulse--2 {
  animation-delay: 1.2s;
}

.load-meter {
  --p: 0;
  --c: 326.7256;
  position: relative;
  width: 8.5rem;
  height: 8.5rem;
  z-index: 1;
}
.load-meter svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.35));
}
.load-track,
.load-value {
  fill: none;
  stroke-width: 7;
}
.load-track {
  stroke: rgba(125, 211, 252, 0.16);
}
.load-value {
  stroke: url(#loadGrad);
  stroke-linecap: round;
  stroke-dasharray: var(--c);
  stroke-dashoffset: calc(var(--c) * (1 - var(--p) / 100));
  transition: stroke-dashoffset 80ms linear;
}

.load-meter-core {
  position: absolute;
  inset: 1.15rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.18), transparent 62%),
    radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.22), transparent 55%),
    rgba(6, 21, 43, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 24px rgba(56, 189, 248, 0.12);
}
.load-meter-label {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #F4FAFF;
  font-family: var(--font-sans);
}
.load-meter-hint {
  margin-top: 0.28rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.loading-msg {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  min-height: 1.45em;
  animation: load-msg-in 0.35s ease both;
}
.loading-msg.is-swap {
  animation: none;
  opacity: 0;
  transform: translateY(6px);
}

.load-apps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 4.6rem);
  justify-content: center;
  gap: 0.65rem 0.7rem;
  margin: 0.15rem 0 0.85rem;
  padding: 0;
  min-height: 0;
  width: 100%;
  max-width: 16.5rem;
}
.load-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  animation: load-app-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button.load-app:active .load-app-icon {
  transform: scale(0.94);
}
.load-app-icon {
  position: relative;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(0, 8, 24, 0.7);
  transition: transform 0.15s ease;
}
.load-app-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
.load-app-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.4rem;
  min-width: 1.15rem;
  padding: 0.08rem 0.28rem;
  border-radius: 999px;
  background: #F8FAFC;
  color: #04101F;
  font-size: 0.58rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 8, 24, 0.35);
}
.load-app-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--foreground);
}
.load-app-meta {
  font-size: 0.58rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
  line-height: 1;
}
.load-app--wa .load-app-icon { background: linear-gradient(160deg, #4ADE80, #16A34A); }
.load-app--phone .load-app-icon { background: linear-gradient(160deg, #7DD3FC, #0284C7); }
.load-app--messenger .load-app-icon { background: linear-gradient(160deg, #60A5FA, #2563EB); }
.load-app--sms .load-app-icon { background: linear-gradient(160deg, #2DD4BF, #0F766E); }
.load-app--photos .load-app-icon { background: linear-gradient(160deg, #FBBF24, #EA580C); }
.load-app--videos .load-app-icon { background: linear-gradient(160deg, #FB7185, #BE123C); }
.load-app--location .load-app-icon { background: linear-gradient(160deg, #22D3EE, #0891B2); }

@keyframes load-app-in {
  from { opacity: 0; transform: translateY(10px) scale(0.86); }
  to { opacity: 1; transform: none; }
}

.load-phone {
  display: none;
}

.load-summary {
  width: min(100%, 26rem);
  margin-top: 0.1rem;
  text-align: left;
}
.load-summary[hidden] {
  display: none !important;
}
.load-summary.is-in {
  animation: load-msg-in 0.45s ease both;
}
.load-summary-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
}

.sum-scroller {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  padding: 0.15rem 1.15rem 0.55rem 0.15rem;
  margin-inline: -0.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sum-scroller::-webkit-scrollbar { display: none; }

.sum-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  background: #F4F7FB;
  color: #1F2937;
  border-radius: 1.05rem;
  padding: 0.85rem 0.9rem 0.7rem;
  box-shadow: 0 14px 28px -18px rgba(0, 8, 24, 0.7);
}
.sum-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}
.sum-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.sum-icon svg { width: 0.95rem; height: 0.95rem; display: block; }
.sum-card--wa .sum-icon { background: #25D366; }
.sum-card--call .sum-icon { background: #14B8A6; }
.sum-card--chat .sum-icon { background: #3B82F6; }
.sum-head h3 {
  flex: 1;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.2;
}
.sum-chevron {
  color: #9CA3AF;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.sum-chevron svg { width: 100%; height: 100%; }

.sum-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}
.sum-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.sum-avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.sum-row-body { flex: 1; min-width: 0; }
.sum-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.28rem;
}
.sum-name {
  font-size: 0.82rem;
  font-weight: 650;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sum-metric {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6B7280;
  white-space: nowrap;
}
.sum-bar {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  overflow: hidden;
}
.sum-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}
.sum-card--wa .sum-bar span { background: #22C55E; }
.sum-card--call .sum-bar span { background: #14B8A6; }
.sum-card--chat .sum-bar span { background: #3B82F6; }

.progress-track {
  width: 100%;
  max-width: 16rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(18, 48, 86, 0.9);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  margin-top: 1.2rem;
}
.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  transition: width 80ms linear;
}

@keyframes load-pulse-ring {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes load-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.feed {
  width: 100%;
  max-width: 28rem;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.feed-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: left;
  border-radius: 0.5rem;
  animation: fade-up 0.25s ease both;
}
.feed-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  background: rgba(56, 189, 248, 0.16);
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-glow 1.5s infinite;
  flex-shrink: 0;
}

/* ===== Account ===== */
.account-wrap {
  max-width: 26rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
  min-height: calc(100dvh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.account-wrap--unlock .load-kicker {
  text-align: center;
}
.account-found-phone {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}
.account-found-title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  line-height: 1.25;
}
.account-found-apps {
  margin: 0 auto 0.85rem;
}
.account-app-lock {
  position: absolute;
  left: -0.2rem;
  bottom: -0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #0B1B33;
  color: #FDA4AF;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 113, 133, 0.45);
}
.account-found-summary {
  width: 100%;
  margin-bottom: 1rem;
}

.server-list {
  width: 100%;
  display: grid;
  gap: 0.7rem;
  margin-top: 0.4rem;
}
.server-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid var(--glass-border);
  background: var(--gradient-card);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.server-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.server-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
.server-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.server-copy strong { font-size: 0.95rem; }
.server-copy span { font-size: 0.75rem; color: var(--muted-foreground); }
.server-pay {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #04101F;
  background: var(--gradient-primary);
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
}
.account-card--pay {
  padding: 1.25rem 1.15rem 1.15rem;
  overflow: hidden;
}
.account-price-note {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.72rem;
  color: var(--muted-foreground);
  font-weight: 600;
}

.sum-card--locked {
  position: relative;
  overflow: hidden;
}
.sum-card--locked .sum-list {
  filter: blur(12px) saturate(0.7);
  user-select: none;
  pointer-events: none;
}
.sum-card--locked::after {
  content: "";
  position: absolute;
  inset: 2.6rem 0 0;
  z-index: 1;
  background: rgba(248, 250, 252, 0.28);
  pointer-events: none;
}
.sum-unlock {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border: 0;
  cursor: pointer;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #04101F;
  background: #F8FAFC;
  box-shadow: 0 8px 20px -10px rgba(0, 8, 24, 0.55);
}
.sum-unlock--static {
  cursor: default;
  pointer-events: none;
}
.sum-unlock:hover { filter: brightness(0.96); }
.account-card {
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border-radius: 1rem;
  background: var(--gradient-card);
  border: 1.5px solid var(--glass-border);
}
.account-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(34, 211, 238, 0.12), transparent 50%);
}
.account-card > * { position: relative; z-index: 1; }
.account-card--creative { padding: 2.25rem 1.5rem 1.75rem; }
.account-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  z-index: 0;
}
.account-orb--a {
  width: 9rem;
  height: 9rem;
  top: -2.5rem;
  left: 50%;
  margin-left: -4.5rem;
  background: rgba(56, 189, 248, 0.28);
  animation: account-orb-float 5s ease-in-out infinite;
}
.account-orb--b {
  width: 7rem;
  height: 7rem;
  bottom: -1.5rem;
  right: -1rem;
  background: rgba(34, 211, 238, 0.22);
  animation: account-orb-float-b 6.5s ease-in-out 0.8s infinite;
}
@keyframes account-orb-float {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(10px); opacity: 1; }
}
@keyframes account-orb-float-b {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(-8px); opacity: 0.9; }
}

.account-lock-stage {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 0.35rem;
  display: grid;
  place-items: center;
}
.account-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(56, 189, 248, 0.45);
  animation: spin 14s linear infinite;
}
.account-orbit--2 {
  inset: 0.7rem;
  border-style: solid;
  border-color: rgba(34, 211, 238, 0.3);
  animation-direction: reverse;
  animation-duration: 10s;
}
.account-lead {
  color: #B8C7DC;
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 22rem;
  margin: 0.85rem auto 0;
}
.account-card .account-status-badge { margin-top: 0.85rem; }
.account-title {
  margin-top: 1rem;
  font-size: clamp(1.35rem, 3.6vw, 1.75rem);
  color: var(--ink);
  letter-spacing: -0.03em;
}
.account-card .badge-danger { margin-top: 1.35rem; }
.account-card .account-meta .badge-danger { margin-top: 0; }
.icon-lock {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.account-price-panel {
  position: relative;
  margin: 0 0 1rem;
  padding: 0.95rem 1.05rem 1rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--glass-border);
  box-shadow: none;
}
.account-price-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.account-price-value {
  display: block;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.account-price-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 62%);
  background-size: 200% 100%;
  animation: shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

.account-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0.2rem 0.15rem;
  text-align: left;
}
.account-meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.45rem;
  background: var(--secondary);
  border: 1.5px solid var(--ink);
}
.account-meta li + li { margin-top: 0.45rem; }
.account-meta-label {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
}
.account-meta-value {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: right;
}

.account-cta {
  position: relative;
  overflow: hidden;
  border-radius: 0.45rem;
  padding: 1rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.account-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  background-size: 220% 100%;
  animation: shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

.info-box {
  padding: 0.75rem 0.9rem;
  text-align: left;
  margin: 1.25rem 0;
  border-radius: 0.55rem;
  background: var(--secondary);
  border: 1.5px solid var(--ink);
}
.info-box .row { margin: 0.3rem 0; font-size: 0.9rem; }
.info-box hr { margin: 0.4rem 0; }
.info-box .label {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
}
.info-box .value {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}
.info-box .value-price {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #B8C7DC;
}
.perks span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.perks--chips {
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.perks--chips span {
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0.35rem;
  border-radius: 0.45rem;
  background: var(--secondary);
  border: 1.5px solid var(--ink);
  font-size: 0.7rem;
  color: #B8C7DC;
  line-height: 1.25;
}
.note {
  padding: 1rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #B8C7DC;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  border-radius: 0.55rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1.5px solid var(--ink);
}
.note .icon { color: var(--accent); margin-top: 0.15rem; flex-shrink: 0; }

/* ===== Payment ===== */
.payment-wrap {
  max-width: 28rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
.payment-wrap--sheet {
  max-width: none;
  margin: 0;
  padding: 0.35rem 0.15rem 0.5rem;
}
.payment-wrap--sheet h1 { font-size: 1.45rem; }

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.pay-modal[hidden] { display: none !important; }
.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(2, 8, 20, 0.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.pay-modal-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26.5rem;
  max-height: 92vh;
  overflow: auto;
  padding: 1.15rem 1rem 1.35rem;
  border-radius: 1.35rem 1.35rem 0 0;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}
.pay-modal-sheet::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 0.28rem;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.38);
}
.pay-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 42, 77, 0.9);
  color: var(--foreground);
  cursor: pointer;
  font-size: 0.95rem;
}
body.pay-modal-open { overflow: hidden; }
@media (min-width: 640px) {
  .pay-modal { align-items: center; padding: 1.25rem; }
  .pay-modal-sheet { border-radius: 1.25rem; }
  .pay-modal-sheet::before { display: none; }
}
.payment-wrap h1 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}
.payment-status-card {
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  animation: fade-up 0.35s ease both;
}
.payment-status-card .wait-pulse {
  margin-bottom: 1.5rem;
}
.payment-status-card .success-check,
.payment-status-card .fail-icon {
  margin-bottom: 1.25rem;
}
.wait-pulse {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
}
.wait-pulse .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.15);
  animation: wait-ring 1.8s ease-out infinite;
}
.wait-pulse .ring.r2 {
  border-color: rgba(34, 211, 238, 0.4);
  animation-delay: 0.55s;
}
.spinner-box {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}
.spinner-box .spin {
  width: 2rem;
  height: 2rem;
  border: 2.5px solid rgba(56, 189, 248, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.success-check {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-card);
  animation: scale-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.fail-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  background: rgba(251, 113, 133, 0.16);
  color: var(--destructive);
  font-size: 1.75rem;
  border: 1.5px solid var(--destructive);
  box-shadow: var(--shadow-soft);
}

/* ===== Dashboard results ===== */
.results-page { max-width: 64rem; }
.results-hero {
  margin-bottom: 0.25rem;
  padding-bottom: 0;
  border-bottom: none;
}
.results-card {
  padding: 1.25rem 1.35rem 1.4rem;
  margin-bottom: 0.25rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) {
  .results-card { padding: 1.5rem 1.75rem 1.65rem; }
}
.results-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.results-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 700;
}
.results-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}
.results-live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.55);
  animation: results-pulse 1.6s ease-out infinite;
}
@keyframes results-pulse {
  0% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(4, 120, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0); }
}
.results-phone {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
.results-phone-sub {
  margin-top: 0.35rem;
  font-size: 0.875rem;
}
.results-sources-inline strong {
  font-weight: 700;
}
.results-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}
.results-step {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  padding: 0.3rem 0.65rem;
  border-radius: 0.3rem;
  border: 1.5px solid var(--border);
  background: var(--secondary);
  font-weight: 600;
}
.results-step.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--primary);
}
.results-step.is-done {
  color: var(--success);
  border-color: var(--success);
  background: rgba(52, 211, 153, 0.16);
}
.results-step-line {
  width: 1.25rem;
  height: 1.5px;
  background: var(--ink);
}
.results-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #B8C7DC;
  max-width: 36rem;
  line-height: 1.45;
}

.findings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 1024px) {
  .findings-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.finding-card {
  padding: 1.15rem 1.25rem;
  text-align: left;
  color: inherit;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  animation: fade-up 0.4s ease both;
  display: flex;
  flex-direction: column;
}
.finding-card:nth-child(1) { animation-delay: 0.06s; }
.finding-card:nth-child(2) { animation-delay: 0.12s; }
.finding-card:nth-child(3) { animation-delay: 0.18s; }
.finding-card:nth-child(4) { animation-delay: 0.24s; }
.finding-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.finding-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.finding-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: var(--secondary);
  border: 1px solid var(--glass-border);
  margin-bottom: 0;
}
.finding-lock {
  color: var(--muted-foreground);
  opacity: 0.7;
}
.finding-title { font-weight: 700; margin-bottom: 0.25rem; }
.finding-cta {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}
.finding-card:hover .finding-cta { color: var(--accent); }
.accent-success .finding-icon { color: var(--success); }
.accent-primary .finding-icon { color: var(--primary); }
.accent-accent .finding-icon { color: var(--accent); }
.accent-danger .finding-icon { color: var(--destructive); }
.finding-icon-wa {
  background: rgba(37, 211, 102, 0.16) !important;
}
.whatsapp-icon { fill: #25D366; stroke: none !important; }

@media (max-width: 640px) {
  .results-step-line { display: none; }
}

/* ===== VPN / Upgrade ===== */
.vpn-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .vpn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vpn-grid { grid-template-columns: repeat(3, 1fr); } }
.vpn-card {
  padding: 1.5rem;
  position: relative;
  border-radius: 0.85rem;
  animation: fade-up 0.45s ease both;
}
.vpn-card:nth-child(1) { animation-delay: 0.06s; }
.vpn-card:nth-child(2) { animation-delay: 0.12s; }
.vpn-card:nth-child(3) { animation-delay: 0.18s; }
.vpn-card:nth-child(4) { animation-delay: 0.24s; }
.vpn-card:nth-child(5) { animation-delay: 0.3s; }
.vpn-card:nth-child(6) { animation-delay: 0.36s; }
.vpn-card.highlight {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: var(--shadow-glow), 0 0 0 1px rgba(56, 189, 248, 0.28);
}
.vpn-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  border: 0;
  box-shadow: var(--shadow-glow);
}
.vpn-head { display: flex; align-items: center; gap: 0.75rem; }
.vpn-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.vpn-icon.btn-primary { color: #fff; }
.vpn-icon:not(.btn-primary) { color: var(--accent); }
.vpn-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.vpn-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.vpn-price { margin-top: 1.25rem; display: flex; align-items: baseline; gap: 0.25rem; }
.vpn-price .price { font-size: 1.875rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -0.02em; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.feature-list .icon { color: var(--success); margin-top: 0.125rem; width: 1rem; height: 1rem; }

/* ===== History ===== */
.list { overflow: hidden; border-radius: var(--radius); }
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  color: inherit;
  text-decoration: none !important;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: var(--secondary); }
.list-row.compact { padding: 0.65rem 0.75rem; }
.empty {
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

/* ===== Admin ===== */
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.admin-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.35rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  border-radius: 0.55rem;
}
.admin-tabs a {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 0.4rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.admin-tabs a:hover { color: var(--foreground); background: var(--secondary); }
.admin-tabs a.active {
  background: var(--gradient-primary);
  color: #fff;
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }
.stat { padding: 1rem; border-radius: 0.55rem; }
.stat strong { display: block; margin-top: 0.35rem; font-size: 1.25rem; font-variant-numeric: tabular-nums; font-family: var(--font-display); }
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }

.filter-wrap {
  margin-bottom: 1.25rem;
}
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}
.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.4rem;
  border: 1.5px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.15s, transform 0.12s;
}
.filter-toggle:hover {
  background: var(--secondary);
  transform: translate(-1px, -1px);
}
.filter-toggle .icon { width: 15px; height: 15px; color: var(--primary); }
.filter-toggle .chevron {
  width: 14px;
  height: 14px;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}
.filter-wrap.is-open .filter-toggle {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}
.filter-wrap.is-open .filter-toggle .chevron { transform: rotate(180deg); }
.filter-summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.filter-pill {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 0.3rem;
  background: rgba(56, 189, 248, 0.16);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
}

.filter-panel {
  padding: 0.85rem;
  border-radius: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-soft);
  animation: fade-up 0.25s ease both;
}
.filter-panel[hidden] {
  display: none !important;
}
.filter-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.filter-segment {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 0.45rem;
  background: var(--secondary);
  border: 1.5px solid var(--ink);
  gap: 0.15rem;
}
.seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.45rem 0.8rem;
  border-radius: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.seg:hover { color: var(--ink); background: var(--secondary); }
.seg.active {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-soft);
}
.filter-divider {
  width: 1.5px;
  height: 1.6rem;
  background: var(--ink);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .filter-divider { display: none; }
  .filter-segment { width: 100%; }
  .seg { flex: 1; }
}

.filter-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.filter-dates-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.date-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.4rem;
  background: var(--muted);
  border: 1.5px solid var(--ink);
  transition: box-shadow 0.15s;
}
.date-field:focus-within {
  box-shadow: 0 8px 22px -10px rgba(56, 189, 248, 0.5);
}
.date-field .icon {
  width: 14px;
  height: 14px;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.date-field input[type="date"] {
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 0.8rem;
  font-family: inherit;
  min-width: 8.5rem;
}
.date-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.7;
}
.date-sep {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  padding: 0 0.15rem;
}

.filter-search-row {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
  min-width: 14rem;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.45rem 0.75rem;
  border-radius: 0.4rem;
  background: var(--muted);
  border: 1.5px solid var(--ink);
  transition: box-shadow 0.15s;
}
.search-field:focus-within {
  box-shadow: 0 8px 22px -10px rgba(56, 189, 248, 0.5);
}
.search-field .icon {
  width: 15px;
  height: 15px;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.search-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 0.85rem;
  min-width: 0;
}
.search-field input::placeholder { color: var(--muted-foreground); }
.filter-go {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  border-radius: 0.4rem;
  white-space: nowrap;
}
.filter-reset {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-decoration: none !important;
  padding: 0.45rem 0.6rem;
  border-radius: 0.35rem;
}
.filter-reset:hover { color: var(--ink); background: var(--secondary); }

/* legacy chips kept harmless */
.filter-bar { display: none; }

.max-form { max-width: 24rem; }

.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.admin-login-gate {
  width: 100%;
  max-width: 26rem;
}
.admin-login-head {
  margin-bottom: 1.5rem;
}
.admin-login-head h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--ink);
}
.admin-login-card {
  width: 100%;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.admin-login-card h2 {
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.admin-login-hint {
  color: #B8C7DC;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}
.admin-login-card .label {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin: 1rem 0;
}

/* ===== Admin payment integrations ===== */
.settings-stack {
  display: grid;
  gap: 1rem;
}
.admin-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.admin-section-head h2 { margin: 0 0 0.35rem; }
.mobile-money-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-glow);
}
.mobile-money-bar h2 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.mobile-money-switch .switch-label-mm::after { content: "OFF"; }
.mobile-money-switch:has(input:checked) .switch-label-mm::after { content: "ON"; }
.mobile-money-switch:has(input:checked) .switch-track {
  background: var(--gradient-primary);
  border-color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.mobile-money-switch:has(input:checked) .switch-thumb {
  transform: translateX(1.15rem);
  background: #fff;
}
.mobile-money-switch:has(input:checked) .switch-label-mm { color: var(--primary); }
.integration-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 960px) {
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
}
.integration-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.1rem 1.1rem;
  border-radius: 0.65rem;
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.integration-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-glow);
}
.integration-card.is-active,
.integration-card:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.integration-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.integration-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-track {
  position: relative;
  width: 2.6rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--secondary);
  border: 1.5px solid var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}
.switch-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  min-width: 3.2rem;
}
.switch-label::after { content: "Off"; }
.integration-card:has(.switch input:checked) .switch-track,
.switch:has(input:checked) .switch-track {
  background: var(--gradient-primary);
  border-color: var(--ink);
}
.integration-card:has(.switch input:checked) .switch-thumb,
.switch:has(input:checked) .switch-thumb {
  transform: translateX(1.15rem);
  background: #fff;
}
.integration-card:has(.switch input:checked) .switch-label {
  color: var(--primary);
}
.integration-card:has(.switch input:checked) .switch-label::after {
  content: "Active";
}
.integration-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.integration-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.4rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-primary);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-soft);
}
.integration-brand h3 {
  margin: 0;
  font-size: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.integration-brand p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}
.integration-tag {
  display: inline-flex;
  padding: 0.1rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.16);
  border: 1.5px solid var(--primary);
}
.integration-status {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 0.3rem;
}
.integration-status.ok {
  color: #A7F3D0;
  background: rgba(52, 211, 153, 0.16);
  border: 1.5px solid rgba(52, 211, 153, 0.4);
}
.integration-status.off {
  color: #FDA4AF;
  background: rgba(251, 113, 133, 0.16);
  border: 1.5px solid rgba(251, 113, 133, 0.45);
}
.integration-card .field { margin-bottom: 0; }
.integration-meta {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
  padding-top: 0.35rem;
  border-top: 1.5px dashed var(--border);
}
.integration-code {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  word-break: break-all;
  color: var(--ink);
  background: var(--secondary);
  border: 1.5px solid var(--ink);
  border-radius: 0.4rem;
  padding: 0.45rem 0.55rem;
}
.integration-docs {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}
.integration-docs:hover { color: var(--accent); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1.5px solid var(--border);
}
th {
  color: var(--muted-foreground);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: capitalize;
  border: 1.5px solid currentColor;
}
.status-completed { background: rgba(52, 211, 153, 0.16); color: var(--success); }
.status-pending { background: rgba(56, 189, 248, 0.16); color: var(--primary); }
.status-failed { background: rgba(251, 113, 133, 0.16); color: var(--destructive); }
.linkish {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
}
code {
  font-size: 0.8em;
  background: var(--secondary);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-family: ui-monospace, monospace;
  border: 1px solid var(--border);
}

.space-y > * + * { margin-top: 1rem; }
