/* ===== Truepulse fx layer: motion, bubbles, canvas, interactivity ===== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--gold-l), var(--gold)); box-shadow: 0 0 12px rgba(226,184,85,.7); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(226,184,85,.10), rgba(27,139,181,.06) 40%, transparent 70%); will-change: transform; }
@media (hover: hover) and (pointer: fine) { body.fx-ready .cursor-glow { opacity: 1; } }

/* hero canvas + heartbeat */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.beat { position: absolute; left: 0; right: 0; top: 52%; width: 100%; height: 120px; z-index: -1; opacity: .5; pointer-events: none; }
.beat path { fill: none; stroke: url(#beatGrad); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: beat 5.5s cubic-bezier(.6,.1,.3,1) infinite; filter: drop-shadow(0 0 6px rgba(226,184,85,.8)); }
@keyframes beat { 0% { stroke-dashoffset: 1400; opacity: 0; } 8% { opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 75%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* floating glass bubbles */
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.55), rgba(255,255,255,.08) 18%, transparent 42%), radial-gradient(circle at 70% 75%, var(--c, rgba(226,184,85,.35)), transparent 60%), rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 0 30px rgba(255,255,255,.06), 0 20px 50px -20px rgba(0,0,0,.6); backdrop-filter: blur(2px); }

.orb.o1 { width: 120px; height: 120px; top: 4%; left: -46px; --c: rgba(226,184,85,.45); animation: float1 14s ease-in-out infinite; }
.orb.o2 { width: 64px; height: 64px; top: 70%; left: 10%; --c: rgba(27,139,181,.55); animation: float2 11s ease-in-out infinite; }
.orb.o3 { width: 42px; height: 42px; top: 9%; left: 52%; --c: rgba(243,210,126,.6); animation: float1 9s ease-in-out infinite reverse; }
.orb.o4 { width: 160px; height: 160px; top: 62%; right: 3%; --c: rgba(27,139,181,.45); animation: float2 16s ease-in-out infinite; }
.orb.o5 { width: 34px; height: 34px; top: 8%; right: 28%; --c: rgba(226,184,85,.6); animation: float1 8s ease-in-out infinite; }
.orb.o6 { width: 80px; height: 80px; bottom: 6%; left: 42%; --c: rgba(120,140,255,.4); animation: float2 13s ease-in-out infinite reverse; }
@keyframes float1 { 50% { translate: 18px -26px; } }
@keyframes float2 { 50% { translate: -22px 20px; } }

/* live activity bubbles around the orbit */
.orbit { overflow: visible; }
.toasts { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.toast { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; max-width: 230px;
  background: rgba(255,255,255,.95); color: #0a1630; font-size: .76rem; font-weight: 700; line-height: 1.25; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast .ti { flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .9rem; color: #fff; background: linear-gradient(135deg, #0a1630, #24418f); }
.toast .ti.g { background: linear-gradient(135deg, var(--gold-d), var(--gold-l)); color: var(--on-gold); }
.toast .ti.t { background: linear-gradient(135deg, var(--teal-d), var(--teal)); }
.toast small { display: block; font-weight: 500; color: #6b7794; font-size: .68rem; }
.toast.p1 { top: 2%; left: -6%; } .toast.p2 { bottom: 6%; right: -8%; }

/* rotating word */
.hero h1 .rotate { display: block; white-space: nowrap; min-height: 1.02em; font-size: clamp(2.4rem, 9.5vw, 4.6rem); }
.rotate::after { content: ""; display: inline-block; width: 3px; height: .8em; margin-left: 4px; vertical-align: -.05em; background: var(--gold); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 56px; }
.stat { position: relative; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); overflow: hidden; }
.stat::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.stat b { display: block; font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, #b9c3da); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b sup { font-size: .45em; color: var(--gold); -webkit-text-fill-color: var(--gold); margin-left: 2px; }
.stat span { display: block; margin-top: 8px; font-size: .84rem; color: var(--soft); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* tile icons + 3D tilt */
.tile { transform-style: preserve-3d; }
.tile.tilt { transition: transform .12s linear, border-color .3s; }
.tile .t-ic { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--gold-l);
  background: rgba(226,184,85,.08); border: 1px solid rgba(226,184,85,.25); transform: translateZ(30px); transition: transform .4s var(--ease), background .3s; }
.tile:hover .t-ic { transform: translateZ(40px) rotate(-8deg) scale(1.06); background: rgba(226,184,85,.16); }
.t-verify .t-ic { top: 58px; }
.magnet { will-change: transform; }

/* Africa dot map in contact */
.africa { position: relative; margin-top: 30px; width: 100%; max-width: 360px; aspect-ratio: 1 / 1.05; }
.africa canvas { width: 100%; height: 100%; display: block; }
.africa .pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(226,184,85,.7); animation: ping 1.8s infinite; }
.africa .pin-label { position: absolute; transform: translate(14px, -50%); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); white-space: nowrap; background: rgba(5,13,34,.8); padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(226,184,85,.35); }
.africa-cap { font-size: .82rem; color: var(--muted); margin-top: 10px; }

@media (max-width: 959px) { .toast.p1 { left: 0; top: -4%; } .toast.p2 { right: 0; bottom: -2%; } .orb.o4 { width: 100px; height: 100px; } .orb.o1 { width: 80px; height: 80px; } }
