/* =======================================================================
   Wealth Authority — Design Upgrade Layer v2 (restrained, additive only)
   Does NOT override page-specific button/card/typography.
   Only provides: new CRO components, background polish, token vars.
   ======================================================================= */

:root {
  --wa-gold-1: #E8C46A;
  --wa-gold-2: #D4A843;
  --wa-gold-3: #A87A1F;
  --wa-gold-gradient: linear-gradient(135deg, #F2D380 0%, #D4A843 48%, #A87A1F 100%);
  --wa-bg-card-2: #141318;
  --wa-radius-sm: 8px;
  --wa-radius: 14px;
  --wa-radius-lg: 22px;
  --wa-shadow-md: 0 6px 16px rgba(0,0,0,0.35), 0 2px 4px rgba(0,0,0,0.3);
  --wa-shadow-lg: 0 24px 48px -8px rgba(0,0,0,0.6), 0 12px 24px -12px rgba(0,0,0,0.4);
}

/* ---------- Subtle body ambient glow — additive, no overrides ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 600px at 15% -5%, rgba(212,168,67,0.05), transparent 55%),
    radial-gradient(ellipse 700px 500px at 90% 15%, rgba(168,122,31,0.04), transparent 60%);
}
body > * { position: relative; }

/* ---------- Premium scrollbar + selection (cheap wins) ---------- */
::selection { background: rgba(212,168,67,0.35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a08; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4A843, #A87A1F);
  border-radius: 999px;
  border: 2px solid #0a0a08;
}

/* =======================================================================
   CRO COMPONENTS — only apply when you use the class explicitly
   ======================================================================= */

/* Sticky mobile CTA */
.wa-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10,10,8,0.92), rgba(7,7,10,0.98));
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid rgba(212,168,67,0.2);
  box-shadow: 0 -12px 32px -10px rgba(0,0,0,0.6);
  display: none;
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(0.2,0.8,0.2,1);
}
.wa-sticky-cta.visible { transform: translateY(0); }
.wa-sticky-cta a {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  background: var(--wa-gold-gradient);
  color: #0A0A08;
  font-weight: 800; font-size: 1rem;
  padding: 15px 18px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 26px -8px rgba(212,168,67,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}
.wa-sticky-cta-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 6px 6px; font-size: 0.68rem; color: rgba(245,240,232,0.6);
}
.wa-sticky-cta-meta strong { color: #E8C46A; font-weight: 700; }
@media (max-width: 820px) {
  .wa-sticky-cta { display: block; }
  body { padding-bottom: 92px; }
}

/* Trust bar */
.wa-trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 24px 40px;
  padding: 22px 24px;
  margin: 24px auto;
  max-width: 1100px;
  border-top: 1px solid rgba(212,168,67,0.1);
  border-bottom: 1px solid rgba(212,168,67,0.1);
}
.wa-trust-bar-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(245,240,232,0.4);
  width: 100%; text-align: center;
}
.wa-trust-bar-item {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem; font-weight: 700;
  color: rgba(245,240,232,0.55);
}

/* Urgency ticker */
.wa-urgency {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  font-size: 0.78rem; font-weight: 700; color: #fca5a5;
}
.wa-urgency::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444;
  animation: waPulse 1.8s infinite;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* Guarantee shield */
.wa-guarantee {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; border-radius: var(--wa-radius-lg);
  background: var(--wa-bg-card-2);
  border: 1px solid rgba(212,168,67,0.2);
  box-shadow: var(--wa-shadow-md);
  margin: 30px auto; max-width: 720px;
}
.wa-guarantee-shield {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%;
  background: var(--wa-gold-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; font-weight: 900; color: #0A0A08;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.45), 0 12px 32px -10px rgba(212,168,67,0.5);
}
.wa-guarantee-copy h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; margin: 0 0 6px; color: #F5F0E8;
}
.wa-guarantee-copy p { margin: 0; color: rgba(245,240,232,0.7); font-size: 0.92rem; }

/* Mobile */
@media (max-width: 640px) {
  .wa-guarantee { flex-direction: column; text-align: center; }
}
