/* ============================================================
   MOGA DELIVERY — Professional CSS
   Colors: Green #16a34a, Orange #ea4711, Dark #0a0f1a
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --green:       #16a34a;
  --green-light: #22c55e;
  --green-dark:  #15803d;
  --orange:      #ea4711;
  --orange-light:#f97316;
  --orange-dark: #c2380a;
  --dark:        #0a0f1a;
  --dark-2:      #0f1623;
  --dark-3:      #151d2e;
  --card-bg:     #111827;
  --card-border: rgba(255,255,255,0.07);
  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --white:       #ffffff;
  --gradient:    linear-gradient(135deg, var(--green) 0%, var(--orange) 100%);
  --gradient-r:  linear-gradient(135deg, var(--orange) 0%, var(--green) 100%);
  --glow-green:  0 0 30px rgba(22,163,74,0.35);
  --glow-orange: 0 0 30px rgba(234,71,17,0.35);
  --radius:      16px;
  --radius-lg:   24px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font:        'Inter', sans-serif;
  --font-display:'Space Grotesk', sans-serif;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── LOADER ─────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.loader-m {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-rest { color: var(--white); }
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px; overflow: hidden;
  margin: 0 auto;
}
.loader-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
  animation: loadProgress 1.8s ease forwards;
}
@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-outline {
  width: 36px; height: 36px;
  border: 2px solid rgba(22,163,74,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9997;
  transform: translate(-50%, -50%);
  transition: transform 0.15s, width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-outline.hovered {
  width: 60px; height: 60px;
  border-color: var(--green-light);
  background: rgba(22,163,74,0.07);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding var(--transition), background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  padding: 12px 0;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.logo-img { width: 40px; height: 40px; object-fit: contain; }
.logo-text { color: var(--white); }
.logo-text span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-link {
  display: inline-block;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 0.9rem; font-weight: 500;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 2px; background: var(--gradient);
  border-radius: 999px;
  transition: left var(--transition), right var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--gradient);
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--glow-green); opacity: 0.95; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 10px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  position: relative;
  z-index: 110;
  cursor: pointer;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--white);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
  pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(22,163,74,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(234,71,17,0.08) 0%, transparent 60%),
    var(--dark);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-particles { position: absolute; inset: 0; }

.hero-container {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative; z-index: 1;
}
/* re-use hero-container children as left col, hero-visual as right */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.3);
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--green-light);
  margin-bottom: 24px;
}
.hero-badge i { font-size: 0.8rem; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 520px; line-height: 1.75;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--gradient);
  color: var(--white); font-weight: 700; font-size: 1rem;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s ease;
}
.btn-primary:hover::before { transform: translateX(200%) skewX(-15deg); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(22,163,74,0.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); font-weight: 600; font-size: 1rem;
  border-radius: 50px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-secondary i { font-size: 1.2rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stats {
  display: flex; align-items: center; gap: 24px;
}
.hero-stat strong {
  display: block; font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800; color: var(--white);
  line-height: 1;
}
.hero-stat span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

/* Hero visual (right column) */
#hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
/* Override for hero-container to not be a grid itself */
.hero-container {
  grid-column: 1;
  display: flex; flex-direction: column; justify-content: center;
  max-width: none; margin: 0; width: 100%;
}
.hero-visual {
  grid-column: 2;
  position: relative; z-index: 1;
  padding: 120px 24px 80px 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-wrapper { position: relative; width: 100%; max-width: 340px; }

/* Phone mockup */
.hero-phone {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  padding: 20px 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), var(--glow-green);
  position: relative; z-index: 2;
}
.phone-screen {}
.phone-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
}
.phone-status { font-size: 0.8rem; font-weight: 700; color: var(--green-light); }
.phone-header i { color: var(--orange); font-size: 0.9rem; }
.phone-map {
  background: rgba(22,163,74,0.05);
  border: 1px solid rgba(22,163,74,0.15);
  border-radius: 16px; padding: 20px 16px 12px;
  margin-bottom: 16px;
}
.map-route {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 8px;
}
.map-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.map-origin { background: var(--green); box-shadow: 0 0 8px var(--green); }
.map-dest { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.map-line { flex: 1; height: 2px; background: rgba(255,255,255,0.1); }
.map-scooter {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--gradient);
  border-radius: 50%; flex-shrink: 0;
  font-size: 0.75rem; color: var(--white);
  box-shadow: 0 0 16px rgba(22,163,74,0.5);
  animation: scooterBounce 2s ease-in-out infinite;
}
@keyframes scooterBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.map-labels {
  display: flex; justify-content: space-between;
  font-size: 0.7rem; color: var(--text-muted);
}
.phone-info { display: flex; flex-direction: column; gap: 8px; }
.phone-info-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.info-label { color: var(--text-muted); }
.info-val { font-weight: 600; color: var(--white); }
.status-active { color: var(--green-light) !important; }

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(15,22,35,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  font-size: 0.8rem; min-width: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.floating-card i { font-size: 1.2rem; flex-shrink: 0; }
.floating-card strong { display: block; color: var(--white); font-weight: 700; font-size: 0.82rem; }
.floating-card span { color: var(--text-muted); font-size: 0.72rem; }
.card-1 { top: -20px; left: -50px; animation: float1 3s ease-in-out infinite; }
.card-1 i { color: var(--green-light); }
.card-2 { bottom: 60px; left: -60px; animation: float2 3.5s ease-in-out infinite; }
.card-2 i { color: var(--orange); }
.card-3 { top: 30px; right: -50px; animation: float3 4s ease-in-out infinite; }
.card-3 i { color: #f59e0b; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* Scroll down */
.scroll-down {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  z-index: 2;
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}
@keyframes scrollPulse { 0%,100%{opacity:1;transform:translateX(-50%) translateY(0)} 50%{opacity:0.5;transform:translateX(-50%) translateY(6px)} }

/* ── PARTNERS RIBBON ─────────────────────────────────────────── */
.partners-ribbon {
  overflow: hidden; padding: 16px 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ribbon-track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  animation: ribbonScroll 20s linear infinite;
}
.ribbon-track span {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap; letter-spacing: 0.5px;
}
.ribbon-track span i { color: var(--green); font-size: 0.8rem; }
@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SECTIONS BASE ───────────────────────────────────────────── */
.section { padding: 100px 24px; }
.section-dark { background: var(--dark-2); }
.section-gradient {
  background: linear-gradient(135deg, rgba(22,163,74,0.1), rgba(234,71,17,0.1));
  border-top: 1px solid rgba(22,163,74,0.1);
  border-bottom: 1px solid rgba(234,71,17,0.1);
}
.container { max-width: 1280px; margin: 0 auto; }
.section-header {
  text-align: center; max-width: 680px; margin: 0 auto 72px;
}
.section-badge {
  display: inline-flex; align-items: center;
  padding: 6px 16px;
  background: rgba(22,163,74,0.1);
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--green-light);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.15;
  color: var(--white); margin-bottom: 16px;
}
.section-subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }

/* ── SERVICES ────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); border-color: rgba(22,163,74,0.2); }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured { border-color: rgba(22,163,74,0.3); box-shadow: 0 0 40px rgba(22,163,74,0.1); }
.service-card.featured::before { transform: scaleX(1); }
.featured-badge {
  position: absolute; top: 20px; right: 20px;
  padding: 4px 12px;
  background: var(--gradient);
  border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; color: var(--white);
  letter-spacing: 0.5px;
}
.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius); margin-bottom: 20px;
  font-size: 1.4rem; color: var(--green-light);
  transition: background var(--transition), transform var(--transition);
}
.service-card:hover .service-icon { background: rgba(22,163,74,0.2); transform: scale(1.1) rotate(-5deg); }
.service-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); }
.service-features i { color: var(--green); font-size: 0.7rem; }
.service-hover-bg {
  position: absolute; bottom: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(22,163,74,0.06) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.5s ease;
  pointer-events: none;
}
.service-card:hover .service-hover-bg { transform: scale(1.5); }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.steps-wrapper { position: relative; margin-bottom: 64px; }
.steps-line {
  position: absolute; top: 56px; left: 50%;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22,163,74,0.4), rgba(234,71,17,0.4), transparent);
  transform: translateX(-50%);
}
.steps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 24px;
  align-items: start;
}
.step-item {
  text-align: center; padding: 0 16px;
  display: flex; flex-direction: column; align-items: center;
}
.step-number {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 2px; color: var(--text-muted);
  margin-bottom: 16px; text-transform: uppercase;
}
.step-icon-wrap {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-bg);
  border: 2px solid rgba(22,163,74,0.3);
  border-radius: 50%; margin-bottom: 20px;
  font-size: 1.8rem; color: var(--green-light);
  position: relative; z-index: 1;
  box-shadow: 0 0 30px rgba(22,163,74,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-item:hover .step-icon-wrap { transform: scale(1.1); box-shadow: 0 0 50px rgba(22,163,74,0.3); }
.step-item h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.step-connector {
  display: flex; align-items: flex-start;
  padding-top: 36px; font-size: 1.2rem;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Tracking demo */
.tracking-demo {
  max-width: 620px; margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 28px;
}
.tracking-input-wrap {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px; padding: 8px 8px 8px 20px;
  margin-bottom: 28px;
}
.tracking-input-wrap i { color: var(--text-muted); }
.tracking-input-wrap input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-size: 0.9rem;
}
.tracking-input-wrap input::placeholder { color: var(--text-muted); }
.track-btn {
  padding: 10px 20px; background: var(--gradient);
  color: var(--white); font-weight: 700; font-size: 0.85rem;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.track-btn:hover { transform: scale(1.05); box-shadow: var(--glow-green); }
.tracking-result { display: flex; flex-direction: column; gap: 0; }
.track-status {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
}
.track-status:last-child { border-bottom: none; }
.track-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.track-dot.active { background: var(--green); box-shadow: 0 0 8px var(--green); }
.track-dot.pending { background: rgba(255,255,255,0.15); }
.track-status span:nth-child(2) { flex: 1; color: var(--text); font-weight: 500; }
.track-time { color: var(--text-muted); font-size: 0.8rem; }

/* ── FEATURES ────────────────────────────────────────────────── */
.features-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.features-left .section-badge { display: inline-flex; text-align: left; }
.features-left .section-title, .features-left .section-subtitle { text-align: left; margin-left: 0; }
.features-list { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.2);
  border-radius: 12px; font-size: 1.1rem; color: var(--green-light);
  transition: background var(--transition), transform var(--transition);
}
.feature-item:hover .feature-icon { background: rgba(22,163,74,0.2); transform: scale(1.1); }
.feature-text h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.feature-text p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* Features visual */
.features-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 400px; }
.fv-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.fv-main {
  width: 280px; padding: 24px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; border-color: rgba(22,163,74,0.2);
}
.fv-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-weight: 700; color: var(--white); font-size: 0.9rem;
}
.fv-header i { color: var(--green); }
.fv-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-bottom: 16px; }
.chart-bar {
  flex: 1; height: var(--h);
  background: linear-gradient(to top, var(--green), var(--green-light));
  border-radius: 4px 4px 0 0; position: relative;
  opacity: 0.7; transition: opacity var(--transition);
}
.chart-bar:hover { opacity: 1; }
.chart-bar span {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; color: var(--text-muted);
}
.fv-stat {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--card-border);
  font-size: 0.82rem;
}
.fv-stat span { color: var(--text-muted); }
.fv-stat strong { color: var(--white); font-family: var(--font-display); }
.fv-secondary {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; bottom: 20px; right: -40px; z-index: 3;
  min-width: 150px; animation: float2 4s ease-in-out infinite;
}
.fv-secondary i { color: var(--green); font-size: 1.3rem; }
.fv-secondary strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 700; }
.fv-secondary span { font-size: 0.75rem; color: var(--text-muted); }
.fv-tertiary {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; top: 20px; left: -40px; z-index: 3;
  min-width: 150px; animation: float1 3.5s ease-in-out infinite;
}
.fv-tertiary i { color: var(--orange); font-size: 1.3rem; }
.fv-tertiary strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 700; }
.fv-tertiary span { font-size: 0.75rem; color: var(--text-muted); }

