:root {
  --primary: #0a3d91;
  --primary-light: #1a5bb8;
  --primary-dark: #062a66;
  --accent: #0077ff;
  --accent-soft: #3b9bff;
  --amber: #f59e0b;
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f4f8ff;
  --bg-dark: #060d1a;
  --border: #e2e8f0;
  --destructive: #ef4444;
  --success: #10b981;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(10, 61, 145, 0.07);
  --shadow-lg: 0 20px 50px rgba(10, 61, 145, 0.12);
  --shadow-glow: 0 0 40px rgba(0, 119, 255, 0.15);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.35rem; }
.section { padding: 5.5rem 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 50%, #f8faff 100%);
}
.section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.65;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(0, 119, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin: 0 auto 1rem;
  width: fit-content;
}

/* Lucide */
[data-lucide] { width: 1.15em; height: 1.15em; stroke-width: 2; vertical-align: middle; }
.feature-icon [data-lucide] { width: 26px; height: 26px; color: var(--primary); }
.btn-icon { width: 16px; height: 16px; margin-right: 0.35rem; }
.inline-icon { width: 16px; height: 16px; margin-right: 0.4rem; display: inline-block; vertical-align: -3px; }
.detail-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.field-icon { position: absolute; left: 12px; top: 14px; width: 16px; height: 16px; color: #64748b; pointer-events: none; z-index: 1; }
.form-field-textarea .field-icon { top: 14px; }
.social-links [data-lucide] { width: 18px; height: 18px; }
.back-to-top [data-lucide] { width: 22px; height: 22px; }
.mobile-toggle [data-lucide] { width: 28px; height: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; font-size: 0.95rem; font-weight: 600;
  border-radius: 12px; transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; overflow: hidden;
}
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.875rem; border-radius: 999px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 119, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 119, 255, 0.45);
  color: white;
}
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn-outline {
  border: 2px solid rgba(10, 61, 145, 0.2);
  color: var(--primary);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-lg { padding: 0.95rem 1.85rem; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }

.card {
  background: white;
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 119, 255, 0.2);
}

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.15rem 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(6, 13, 26, 0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 4px 24px rgba(10, 61, 145, 0.08);
  padding: 0.7rem 0;
  border-bottom-color: rgba(226, 232, 240, 0.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.35rem; color: white;
  z-index: 60; position: relative; letter-spacing: -0.02em;
}
.header.scrolled .logo { color: var(--primary-dark); }
.logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15)); }
.logo-text { letter-spacing: -0.03em; }

.nav-desktop { display: none; align-items: center; gap: 1.35rem; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-link {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.88);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: none;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: transparent;
}
.header.scrolled .nav-link { color: #334155; }
.nav-link:hover {
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
}
.header.scrolled .nav-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.header .btn-outline { border-color: rgba(255,255,255,0.45); color: white; background: transparent; }
.header.scrolled .btn-outline { border-color: rgba(10, 61, 145, 0.25); color: var(--primary); background: transparent; }
.header .btn-outline:hover { background: white; color: var(--primary); border-color: white; }
.header.scrolled .btn-outline:hover { background: var(--primary); color: white; border-color: var(--primary); }

.mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  padding: 0.4rem; color: white; z-index: 60; position: relative;
}
.header.scrolled .mobile-toggle { color: var(--primary); }
@media (min-width: 900px) { .mobile-toggle { display: none; } }

.mobile-overlay {
  position: fixed; inset: 0; background: rgba(6, 13, 26, 0.5);
  backdrop-filter: blur(6px); z-index: 55; opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0; width: 85%; max-width: 360px;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
  z-index: 56; box-shadow: -12px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
}
.mobile-sidebar.open { transform: translateX(0); }
.mobile-sidebar-inner {
  flex: 1; overflow-y: auto; padding: 6rem 2rem 2rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.mobile-link {
  font-size: 1.45rem; font-weight: 700; color: #0f172a; padding: 0.7rem 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex; align-items: center; justify-content: space-between;
  transition: color 0.2s, padding-left 0.25s;
}
.mobile-link:hover { color: var(--accent); padding-left: 0.35rem; }
.mobile-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #f1f5f9; }
.mobile-contact-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: #94a3b8; margin-bottom: 0.75rem;
}
.mobile-contact a {
  display: flex; align-items: center; color: #475569; font-weight: 500;
  margin-bottom: 0.65rem; font-size: 0.95rem;
}
.mobile-contact a:hover { color: var(--primary); }

