/* ============ Design Tokens ============ */
:root {
  --navy-950: #0a0f2c;
  --navy-900: #0b1440;
  --navy-800: #121b56;
  --royal-600: #2f4bd6;
  --royal-500: #3b5bf5;
  --accent-cyan: #38bdf8;
  --accent-purple: #818cf8;
  --accent-violet: #a78bfa;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --surface: #ffffff;
  --surface-muted: #f6f8fd;
  --surface-card: #ffffff;
  --border: #e6e9f5;
  --success: #16a34a;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 20, 64, 0.18);
  --max-width: 1180px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 0.5em; color: var(--navy-900); }
p { line-height: 1.7; color: var(--ink-700); margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--royal-600);
  background: rgba(59, 91, 245, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--royal-500), var(--accent-purple));
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 91, 245, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(59, 91, 245, 0.36); }
.btn--outline {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn--outline:hover { background: var(--navy-900); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ============ Navbar ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.navbar.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.navbar__logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-900), var(--royal-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--royal-500);
  transition: width 0.2s ease;
}
.navbar__links a:hover, .navbar__links a.is-active { color: var(--navy-900); }
.navbar__links a:hover::after, .navbar__links a.is-active::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: 16px; }
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar__toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(56, 189, 248, 0.10), transparent),
    radial-gradient(900px 400px at -10% 20%, rgba(129, 140, 248, 0.10), transparent),
    var(--surface);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  font-size: 1.1rem;
  max-width: 520px;
  color: var(--ink-700);
}
.hero__actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }

.hero__visual { position: relative; min-height: 420px; }
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 20, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 20, 64, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: var(--radius-lg);
  z-index: -1;
}
.dash-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.dash-card--main {
  padding: 28px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  position: relative;
  z-index: 1;
}
.dash-card__row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.dash-label { font-size: 0.85rem; color: var(--ink-300); font-weight: 500; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-dot--green { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
.dash-dot--blue { background: var(--accent-cyan); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18); }
.dash-dot--purple { background: var(--accent-violet); box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.18); }

.dash-graph { margin-bottom: 22px; }
.dash-graph svg { width: 100%; height: 90px; }
.dash-graph polyline {
  fill: none;
  stroke: url(#none);
  stroke: var(--accent-cyan);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.dash-stats { display: flex; justify-content: space-between; gap: 10px; }
.dash-stats > div { display: flex; flex-direction: column; font-size: 0.72rem; color: var(--ink-300); }
.dash-stat__num { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: #fff; }

.dash-card--float {
  position: absolute;
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 5s ease-in-out infinite;
}
.dash-card--api { top: 8%; right: -4%; }
.dash-card--secure { bottom: 10%; left: -6%; animation-delay: 1.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ Trust Strip ============ */
.trust-strip { background: var(--navy-900); padding: 26px 0; }
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
.trust-item {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-icon { font-size: 1.1rem; }

/* ============ Sections ============ */
.section { padding: 90px 0; }
.section--muted { background: var(--surface-muted); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section__lead { font-size: 1.05rem; }
.section__cta { text-align: center; margin-top: 40px; }

.page-hero { padding: 76px 0 60px; background: linear-gradient(180deg, var(--surface-muted), var(--surface)); text-align: center; }
.page-hero .container { max-width: 780px; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.page-hero__lead { font-size: 1.08rem; }
.page-hero--legal { padding: 60px 0 40px; text-align: left; }
.page-hero--legal .container { max-width: 820px; }

/* ============ About: intro + dual visual ============ */
.about-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-intro__text p { font-size: 1.02rem; }

.dual-visual { display: flex; align-items: center; justify-content: center; }
.dual-visual__node {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 18px; box-shadow: var(--shadow-md); position: relative; z-index: 1;
}
.dual-visual__node strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); }
.dual-visual__node span { font-size: 0.76rem; color: var(--ink-500); font-weight: 600; }
.dual-visual__icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 91, 245, 0.12), rgba(129, 140, 248, 0.12));
  display: flex; align-items: center; justify-content: center; color: var(--royal-600);
  margin-bottom: 4px;
}
.dual-visual__icon svg { width: 32px; height: 32px; }
.dual-visual__link { width: 60px; display: flex; align-items: center; justify-content: center; position: relative; }
.dual-visual__link::before {
  content: ''; position: absolute; top: 50%; left: -18px; right: -18px; height: 2px;
  background: linear-gradient(90deg, var(--royal-500), var(--accent-purple)); z-index: 0;
}
.dual-visual__center {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--royal-600));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  position: relative; z-index: 1; box-shadow: var(--shadow-md);
}