/* ── STATS ───────────────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.stat-card {
  text-align: center; padding: 40px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(22,163,74,0.2); box-shadow: var(--glow-green); }
.stat-icon { font-size: 2rem; margin-bottom: 16px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-number {
  font-family: var(--font-display); font-size: 3rem; font-weight: 900;
  color: var(--white); line-height: 1; display: inline;
}
.stat-suffix {
  font-family: var(--font-display); font-size: 2rem; font-weight: 900;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline;
}
.stat-label {
  font-size: 0.88rem; color: var(--text-muted); font-weight: 500;
  margin-top: 8px; display: block;
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-slider {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 36px;
  transition: transform 0.5s ease;
}
.testimonial-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(22,163,74,0.2); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.testi-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testi-stars i { color: #f59e0b; font-size: 0.85rem; }
.testi-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--white); font-size: 1rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; color: var(--white); font-size: 0.88rem; }
.testi-author span { color: var(--text-muted); font-size: 0.78rem; }
.slider-controls {
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card-bg); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.slider-btn:hover { background: var(--gradient); color: var(--white); border-color: transparent; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.slider-dot.active { background: var(--gradient); transform: scale(1.3); }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px;
}
.contact-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 32px;
  margin-bottom: 24px;
}
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--card-border); align-items: flex-start; }
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--green-light); font-size: 1rem;
}
.contact-item h4 { color: var(--white); font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.contact-item p, .contact-item p a { color: var(--text-muted); font-size: 0.88rem; }
.contact-item p a:hover { color: var(--green-light); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card-bg); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.social-link:hover { background: var(--gradient); color: var(--white); border-color: transparent; transform: translateY(-3px); }

/* Form */
.contact-form-wrap {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }
.input-wrap {
  position: relative; display: flex; align-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 0 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input-wrap:focus-within { border-color: rgba(22,163,74,0.4); box-shadow: 0 0 0 3px rgba(22,163,74,0.08); }
.input-wrap > i { color: var(--text-muted); font-size: 0.9rem; margin-right: 10px; flex-shrink: 0; }
.input-wrap input, .input-wrap select, .input-wrap textarea {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-size: 0.9rem; padding: 14px 0;
}
.input-wrap input::placeholder, .input-wrap textarea::placeholder { color: rgba(148,163,184,0.6); }
.input-wrap select { cursor: pointer; }
.input-wrap select option { background: var(--dark-3); }
.input-wrap textarea { resize: vertical; min-height: 100px; padding: 14px 0; line-height: 1.6; }
.btn-full { width: 100%; justify-content: center; border-radius: 14px; font-size: 1rem; padding: 16px 32px; }
.form-success {
  display: none; align-items: center; gap: 10px; margin-top: 16px;
  padding: 14px 20px; background: rgba(22,163,74,0.1);
  border: 1px solid rgba(22,163,74,0.3); border-radius: 12px;
  color: var(--green-light); font-size: 0.9rem; font-weight: 600;
}
.form-success.show { display: flex; }
.form-success i { font-size: 1.1rem; }

/* ── FOOTER ──────────────────────────────────────────────────── */
#footer { background: var(--dark-3); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-top { padding: 72px 24px 48px; }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 800;
  color: var(--white); margin-bottom: 16px;
}
.footer-logo em { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: normal; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--white); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition), padding-left var(--transition); }
.footer-col ul li a:hover { color: var(--green-light); padding-left: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--text-muted);
}
.footer-contact-list li i { color: var(--green); margin-top: 2px; font-size: 0.82rem; flex-shrink: 0; }
.footer-contact-list li a:hover { color: var(--green-light); }
.footer-bottom {
  padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom .container {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

/* ── BACK TO TOP ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient);
  color: var(--white); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
  z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(22,163,74,0.5); }

/* ── FLOATING WHATSAPP ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 96px; right: 32px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  color: #fff; font-size: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.55);
  z-index: 50;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: waPulse 2.2s ease-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 36px rgba(37,211,102,0.55);
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1; transform: translateX(0);
  pointer-events: auto;
}
.wa-tooltip {
  position: absolute; right: calc(100% + 12px);
  top: 50%; transform: translate(8px, -50%);
  padding: 8px 14px;
  background: rgba(10,15,26,0.95);
  color: #fff; font-size: 0.8rem; font-weight: 600;
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.wa-tooltip::after {
  content: '';
  position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(10,15,26,0.95);
}
@keyframes waPulse {
  0%   { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px; height: 52px; font-size: 1.55rem;
    right: 20px; bottom: 84px;
  }
  .back-to-top { right: 20px; bottom: 24px; width: 44px; height: 44px; }
  .wa-tooltip { display: none; }
}

/* ── MOBILE MENU ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Solid navbar on mobile.
     IMPORTANT: do NOT use backdrop-filter here — it creates a
     containing block that would trap the fixed .nav-links overlay
     inside the navbar's bounds. */
  #navbar {
    padding: 12px 0;
    background: rgba(10,15,26,0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  #navbar.scrolled {
    padding: 10px 0;
    background: rgba(10,15,26,0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  }

  .nav-container {
    gap: 12px;
    padding: 0 16px;
    justify-content: space-between;
  }

  /* Logo only (hide text) */
  .nav-logo { min-width: 0; gap: 0; }
  .logo-text { display: none; }
  .logo-img { width: 38px; height: 38px; }

  /* Hamburger — clear, high-contrast tappable button */
  .hamburger {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background var(--transition), border-color var(--transition);
  }
  .hamburger:hover,
  .hamburger.open {
    background: rgba(22,163,74,0.12);
    border-color: rgba(22,163,74,0.35);
  }
  .hamburger span { background: var(--white); }

  /* Full-height slide-in overlay — everything visible, no scroll */
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: 0;
    background: rgba(10,15,26,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    padding: 76px 18px 18px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 95;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
  }
  .nav-link {
    display: block;
    width: 100%;
    font-size: 0.95rem;
    padding: 11px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    line-height: 1.3;
  }
  .nav-link::after { display: none; }
  .nav-link:hover,
  .nav-link.active {
    background: rgba(22,163,74,0.08);
    border-color: rgba(22,163,74,0.25);
  }

  /* Hide standalone CTA on mobile — use the one inside .nav-links menu */
  .nav-cta { display: none; }

  /* Mobile WhatsApp button, right after the list */
  .nav-links-cta { margin-top: 6px; }
  .nav-cta-mobile {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 18px;
    background: var(--gradient);
    color: var(--white); font-weight: 700; font-size: 0.92rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(22,163,74,0.3);
    line-height: 1.3;
  }
  .nav-cta-mobile i { font-size: 1.05rem; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-slider { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Short phones / landscape: shrink menu items to avoid clipping */
@media (max-width: 1024px) and (max-height: 640px) {
  .nav-links { padding: 68px 18px 16px; gap: 5px; }
  .nav-link  { padding: 9px 14px; font-size: 0.92rem; }
  .nav-cta-mobile { padding: 10px 16px; font-size: 0.88rem; }
}
@media (max-width: 1024px) and (max-height: 500px) {
  .nav-links { padding: 60px 16px 12px; gap: 3px; }
  .nav-link  { padding: 7px 12px; font-size: 0.85rem; }
  .nav-cta-mobile { padding: 8px 14px; font-size: 0.82rem; }
}
/* Hide mobile CTA list item on desktop */
@media (min-width: 1025px) {
  .nav-links-cta { display: none; }
}

@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
    padding: 110px 20px 60px;
    gap: 40px;
  }
  .hero-container { grid-column: 1; padding: 0; }

  /* Keep hero phone visible — placed below the text */
  .hero-visual {
    grid-column: 1;
    padding: 0;
    margin-top: 8px;
  }
  .hero-card-wrapper { max-width: 300px; margin: 0 auto; }

  /* Reposition floating cards so they stay inside viewport */
  .floating-card {
    min-width: 0;
    padding: 9px 12px;
    font-size: 0.72rem;
    max-width: 160px;
  }
  .floating-card strong { font-size: 0.74rem; }
  .floating-card span   { font-size: 0.64rem; }
  .floating-card i      { font-size: 1rem; }
  .card-1 { top: -14px; left: -14px; }
  .card-2 { bottom: 40px; left: -18px; }
  .card-3 { top: 20px; right: -14px; }

  /* Scroll down arrow stays */
  .scroll-down { bottom: 16px; }

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

  /* Features: stack visual below content */
  .features-layout { grid-template-columns: 1fr; gap: 40px; }
  .features-right { margin-top: 8px; }
  .features-visual { height: 340px; max-width: 320px; margin: 0 auto; }
  .fv-main { width: 260px; padding: 20px; }
  .fv-secondary { right: -10px; bottom: 10px; padding: 12px; min-width: 130px; }
  .fv-tertiary  { left: -10px; top: 10px; padding: 12px; min-width: 130px; }
  .fv-secondary strong, .fv-tertiary strong { font-size: 0.85rem; }
  .fv-secondary span, .fv-tertiary span { font-size: 0.68rem; }

  /* How it works: stacked, connectors hidden (decorative horizontal only) */
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { display: none; }
  .steps-line { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-stat strong { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .section { padding: 64px 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  /* Hero phone a bit smaller */
  .hero-card-wrapper { max-width: 260px; }
  .floating-card { max-width: 140px; padding: 8px 10px; }
  .floating-card strong { font-size: 0.68rem; }
  .floating-card span   { font-size: 0.58rem; }

  /* Features visual tighter */
  .features-visual { height: 300px; max-width: 280px; }
  .fv-main { width: 230px; padding: 16px; }
  .fv-chart { height: 64px; }
  .fv-secondary, .fv-tertiary { min-width: 110px; padding: 10px; }
  .fv-secondary i, .fv-tertiary i { font-size: 1.1rem; }
}

/* ── MERCHANT PROFILES ──────────────────────────────────────── */

.merchants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Card */
.merchant-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.merchant-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s ease;
}
.merchant-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,0.45); border-color: rgba(22,163,74,0.22); }
.merchant-card:hover::before { transform: scaleX(1); }

/* Featured card */
.featured-merchant {
  border-color: rgba(234,71,17,0.3);
  box-shadow: 0 0 40px rgba(234,71,17,0.08);
}
.featured-merchant::before { transform: scaleX(1); background: linear-gradient(135deg,var(--orange),var(--green)); }
.mc-featured-label {
  position: absolute; top: 16px; right: 16px;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg,var(--orange),var(--orange-light));
  border-radius: 50px; font-size: 0.7rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.3px;
}
.mc-featured-label i { font-size: 0.65rem; }

/* Header row */
.mc-header {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.mc-avatar-wrap { position: relative; flex-shrink: 0; }
.mc-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 800;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.mc-flag {
  position: absolute; bottom: -4px; right: -4px;
  font-size: 1rem; line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.mc-identity { flex: 1; min-width: 0; }
.mc-identity strong { display: block; color: var(--white); font-size: 0.95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-identity span { color: var(--text-muted); font-size: 0.78rem; }
.mc-badges { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.mc-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3px;
}
.mc-badge i { font-size: 0.6rem; }
.badge-cod {
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.25);
  color: var(--green-light);
}
.badge-drop {
  background: rgba(234,71,17,0.1);
  border: 1px solid rgba(234,71,17,0.25);
  color: var(--orange-light);
}

/* Niche tag */
.mc-niche {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50px;
  font-size: 0.78rem; color: var(--text-muted); font-weight: 600;
  align-self: flex-start;
}
.mc-niche i { color: var(--green-light); font-size: 0.75rem; }

/* Quote */
.mc-quote {
  font-size: 0.85rem; color: var(--text-muted);
  line-height: 1.75; font-style: italic;
  flex: 1;
  position: relative; padding-left: 16px;
}
.mc-quote::before {
  content: '"';
  position: absolute; left: 0; top: -4px;
  font-size: 2.5rem; line-height: 1;
  color: var(--green); opacity: 0.4;
  font-family: Georgia, serif; font-style: normal;
}

/* Metrics */
.mc-metrics {
  display: flex; align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.mc-metric { flex: 1; text-align: center; }
.mc-metric strong {
  display: block;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: 3px;
}
.mc-metric span { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }
.mc-metric-sep { width: 1px; height: 32px; background: var(--card-border); flex-shrink: 0; }

/* Stars */
.mc-stars { display: flex; gap: 3px; }
.mc-stars i { color: #f59e0b; font-size: 0.75rem; }

/* Bottom CTA */
.testi-cta {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap; margin-top: 16px;
  padding: 24px 32px;
  background: rgba(22,163,74,0.05);
  border: 1px dashed rgba(22,163,74,0.2);
  border-radius: var(--radius-lg);
}
.testi-cta p { color: var(--text-muted); font-size: 1rem; font-weight: 500; }

/* Responsive merchants */
@media (max-width: 1200px) {
  .merchants-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .merchants-grid { grid-template-columns: 1fr; }
  .testi-cta { flex-direction: column; text-align: center; }
  .testi-cta .btn-primary { width: 100%; justify-content: center; }
}

/* ── COVERAGE MAP (SVG Africa) ───────────────────────────────── */

/* Section background with ambient glows */
.coverage-section { position: relative; overflow: hidden; }
.coverage-bg-glow {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.coverage-bg-glow-1 {
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(22,163,74,0.55), transparent 60%);
}
.coverage-bg-glow-2 {
  bottom: -140px; right: -100px;
  background: radial-gradient(circle, rgba(234,71,17,0.45), transparent 60%);
}
.coverage-section .container { position: relative; z-index: 1; }

/* Layout */
.coverage-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 48px;
}

/* Map container */
.coverage-map-wrap {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(22,163,74,0.08), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(234,71,17,0.06), transparent 55%),
    linear-gradient(160deg, #0d1320 0%, #0a0f1a 100%);
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
}

/* Decorative corner border accents */
.coverage-map-wrap::before,
.coverage-map-wrap::after {
  content: '';
  position: absolute;
  width: 48px; height: 48px;
  border: 2px solid rgba(22,163,74,0.55);
  pointer-events: none;
}
.coverage-map-wrap::before {
  top: 14px; left: 14px;
  border-right: none; border-bottom: none;
  border-top-left-radius: 10px;
}
.coverage-map-wrap::after {
  bottom: 14px; right: 14px;
  border-left: none; border-top: none;
  border-bottom-right-radius: 10px;
  border-color: rgba(234,71,17,0.55);
}

/* Africa SVG host */
.africa-svg-host {
  width: 100%;
  min-height: 300px;
  display: block;
}
.africa-svg {
  width: 100%;
  height: auto;
  max-height: 640px;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.6));
}

/* All African countries (default) */
.africa-country {
  fill: #1a2436;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 1;
  stroke-linejoin: round;
  transition: fill 0.3s ease, stroke 0.3s ease, filter 0.3s ease;
}
.africa-country:hover {
  fill: #243148;
  stroke: rgba(255,255,255,0.24);
}

/* Active (5 Moga countries) — gradient fill */
.africa-country[data-country="TN"],
.africa-country[data-country="SN"],
.africa-country[data-country="ML"],
.africa-country[data-country="BF"],
.africa-country[data-country="CI"] {
  fill: url(#activeGrad);
  stroke: rgba(255,255,255,0.35);
  stroke-width: 1.3;
  filter: drop-shadow(0 0 14px rgba(22,163,74,0.55));
}
.africa-country.highlight {
  fill: url(#activeGrad);
  stroke: #fff;
  stroke-width: 2;
  filter: drop-shadow(0 0 22px rgba(234,71,17,0.85));
}

/* Network connecting lines animated */
.africa-network path {
  stroke-dashoffset: 0;
  animation: networkDash 14s linear infinite;
}
@keyframes networkDash {
  to { stroke-dashoffset: -400; }
}

/* Markers */
.africa-marker { cursor: pointer; }
.africa-marker .marker-pulse {
  fill: rgba(22,163,74,0.38);
  transform-box: fill-box;
  transform-origin: center;
  animation: svgPulse 2.4s ease-out infinite;
}
.africa-marker .marker-core,
.africa-marker .marker-inner {
  transition: r 0.25s ease;
}
.africa-marker .marker-pulse-2 { animation-delay: 1.2s; }
.africa-marker .marker-core {
  fill: url(#activeGrad);
  stroke: rgba(255,255,255,0.95);
  stroke-width: 3;
}
.africa-marker .marker-inner {
  fill: #fff;
}
.africa-marker .marker-label rect {
  fill: rgba(10,15,26,0.92);
  stroke: rgba(22,163,74,0.55);
  stroke-width: 1.3;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.africa-marker .marker-label text {
  fill: #fff;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
  dominant-baseline: middle;
}
.africa-marker:hover .marker-label rect,
.africa-marker:hover .marker-label text,
.africa-marker.active .marker-label rect,
.africa-marker.active .marker-label text {
  opacity: 1;
}
.africa-marker.active .marker-core { r: 22; }
.africa-marker:hover  .marker-core { r: 20; }

@keyframes svgPulse {
  0%   { transform: scale(0.3); opacity: 0.85; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Floating chips over map */
.map-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(22,163,74,0.22);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 3;
  font-size: 0.78rem;
}
.map-chip-tl { top: 22px; left: 22px; }
.map-chip-br { bottom: 22px; right: 22px; border-color: rgba(234,71,17,0.22); }
.map-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700; color: var(--white);
}
.map-chip small {
  display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 2px;
}
.map-chip i { color: var(--orange-light); font-size: 1rem; }
.map-chip .chip-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: statusBlink 1.8s ease-in-out infinite;
}

/* Legend */
.map-legend {
  position: absolute; bottom: 22px; left: 22px;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  background: rgba(10,15,26,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.72rem; color: var(--text-muted); font-weight: 600;
  z-index: 3;
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.12); }
.legend-dot {
  width: 9px; height: 9px; border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.legend-active { background: var(--green); color: rgba(22,163,74,0.8); }
.legend-soon   { background: var(--orange); color: rgba(234,71,17,0.8); opacity: 0.7; }

/* ── Country cards (modernized) ─────────────────────────────── */
.coverage-cards {
  display: flex; flex-direction: column; gap: 12px;
}
.country-card {
  position: relative;
  padding: 16px 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.country-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient);
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.35s ease;
}
.country-card:hover,
.country-card.active {
  transform: translateX(4px);
  border-color: rgba(22,163,74,0.32);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.country-card:hover::before,
.country-card.active::before { transform: scaleY(1); }

.cc-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.cc-flag {
  font-size: 1.9rem; flex-shrink: 0; line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.cc-title { flex: 1; min-width: 0; }
.cc-title h4 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 2px;
}
.cc-region {
  font-size: 0.68rem; color: var(--text-muted);
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px;
}
.cc-desc {
  font-size: 0.78rem; color: var(--text-muted);
  line-height: 1.5; margin-bottom: 10px;
}

/* Per-country metrics (mini stats) */
.cc-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 10px; margin-bottom: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
}
.cc-metric {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
}
.cc-metric i {
  font-size: 0.72rem; color: var(--green-light); margin-bottom: 2px;
}
.cc-metric strong {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  color: var(--white); line-height: 1.1;
}
.cc-metric span {
  font-size: 0.6rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.3px;
}

.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-tags span {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 0.68rem; color: var(--text-muted); font-weight: 600;
}
.cc-tags i { color: var(--green); font-size: 0.6rem; }

.cc-status {
  flex-shrink: 0;
  padding: 4px 12px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: 50px;
  font-size: 0.68rem; font-weight: 700; color: var(--green-light);
  white-space: nowrap;
}
.cc-status::before {
  content: '';
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--green);
  margin-right: 5px;
  animation: statusBlink 2s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Bottom stats ribbon */
.coverage-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  padding: 28px 40px;
  background: linear-gradient(135deg, rgba(22,163,74,0.07), rgba(234,71,17,0.05));
  border: 1px solid rgba(22,163,74,0.15);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.cov-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 48px; text-align: center;
}
.cov-stat i {
  font-size: 1.4rem; margin-bottom: 4px;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cov-stat strong {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.cov-stat span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.cov-stat-sep { width: 1px; height: 48px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ── Responsive coverage ─────────────────────────────────── */

/* Tablet landscape: stack map and cards */
@media (max-width: 1024px) {
  .coverage-layout { grid-template-columns: 1fr; gap: 28px; }
  .coverage-map-wrap { padding: 22px; }
  .africa-svg { max-height: 560px; }
  .map-chip-tl { top: 18px; left: 18px; padding: 8px 12px; }
  .map-chip-br { bottom: 18px; right: 18px; padding: 8px 12px; }
  .coverage-stats { gap: 0; padding: 22px 28px; }
  .cov-stat { padding: 0 28px; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .coverage-section .section-title { font-size: 2rem; line-height: 1.2; }
  .coverage-section .section-subtitle { font-size: 0.92rem; }
  .coverage-map-wrap { padding: 18px; }
  .africa-svg { max-height: 480px; }

  /* Keep chips visible but more compact */
  .map-chip {
    padding: 8px 11px;
    gap: 8px;
    font-size: 0.7rem;
  }
  .map-chip strong { font-size: 0.72rem; }
  .map-chip small  { font-size: 0.62rem; }
  .map-chip i { font-size: 0.9rem; }
  .map-chip .chip-dot { width: 8px; height: 8px; }

  /* Corner brackets slightly smaller */
  .coverage-map-wrap::before,
  .coverage-map-wrap::after { width: 36px; height: 36px; }

  .map-legend {
    padding: 7px 12px; font-size: 0.68rem; gap: 10px;
  }

  /* Stats ribbon: 2x2 grid so all 4 stay visible */
  .coverage-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px 22px;
  }
  .cov-stat { padding: 10px 8px; gap: 2px; }
  .cov-stat i      { font-size: 1.15rem; }
  .cov-stat strong { font-size: 1.35rem; }
  .cov-stat span   { font-size: 0.72rem; }
  .cov-stat-sep    { display: none; }
}

/* Mobile — everything remains visible, just reflowed */
@media (max-width: 600px) {
  .coverage-section .section-title { font-size: 1.7rem; }
  .coverage-section .section-subtitle { font-size: 0.85rem; }

  .coverage-map-wrap { padding: 14px; border-radius: 18px; }
  .coverage-map-wrap::before,
  .coverage-map-wrap::after { width: 28px; height: 28px; }
  .africa-svg { max-height: 380px; }

  /* Chips: compact pills, two lines allowed */
  .map-chip {
    padding: 7px 10px;
    gap: 7px;
    border-radius: 10px;
    max-width: 45%;
  }
  .map-chip strong { font-size: 0.66rem; line-height: 1.15; }
  .map-chip small  { font-size: 0.58rem; line-height: 1.15; }
  .map-chip i      { font-size: 0.8rem; }
  .map-chip .chip-dot { width: 7px; height: 7px; }
  .map-chip-tl { top: 12px; left: 12px; }
  .map-chip-br { bottom: 58px; right: 12px; }  /* lift above legend */

  /* Legend stays visible, pinned bottom-left */
  .map-legend {
    font-size: 0.6rem;
    padding: 6px 10px;
    gap: 8px;
    left: 12px; bottom: 12px;
  }
  .legend-dot { width: 7px; height: 7px; }

  /* Country cards: tighter but keep all info */
  .country-card { padding: 13px 14px; }
  .cc-head { gap: 10px; margin-bottom: 6px; }
  .cc-flag { font-size: 1.6rem; }
  .cc-title h4 { font-size: 0.92rem; }
  .cc-region { font-size: 0.62rem; }
  .cc-desc { font-size: 0.72rem; margin-bottom: 8px; }

  .cc-metrics { padding: 8px 6px; gap: 4px; }
  .cc-metric i { font-size: 0.66rem; }
  .cc-metric strong { font-size: 0.74rem; }
  .cc-metric span { font-size: 0.54rem; letter-spacing: 0.2px; }

  .cc-status { font-size: 0.62rem; padding: 3px 10px; }
  .cc-tags span { font-size: 0.62rem; padding: 3px 8px; }

  /* Stats ribbon: stay 2x2 on mobile, all 4 visible */
  .coverage-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 14px;
  }
  .cov-stat { padding: 8px 4px; }
  .cov-stat i { font-size: 1rem; }
  .cov-stat strong { font-size: 1.15rem; }
  .cov-stat span { font-size: 0.65rem; }
}

/* Extra small phones */
@media (max-width: 380px) {
  .coverage-map-wrap { padding: 10px; }
  .africa-svg { max-height: 320px; }
  .map-chip { padding: 6px 8px; max-width: 48%; }
  .map-chip strong { font-size: 0.6rem; }
  .map-chip small  { font-size: 0.54rem; }
  .cc-metrics { padding: 6px 4px; }
  .cc-metric strong { font-size: 0.68rem; }
  .cc-metric span { font-size: 0.5rem; }
  .coverage-stats { padding: 14px 10px; gap: 8px; }
  .cov-stat strong { font-size: 1.05rem; }
}

/* ── PIPELINE LOGISTIQUE ─────────────────────────────────────── */

/* Outer flow wrapper */
.pipeline-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 64px;
  position: relative;
}

/* Each step card */
.pipeline-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.pipeline-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.pipeline-step:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); border-color: rgba(22,163,74,0.25); }
.pipeline-step:hover::before { transform: scaleX(1); }
.pipeline-step.active-step { border-color: rgba(22,163,74,0.35); box-shadow: var(--glow-green); }
.pipeline-step.active-step::before { transform: scaleX(1); }

/* Glow blob behind icon */
.pipeline-step::after {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.07), transparent 70%);
  transition: transform 0.5s ease;
}
.pipeline-step:hover::after { transform: scale(1.8); }

/* Step number badge */
.ps-number {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 800;
  letter-spacing: 2px; color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

/* Icon wrapper with ring animation */
.ps-icon-wrap {
  position: relative; width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.ps-icon-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(22,163,74,0.25);
  animation: ringPulse 3s ease-in-out infinite;
}
.pipeline-step:nth-child(3) .ps-icon-ring  { animation-delay: 0.3s; }
.pipeline-step:nth-child(5) .ps-icon-ring  { animation-delay: 0.6s; }
.pipeline-step:nth-child(7) .ps-icon-ring  { animation-delay: 0.9s; }
.pipeline-step:nth-child(9) .ps-icon-ring  { animation-delay: 1.2s; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.25); opacity: 0; }
}
.ps-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(22,163,74,0.15), rgba(234,71,17,0.08));
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 50%;
  font-size: 1.6rem; color: var(--green-light);
  position: relative; z-index: 1;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pipeline-step:hover .ps-icon {
  background: linear-gradient(135deg, rgba(22,163,74,0.28), rgba(234,71,17,0.15));
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 0 24px rgba(22,163,74,0.35);
}
.active-step .ps-icon { color: var(--green); box-shadow: 0 0 20px rgba(22,163,74,0.4); }