/* ========== HERO ========== */
.hero {
  padding: 9rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 119, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(10, 61, 145, 0.08) 0%, transparent 50%),
    linear-gradient(165deg, #f0f6ff 0%, #ffffff 42%, #eaf3ff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 55%; height: 80%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem; align-items: center; position: relative; z-index: 1;
}
.hero-content h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.25rem);
  font-weight: 800; line-height: 1.12;
  color: var(--primary-dark); margin-bottom: 1.1rem;
  letter-spacing: -0.035em;
}
.hero-content h1 span {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 55%, #00b4ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.15);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  margin-bottom: 1.15rem;
}
.hero-desc {
  font-size: 1.08rem; color: var(--text-muted);
  margin-bottom: 1.85rem; max-width: 480px; line-height: 1.7;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero-ussd {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #0a1628 0%, #132337 100%);
  color: #e2e8f0; padding: 0.7rem 1.2rem; border-radius: 12px;
  font-family: 'SF Mono', 'Courier New', monospace;
  font-size: 0.92rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(6, 13, 26, 0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  min-height: 360px;
}
.hero-slider {
  width: 100%; max-width: 400px; position: relative; user-select: none;
}
.hero-slides { position: relative; min-height: 300px; }
.hero-slide {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow:
    0 24px 60px rgba(10, 61, 145, 0.12),
    0 0 0 1px rgba(0, 119, 255, 0.04);
  padding: 2.5rem 2rem 2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  opacity: 0;
  transform: translateX(28px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide.is-active {
  opacity: 1; transform: translateX(0) scale(1);
  pointer-events: auto; z-index: 1;
}
.hero-slide-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(145deg, #e8f0fe 0%, #d4e6ff 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.12);
}
.hero-slide-icon [data-lucide] { width: 30px; height: 30px; color: var(--primary); }
.hero-slide h3 {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--primary-dark); margin-bottom: 0.7rem;
}
.hero-slide p {
  font-size: 0.98rem; color: var(--text-muted); line-height: 1.6; max-width: 290px;
}
.hero-slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 0.9rem; margin-top: 1.35rem;
}
.hero-slider-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 61, 145, 0.08);
  transition: all 0.2s ease;
}
.hero-slider-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border-color: transparent; transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 119, 255, 0.3);
}
.hero-slider-btn [data-lucide] { width: 20px; height: 20px; }
.hero-dots { display: flex; gap: 0.45rem; align-items: center; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #cbd5e1; border: none; padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.hero-dot.is-active { width: 24px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.hero-slide-label {
  text-align: center; margin-top: 0.7rem;
  font-size: 0.75rem; font-weight: 700; color: #94a3b8; letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .hero { padding: 7.5rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; min-height: 310px; }
  .hero-slider { max-width: 100%; }
  .hero-slides { min-height: 260px; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card { text-align: center; padding: 2rem 1.5rem; }
.feature-icon {
  width: 60px; height: 60px; margin: 0 auto 1.15rem;
  background: linear-gradient(145deg, #e8f0fe, #d0e4ff);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 119, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 119, 255, 0.18);
}
.feature-card h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 0.55rem;
  color: var(--primary-dark); letter-spacing: -0.01em;
}
.feature-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
  position: relative;
}
.step {
  text-align: center; padding: 1.75rem 1.1rem;
  background: white; border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 16px rgba(0, 119, 255, 0.3);
}
.step h4 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem;
  color: var(--primary-dark);
}
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* MVV */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .mvv-grid { grid-template-columns: 1fr; } }
.mvv-card {
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity 0.3s;
}
.mvv-card:hover::before { opacity: 1; }
.mvv-card h3 {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--primary); margin-bottom: 0.85rem;
}
.mvv-card p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; }
.values-list { display: flex; flex-direction: column; gap: 0.7rem; }
.value-item {
  font-size: 0.95rem; color: var(--text-muted);
  padding-left: 0.85rem;
  border-left: 2px solid rgba(0, 119, 255, 0.25);
}
.value-item strong { color: var(--primary-dark); }

/* Models */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.model-card { padding: 2rem 1.75rem; }
.model-card h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--primary-dark); margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.model-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }

