/*
Theme Name: 4Hayzed
Theme URI: http://hayzed.tech
Author: Hayzed Technology
Author URI: http://hayzed.tech
Description: Nigeria's fastest and most reliable VTU platform theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 4hayzed
*/

/* ===================================================
   SubXpress VTU Website — Fintech Color System
   =================================================== */

/* -------- Reset -------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* === BRAND COLORS === */
  --blue: #0A66FF;
  --blue-dark: #0850CC;
  --blue-light: #E8F0FF;
  --purple: #6A00F4;
  --purple-light: #F3E8FF;
  --purple-mid: #9333EA;
  --green: #00C853;
  --green-dark: #00A843;
  --green-wa: #25D366;
  --orange: #FF6B00;
  --orange-light: #FFF3E8;

  /* === BACKGROUNDS === */
  --bg-body: #F5F7FA;
  --bg-white: #FFFFFF;
  --bg-hero: linear-gradient(135deg, #0A66FF 0%, #4B00CC 55%, #6A00F4 100%);
  --bg-why: #F3E8FF;
  --bg-cta: #B3D9FF;
  --bg-footer: #4B00CC;
  --bg-card: #FFFFFF;

  /* === TEXT === */
  --text-hero-h: #FFFFFF;
  --text-hero-sub: #E6EAF0;
  --text-dark: #1A1A1A;
  --text-body: #444C60;
  --text-muted: #6B7A99;
  --text-footer: #A0AEC0;
  --text-footer-h: #FFFFFF;

  /* === BORDERS & SHADOWS === */
  --border: rgba(0, 0, 0, 0.07);
  --border-card: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 12px rgba(10, 102, 255, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 102, 255, 0.12);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 16px 48px rgba(10, 102, 255, 0.16);

  /* === SPACING & SHAPE === */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ===================================================
   UTILITY
   =================================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-hero {
  background: linear-gradient(135deg, #FFFFFF 30%, #B3CFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.72;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--green);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 200, 83, 0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 200, 83, 0.45);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(10, 102, 255, 0.28);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 102, 255, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  background: #fff;
  transition: var(--transition);
}

.btn-ghost-dark:hover {
  background: var(--text-dark);
  color: #fff;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  background: #fff;
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-cta-blue {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  background: var(--blue);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(10, 102, 255, 0.35);
}

.btn-cta-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 36px !important;
  font-size: 1rem !important;
}

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  /* Force transparent — overrides any WordPress default background */
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  transition: background 0.35s ease, box-shadow 0.35s ease,
              border-color 0.35s ease, padding 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  background-color: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
  padding: 10px 0;
}

/* WordPress admin bar pushes page down by 32px (desktop) or 46px (mobile)
   Offset the navbar so it sits flush below the admin bar */
.admin-bar .navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .navbar {
    top: 46px;
  }
}

/* Nav text is white on hero, but switches to dark on scroll */
.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled .nav-link {
  color: var(--text-body);
}

.navbar .logo-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.navbar.scrolled .logo-tagline {
  color: var(--text-muted);
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.logo-img {
  height: 38px;
  width: auto;
  border-radius: 9px;
  filter: hue-rotate(200deg) saturate(1.8) brightness(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}

.navbar.scrolled .logo-name {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline {
  font-size: 0.62rem;
  font-weight: 400;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue) !important;
  background: rgba(10, 102, 255, 0.07);
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: var(--transition);
}

/* Navbar auth buttons: white outline on hero, blue/outline after scroll */
.navbar .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.navbar .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .btn-outline {
  border-color: var(--blue);
  color: var(--blue);
}

.navbar.scrolled .btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.navbar .btn-primary {
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: none;
}

.navbar .btn-primary:hover {
  background: rgba(255, 255, 255, 0.28);
}

.navbar.scrolled .btn-primary {
  background: var(--green);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
}

.navbar.scrolled .btn-primary:hover {
  background: var(--green-dark);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  min-width: 210px;
  padding: 8px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  z-index: 100;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text-body);
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--blue-light);
  color: var(--blue);
  padding-left: 24px;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

/* ===================================================
   HERO — Deep blue → purple gradient
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

/* Subtle animated pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Animated orbs */
.hero-bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: float-orb 9s ease-in-out infinite;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: rgba(106, 0, 244, 0.35);
  top: -180px;
  right: -80px;
  animation-delay: 0s;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: rgba(10, 102, 255, 0.3);
  bottom: -80px;
  left: -80px;
  animation-delay: -3.5s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: rgba(0, 200, 83, 0.15);
  top: 55%;
  left: 38%;
  animation-delay: -6s;
}

