/* ============================================================
   ZAMBEZI DIGITAL — GLOBAL DESIGN SYSTEM v2
   Font: Outfit | Palette: Black & White Premium
   Rivers of Innovation
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS TOKENS ────────────────────────────────────────────── */
:root {
  --bg-primary:     #0A0A0A;
  --bg-secondary:   #0d0d0d;
  --bg-card:        #111111;
  --bg-card-hover:  #191919;
  --border:         #222222;
  --border-light:   #2e2e2e;

  --white:          #FFFFFF;
  --off-white:      #E8E8E8;
  --muted:          #888888;
  --muted-light:    #aaaaaa;

  --accent:         #ffffff;
  --accent-dim:     rgba(255, 255, 255, 0.06);
  --accent-border:  rgba(255, 255, 255, 0.12);

  --font:           'Outfit', sans-serif;

  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;

  --shadow-card:    0 4px 24px rgba(0,0,0,0.6);
  --shadow-glow:    0 0 40px rgba(255,255,255,0.06);

  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container:      1200px;
}

/* ── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font) !important;
  background-color: #000000;
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force Outfit on all text elements */
*, h1, h2, h3, h4, h5, h6, p, a, span, button, input, textarea, select, li {
  font-family: var(--font) !important;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ── ZD LOADER (NEW — all pages) ───────────────────────────── */
#zd-loader {
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-in;
}
#zd-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}
#zd-loader.hidden {
  display: none;
}
.zd-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.zd-loader-logo {
  width: 240px;
  max-width: 55vw;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(24px) scale(0.92);
  animation: zdLogoIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.zd-loader-line {
  height: 1px;
  width: 0;
  background: rgba(255,255,255,0.45);
  animation: zdLineIn 1s cubic-bezier(0.65, 0, 0.35, 1) 0.8s forwards;
}
.zd-loader-slogan {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  opacity: 0;
  animation: zdFadeIn 0.8s ease 1.2s forwards;
  font-family: var(--font) !important;
  text-align: center;
  text-indent: 5px; /* Offsets the letter-spacing on the final character for perfect optical centering */
}
@keyframes zdLogoIn {
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}
@keyframes zdLineIn {
  to { width: 240px; }
}
@keyframes zdFadeIn {
  to { opacity: 0.7; }
}

/* ── MAIN CONTENT REVEAL ───────────────────────────────────── */
#main-content {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
#main-content.visible { opacity: 1; }

/* ── NAVBAR (TRANSPARENT → SOLID ON SCROLL) ────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: #0A0A0A;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
  font-family: var(--font) !important;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.nav-link.active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: color 0.2s;
}
.mobile-menu-btn:hover { color: #fff; }
.mobile-menu-btn svg { width: 24px; height: 24px; }

/* Mobile Nav Overlay */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  z-index: 49;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}
#mobile-menu.open {
  display: flex;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.mobile-menu-close:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.mobile-menu-close svg { width: 20px; height: 20px; }
.mobile-nav-link {
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.02em;
  padding: 12px 24px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
  text-align: center;
  font-family: var(--font) !important;
}
.mobile-nav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
.mobile-nav-cta {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-cta .btn-primary { display: none; }
}

/* ── GLASS UTILITIES ───────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-strong {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.12);
}
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.09);
  transition: all 0.3s ease;
}
.glass-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* ── TEXT GRADIENT ─────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  background: #ffffff;
  color: #000000 !important;
  transition: all 0.3s ease;
  font-family: var(--font) !important;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255,255,255,0.18);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.22);
  color: #ffffff;
  transition: all 0.3s ease;
  font-family: var(--font) !important;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.4);
}

/* ── REVEAL ANIMATIONS ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.75s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── HERO SECTION ──────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 80px;
  background: #0A0A0A;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #ffffff;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-slogan {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.2);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 10;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── 3D DECORATIVE ELEMENTS ────────────────────────────────── */
.hero-3d-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

