/* Landing pages polish layer: typography, spacing, and modern UI refinement */

:root {
  --lp-text: #0f172a;
  --lp-muted: #475569;
  --lp-surface: #ffffff;
  --lp-surface-soft: #f8fafc;
  --lp-border: #e2e8f0;
  --lp-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
  --lp-radius: 16px;
}

body {
  color: var(--lp-text);
  font-family: "Poppins", sans-serif;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6,
.banner-title,
.section-title,
.widget-title {
  font-family: "Outfit", sans-serif;
  color: var(--lp-text);
  letter-spacing: -0.01em;
}

.banner-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.section-sub-titel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.section-header p,
.banner-content p,
.service-content p,
.security-content p,
.choose-us-item p,
.about-content-item .sub-title {
  color: var(--lp-muted);
  margin-bottom: 0.35rem;
}

.pt-120 { padding-top: 96px !important; }
.ptb-120 { padding-top: 96px !important; padding-bottom: 96px !important; }
.ptb-150 { padding-top: 110px !important; padding-bottom: 110px !important; }

.banner-section {
  position: relative;
  padding-top: 84px;
  padding-bottom: 84px;
  background-size: cover;
  overflow: hidden;
}

.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 320px at 8% -10%, rgba(32, 157, 90, 0.16), transparent 45%),
    radial-gradient(900px 340px at 88% -15%, rgba(14, 165, 233, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.82), rgba(255, 255, 255, 0.92));
  pointer-events: none;
}

.banner-section .container {
  position: relative;
  z-index: 1;
}

.hero-content-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.48), rgba(241, 245, 249, 0.34));
  border: 1px solid rgba(148, 163, 184, 0.30);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(10px);
}

.hero-lead {
  font-size: 1.02rem;
  color: #1e293b !important;
  margin-bottom: 0.7rem;
}

.hero-support {
  font-size: 0.96rem;
  color: #475569 !important;
  margin-bottom: 1rem;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.25rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(32, 157, 90, 0.3);
  background: rgba(32, 157, 90, 0.08);
  color: #166534;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hero-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #1f2937;
  font-size: 0.92rem;
  line-height: 1.4;
}

.hero-feature-list li i {
  margin-top: 2px;
  color: #209d5a;
}

.hero-trust-note {
  border-top: 1px dashed rgba(32, 157, 90, 0.28);
  padding-top: 12px;
  font-size: 0.9rem;
  color: #334155 !important;
}

.hero-visual-wrap {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.42), rgba(241, 245, 249, 0.30));
  border: 1px solid rgba(148, 163, 184, 0.30);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(8px);
}

.hero-visual-image {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

.banner-content .app-btn-area {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.5rem;
}

.app-btn {
  min-width: 230px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.60), rgba(248, 250, 252, 0.42));
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(7px);
}

.app-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 157, 90, 0.45);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.1);
}

.banner-floting-right-list li {
  color: var(--lp-text);
  margin-bottom: 0.5rem;
}

.service-item,
.security-item,
.choose-us-item,
.about-content-item,
.how-it-works-item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.58), rgba(248, 250, 252, 0.32));
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: var(--lp-radius);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.05);
  backdrop-filter: blur(4px);
}

.service-item,
.security-item,
.choose-us-item,
.how-it-works-item {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-item:hover,
.security-item:hover,
.choose-us-item:hover,
.how-it-works-item:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 157, 90, 0.28);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}

.timeline-step-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
}

.timeline-step-item .how-it-works-icon-wrapper {
  margin-bottom: 0;
}

.timeline-step-item .how-it-works-content .sub-title {
  color: #209d5a;
  font-weight: 600;
}

.timeline-step-item .how-it-works-content .title {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.use-cases-expand {
  margin-top: 6px;
}

.service-icon i,
.icon-area i,
.security-item .icon i,
.how-it-works-icon i {
  color: var(--primary-color);
}

.sub-menu {
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.18);
  background:
    radial-gradient(1200px 420px at -10% -30%, rgba(14, 165, 233, 0.12), transparent 48%),
    radial-gradient(900px 300px at 120% -20%, rgba(59, 130, 246, 0.10), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.sub-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  background: rgba(255, 255, 255, 0.62);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sub-menu-item:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}

.hero-text-slider {
  padding-bottom: 26px;
}

.hero-text-slider .swiper-slide {
  min-height: 292px;
}

.hero-slider-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.hero-slider-pagination .swiper-pagination-bullet {
  width: 18px;
  height: 6px;
  border-radius: 20px;
  background: rgba(100, 116, 139, 0.35);
  opacity: 1;
  transition: all 0.25s ease;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
  width: 34px;
  background: #209d5a;
}

.hero-slider-fallback .swiper-wrapper {
  display: block;
}

.hero-slider-fallback .swiper-slide {
  display: none;
}

.hero-slider-fallback .swiper-slide:first-child {
  display: block;
}

.sub-menu-item .icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(32, 157, 90, 0.16), rgba(32, 157, 90, 0.10));
  border: 1px solid rgba(32, 157, 90, 0.30);
  color: #209d5a;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(32, 157, 90, 0.16);
}