/* ========== FOOTER ========== */
.footer {
  position: relative;
  background: linear-gradient(180deg, #060d1a 0%, #0a1628 50%, #0c1a2e 100%);
  color: #c8d4e8;
  padding: 4.5rem 0 1.75rem;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,119,255,0.4), transparent);
}
.footer-top-line { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.3fr 1.15fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.25rem; color: white; margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.footer-logo img { height: 44px; width: auto; }
.footer-brand p {
  font-size: 0.92rem; line-height: 1.65; max-width: 280px; color: #94a3b8;
}

.footer-col h4 {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 1.35rem;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
  color: #94a3b8; font-size: 0.9rem;
  display: inline-flex; align-items: center;
  transition: color 0.25s ease;
}
.footer-col ul a .link-chevron {
  width: 12px; height: 12px;
  margin-right: 0; margin-left: -14px;
  opacity: 0; flex-shrink: 0;
  transition: opacity 0.3s ease, margin 0.3s ease, color 0.25s ease;
  color: var(--accent);
}
.footer-col ul a:hover { color: var(--accent); }
.footer-col ul a:hover .link-chevron {
  opacity: 1; margin-left: 0; margin-right: 6px;
}

.footer-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 320px; }
.form-field { position: relative; }
.form-field input,
.form-field textarea {
  width: 100%; padding: 0.8rem 1rem 0.8rem 2.55rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: white; font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field textarea { padding-top: 0.8rem; resize: vertical; min-height: 84px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #64748b; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(0,119,255,0.18);
}
.form-field input.invalid,
.form-field textarea.invalid {
  border-color: var(--destructive);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.field-error {
  display: block; min-height: 1rem; margin-top: 0.25rem;
  font-size: 0.7rem; font-weight: 600; color: #f87171;
}

.footer-detail {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-bottom: 0.95rem; font-size: 0.9rem; color: #94a3b8;
}
.footer-detail a { color: #94a3b8; transition: color 0.25s ease; }
.footer-detail a:hover { color: var(--accent); }

.social-links { display: flex; gap: 0.6rem; margin-top: 1.35rem; flex-wrap: wrap; }
.social-links a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; transition: all 0.25s ease;
}
.social-links a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.35);
}
.social-links a svg { display: block; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.6rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: #64748b;
}
.footer-tagline { color: #475569; font-weight: 500; }

.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 119, 255, 0.4);
  opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 40;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 119, 255, 0.5);
}

/* Section header helper for eyebrow centering */
.section > .container > .section-eyebrow { display: flex; margin-left: auto; margin-right: auto; }