/* Wireframe Sphere (Home) */
.sphere-3d {
  position: absolute;
  top: 10%;
  right: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.07;
  animation: sphereSpin 40s linear infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
.sphere-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  will-change: transform;
}
.sphere-ring:nth-child(2) { transform: rotateX(60deg); }
.sphere-ring:nth-child(3) { transform: rotateX(120deg); }
.sphere-ring:nth-child(4) { transform: rotateY(60deg); }
.sphere-ring:nth-child(5) { transform: rotateY(120deg); }
.sphere-ring:nth-child(6) { transform: rotateX(60deg) rotateY(60deg); }
@keyframes sphereSpin {
  0%   { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Floating Nodes (Services) */
.nodes-3d {
  position: absolute;
  top: 5%;
  right: -80px;
  width: 480px;
  height: 480px;
  opacity: 0.08;
  animation: nodeFloat 20s ease-in-out infinite;
  will-change: transform;
}
@keyframes nodeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

/* Floating Grid / Cards (Portfolio) */
.grid-3d {
  position: absolute;
  top: 8%;
  right: -40px;
  width: 360px;
  height: 360px;
  opacity: 0.07;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transform: perspective(600px) rotateX(15deg) rotateY(-20deg);
  animation: gridFloat 15s ease-in-out infinite;
}
.grid-3d-card {
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
@keyframes gridFloat {
  0%, 100% { transform: perspective(600px) rotateX(15deg) rotateY(-20deg) translateY(0); }
  50% { transform: perspective(600px) rotateX(20deg) rotateY(-15deg) translateY(-12px); }
}

/* Wireframe Cubes (Pricing) */
.cubes-3d {
  position: absolute;
  top: 10%;
  right: -40px;
  width: 420px;
  height: 420px;
  opacity: 0.065;
  animation: cubeRotate 30s linear infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
.cube {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
}
.cube-1 { width: 120px; height: 120px; top: 30px; left: 30px; transform: perspective(400px) rotateX(25deg) rotateY(25deg); }
.cube-2 { width: 80px;  height: 80px;  top: 180px; left: 200px; transform: perspective(400px) rotateX(-20deg) rotateY(40deg); }
.cube-3 { width: 60px;  height: 60px;  top: 280px; left: 80px;  transform: perspective(400px) rotateX(35deg) rotateY(-15deg); }
@keyframes cubeRotate {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(180deg) rotateY(360deg); }
}

/* Connection Lines (Contact) */
.lines-3d {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.06;
  overflow: hidden;
}
.line-svg {
  width: 100%;
  height: 100%;
  animation: linesDraw 8s ease-in-out infinite alternate;
}
@keyframes linesDraw {
  0% { opacity: 0.5; transform: translateX(10px); }
  100% { opacity: 1; transform: translateX(0px); }
}

/* Africa Wireframe (About) */
.africa-3d {
  position: absolute;
  top: 5%;
  right: -40px;
  width: 380px;
  height: 460px;
  opacity: 0.07;
  animation: africaFloat 18s ease-in-out infinite;
}
@keyframes africaFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-16px) rotateY(8deg); }
}

/* ── MOUSE PARALLAX ────────────────────────────────────────── */
.parallax-headline { transition: transform 0.1s linear; will-change: transform; }
.parallax-sub      { transition: transform 0.1s linear; will-change: transform; }

/* ── ANIMATED BG ───────────────────────────────────────────── */
.hero-bg {
  background: linear-gradient(-45deg, #000000, #0a0a0a, #111111, #000000);
  background-size: 400% 400%;
  animation: heroBgShift 15s ease infinite;
}
@keyframes heroBgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 12s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stat-item { text-align: center; }
.stat-value {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  display: block;
}
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── TRUSTED BY — CINEMATIC MARQUEE ────────────────────────── */
.zd-trusted-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #0A0A0A;
  overflow: hidden;
}
.zd-trusted-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-bottom: 16px;
}
.zd-trusted-heading {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.zd-trusted-live {
  text-align: center;
  margin-bottom: 48px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.zd-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.zd-marquee-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.zd-marquee-container::before,
.zd-marquee-container::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.zd-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #0A0A0A, transparent);
}
.zd-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #0A0A0A, transparent);
}
.zd-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: zdMarquee 40s linear infinite;
  will-change: transform;
}
.zd-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes zdMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.zd-logo-slot {
  width: 160px;
  height: 72px;
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zd-logo-slot img {
  max-width: 140px;
  max-height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.zd-logo-slot:hover img { opacity: 1; }

/* Placeholder logo slots */
.zd-logo-placeholder {
  width: 120px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
  transition: opacity 0.3s ease;
  animation: placeholderPulse 3s ease-in-out infinite;
}
.zd-logo-slot:nth-child(odd) .zd-logo-placeholder { animation-delay: 0.5s; }
.zd-logo-slot:nth-child(even) .zd-logo-placeholder { animation-delay: 1s; }
@keyframes placeholderPulse {
  0%, 100% { opacity: 0.25; border-color: rgba(255,255,255,0.08); }
  50% { opacity: 0.4; border-color: rgba(255,255,255,0.18); }
}
.zd-placeholder-inner {
  width: 70%;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.zd-placeholder-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shimmer 2.5s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.zd-trusted-cta {
  text-align: center;
  margin-top: 48px;
}
.zd-trusted-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.zd-trusted-cta a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}
.zd-trusted-cta a:hover { opacity: 0.7; }

/* ── PORTFOLIO ITEMS ───────────────────────────────────────── */
.portfolio-item {
  overflow: hidden;
  position: relative;
}
.portfolio-item img { transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.05); }

/* ── LIVE / CONCEPT BADGE ──────────────────────────────────── */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.3);
}
.badge-concept {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  color: #777;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── FLOATING WHATSAPP ─────────────────────────────────────── */
#zd-wa {
  position: fixed;
  bottom: 125px;
  right: 22px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#zd-wa:hover {
  transform: scale(1.09);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
#zd-wa svg {
  width: 26px;
  height: 26px;
  fill: white;
}
#zd-wa::before {
  content: "Chat on WhatsApp";
  position: absolute;
  right: 62px;
  background: #0A0A0A;
  color: #fff;
  font-size: 12px;
  font-family: var(--font) !important;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
}
#zd-wa:hover::before { opacity: 1; }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 72px;
  padding-bottom: 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