@keyframes float-orb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(28px, -18px) scale(1.05);
  }

  66% {
    transform: translate(-18px, 12px) scale(0.95);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-hero-h);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-hero-sub);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.72;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-download {
  margin-bottom: 44px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #fff;
  font-weight: 600;
  opacity: 0.85;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: var(--transition);
}

.download-link:hover {
  opacity: 1;
  border-color: #fff;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
}

/* Hero image — blended into gradient */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

/* Blue-purple colour tint layer over the image */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 24px;
  background: linear-gradient(135deg,
      rgba(10, 102, 255, 0.35) 0%,
      rgba(106, 0, 244, 0.2) 100%);
  pointer-events: none;
}

/* Left-edge gradient fade — merges image into bg */
.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to right,
      rgba(10, 82, 200, 0.85) 0%,
      rgba(10, 82, 200, 0.3) 25%,
      transparent 60%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 0, 244, 0.25) 0%, rgba(10, 102, 255, 0.15) 50%, transparent 75%);
  filter: blur(60px);
  z-index: 0;
}

.hero-img {
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  position: relative;
  z-index: 1;
  animation: hero-float 4s ease-in-out infinite;
  mix-blend-mode: luminosity;
  filter: saturate(1.15) contrast(1.05) drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

@keyframes hero-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* Floating transaction cards */
.floating-card {
  position: absolute;
  z-index: 10;
  background: rgba(8, 20, 50, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  animation: float-card 3.5s ease-in-out infinite;
  text-shadow: none;
}

.floating-card small {
  display: block;
  color: rgba(180, 210, 255, 0.95);
  font-weight: 500;
  font-size: 0.72rem;
}

.floating-card span {
  font-size: 1.2rem;
}

.card-airtime {
  top: 12%;
  left: -12%;
  animation-delay: 0s;
}

.card-data {
  bottom: 22%;
  right: -10%;
  animation-delay: -1.5s;
}

.card-electric {
  top: 50%;
  left: -14%;
  animation-delay: -0.8s;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-dot {
  width: 12px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  position: relative;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {

  0%,
  100% {
    top: 4px;
    opacity: 1;
  }

  80% {
    top: 10px;
    opacity: 0;
  }
}

/* ===================================================
   WHY CHOOSE US — Soft purple bg
   =================================================== */
.why-section {
  padding: 100px 0;
  background: var(--bg-why);
}

/* Section header text stays dark here */
.why-section .section-eyebrow {
  color: var(--purple-mid);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid rgba(106, 0, 244, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: rgba(10, 102, 255, 0.15);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

/* Icon bg colors by feature */
.feature-card:nth-child(1) .feature-icon-wrap {
  background: #EBF2FF;
}

.feature-card:nth-child(2) .feature-icon-wrap {
  background: #E6F9EF;
}

.feature-card:nth-child(3) .feature-icon-wrap {
  background: #EBF2FF;
}

.feature-card:nth-child(4) .feature-icon-wrap {
  background: #F3E8FF;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.08);
}

.feature-icon {
  font-size: 1.7rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-line {
  height: 3px;
  width: 36px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 2px;
  margin-top: 20px;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover .feature-line {
  opacity: 1;
}

/* ===================================================
   SERVICES — Light gray bg, white cards
   =================================================== */
.services-section {
  padding: 100px 0;
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
}

.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 102, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(10, 102, 255, 0.12);
}

/* Featured Crypto card */
.service-card--featured {
  background: linear-gradient(135deg, #EBF2FF 0%, #F3E8FF 100%);
  border-color: rgba(10, 102, 255, 0.12);
}

.service-card--featured:hover {
  border-color: var(--purple);
}

/* Service icon backgrounds — functional color system */
.service-icon-bg {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* Airtime → Green */
#service-airtime .service-icon-bg {
  background: #E6F9EF;
}

/* Data → Blue */
#service-data .service-icon-bg {
  background: #EBF2FF;
}

/* Cable TV → Blue-light */
#service-cable .service-icon-bg {
  background: #EBF2FF;
}

/* Electricity → Orange */
#service-electricity .service-icon-bg {
  background: #FFF3E8;
}

/* Airtime2Cash → Green */
#service-a2c .service-icon-bg {
  background: #E6F9EF;
}

/* Result → Blue */
#service-result .service-icon-bg {
  background: #EBF2FF;
}

/* Crypto → Purple */
#service-crypto .service-icon-bg {
  background: #F3E8FF;
}

.service-card:hover .service-icon-bg {
  transform: scale(1.08);
}

.service-icon {
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  transition: var(--transition);
  margin-top: 4px;
}

.service-link span {
  transition: var(--transition);
}

.service-link:hover {
  color: var(--purple);
}

.service-link:hover span {
  transform: translateX(4px);
}

/* Colored service-link per service */
#service-airtime .service-link,
#service-a2c .service-link {
  color: var(--green-dark);
}

#service-electricity .service-link {
  color: var(--orange);
}