/* Text body */
.ps-body { flex: 1; width: 100%; }
.ps-body h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.ps-body p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }

/* Features list inside step */
.ps-list { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.ps-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.78rem; color: var(--text-muted);
}
.ps-list i { color: var(--green); font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }

/* Step tag bottom */
.ps-tag {
  display: inline-block; margin-top: 20px;
  padding: 5px 14px;
  background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.2);
  border-radius: 50px; font-size: 0.7rem; font-weight: 700;
  color: var(--green-light); letter-spacing: 0.5px; text-transform: uppercase;
}
.ps-tag-final {
  background: var(--gradient); border-color: transparent;
  color: var(--white);
  animation: tagPulse 2.5s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
}

/* Connectors between steps */
.pipeline-connector {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 8px; padding-top: 52px;
  gap: 6px;
}
.pc-line {
  width: 100%; height: 2px;
  background: linear-gradient(90deg, rgba(22,163,74,0.4), rgba(234,71,17,0.4));
  border-radius: 999px;
  min-width: 20px;
  position: relative; overflow: hidden;
}
.pc-line::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 50%;
  height: 100%; background: rgba(255,255,255,0.5);
  animation: lineFlow 2.5s linear infinite;
}
@keyframes lineFlow {
  0%   { left: -50%; }
  100% { left: 150%; }
}
@keyframes lineFlowVert {
  0%   { top: -50%; }
  100% { top: 150%; }
}
.pc-arrow {
  font-size: 0.75rem;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bottom CTA banner */
.pipeline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(22,163,74,0.08), rgba(234,71,17,0.06));
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius-lg);
}
.pipeline-cta-left {
  display: flex; align-items: center; gap: 20px;
}
.pipeline-cta-left > i {
  font-size: 2.2rem;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; flex-shrink: 0;
}
.pipeline-cta-left strong {
  display: block; color: var(--white);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 4px;
}
.pipeline-cta-left span { font-size: 0.88rem; color: var(--text-muted); }