.footer-logo { height: 80px; width: auto; object-fit: contain; margin-bottom: 12px; }
.footer-tagline {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
  font-family: var(--font) !important;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 13px;
  transition: all 0.25s ease;
}
.footer-social a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 18px;
  font-family: var(--font) !important;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: #666;
  transition: color 0.2s ease;
  font-family: var(--font) !important;
}
.footer-col ul li a:hover { color: #fff; }
.footer-contact-entry { margin-bottom: 16px; }
.footer-contact-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 4px;
  font-family: var(--font) !important;
}
.footer-contact-number {
  font-size: 0.92rem;
  font-weight: 600;
  color: #bbb;
  display: block;
  margin-bottom: 2px;
  font-family: var(--font) !important;
  transition: color 0.2s ease;
}
.footer-contact-number:hover { color: #fff; }
.footer-contact-link {
  font-size: 0.72rem;
  color: #444;
  transition: color 0.2s ease;
  font-family: var(--font) !important;
}
.footer-contact-link:hover { color: #aaa; }

/* Wilson Group Section */
.footer-wilson {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-wilson img { height: 32px; width: auto; object-fit: contain; opacity: 0.7; }
.footer-wilson-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  font-family: var(--font) !important;
  letter-spacing: 0.02em;
}
.footer-wilson-text a {
  color: #888;
  font-weight: 700;
  transition: color 0.2s ease;
}
.footer-wilson-text a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-copy {
  font-size: 0.8rem;
  color: #3a3a3a;
  font-family: var(--font) !important;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.8rem;
  color: #3a3a3a;
  transition: color 0.2s ease;
  font-family: var(--font) !important;
}
.footer-bottom-links a:hover { color: #888; }

/* ── PRICING TABLES ────────────────────────────────────────── */
.pricing-section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin-bottom: 8px;
}
.pricing-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.pricing-section-sub {
  font-size: 0.925rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-bottom: 40px;
}
.pricing-callout {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  text-align: center;
  margin-top: 24px;
}
.pricing-callout a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 3px; }

/* Pricing table (for add-ons, video, etc) */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.pricing-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-weight: 700;
  font-family: var(--font) !important;
}
.pricing-table td {
  padding: 16px 16px;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
  font-family: var(--font) !important;
}
.pricing-table tr:hover td {
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.9);
}
.pricing-table .td-service { font-weight: 600; color: rgba(255,255,255,0.85); }
.pricing-table .td-price {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  font-size: 1rem;
}
.pricing-table .td-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.popular-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: #fff;
  color: #000;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
  font-family: var(--font) !important;
}
.pricing-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 60px 0;
}

/* ── SERVICE CHIPS ─────────────────────────────────────────── */
.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #777;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  font-family: var(--font) !important;
}
.service-chip:hover,
.service-chip.selected {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ── CONTACT CARD ──────────────────────────────────────────── */
.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color 0.25s;
}
.contact-card:hover { border-color: rgba(255,255,255,0.2); }
.contact-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 6px;
  font-family: var(--font) !important;
}
.contact-card-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ddd;
  margin-bottom: 4px;
  display: block;
  font-family: var(--font) !important;
}
.contact-card-action {
  font-size: 0.78rem;
  color: #444;
  transition: color 0.2s;
  font-family: var(--font) !important;
}
.contact-card-action:hover { color: #ccc; }

/* ── PROCESS LINE ──────────────────────────────────────────── */
.process-line {
  position: absolute;
  top: 50%;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.03) 100%);
  transform: translateY(-50%);
  z-index: 0;
}
@media (max-width: 768px) { .process-line { display: none; } }

/* ── GRAIN OVERLAY ─────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── HEADING ───────────────────────────────────────────────── */
.heading-xl { letter-spacing: -0.025em; line-height: 1.07; }
.heading-lg { letter-spacing: -0.015em; line-height: 1.14; }

/* ── TESTIMONIAL ───────────────────────────────────────────── */
.testimonial-quote {
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.85;
  margin-bottom: 32px;
  font-style: italic;
  font-family: var(--font) !important;
}

/* ── STAT CARD ─────────────────────────────────────────────── */
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}

/* ── MOBILE TWEAKS ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { padding: 110px 20px 60px; }
  .hero-title { font-size: 2.4rem; }
  .sphere-3d, .nodes-3d, .grid-3d, .cubes-3d, .lines-3d, .africa-3d { display: none; }
  .stats-bar { gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── CHAT MSG ──────────────────────────────────────────────── */
.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-family: var(--font) !important;
}
.chat-user { background: rgba(255,255,255,0.15); margin-left: auto; border-bottom-right-radius: 4px; }
.chat-bot  { background: rgba(255,255,255,0.07); margin-right: auto; border-bottom-left-radius: 4px; }

/* ── MARQUEE (legacy class compat) ────────────────────────── */
.marquee-section { padding: 64px 0; overflow: hidden; }
.marquee-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-outer:hover .marquee-track { animation-play-state: paused; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.marquee-item img {
  height: 44px; width: auto; object-fit: contain;
  filter: brightness(0) invert(0.45);
  transition: filter 0.3s ease;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