#service-crypto .service-link {
  color: var(--purple-mid);
}

/* ===================================================
   ABOUT US — White bg
   =================================================== */
.about-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-image-wrap {
  position: relative;
}

.about-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 40% 50%, rgba(10, 102, 255, 0.08), transparent 70%);
  filter: blur(30px);
  top: 0;
  left: 0;
}

.about-img {
  border-radius: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.about-badge-float {
  position: absolute;
  bottom: -16px;
  right: -16px;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.about-badge-icon {
  font-size: 2rem;
}

.about-badge-float strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.about-badge-float small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-highlights {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.highlight-icon {
  font-size: 1.1rem;
}

/* ===================================================
   REVIEWS — White bg, blue accent
   =================================================== */
.reviews-section {
  padding: 100px 0;
  background: var(--bg-body);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(10, 102, 255, 0.15);
}

/* Highlighted card */
.review-card--highlight {
  background: linear-gradient(135deg, #EBF2FF 0%, #F3E8FF 100%);
  border-color: rgba(10, 102, 255, 0.15);
}

.review-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 3px;
}

.review-text {
  font-size: 0.87rem;
  color: var(--text-body);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.review-text::before {
  content: '"';
}

.review-text::after {
  content: '"';
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.av2 {
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.av3 {
  background: linear-gradient(135deg, var(--orange), #FF8C00);
}

.av4 {
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.review-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.review-author small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===================================================
   CTA SECTION — Solid green bg
   =================================================== */
.cta-section {
  padding: 90px 0;
  background: var(--bg-cta);
  position: relative;
  overflow: hidden;
}

/* Decorative blob layers */
.cta-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(0, 0, 0, 0.08);
  top: -150px;
  left: -100px;
}

.cta-orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(0, 0, 0, 0.06);
  bottom: -100px;
  right: -80px;
}

.cta-container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===================================================
   FOOTER — Dark navy
   =================================================== */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(10, 102, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  max-width: 290px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 34px;
  border-radius: 7px;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.footer-logo-tag {
  font-size: 0.6rem;
  color: var(--text-footer);
  display: block;
  margin-top: 1px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-footer);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Social buttons */
.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-footer);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.footer-links-group h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-footer-h);
  margin-bottom: 18px;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-footer);
  transition: var(--transition);
}

/* Green on hover */
.footer-links-group ul li a:hover {
  color: var(--green);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-footer);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-footer);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--green);
}