@media (max-width: 980px) {
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .dual-visual { flex-direction: column; gap: 0; }
  .dual-visual__link { width: auto; height: 50px; }
  .dual-visual__link::before { top: -18px; bottom: -18px; left: 50%; right: auto; width: 2px; height: auto; }
}

/* ============ Grid & Cards ============ */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(59, 91, 245, 0.25); }
.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 91, 245, 0.12), rgba(129, 140, 248, 0.12));
  margin-bottom: 18px;
  color: var(--royal-600);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; }
.card__link { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--royal-600); transition: gap 0.2s ease; }
.card__link:hover { text-decoration: underline; }

.value-list li {
  padding: 6px 0;
  color: var(--ink-700);
  font-weight: 500;
  border-bottom: 1px dashed var(--border);
}
.value-list li:last-child { border-bottom: none; }

.pill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--royal-500);
  margin-bottom: 12px;
}

/* ============ Flow diagram ============ */
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 420px;
  margin: 0 auto;
}
.flow__node {
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.flow__node--accent {
  background: linear-gradient(135deg, var(--navy-900), var(--royal-600));
  color: #fff;
  border-color: transparent;
}
.flow__arrow { color: var(--royal-500); font-size: 1.3rem; font-weight: 700; }

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  color: #fff;
}
.cta-band__inner { text-align: center; max-width: 620px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ink-300); margin-bottom: 28px; }

/* ============ Contact ============ */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink-700); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--surface-muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--royal-500);
  box-shadow: 0 0 0 3px rgba(59, 91, 245, 0.15);
  background: #fff;
}
.form-row textarea { resize: vertical; }
.form-status { margin-top: 14px; font-weight: 600; font-size: 0.9rem; min-height: 1.2em; }
.form-status.ok { color: var(--success); }
.form-status.err { color: #dc2626; }

.contact-info {
  background: var(--surface-muted);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.note-box {
  background: rgba(59, 91, 245, 0.06);
  border: 1px dashed rgba(59, 91, 245, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.92rem;
}

/* ============ Legal ============ */
.legal-content .container { max-width: 820px; }
.legal-content h2 { margin-top: 2em; font-size: 1.3rem; }
.legal-flag { color: #b45309; font-style: italic; }

/* ============ Error page ============ */
.error-page { text-align: center; padding: 140px 0; }
.error-page h1 { font-size: 5rem; }

/* ============ Footer ============ */
.footer { background: var(--navy-950); color: var(--ink-300); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer .navbar__logo { color: #fff; }
.footer__legal-name { margin-top: 16px; font-weight: 600; color: #fff; font-size: 0.9rem; }
.footer__tagline { font-size: 0.85rem; }
.footer__meta { font-size: 0.76rem; color: #64748b; margin: 4px 0 0; }
.footer__col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: 0.9rem; color: var(--ink-300); transition: color 0.2s ease; }
.footer__col a:hover { color: var(--accent-cyan); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
}
.footer__disclaimer-note { color: #64748b; }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 340px; order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

.navbar__links.is-open {
  display: flex !important;
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border);
}
.navbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-active span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Coming Soon badge
   ============================================================ */
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-purple), var(--royal-500));
  padding: 5px 12px;
  border-radius: 999px;
}
.badge-soon::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero__soon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--royal-600);
  margin-top: 18px;
}

/* ============================================================
   App download badges
   ============================================================ */
.store-badges { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--navy-950);
  color: #fff;
  opacity: 0.55;
  cursor: default;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
}
.store-badge__icon { font-size: 1.4rem; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge__text small { font-size: 0.62rem; color: var(--ink-300); text-transform: uppercase; letter-spacing: 0.04em; }
.store-badge__text strong { font-size: 0.9rem; }
.store-badge__soon {
  position: absolute;
  top: -8px; right: -8px;
  font-size: 0.55rem;
  font-weight: 800;
  background: var(--accent-cyan);
  color: var(--navy-950);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* ============================================================
   Hero phone mockup
   ============================================================ */
.hero__visual--app { display: flex; align-items: center; justify-content: center; min-height: 520px; }
.phone-mockup {
  width: 272px;
  height: 552px;
  background: linear-gradient(160deg, #171f4d, #060a1f 65%);
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 40px 80px -20px rgba(47, 75, 214, 0.35), 0 0 0 2px rgba(255,255,255,0.06) inset;
  position: relative;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 48px;
  padding: 2px;
  background: linear-gradient(160deg, rgba(56,189,248,0.5), rgba(129,140,248,0.1) 40%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.phone-mockup__notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 24px;
  background: #060a1f;
  border-radius: 0 0 18px 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mockup__notch::after {
  content: '';
  width: 36px; height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
.phone-mockup__home-bar {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  z-index: 3;
}
.phone-mockup__screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #f8faff, #eef1fb);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5) inset;
}
.phone-app__statusbar {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.phone-app__statusbar-icons { display: flex; gap: 4px; opacity: 0.9; letter-spacing: 1px; }
.phone-app__header {
  padding: 8px 22px 22px;
  background: linear-gradient(150deg, var(--navy-900), var(--royal-600) 120%);
  color: #fff;
  border-radius: 0 0 26px 26px;
  position: relative;
  overflow: hidden;
}
.phone-app__header::after {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.35), transparent 70%);
}
.phone-app__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  position: relative;
}
.phone-app__brand-mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.phone-app__greet { font-size: 1.08rem; font-weight: 700; margin-top: 16px; max-width: 190px; line-height: 1.35; position: relative; }
.phone-app__body { padding: 18px; flex: 1; }
.phone-app__loan-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.16);
  margin-bottom: 14px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}
.phone-app__loan-label { font-size: 0.7rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.phone-app__loan-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 4px 0 12px;
  font-variant-numeric: tabular-nums;
}
.phone-app__meter {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-muted);
  overflow: hidden;
  margin-bottom: 14px;
}
.phone-app__meter-fill {
  width: 68%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--royal-500), var(--accent-cyan));
}
.phone-app__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.phone-app__tag {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--royal-600);
  background: rgba(59, 91, 245, 0.08);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.phone-app__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--royal-500), var(--accent-purple));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 22px -8px rgba(59, 91, 245, 0.55);
}
.phone-app__soon {
  text-align: center;
  margin-top: 10px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}