/* Active nav link */
.nav-link.is-active {
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.header.scrolled .nav-link.is-active {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Inner page hero */
.page-hero {
  padding: 8.5rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(0, 119, 255, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, #f0f6ff 0%, #ffffff 60%);
  text-align: center;
}
.page-title {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.page-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .page-hero { padding: 7rem 0 2.5rem; }
}


/* ========== Page loader ========== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #060d1a 0%, #0a1628 50%, #0c1a2e 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(0, 119, 255, 0.2);
  border-top-color: var(--accent, #0077ff);
  border-right-color: var(--primary, #0a3d91);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  box-shadow: 0 0 24px rgba(0, 119, 255, 0.25);
}
.page-loader-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== Custom scrollbar ========== */
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #0077ff #0a1628;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0a1628;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0a3d91 0%, #0077ff 100%);
  border-radius: 999px;
  border: 2px solid #0a1628;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1a5bb8 0%, #3b9bff 100%);
}
::-webkit-scrollbar-corner {
  background: #0a1628;
}

/* Light pages: slightly softer track when not on dark footer context */
body {
  scrollbar-gutter: stable;
}


/* ========== Scroll progress bar ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0a3d91 0%, #0077ff 50%, #3b9bff 100%);
  box-shadow: 0 0 12px rgba(0, 119, 255, 0.55);
  border-radius: 0 2px 2px 0;
  transition: width 0.05s linear;
}


/* ========== Transaction charges ========== */
.charges-intro {
  padding: 2rem 1.75rem;
  margin-bottom: 0.5rem;
}
.charges-formula-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.charges-intro-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 720px;
}
.charges-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.06), rgba(10, 61, 145, 0.06));
  border: 1px solid rgba(0, 119, 255, 0.15);
  border-radius: 14px;
  font-size: 0.92rem;
}
.charges-formula-label {
  font-weight: 700;
  color: var(--primary-dark);
}
.charges-formula-eq,
.charges-formula-op {
  color: var(--accent);
  font-weight: 700;
}
.charges-formula-part {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  color: var(--text);
  font-weight: 500;
}
.charges-formula-highlight {
  border-color: rgba(0, 119, 255, 0.35);
  background: linear-gradient(135deg, #e8f0fe, #f0f7ff);
  color: var(--primary);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.charges-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 640px;
}
.charges-table thead {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}
.charges-table th {
  text-align: left;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.charges-table td {
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.charges-table tbody tr:nth-child(even) {
  background: #f8faff;
}
.charges-table tbody tr:hover {
  background: #eef5ff;
}
.charges-table td:nth-child(2) {
  font-weight: 700;
  color: var(--primary);
}
.charges-compete {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.45);
}
.charges-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
}

@media (max-width: 640px) {
  .charges-table { min-width: 0; }
  .charges-table thead { display: none; }
  .charges-table,
  .charges-table tbody,
  .charges-table tr,
  .charges-table td {
    display: block;
    width: 100%;
  }
  .charges-table tr {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .charges-table td {
    border: none;
    padding: 0.35rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
  .charges-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
  }
  .charges-table tbody tr:nth-child(even) { background: #f8faff; }
}

.charges-cap {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  color: var(--accent);
  margin-left: 0.15rem;
}


/* ========== Dark theme ========== */
[data-theme="dark"] {
  --primary: #3b9bff;
  --primary-light: #5aadff;
  --primary-dark: #e8f0ff;
  --accent: #4dabff;
  --accent-soft: #7ec2ff;
  --text: #e8eef8;
  --text-muted: #94a3b8;
  --bg: #0a0f1a;
  --bg-alt: #0f1624;
  --bg-dark: #060a12;
  --border: #1e293b;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

[data-theme="dark"] body {
  background: var(--bg);
  color: var(--text);
}

[data-theme="dark"] .header {
  background: rgba(6, 10, 18, 0.75);
  border-bottom-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .header.scrolled {
  background: rgba(10, 15, 26, 0.92);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  border-bottom-color: rgba(30, 41, 59, 0.9);
}
[data-theme="dark"] .header.scrolled .logo { color: var(--primary-dark); }
[data-theme="dark"] .header.scrolled .nav-link { color: #cbd5e1; }
[data-theme="dark"] .header.scrolled .nav-link:hover,
[data-theme="dark"] .header.scrolled .nav-link.is-active {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
[data-theme="dark"] .header.scrolled .btn-outline {
  border-color: rgba(77, 171, 255, 0.45);
  color: var(--accent);
}
[data-theme="dark"] .header.scrolled .btn-outline:hover {
  background: var(--accent);
  color: #0a0f1a;
  border-color: var(--accent);
}
[data-theme="dark"] .header.scrolled .mobile-toggle { color: var(--accent); }

[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 119, 255, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(10, 61, 145, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #0a0f1a 0%, #0f1624 42%, #0c1420 100%);
}
[data-theme="dark"] .hero-content h1 { color: #f1f5f9; }
[data-theme="dark"] .page-hero {
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(0, 119, 255, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, #0a0f1a 0%, #0f1624 60%);
}
[data-theme="dark"] .page-title { color: #f1f5f9; }

[data-theme="dark"] .section-alt {
  background: linear-gradient(180deg, #0c121c 0%, #0f1624 50%, #0a0f1a 100%);
}
[data-theme="dark"] .section-title { color: #f1f5f9; }

[data-theme="dark"] .card,
[data-theme="dark"] .step,
[data-theme="dark"] .table-wrap {
  background: #121a28;
  border-color: #1e293b;
}
[data-theme="dark"] .card:hover,
[data-theme="dark"] .step:hover {
  border-color: rgba(77, 171, 255, 0.3);
}
[data-theme="dark"] .feature-icon,
[data-theme="dark"] .hero-slide-icon {
  background: linear-gradient(145deg, #1a2740, #152238);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .step h4,
[data-theme="dark"] .model-card h3,
[data-theme="dark"] .hero-slide h3,
[data-theme="dark"] .charges-formula-title {
  color: #e8eef8;
}
[data-theme="dark"] .hero-slide {
  background: linear-gradient(160deg, #121a28 0%, #0f1624 100%);
  border-color: #1e293b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .hero-slider-btn {
  background: #121a28;
  border-color: #1e293b;
  color: var(--accent);
}
[data-theme="dark"] .btn-outline {
  border-color: rgba(77, 171, 255, 0.35);
  color: var(--accent);
  background: rgba(18, 26, 40, 0.6);
}
[data-theme="dark"] .btn-outline:hover {
  background: var(--accent);
  color: #0a0f1a;
  border-color: var(--accent);
}

[data-theme="dark"] .mobile-sidebar {
  background: linear-gradient(180deg, #0f1624 0%, #0a0f1a 100%);
}
[data-theme="dark"] .mobile-link {
  color: #e8eef8;
  border-bottom-color: #1e293b;
}
[data-theme="dark"] .mobile-link:hover { color: var(--accent); }
[data-theme="dark"] .mobile-contact a { color: #94a3b8; }
[data-theme="dark"] .mobile-contact { border-top-color: #1e293b; }

[data-theme="dark"] .charges-formula {
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.1), rgba(10, 61, 145, 0.1));
  border-color: rgba(77, 171, 255, 0.2);
}
[data-theme="dark"] .charges-formula-part {
  background: #0f1624;
  border-color: #1e293b;
  color: #e8eef8;
}
[data-theme="dark"] .charges-formula-highlight {
  background: linear-gradient(135deg, #152238, #1a2740);
  border-color: rgba(77, 171, 255, 0.35);
  color: var(--accent);
}
[data-theme="dark"] .charges-table thead {
  background: linear-gradient(135deg, #0a1628 0%, #0f2847 100%);
}
[data-theme="dark"] .charges-table td {
  border-top-color: #1e293b;
  color: #e8eef8;
}
[data-theme="dark"] .charges-table tbody tr:nth-child(even) { background: #0f1624; }
[data-theme="dark"] .charges-table tbody tr:hover { background: #152238; }
[data-theme="dark"] .charges-table td:nth-child(2) { color: var(--accent); }

[data-theme="dark"] .footer {
  background: linear-gradient(180deg, #060a12 0%, #0a0f1a 50%, #0c121c 100%);
}
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field textarea {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] html {
  scrollbar-color: #0077ff #060a12;
}
[data-theme="dark"] ::-webkit-scrollbar-track { background: #060a12; }
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0a3d91 0%, #0077ff 100%);
  border-color: #060a12;
}

/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all 0.25s ease;
  flex-shrink: 0;
  z-index: 60;
  position: relative;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.16);
  transform: scale(1.05);
}
.header.scrolled .theme-toggle {
  border-color: rgba(10, 61, 145, 0.2);
  background: rgba(10, 61, 145, 0.06);
  color: var(--primary, #0a3d91);
}
.header.scrolled .theme-toggle:hover {
  background: rgba(0, 119, 255, 0.12);
  color: var(--accent, #0077ff);
}
[data-theme="dark"] .header.scrolled .theme-toggle {
  border-color: rgba(77, 171, 255, 0.25);
  background: rgba(77, 171, 255, 0.08);
  color: var(--accent);
}
.theme-toggle [data-lucide] {
  width: 18px;
  height: 18px;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}


/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
  flex-shrink: 0;
  z-index: 60;
  position: relative;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.16);
  transform: scale(1.05);
}
.header.scrolled .lang-toggle {
  border-color: rgba(10, 61, 145, 0.2);
  background: rgba(10, 61, 145, 0.06);
  color: var(--primary, #0a3d91);
}
.header.scrolled .lang-toggle:hover {
  background: rgba(0, 119, 255, 0.12);
  color: var(--accent, #0077ff);
}
[data-theme="dark"] .header.scrolled .lang-toggle {
  border-color: rgba(77, 171, 255, 0.25);
  background: rgba(77, 171, 255, 0.08);
  color: var(--accent);
}
.lang-code { line-height: 1; }


/* Lazy section reveal (Intersection Observer) */
.lazy-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.lazy-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .lazy-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.logo img { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
.footer-logo img { height: 52px; width: auto; max-width: 180px; object-fit: contain; }


/* Lunkuntfu-style footer attribution */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .footer-bottom-left {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}
.footer-copy {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  margin: 0;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--accent, #0077ff);
}
.footer-powered {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-powered-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(100, 116, 139, 0.55);
}
.footer-powered-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.15);
}
.footer-powered-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #0077ff);
  flex-shrink: 0;
}
.footer-powered-name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent, #0077ff);
  letter-spacing: 0.02em;
}

/* Header polish (Lunkuntfu-inspired) */
.header {
  border-bottom: 1px solid transparent;
}
.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary, #0a3d91), var(--accent, #0077ff), transparent 70%);
  opacity: 0.85;
  pointer-events: none;
}
.header.scrolled::after {
  opacity: 0.5;
}
.nav-desktop .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

a.footer-powered-badge {
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
a.footer-powered-badge:hover {
  background: rgba(0, 119, 255, 0.14);
  border-color: rgba(0, 119, 255, 0.35);
  transform: translateY(-1px);
  color: inherit;
}
a.footer-powered-badge:hover .footer-powered-name {
  color: var(--accent-soft, #3b9bff);
}


/* ========== Header (Lunkuntfu-inspired) ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.35rem 0;
  transition: all 0.3s ease;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  box-shadow: none;
}
.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #0a3d91 0%, #0077ff 40%, #3b9bff 70%, transparent 90%);
  opacity: 1;
  pointer-events: none;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.header.scrolled::after {
  background: linear-gradient(90deg, #0a3d91 0%, #0077ff 40%, transparent 75%);
  opacity: 0.7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo: elevated card like Lunkuntfu dual logos */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  z-index: 60;
  position: relative;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.logo:hover {
  transform: scale(1.03);
  color: white;
}
.header.scrolled .logo {
  color: var(--primary-dark, #062a66);
}
.logo img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.logo:hover img {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}
.header.scrolled .logo img {
  background: #fff;
  box-shadow: 0 2px 10px rgba(10, 61, 145, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Desktop nav links — amber hover + underline (Lunkuntfu) */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: none;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link:hover {
  color: #3b9bff;
  text-decoration: underline;
  text-decoration-color: #0077ff;
}
.nav-link.is-active {
  color: #3b9bff;
  text-decoration: underline;
  text-decoration-color: #0077ff;
}
.header.scrolled .nav-link {
  color: #334155;
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.is-active {
  color: #3b9bff;
  text-decoration: underline;
  text-decoration-color: #0077ff;
}

/* Header CTA buttons — pill + scale like Lunkuntfu "Get Started" */
.header .btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.header .btn-primary {
  background: #0077ff;
  background-image: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.35);
  border: none;
}
.header .btn-primary:hover {
  background: #0a3d91;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 119, 255, 0.4);
  color: #fff;
}
.header .btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}
.header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
  transform: scale(1.05);
}
.header.scrolled .btn-outline {
  border-color: rgba(10, 61, 145, 0.25);
  color: var(--primary, #0a3d91);
  background: transparent;
}
.header.scrolled .btn-outline:hover {
  background: var(--primary, #0a3d91);
  color: #fff;
  border-color: var(--primary, #0a3d91);
}
.header.scrolled .btn-primary {
  background: #0077ff;
  color: #fff;
}
.header.scrolled .btn-primary:hover {
  background: #0a3d91;
}

/* Theme / lang toggles on dark header */
.theme-toggle,
.lang-toggle {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.theme-toggle:hover,
.lang-toggle:hover {
  background: rgba(0, 119, 255, 0.2);
  border-color: rgba(0, 119, 255, 0.45);
  color: #3b9bff;
}
.header.scrolled .theme-toggle,
.header.scrolled .lang-toggle {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
}
.header.scrolled .theme-toggle:hover,
.header.scrolled .lang-toggle:hover {
  background: rgba(0, 119, 255, 0.1);
  color: #0077ff;
  border-color: rgba(0, 119, 255, 0.3);
}

.mobile-toggle {
  color: #fff;
}
.header.scrolled .mobile-toggle {
  color: var(--primary, #0a3d91);
}

/* Mobile sidebar active link amber */
.mobile-link:hover {
  color: #0077ff;
  padding-left: 0.35rem;
}


/* =========================================================
   Thoughtworks-inspired redesign · QuickPayments
   ========================================================= */

:root {
  --tw-ink: #0f172a;
  --tw-muted: #475569;
  --tw-line: #e2e8f0;
  --tw-surface: #ffffff;
  --tw-wash: #f8fafc;
  --tw-accent: #0077ff;
  --tw-accent-deep: #0a3d91;
  --tw-accent-soft: #e8f2ff;
  --tw-serif-stack: "Georgia", "Times New Roman", serif;
  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--tw-ink);
  background: var(--tw-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Header: clean white bar like Thoughtworks --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tw-line) !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: var(--header-h);
}
.header::after { display: none !important; }
.header.scrolled {
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 1px 0 var(--tw-line) !important;
  padding: 0 !important;
}
.header-inner {
  min-height: var(--header-h);
  padding: 0.65rem 0;
}
.logo {
  color: var(--tw-ink) !important;
}
.logo:hover { color: var(--tw-accent-deep) !important; transform: none; }
.logo img {
  height: 44px !important;
  max-width: 150px;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.header.scrolled .logo img {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.nav-link {
  color: var(--tw-ink) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--tw-accent) !important;
  text-decoration: none !important;
  border-bottom-color: var(--tw-accent);
}
.header.scrolled .nav-link { color: var(--tw-ink) !important; }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.is-active {
  color: var(--tw-accent) !important;
  border-bottom-color: var(--tw-accent);
}
.header .btn-sm {
  border-radius: 2px !important;
  font-weight: 600;
  padding: 0.45rem 1rem !important;
  text-transform: none;
  letter-spacing: 0;
}
.header .btn-primary {
  background: var(--tw-accent) !important;
  box-shadow: none !important;
}
.header .btn-primary:hover {
  background: var(--tw-accent-deep) !important;
  transform: none !important;
}
.header .btn-outline {
  border: 1px solid var(--tw-line) !important;
  color: var(--tw-ink) !important;
  background: transparent !important;
}
.header .btn-outline:hover {
  border-color: var(--tw-accent) !important;
  color: var(--tw-accent) !important;
  background: var(--tw-accent-soft) !important;
  transform: none !important;
}
.theme-toggle, .lang-toggle {
  border: 1px solid var(--tw-line) !important;
  background: var(--tw-wash) !important;
  color: var(--tw-ink) !important;
  border-radius: 2px !important;
}
.theme-toggle:hover, .lang-toggle:hover {
  border-color: var(--tw-accent) !important;
  color: var(--tw-accent) !important;
  background: var(--tw-accent-soft) !important;
}
.mobile-toggle { color: var(--tw-ink) !important; }
.header.scrolled .mobile-toggle { color: var(--tw-ink) !important; }

/* Dark theme header */
[data-theme="dark"] .header,
[data-theme="dark"] .header.scrolled {
  background: rgba(10, 15, 26, 0.96) !important;
  border-bottom-color: #1e293b !important;
}
[data-theme="dark"] .nav-link,
[data-theme="dark"] .header.scrolled .nav-link { color: #e2e8f0 !important; }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.is-active { color: #3b9bff !important; border-bottom-color: #0077ff; }
[data-theme="dark"] .logo { color: #f1f5f9 !important; }
[data-theme="dark"] .header .btn-outline {
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .lang-toggle {
  background: #121a28 !important;
  border-color: #1e293b !important;
  color: #e2e8f0 !important;
}
[data-theme="dark"] .mobile-toggle { color: #e2e8f0 !important; }

/* --- Hero: full-bleed editorial (Thoughtworks style) --- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem !important;
  margin-top: 0 !important;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(8, 20, 40, 0.88) 0%, rgba(10, 40, 80, 0.72) 45%, rgba(8, 20, 40, 0.55) 100%),
    url("images/coding-fintech.jpg") center/cover no-repeat !important;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 40%, rgba(0, 119, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; padding-bottom: 3rem !important; }
}
.hero-tagline {
  display: inline-block;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.2);
  color: #e2e8f0 !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
  color: #fff !important;
  margin-bottom: 1.25rem;
}
.hero-content h1 [data-i18n="home.titleHighlight"],
.hero-content h1 span:last-child {
  color: #5eb0ff !important;
  display: inline;
}
.hero-desc {
  color: rgba(226, 232, 240, 0.92) !important;
  font-size: 1.1rem !important;
  max-width: 34rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.hero-ctas { gap: 0.85rem; flex-wrap: wrap; }
.hero .btn-primary {
  background: var(--tw-accent) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font-weight: 600;
}
.hero .btn-primary:hover { background: #fff !important; color: var(--tw-accent-deep) !important; }
.hero .btn-outline {
  border: 1px solid rgba(255,255,255,0.55) !important;
  color: #fff !important;
  background: transparent !important;
  border-radius: 2px !important;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: #fff !important;
}
.hero-ussd {
  margin-top: 1.25rem;
  color: rgba(255,255,255,0.7);
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Hero process panel */
.hero-visual { position: relative; }
.hero-slider {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 4px !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25) !important;
  padding: 1.75rem !important;
}
.hero-slide h3 { color: #fff !important; }
.hero-slide p { color: rgba(226,232,240,0.85) !important; }
.hero-slide-icon {
  background: rgba(0, 119, 255, 0.25) !important;
  color: #7ec2ff !important;
  box-shadow: none !important;
}
.hero-slider-btn {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.25) !important;
  color: #fff !important;
}
.hero-slider-btn:hover { background: var(--tw-accent) !important; border-color: var(--tw-accent) !important; }

/* --- Sections --- */
.section {
  padding: 5.5rem 0 !important;
}
.section-alt {
  background: var(--tw-wash) !important;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tw-accent) !important;
  margin-bottom: 0.75rem;
  background: none !important;
  padding: 0 !important;
  border: none !important;
}
.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  color: var(--tw-ink) !important;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.section-subtitle {
  color: var(--tw-muted) !important;
  font-size: 1.1rem !important;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* Cards — editorial flat */
.card, .feature-card, .step, .model-card {
  background: #fff !important;
  border: 1px solid var(--tw-line) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature-card:hover, .step:hover, .model-card:hover {
  border-color: #bfdbfe !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-3px);
}
.feature-icon, .step-num {
  border-radius: 4px !important;
  background: var(--tw-accent-soft) !important;
  color: var(--tw-accent-deep) !important;
  box-shadow: none !important;
}
.feature-card h3, .step h4, .model-card h3 {
  color: var(--tw-ink) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem !important;
  background:
    linear-gradient(105deg, rgba(8, 20, 40, 0.9) 0%, rgba(10, 50, 100, 0.75) 100%),
    url("images/network-tech.jpg") center/cover no-repeat !important;
  color: #fff;
  overflow: hidden;
}
.page-hero .page-title,
.page-hero .section-eyebrow,
.page-hero .page-lead {
  color: #fff !important;
  position: relative;
  z-index: 1;
}
.page-hero .section-eyebrow {
  color: #7ec2ff !important;
  background: none !important;
}
.page-hero .page-lead { color: rgba(226,232,240,0.9) !important; max-width: 40rem; }
.page-title {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
}

/* Image band sections */
.img-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}
.img-band-media {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.img-band-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
  background: var(--tw-wash);
}
@media (max-width: 800px) {
  .img-band { grid-template-columns: 1fr; }
}

/* Buttons global */
.btn {
  border-radius: 2px !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--tw-accent) !important;
  background-image: none !important;
  box-shadow: none !important;
}
.btn-primary:hover {
  background: var(--tw-accent-deep) !important;
  transform: none !important;
}
.btn-outline {
  border-radius: 2px !important;
}

/* Footer cleaner */
.footer {
  background: #0b1220 !important;
  border-top: none !important;
}
.footer-top-line {
  height: 3px;
  background: linear-gradient(90deg, var(--tw-accent-deep), var(--tw-accent), transparent);
}
.footer a:hover { color: #5eb0ff !important; }

/* Charges table */
.charges-table thead {
  background: var(--tw-ink) !important;
}
.table-wrap {
  border-radius: 4px !important;
  box-shadow: none !important;
  border: 1px solid var(--tw-line) !important;
}

/* Dark theme surfaces */
[data-theme="dark"] body { background: #0a0f1a; color: #e8eef8; }
[data-theme="dark"] .section-alt { background: #0c121c !important; }
[data-theme="dark"] .section-title { color: #f1f5f9 !important; }
[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .step,
[data-theme="dark"] .model-card,
[data-theme="dark"] .table-wrap {
  background: #121a28 !important;
  border-color: #1e293b !important;
}
[data-theme="dark"] .img-band-body { background: #0c121c; }

/* Offset main under fixed header */
main { padding-top: 0; }
body { padding-top: 0; }

/* Lazy section still works */
.lazy-section.is-visible { opacity: 1; transform: none; }


/* ========== Link hover transitions ========== */
a,
.nav-link,
.mobile-link,
.footer a,
.footer-legal a,
.btn,
.logo,
.feature-card,
.card,
.lang-toggle,
.theme-toggle {
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    text-decoration-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-link {
  position: relative;
  border-bottom: 2px solid transparent !important;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--tw-accent, #0077ff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}
.nav-link:hover {
  color: var(--tw-accent, #0077ff) !important;
}

.mobile-link {
  transition: color 0.25s ease, padding-left 0.25s ease, background-color 0.25s ease;
}
.mobile-link:hover {
  color: var(--tw-accent, #0077ff);
  padding-left: 0.5rem;
}

.footer a,
.footer-legal a {
  transition: color 0.25s ease, opacity 0.25s ease;
}
.footer a:hover,
.footer-legal a:hover {
  color: #5eb0ff !important;
}

.btn {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.feature-card,
.card {
  transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease;
}
.feature-card:hover,
.card:hover {
  transform: translateY(-4px);
}

.logo {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.social-links a,
.footer-powered-badge {
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.social-links a:hover {
  transform: translateY(-3px);
}