/* Responsive pipeline */
@media (max-width: 1280px) {
  .pipeline-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 24px;
  }
  /* Last 2 steps go on row 2 */
  .pipeline-flow > .pipeline-step:nth-child(7)  { grid-column: 1; grid-row: 2; }
  .pipeline-flow > .pipeline-connector:nth-child(8) { grid-column: 2; grid-row: 2; }
  .pipeline-flow > .pipeline-step:nth-child(9)  { grid-column: 3; grid-row: 2; }
}

/* Tablet + mobile: one card per row */
@media (max-width: 1024px) {
  .pipeline-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }
  .pipeline-flow > .pipeline-step:nth-child(7),
  .pipeline-flow > .pipeline-step:nth-child(9) {
    grid-column: auto; grid-row: auto;
  }
  .pipeline-step {
    width: 100%;
    padding: 28px 22px 24px;
  }
  /* Hide horizontal connectors — replaced by a vertical dash between cards */
  .pipeline-connector {
    padding: 0; transform: none;
    flex-direction: column;
    height: 32px;
  }
  .pipeline-connector .pc-arrow { transform: rotate(90deg); font-size: 0.9rem; }
  .pipeline-connector .pc-line {
    width: 2px; height: 100%;
    background: linear-gradient(180deg, rgba(22,163,74,0.45), rgba(234,71,17,0.45));
    min-width: 0;
  }
  .pipeline-connector .pc-line::after {
    top: -100%; left: 0; width: 100%; height: 50%;
    background: rgba(255,255,255,0.45);
    animation: lineFlowVert 2.5s linear infinite;
  }
  .pipeline-cta { flex-direction: column; text-align: center; }
  .pipeline-cta-left { flex-direction: column; text-align: center; }
  .pipeline-cta .btn-primary { width: 100%; justify-content: center; }
}

/* Mobile fine-tuning */
@media (max-width: 600px) {
  .pipeline-step { padding: 24px 18px 20px; }
  .ps-body h3 { font-size: 1rem; }
  .ps-body p  { font-size: 0.8rem; margin-bottom: 12px; }
  .ps-list li { font-size: 0.76rem; }
  .ps-tag { font-size: 0.65rem; padding: 4px 12px; }
  .pipeline-connector { height: 24px; }
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
[data-aos] { will-change: transform, opacity; }

/* Smooth scrollbar on webkit */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(22,163,74,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* Selection */
::selection { background: rgba(22,163,74,0.3); color: var(--white); }
