/* ===== ALEXAPAY GLOBAL STYLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #0047FF;
  --blue-dark: #0035CC;
  --blue-light: #3D72FF;
  --teal: #00D4AA;
  --navy: #0A0F1E;
  --navy-mid: #111827;
  --bg-light: #F0F4FF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --border: #E5E9F5;
  --white: #FFFFFF;
  --grad-hero: linear-gradient(135deg, #0A0F1E 0%, #0D1535 50%, #0A1A3A 100%);
  --grad-cta: linear-gradient(135deg, #0047FF 0%, #0035CC 60%, #002299 100%);
  --shadow-card: 0 4px 24px rgba(0,71,255,0.07);
  --shadow-hover: 0 12px 40px rgba(0,71,255,0.16);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }

/* ── NAVBAR ── */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%; transition: all 0.3s ease;
}
nav#navbar.scrolled {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 14px 5%;
}
nav#navbar.solid {
  background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 14px 5%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-text { font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: -0.3px; }
nav#navbar.scrolled .nav-logo-text,
nav#navbar.solid .nav-logo-text { color: var(--text); }
.nav-left { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.85); padding: 8px 12px; border-radius: 8px;
  transition: all 0.2s; display: flex; align-items: center; gap: 4px;
}
.nav-links > li > a:hover { color: var(--teal); }
nav#navbar.scrolled .nav-links > li > a,
nav#navbar.solid .nav-links > li > a { color: var(--muted); }
nav#navbar.scrolled .nav-links > li > a:hover,
nav#navbar.solid .nav-links > li > a:hover { color: var(--blue); background: var(--bg-light); }

/* Dropdown */
.has-dropdown { cursor: pointer; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px;
  min-width: 220px; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: all 0.2s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12); z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
  font-size: 13px; font-weight: 500; color: var(--text); transition: all 0.15s;
}
.dropdown a:hover { background: var(--bg-light); color: var(--blue); }
.dropdown a i { width: 18px; color: var(--blue); font-size: 13px; }
.dropdown-section { padding: 4px 12px 6px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-login {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8);
  text-decoration: none; padding: 8px 16px; border-radius: 8px; transition: all 0.2s;
}
nav#navbar.scrolled .nav-login,
nav#navbar.solid .nav-login { color: var(--muted); }
.nav-login:hover { color: var(--teal) !important; }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 10px 20px; border-radius: 50px; font-weight: 700 !important;
  font-size: 13px !important; text-decoration: none; transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,71,255,0.35); white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
nav#navbar.scrolled .hamburger span,
nav#navbar.solid .hamburger span { background: var(--text); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 999; flex-direction: column;
  padding: 80px 5% 40px; overflow-y: auto; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-close { position: absolute; top: 22px; right: 5%; font-size: 26px; color: rgba(255,255,255,0.6); cursor: pointer; }
.mobile-section { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); padding: 20px 0 8px; }
.mobile-menu a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 16px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 10px; }
.mobile-menu a i { width: 20px; color: var(--teal); font-size: 14px; }
.mobile-menu a:hover { color: var(--teal); }
.mobile-cta-wrap { padding: 28px 0 0; }
.mobile-cta-wrap a { background: var(--blue); color: var(--white) !important; padding: 15px; border-radius: 12px; justify-content: center; font-weight: 700; font-size: 16px; border: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--grad-hero); padding: 140px 5% 80px;
  position: relative; overflow: hidden;
}
.page-hero-grid { position: absolute; inset: 0; opacity: 0.04; background-image: linear-gradient(rgba(0,71,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(0,71,255,1) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero-glow { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,71,255,0.3) 0%, transparent 70%); top: -150px; right: -100px; border-radius: 50%; }
.page-hero-inner { max-width: 860px; position: relative; z-index: 1; }
.page-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,212,170,0.15); border: 1px solid rgba(0,212,170,0.3); color: var(--teal); padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 20px; }
.page-hero h1 { font-size: 52px; font-weight: 800; color: var(--white); letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 18px; }
.page-hero h1 .accent { color: var(--teal); }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 600px; margin-bottom: 32px; }
.page-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: var(--blue); color: var(--white); padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.2s; box-shadow: 0 6px 20px rgba(0,71,255,0.38); display: inline-block; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1.5px solid rgba(255,255,255,0.25); transition: all 0.2s; display: inline-block; }
.btn-outline-white:hover { border-color: var(--teal); color: var(--teal); }

