/* ==========================================================================
   VTU Platform — Customer App
   Fixes deliberately made relative to typical Nigerian VTU app UIs:
   - ONE icon language throughout (stroke-based, currentColor, 1.75px),
     not a mix of flat-color glyphs, filled icons and outlined icons.
   - No stacked promotional banners burying the transaction list — at most
     one dismissible banner.
   - No floating action buttons that can drift over list content; nothing
     is fixed-position except the bottom tab bar itself.
   - Credit and debit transactions are visually distinct (color + icon
     direction), not both rendered with the same down-left arrow.
   ========================================================================== */

:root {
  --brand: #0e6b4f;
  --brand-dark: #094833;
  --brand-light: #e7f3ec;
  --accent: #eaf7ef;
  --bg: #f6f9f7;
  --surface: #ffffff;
  --ink: #131a16;
  --muted: #64766d;
  --border: #e3ede7;
  --danger: #b3261e;
  --danger-bg: #fbecea;
  --warning: #92600a;
  --warning-bg: #fbf3e2;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: inherit; -webkit-tap-highlight-color: transparent; }
html, body {
  height: 100%; margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px; overscroll-behavior-y: contain;
}
h1, h2, h3 { font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
button { font-family: inherit; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; display: block; }

#app { max-width: 480px; margin: 0 auto; min-height: 100%; background: var(--bg); position: relative; padding-bottom: 76px; }

/* --- Header / balance card ------------------------------------------------ */

.app-header { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding: 18px 20px 28px; border-radius: 0 0 22px 22px; }
.app-header .row-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.app-header .greeting { font-size: 14px; opacity: 0.85; }
.icon-btn { background: rgba(255,255,255,0.14); border: none; border-radius: 10px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; }

.balance-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 16px; padding: 16px 18px; }
.balance-card .label { font-size: 12.5px; opacity: 0.8; display: flex; align-items: center; gap: 6px; }
.balance-card .amount-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.balance-card .amount { font-family: 'IBM Plex Mono', monospace; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.balance-card .eye-btn { background: none; border: none; color: rgba(255,255,255,0.85); cursor: pointer; padding: 4px; }
.btn-pill { background: #fff; color: var(--brand-dark); border: none; border-radius: 100px; padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }

/* --- Quick actions: ONE icon style, no visual noise --------------------- */

.section { padding: 20px; }
.section-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.section-title a { font-size: 12.5px; font-weight: 600; color: var(--brand); text-decoration: none; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: none; cursor: pointer; color: var(--ink); }
.quick-item .bubble {
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(155deg, #eaf7ef 0%, #d6ecdd 100%);
  color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(9,72,51,0.08);
}
.quick-item span { font-size: 12px; font-weight: 500; text-align: center; }

/* --- Single banner (admin-managed carousel) ------------------------------- */

.carousel { margin: 4px 0 4px; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 0 20px; gap: 12px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .banner { flex: 0 0 100%; scroll-snap-align: start; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.carousel-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background-color 0.2s ease, width 0.2s ease; }
.carousel-dots .dot.active { background: var(--brand); width: 16px; border-radius: 3px; }

.banner { color: #fff; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.banner.banner-brand { background: linear-gradient(155deg, var(--brand) 0%, var(--brand-dark) 100%); }
.banner.banner-dark { background: var(--brand-dark); }
.banner.banner-accent { background: linear-gradient(155deg, #0a5cad 0%, #073f78 100%); }
.banner .text { font-size: 13px; line-height: 1.4; }
.banner .text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.banner button.close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 18px; cursor: pointer; line-height: 1; padding: 4px; }
.banner .cta { background: #fff; color: var(--brand-dark); border: none; border-radius: 100px; padding: 7px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; flex-shrink: 0; }

.mini-badge {
  position: absolute; top: -6px; right: -6px; background: var(--warning); color: #fff;
  font-size: 8.5px; font-weight: 700; padding: 2px 5px; border-radius: 100px; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.02em;
}

/* --- Transaction list: direction is unambiguous -------------------------- */

.tx-list { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.tx-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.tx-row:last-child { border-bottom: none; }
.tx-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tx-icon.credit { background: linear-gradient(155deg, #eaf7ef 0%, #d6ecdd 100%); color: var(--brand-dark); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
.tx-icon.debit { background: linear-gradient(155deg, #f1f3f2 0%, #e4e8e6 100%); color: var(--muted); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
.tx-body { flex: 1; min-width: 0; }
.tx-title { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tx-amount { text-align: right; flex-shrink: 0; }
.tx-amount .value { font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; font-weight: 600; }
.tx-amount .value.credit { color: var(--brand-dark); }
.tx-amount .value.debit { color: var(--ink); }
.badge { display: inline-block; margin-top: 3px; padding: 2px 8px; border-radius: 100px; font-size: 10.5px; font-weight: 700; }
.badge.pending { background: var(--warning-bg); color: var(--warning); }
.badge.failed { background: var(--danger-bg); color: var(--danger); }

.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.5; }

/* --- Bottom tab bar: the ONLY fixed-position element ---------------------- */

.tab-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px;
  background: var(--surface); border-top: 1px solid var(--border);
  display: flex; padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
}
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px; }
.tab-item span { font-size: 10.5px; font-weight: 600; }
.tab-item.active { color: var(--brand); }

/* --- Bottom sheet modal (purchase flows) ---------------------------------- */

.sheet-backdrop { position: fixed; inset: 0; background: rgba(10,20,15,0.45); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop.hidden { pointer-events: none; }
.sheet { width: 100%; max-width: 480px; background: var(--surface); border-radius: 20px 20px 0 0; max-height: 88vh; overflow-y: auto; padding: 8px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
.sheet-handle { width: 36px; height: 4px; background: var(--border); border-radius: 4px; margin: 8px auto 16px; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sheet-header button { background: none; border: none; color: var(--muted); cursor: pointer; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  font-size: 15px; font-family: inherit; background: var(--bg); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.hint.success { color: var(--brand-dark); }
.hint.error { color: var(--danger); }

.receipt-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.receipt-link:hover { text-decoration: underline; }

.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track { position: absolute; inset: 0; background: var(--border); border-radius: 100px; transition: background-color 0.2s ease; }
.switch-track::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.switch input:checked + .switch-track { background: var(--brand); }
.switch input:checked + .switch-track::before { transform: translateX(18px); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border); background: var(--surface); border-radius: 100px; padding: 6px 14px 6px 6px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
/* Network operator badge: a colored circle with the carrier's initial —
   not the real MTN/Glo/Airtel/9mobile logos (those are each company's
   trademark), but instantly recognizable via each carrier's own brand
   color, the same way every VTU app visually distinguishes networks. */
.chip .net-badge { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; line-height: 1; flex-shrink: 0; }
.chip.selected { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); }

.plan-list { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.plan-item { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.plan-item.selected { border-color: var(--brand); background: var(--brand-light); }
.plan-item .name { font-size: 13.5px; font-weight: 600; }
.plan-item .price { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); }

.btn-primary { width: 100%; background: var(--brand); color: #fff; border: none; border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary { width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; }

.pin-dots { display: flex; gap: 12px; justify-content: center; margin: 20px 0; }
.pin-dots .dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border); }
.pin-dots .dot.filled { background: var(--brand); border-color: var(--brand); }
.pin-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pin-key { padding: 16px; font-size: 20px; font-weight: 600; background: var(--bg); border: none; border-radius: 12px; cursor: pointer; }

.result-screen { text-align: center; padding: 20px 4px 4px; }
.result-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.result-icon.success { background: var(--brand-light); color: var(--brand-dark); }
.result-icon.pending { background: var(--warning-bg); color: var(--warning); }
.result-icon.error { background: var(--danger-bg); color: var(--danger); }

/* --- Auth screens ---------------------------------------------------------- */

.lock-screen { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lock-screen-inner { width: 100%; max-width: 340px; text-align: center; }
.lock-screen-brand { font-size: 22px; font-weight: 800; color: var(--brand-dark, var(--brand)); margin-bottom: 4px; }
.lock-screen-error { color: var(--danger); font-size: 13px; margin-top: 10px; }
.lock-screen-logout { margin-top: 28px; background: none; border: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.auth-screen { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 24px; max-width: 480px; margin: 0 auto; }
.auth-screen .brand-mark { color: var(--brand-dark); margin-bottom: 6px; }
.auth-screen .sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.auth-link { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.auth-link a { color: var(--brand); font-weight: 600; text-decoration: none; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 90px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 13.5px; z-index: 60; max-width: 90%; text-align: center; }

.loading-spinner { width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Splash screen — shown once on cold load, removed after boot completes.
   ========================================================================== */

#splash {
  position: fixed; inset: 0; z-index: 999;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#splash.splash-hide { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-glow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111,227,171,0.35) 0%, rgba(111,227,171,0) 70%);
  animation: splashGlow 2.6s ease-in-out infinite;
}
@keyframes splashGlow {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.splash-mark {
  width: 108px; height: auto; position: relative;
  opacity: 0; transform: scale(0.55) rotate(-10deg);
  animation: splashMarkIn 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}
@keyframes splashMarkIn {
  0% { opacity: 0; transform: scale(0.55) rotate(-10deg); }
  60% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.splash-word {
  margin-top: 20px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 30px;
  color: #ffffff; letter-spacing: 0.01em; display: flex; position: relative;
}
.splash-word span {
  display: inline-block; opacity: 0; transform: translateY(14px);
  animation: splashLetterIn 0.5s ease forwards;
}
.splash-tag {
  margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,0.75); letter-spacing: 0.04em;
  opacity: 0; animation: splashFadeUp 0.6s ease 1.05s forwards;
}
@keyframes splashLetterIn { to { opacity: 1; transform: translateY(0); } }
@keyframes splashFadeUp { to { opacity: 1; transform: translateY(0); } }

.splash-bar { margin-top: 26px; width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.18); overflow: hidden; opacity: 0; animation: splashFadeUp 0.5s ease 1.2s forwards; }
.splash-bar::after { content: ''; display: block; width: 40%; height: 100%; background: #ffffff; border-radius: 3px; animation: splashBar 1.1s ease-in-out infinite; }
@keyframes splashBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ==========================================================================
   General motion polish
   ========================================================================== */

.tab-item, .quick-item, .btn-primary, .btn-secondary, .btn-pill, .chip, .pin-key, .icon-btn, .cta, .eye-btn {
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tab-item:active, .quick-item:active .bubble, .btn-primary:active, .btn-secondary:active, .btn-pill:active,
.chip:active, .pin-key:active, .icon-btn:active, .cta:active { transform: scale(0.94); }

.quick-item .bubble { transition: transform 0.15s ease, background-color 0.15s ease; }

#app > header, #app > .section, #app > .banner { animation: viewFadeIn 0.35s ease both; }
#app > .section:nth-of-type(2) { animation-delay: 0.04s; }
#app > .section:nth-of-type(3) { animation-delay: 0.08s; }
@keyframes viewFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.sheet-backdrop { transition: opacity 0.25s ease; opacity: 1; }
.sheet-backdrop.hidden { opacity: 0; pointer-events: none; }
.sheet { transform: translateY(100%); transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1); }
.sheet-backdrop:not(.hidden) .sheet { transform: translateY(0); }

.pin-dots .dot { transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.pin-dots .dot.filled { transform: scale(1.15); }

.result-icon { animation: resultPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes resultPop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }

.toast { animation: toastIn 0.25s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Landing page (pre-login marketing screen)
   ========================================================================== */

.landing-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
.brand-mini { display: flex; align-items: center; gap: 8px; color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16px; }
.landing-topbar .actions { display: flex; gap: 8px; }

.btn-ghost-light {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.35); color: #fff;
  padding: 8px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.btn-glow {
  background: #fff; color: var(--brand-dark); border: none; padding: 9px 16px; border-radius: 100px;
  font-size: 12.5px; font-weight: 700; cursor: pointer; animation: ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111,227,171,0.55); }
  50% { box-shadow: 0 0 0 9px rgba(111,227,171,0); }
}

.landing-badge {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25); color: #eafaf1; padding: 6px 14px; border-radius: 100px;
  font-size: 11.5px; font-weight: 600;
}
.landing-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #6fe3ab; }

.landing-hero-title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.18; color: #fff; margin: 16px 0 12px; letter-spacing: -0.01em; }
.landing-hero-title .accent { background: linear-gradient(90deg, #6fe3ab, #eafff3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing-hero-sub { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.55; max-width: 340px; }

.landing-cta-row { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.landing-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); padding: 6px 10px;
  border-radius: 100px; font-size: 11px;
}
.trust-chip .icon { width: 14px; height: 14px; }

/* --- Scrolling service ticker ------------------------------------------- */

.ticker-wrap { overflow: hidden; background: var(--brand-dark); padding: 14px 0; }
.ticker-track { display: flex; width: max-content; gap: 32px; animation: tickerScroll 24s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.78); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ticker-item .icon { width: 16px; height: 16px; color: #6fe3ab; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Honest capability stats (not fabricated usage numbers) -------------- */

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin: 16px 20px 0; }
.stat-cell { background: var(--surface); padding: 18px 12px; text-align: center; }
.stat-cell .num { font-family: 'IBM Plex Mono', monospace; font-size: 21px; font-weight: 700; color: var(--brand-dark); }
.stat-cell .lbl { font-size: 10.5px; color: var(--muted); margin-top: 4px; }

/* --- Scroll-reveal ---------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.eyebrow { color: var(--brand); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* --- How it works: numbered step cards ------------------------------------ */

.step-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; overflow: hidden; margin-bottom: 14px; }
.step-card .step-num { position: absolute; top: 6px; right: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 42px; font-weight: 700; color: var(--brand-light); z-index: 0; line-height: 1; }
.step-card .step-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-light); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; position: relative; z-index: 1; }
.step-card h3 { font-size: 15px; margin-bottom: 6px; position: relative; z-index: 1; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.5; position: relative; z-index: 1; margin: 0; }

/* --- Feature grid (2x2) ---------------------------------------------------- */

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.feature-card .bubble { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(155deg, #eaf7ef, #d6ecdd); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.feature-card h4 { font-size: 13px; margin-bottom: 4px; }
.feature-card p { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin: 0; }

/* --- Footer ----------------------------------------------------------------- */

.landing-footer { background: var(--brand-dark); color: rgba(255,255,255,0.8); padding: 32px 20px 24px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0 8px; }
.footer-col h5 { color: #fff; font-size: 12.5px; margin: 0 0 10px; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,0.62); font-size: 12.5px; margin-bottom: 9px; text-decoration: none; cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; margin-top: 8px; font-size: 11.5px; color: rgba(255,255,255,0.55); text-align: center; }
.footer-badges { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