.sub-menu-item .menu-item-name .title {
  font-size: 0.96rem;
  line-height: 1.35;
  margin-bottom: 2px;
  color: #0f172a;
}

.sub-menu-item .menu-item-name p {
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav-submenu-actions {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(14, 165, 233, 0.14);
  margin-top: 8px;
}

.nav-submenu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 170px;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Force dropdown CTA buttons to bypass inherited nav link styles */
.header-bottom-area .navbar-collapse .main-menu li .sub-menu .sub-menu-wrapper .nav-submenu-actions a.nav-submenu-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  min-width: 170px !important;
  height: 42px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  line-height: 1 !important;
  border-radius: 12px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

.header-bottom-area .navbar-collapse .main-menu li .sub-menu .sub-menu-wrapper .nav-submenu-actions a.nav-submenu-btn::after,
.header-bottom-area .navbar-collapse .main-menu li .sub-menu .sub-menu-wrapper .nav-submenu-actions a.nav-submenu-btn::before {
  display: none !important;
  content: none !important;
}

.nav-submenu-btn--primary {
  background: linear-gradient(135deg, var(--primary-color), #0284c7);
  color: #fff !important;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.24);
}

.nav-submenu-btn--primary:hover {
  opacity: 0.94;
  color: #fff !important;
}

.nav-submenu-btn--secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a !important;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.nav-submenu-btn--secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
  background: #f8fafc;
}

.header-section {
  backdrop-filter: saturate(130%) blur(8px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.main-menu .nav-item > a {
  font-weight: 600;
  color: var(--lp-text);
}

.btn--base {
  border-radius: 12px;
  font-weight: 600;
}

.footer-section {
  background: #0b1220;
  color: #cbd5e1;
}

.footer-section .widget-title,
.footer-section .footer-content p,
.footer-section a {
  color: #e2e8f0;
}

.footer-section .widget-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.footer-section .footer-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.footer-section .footer-list li {
  margin-bottom: 8px;
}

.footer-section .footer-list li a {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-section a:hover {
  color: #ffffff;
}

.expand-panel {
  margin-top: 10px;
  border-top: 1px dashed rgba(100, 116, 139, 0.35);
  padding-top: 10px;
}

.expand-panel summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: #209d5a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.expand-panel summary::-webkit-details-marker {
  display: none;
}

.expand-panel summary::after {
  content: "+";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(32, 157, 90, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1;
}

.expand-panel[open] summary::after {
  content: "-";
}

.expand-panel[open] summary {
  margin-bottom: 8px;
}

.expand-panel p,
.expand-panel li {
  font-size: 0.88rem;
  color: #475569;
}

.ptb-96 {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

.pb-48 {
  padding-bottom: 48px !important;
}

.commercials-positioning-strip.lp-section-soft-edge {
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.lead-like {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--lp-muted);
}

.lp-about-placeholder {
  min-height: 260px;
  background: var(--lp-surface-soft);
  border: 1px dashed var(--lp-border);
}

.about-highlight-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 157, 90, 0.1);
  color: #209d5a;
}

.about-highlight-icon i {
  font-size: 0.95rem;
}

/* Main nav: AfriPay Business wordmark beside logo */
.navbar-brand-text {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 700;
  color: var(--lp-text);
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .navbar-brand-text {
    display: none;
  }
}

@media (max-width: 991px) {
  .pt-120 { padding-top: 72px !important; }
  .ptb-96 { padding-top: 72px !important; padding-bottom: 72px !important; }
  .ptb-120 { padding-top: 72px !important; padding-bottom: 72px !important; }
  .ptb-150 { padding-top: 84px !important; padding-bottom: 84px !important; }
  .banner-section { padding-top: 64px; padding-bottom: 64px; }
  .app-btn { min-width: 100%; }
  .hero-content-card { padding: 22px; }
  .hero-text-slider .swiper-slide { min-height: auto; }
  .nav-submenu-actions { flex-direction: column; }
  .header-bottom-area .navbar-collapse .main-menu li .sub-menu .sub-menu-wrapper .nav-submenu-actions a.nav-submenu-btn {
    width: 100%;
    min-width: 100%;
  }
}