/* ── SECTION COMMONS ── */
section { padding: 88px 5%; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-title { font-size: 38px; font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 14px; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.75; }
.section-head { margin-bottom: 52px; }
.centered { text-align: center; }
.centered .section-sub { margin: 0 auto; }

/* ── CARDS ── */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: all 0.3s; box-shadow: var(--shadow-card);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(0,71,255,0.12); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; transition: all 0.3s; }
.card:hover .card-icon { background: var(--blue); }
.card:hover .card-icon i { color: var(--white) !important; }
.card-icon i { color: var(--blue); }
.card-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Light bg section */
.section-light { background: var(--bg-light); }

/* ── TWO-COL SPLIT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-text .section-sub { margin-bottom: 28px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text); }
.feature-list li i { color: var(--teal); margin-top: 2px; font-size: 14px; min-width: 18px; }
.feature-list li strong { display: block; font-weight: 700; margin-bottom: 2px; }
.feature-list li span { color: var(--muted); font-size: 13px; }

/* Visual block (CSS illustration) */
.visual-block {
  background: var(--grad-hero); border-radius: 20px; padding: 36px;
  position: relative; overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.visual-block .grid-bg { position: absolute; inset: 0; opacity: 0.05; background-image: linear-gradient(rgba(0,71,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(0,71,255,1) 1px, transparent 1px); background-size: 40px 40px; }
.visual-block .glow { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,71,255,0.35) 0%, transparent 70%); top: -80px; right: -60px; border-radius: 50%; }
.vb-content { position: relative; z-index: 1; }
.vb-icon { font-size: 56px; color: rgba(255,255,255,0.15); margin-bottom: 20px; }
.vb-title { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.vb-sub { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.vb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.vb-chip { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 50px; }
.vb-chip.accent { background: rgba(0,212,170,0.15); border-color: rgba(0,212,170,0.3); color: var(--teal); }

/* ── STATS STRIP ── */
.stats-strip { background: var(--navy); padding: 64px 5%; }
.stats-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-num { font-size: 44px; font-weight: 900; color: var(--white); letter-spacing: -2px; margin-bottom: 6px; line-height: 1; }
.stat-num .teal { color: var(--teal); }
.stat-lbl { font-size: 14px; color: rgba(255,255,255,0.45); font-weight: 500; }

/* ── HOW IT WORKS ── */
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 36px; left: calc(16.66% + 16px); right: calc(16.66% + 16px); height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 2px; }
.step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; box-shadow: 0 8px 24px rgba(0,71,255,0.35); border: 4px solid var(--white); }
.step-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { background: var(--bg-light); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); transition: all 0.3s; }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.testi-stars { color: #FBBF24; margin-bottom: 14px; font-size: 13px; letter-spacing: 2px; }
.testi-quote { font-size: 14px; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--white); }
.av-blue { background: var(--blue); }
.av-teal { background: var(--teal); }
.av-navy { background: var(--navy-mid); }
.testi-name { font-size: 13px; font-weight: 700; color: var(--text); }
.testi-role { font-size: 11px; color: var(--muted); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--grad-cta); padding: 88px 5%; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%); top: -200px; right: -100px; border-radius: 50%; }
.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-title { font-size: 40px; font-weight: 800; color: var(--white); letter-spacing: -1.5px; margin-bottom: 14px; line-height: 1.2; }
.cta-sub { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.7; }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--blue); padding: 15px 34px; border-radius: 50px; font-weight: 800; font-size: 15px; text-decoration: none; transition: all 0.2s; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.28); }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 72px 5% 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.footer-brand .nav-logo-text { color: var(--white) !important; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.75; margin: 14px 0 22px; max-width: 260px; }
.footer-socials { display: flex; gap: 8px; }
.soc-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); font-size: 14px; text-decoration: none; transition: all 0.2s; }
.soc-icon:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0 28px; }
.footer-bottom-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-legal a:hover { color: var(--teal); }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,0.22); max-width: 640px; line-height: 1.7; margin-top: 8px; }

/* ── TRUST BADGES ── */
.trust-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.trust-chip { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 50px; padding: 7px 14px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.7); }
.trust-chip i { color: var(--teal); }
.trust-chip.dark { background: var(--bg-light); border-color: var(--border); color: var(--text); }
.trust-chip.dark i { color: var(--blue); }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--bg-light); padding: 14px 5%; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.breadcrumb-inner a { color: var(--blue); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner i { font-size: 10px; color: var(--muted); }

/* ── FADE ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65px ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .cards-grid-3 { grid-template-columns: repeat(2,1fr); }
  .cards-grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .page-hero h1 { font-size: 36px; }
}
@media (max-width: 768px) {
  section { padding: 64px 5%; }
  .section-title { font-size: 28px; }
  .cards-grid-3, .cards-grid-2 { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-left, .nav-right { display: none; }
  .hamburger { display: flex; }
  .page-hero { padding: 110px 5% 60px; }
  .page-hero h1 { font-size: 28px; }
  .cta-title { font-size: 28px; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
}