.hero__float-card {
  position: absolute;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  text-align: left;
  min-width: 128px;
  animation: float 5.5s ease-in-out infinite;
}
.hero__float-card strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--navy-900); }
.hero__float-card span { font-size: 0.7rem; color: var(--ink-500); font-weight: 600; }
.hero__float-card--1 { top: 4%; left: -8%; animation-delay: 0s; }
.hero__float-card--2 { top: 32%; right: -14%; animation-delay: 0.9s; }
.hero__float-card--3 { bottom: 22%; left: -14%; animation-delay: 1.6s; }
.hero__float-card--4 { bottom: -2%; right: -6%; animation-delay: 2.3s; }

/* ============================================================
   Loan amount section
   ============================================================ */
.loan-range {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.loan-range__values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy-900);
  margin-bottom: 8px;
}
.loan-range__values .to { font-size: 1rem; color: var(--ink-500); font-weight: 600; }
.loan-range__label { font-size: 0.85rem; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.loan-slider {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  margin: 28px 0 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.loan-slider__fill {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--royal-500), var(--accent-purple), var(--accent-cyan));
  transition: width 1.4s cubic-bezier(.22,1,.36,1);
}
.loan-slider.is-visible .loan-slider__fill { width: 100%; }
.loan-slider__handle {
  position: absolute;
  top: 50%; right: 0;
  width: 22px; height: 22px;
  background: #fff;
  border: 3px solid var(--royal-500);
  border-radius: 50%;
  transform: translate(50%, -50%);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   Process journey (loan application steps)
   ============================================================ */
.journey {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  position: relative;
  margin-top: 20px;
}
.journey__line {
  grid-column: 1 / -1;
  height: 3px;
  background: var(--border);
  position: relative;
  margin: 26px 0 -14px;
  border-radius: 3px;
  overflow: hidden;
}
.journey__line-fill {
  position: absolute; inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--royal-500), var(--accent-purple));
  transition: width 1.8s cubic-bezier(.22,1,.36,1);
}
.journey.is-visible .journey__line-fill { width: 100%; }
.journey__step { text-align: center; padding: 0 4px; }
.journey__num {
  width: 42px; height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-500);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
}
.journey.is-visible .journey__step:nth-child(1) .journey__num { transition-delay: 0.05s; }
.journey.is-visible .journey__num {
  border-color: var(--royal-500);
  color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--accent-purple));
}
.journey__step h4 { font-size: 0.88rem; margin-bottom: 6px; }
.journey__step p { font-size: 0.78rem; color: var(--ink-500); }