/* ===================================================
   WHATSAPP FLOATING BUTTON
   =================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 998;
  width: 52px;
  height: 52px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  cursor: pointer;
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 4px 36px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.12);
  }

  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  }
}

/* Tooltip on hover */
.whatsapp-float::before {
  content: 'Chat with us!';
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-dark);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.whatsapp-float:hover::before {
  opacity: 1;
}

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(10, 102, 255, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  transform: translateY(12px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(10, 102, 255, 0.5);
}

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */

/* ---------- Tablet (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }

  .hero-container {
    gap: 40px;
  }

  .about-grid {
    gap: 48px;
  }

  .section-container {
    padding: 0 20px;
  }
}

/* ---------- Mobile (max-width: 768px) ---------- */
@media (max-width: 768px) {

  /* --- NAVBAR --- */
  .nav-container {
    padding: 0 16px;
  }

  .nav-links,
  .nav-auth {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    background: #fff;
  }

  .navbar.scrolled .hamburger span {
    background: var(--text-dark);
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile slide-out drawer */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #fff;
    padding: 80px 20px 120px;
    border-right: 1px solid var(--border);
    box-shadow: 6px 0 40px rgba(0, 0, 0, 0.15);
    gap: 2px;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open .nav-link {
    color: var(--text-body) !important;
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 8px;
    width: 100%;
  }

  .nav-links.open .nav-link:hover,
  .nav-links.open .nav-link.active {
    color: var(--blue) !important;
    background: rgba(10, 102, 255, 0.07);
  }

  /* Auth buttons fixed at bottom of drawer */
  .nav-auth.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: calc(280px - 40px);
    max-width: calc(85vw - 40px);
    z-index: 1000;
    gap: 10px;
  }

  .nav-auth.open .btn-outline {
    border-color: var(--blue);
    color: var(--blue);
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
  }

  .nav-auth.open .btn-primary {
    background: var(--green);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
  }

  /* Dropdown inside mobile menu */
  .dropdown-menu {
    display: none;
    position: static;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 16px;
    min-width: 0;
  }

  .dropdown-menu li a {
    color: var(--text-muted);
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  /* --- HERO --- */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 0 16px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(1.7rem, 6vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 8px;
    order: -1;
  }

  .hero-img {
    max-width: 340px;
    width: 100%;
    border-radius: 18px;
  }

  .card-airtime {
    top: 6%;
    left: -4%;
    font-size: 0.72rem;
    padding: 7px 10px;
  }

  .card-data {
    bottom: 10%;
    right: -2%;
    font-size: 0.72rem;
    padding: 7px 10px;
  }

  .card-electric {
    top: 48%;
    left: -4%;
    font-size: 0.72rem;
    padding: 7px 10px;
  }

  .hero-stats {
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* --- SECTIONS --- */
  .why-section,
  .services-section,
  .about-section,
  .reviews-section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* --- GRIDS → single column on mobile --- */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 22px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .review-card {
    padding: 24px 20px;
  }

  /* --- ABOUT --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image-wrap {
    order: -1;
  }

  .about-content {
    max-width: 100%;
  }

  .about-badge-float {
    right: 8px;
    bottom: -12px;
    padding: 10px 14px;
  }

  .about-badge-icon {
    font-size: 1.5rem;
  }

  .about-badge-float strong {
    font-size: 0.8rem;
  }

  .about-badge-float small {
    font-size: 0.68rem;
  }

  /* --- CTA --- */
  .cta-section {
    padding: 60px 0;
  }

  .cta-title {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta-buttons .btn-cta-white,
  .cta-buttons .btn-cta-blue {
    justify-content: center;
    text-align: center;
  }

  /* --- FOOTER --- */
  .footer {
    padding-top: 48px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px 40px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links-group h4 {
    margin-bottom: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 10px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  /* --- FLOATING ELEMENTS --- */
  .whatsapp-float {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }

  .whatsapp-float::before {
    display: none;
  }

  .back-to-top {
    right: 16px;
    bottom: 24px;
    width: 40px;
    height: 40px;
  }
}

/* ---------- Small phones (max-width: 480px) ---------- */
@media (max-width: 480px) {
  .hero {
    padding: 90px 0 48px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-number {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .stat-divider {
    height: 28px;
  }

  .hero-download {
    margin-bottom: 32px;
  }

  .download-link {
    font-size: 0.82rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  /* Section spacing tighter */
  .why-section,
  .services-section,
  .about-section,
  .reviews-section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-container {
    padding: 0 14px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .section-eyebrow {
    font-size: 0.72rem;
  }

  /* Cards tighter */
  .feature-card {
    padding: 24px 18px;
  }

  .service-card {
    padding: 22px 18px;
  }

  .review-card {
    padding: 22px 18px;
  }

  /* About adjustments */
  .about-text {
    font-size: 0.88rem;
  }

  .highlight-item {
    font-size: 0.85rem;
  }

  .about-img {
    border-radius: 16px;
  }

  /* CTA tighter */
  .cta-section {
    padding: 48px 0;
  }

  .cta-subtitle {
    font-size: 0.9rem;
  }

  /* Footer tighter */
  .footer-container {
    gap: 24px;
  }

  .footer-desc {
    font-size: 0.8rem;
  }

  .footer-links-group ul li a {
    font-size: 0.8rem;
  }

  /* Logo in nav */
  .logo-name {
    font-size: 1rem;
  }

  .logo-tagline {
    font-size: 0.55rem;
  }

  .logo-img {
    height: 32px;
  }

  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    padding: 8px 0;
  }
}

/* ---------- Very small phones (max-width: 360px) ---------- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.35rem;
  }

  .hero-subtitle {
    font-size: 0.82rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .nav-links.open {
    width: 260px;
  }

  .nav-auth.open {
    width: calc(260px - 40px);
  }

  .btn-lg {
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
  }
}