/* ============================================================
   Loan need cards + coming soon CTA
   ============================================================ */
.notify-btn-row { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.coming-soon-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, #241c66 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.coming-soon-band::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(600px 300px at 20% 20%, rgba(56,189,248,0.18), transparent),
              radial-gradient(600px 300px at 80% 80%, rgba(129,140,248,0.18), transparent);
  animation: gradient-shift 12s ease-in-out infinite alternate;
}
@keyframes gradient-shift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(4%, 4%) rotate(6deg); }
}
.coming-soon-band__inner { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }
.coming-soon-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.coming-soon-band p { color: var(--ink-300); }
.coming-soon-band .feature-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0; }
.feature-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.coming-soon-band .fine-print { font-size: 0.78rem; color: #94a3b8; max-width: 520px; margin: 22px auto 0; }

/* ============================================================
   Mobile app showcase (3 screens)
   ============================================================ */
.app-showcase { display: flex; justify-content: center; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding-top: 30px; }
.mini-phone {
  width: 228px;
  background: linear-gradient(160deg, #171f4d, #060a1f 65%);
  border-radius: 38px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 30px 60px -18px rgba(47, 75, 214, 0.32), 0 0 0 2px rgba(255,255,255,0.05) inset;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
  position: relative;
}
.mini-phone:hover { transform: translateY(-12px); }
.mini-phone__notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 18px;
  background: #060a1f;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.mini-phone__home-bar {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
  z-index: 3;
}
.mini-phone__screen {
  background: linear-gradient(180deg, #f8faff, #eef1fb);
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  font-size: 0.72rem;
  padding-bottom: 20px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5) inset;
}
.mini-phone__header {
  padding: 26px 16px 18px;
  background: linear-gradient(150deg, var(--navy-900), var(--royal-600) 130%);
  color: #fff;
  border-radius: 0 0 22px 22px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.mini-phone__header::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.3), transparent 70%);
}
.mini-phone__title { font-weight: 700; font-size: 0.9rem; position: relative; }
.mini-phone__body { padding: 0 14px; }
.mini-phone .card-block {
  background: #fff;
  border-radius: 14px;
  padding: 13px;
  box-shadow: 0 10px 24px -14px rgba(15,23,42,0.25);
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.mini-phone .card-block small { color: var(--ink-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.6rem; }
.mini-phone .card-block strong { display: block; color: var(--navy-900); font-size: 1.05rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mini-phone .btn-mini {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  text-align: center;
  background: linear-gradient(135deg, var(--royal-500), var(--accent-purple));
  color: #fff; font-weight: 700; padding: 10px; border-radius: 11px; font-size: 0.72rem;
  box-shadow: 0 10px 20px -8px rgba(59, 91, 245, 0.5);
  margin-bottom: 10px;
}
.mini-phone .field-mini { margin-bottom: 11px; }
.mini-phone .field-mini label { display: block; font-size: 0.62rem; color: var(--ink-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 5px; }
.mini-phone .field-mini .fake-input {
  background: #fff; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 9px 12px; color: var(--ink-700); font-size: 0.74rem; font-weight: 600;
}
.mini-phone .field-mini .fake-input.is-focused { border-color: var(--royal-500); box-shadow: 0 0 0 3px rgba(59,91,245,0.12); }
.mini-phone .track-list { position: relative; padding-left: 4px; }
.mini-phone .track-list::before {
  content: '';
  position: absolute;
  left: 15px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--border);
}
.mini-phone .track-item { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.74rem; color: var(--ink-500); font-weight: 600; }
.mini-phone .track-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  flex-shrink: 0; display:flex; align-items:center; justify-content:center;
  font-size: 0.6rem; color: var(--ink-500); position: relative; z-index: 1;
}
.mini-phone .track-item.done { color: var(--navy-900); }
.mini-phone .track-item.done .track-dot { background: var(--success); border-color: var(--success); color: #fff; }
.mini-phone .track-item.active { color: var(--navy-900); }
.mini-phone .track-item.active .track-dot { background: var(--royal-500); border-color: var(--royal-500); color: #fff; box-shadow: 0 0 0 4px rgba(59,91,245,0.18); }
.illustrative-tag { text-align: center; font-size: 0.75rem; color: var(--ink-500); margin-top: 26px; font-style: italic; }

/* ============================================================
   Architecture diagram (layered)
   ============================================================ */
.arch-flow { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0; }
.arch-node {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.arch-node--accent { background: linear-gradient(135deg, var(--navy-900), var(--royal-600)); color: #fff; border-color: transparent; }
.arch-arrow { color: var(--royal-500); font-size: 1.2rem; padding: 6px 0; }
.arch-group {
  width: 100%;
  background: var(--surface-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 2px 0;
}
.arch-group__title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--royal-600); margin-bottom: 12px; text-align: center; }
.arch-group__items { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.arch-chip {
  font-size: 0.78rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--ink-700);
}
.arch-particles { position: relative; height: 0; }

/* ============================================================
   API demo console
   ============================================================ */
.api-console {
  background: #0b1024;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  color: #d6ddf5;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.84rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}
.api-console__bar { display: flex; gap: 6px; margin-bottom: 16px; }
.api-console__bar span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.api-console__bar span:nth-child(1) { background: #f87171; }
.api-console__bar span:nth-child(2) { background: #fbbf24; }
.api-console__bar span:nth-child(3) { background: #4ade80; }
.api-console__method { color: var(--accent-cyan); font-weight: 700; }
.api-console__path { color: #e2e8f0; }
.api-console pre { margin: 10px 0 0; white-space: pre-wrap; word-break: break-word; color: #94a3b8; }
.api-console .key { color: #7dd3fc; }
.api-console .str { color: #86efac; }
.api-console .status-ok { color: #4ade80; font-weight: 700; }

/* ============================================================
   Dashboard section
   ============================================================ */
.demo-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-500);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.stat-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.stat-tile__label { font-size: 0.78rem; color: var(--ink-500); font-weight: 600; margin-bottom: 8px; }
.stat-tile__value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--navy-900); }
.stat-tile__value.healthy { color: var(--success); font-size: 1.2rem; }

.funnel { display: flex; flex-direction: column; gap: 8px; max-width: 460px; margin: 0 auto; }
.funnel__row { display: flex; align-items: center; gap: 12px; }
.funnel__label { width: 120px; font-size: 0.8rem; font-weight: 600; color: var(--ink-700); text-align: right; flex-shrink: 0; }
.funnel__bar-track { flex: 1; height: 14px; background: var(--surface-muted); border-radius: 999px; overflow: hidden; }
.funnel__bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--royal-500), var(--accent-purple)); width: 0%; transition: width 1.2s ease; }
.funnel.is-visible .funnel__bar-fill { width: var(--fill); }

/* ============================================================
   Onboarding checklist
   ============================================================ */
.onboard-flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.onboard-chip {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.onboard-arrow { color: var(--ink-300); align-self: center; }
.checklist { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.checklist__item {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--navy-900);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.checklist__item span { color: var(--success); }

/* ============================================================
   Lifecycle flow (payments)
   ============================================================ */
.lifecycle { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-bottom: 44px; }
.lifecycle__node {
  font-size: 0.82rem; font-weight: 700; color: var(--navy-900);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 16px; box-shadow: var(--shadow-sm);
}
.lifecycle__arrow { color: var(--royal-500); }

/* ============================================================
   Notify Me modal + form
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 15, 44, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.is-open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--surface-muted); border: none;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 1rem; cursor: pointer; color: var(--ink-700);
}
.modal-box h3 { margin-bottom: 6px; }
.modal-box .form-row { margin-bottom: 14px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--ink-700); }
.consent-row input { width: auto; margin-top: 3px; }

/* ============================================================
   Card tilt micro-interaction
   ============================================================ */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ============================================================
   Responsive — new components
   ============================================================ */
@media (max-width: 980px) {
  .journey { grid-template-columns: repeat(4, 1fr); row-gap: 30px; }
  .journey__line { display: none; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .app-showcase { gap: 30px; }
}

@media (max-width: 760px) {
  .navbar__links { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__actions .btn--sm { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust-strip__inner { justify-content: center; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }

  .hero__visual--app { min-height: 420px; transform: scale(0.85); }
  .hero__float-card { display: none; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .funnel__label { width: 92px; font-size: 0.72rem; }
  .mini-phone { width: 100%; max-width: 260px; }
  .store-badges { justify-content: center; }
  .lifecycle { flex-direction: column; }
  .lifecycle__arrow { transform: rotate(90deg); }
}

@media (max-width: 430px) {
  .phone-mockup { width: 92vw; max-width: 268px; height: auto; aspect-ratio: 268 / 546; }
  .hero__visual--app { transform: scale(0.9); min-height: 380px; }
}
