/* ==========================================================================
   Fynlo — Design Tokens
   ========================================================================== */
:root {
  --navy: #10164F;
  --navy-deep: #0B0F3D;
  --blue: #174BFA;
  --violet: #6424E8;
  --cyan: #00BDEB;
  --teal: #00D6C5;
  --white: #FFFFFF;
  --bg: #F5F7FC;
  --muted: #5A5F8A;
  --muted-2: #9499BD;
  --border: #E3E6F5;
  --border-soft: #EDEFF7;
  --success: #0E8F6B;
  --success-bg: #E8F9F2;

  --gradient-main: linear-gradient(90deg, var(--blue), var(--violet));
  --gradient-wide: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan));
  --gradient-cool: linear-gradient(135deg, var(--cyan), var(--teal));
  --gradient-navy: linear-gradient(180deg, var(--navy) 0%, #151B5C 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 8px 24px rgba(16, 22, 79, 0.06);
  --shadow-pop: 0 20px 48px rgba(16, 22, 79, 0.16);

  --container: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--violet); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; color: var(--navy); line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
input, select { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 48px;
}
.eyebrow {
  color: var(--violet);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section-head h2 { font-size: 36px; max-width: 640px; }
.section-head p { max-width: 580px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient-main); color: var(--white); }
.btn-primary:hover { color: var(--white); box-shadow: 0 10px 24px rgba(23, 75, 250, 0.3); }
.btn-ghost-dark { border: 2px solid rgba(255,255,255,0.4); color: var(--white); background: transparent; }
.btn-ghost-dark:hover { color: var(--white); border-color: #fff; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { color: var(--white); opacity: 0.92; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { color: var(--violet); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 14px rgba(16, 22, 79, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; display: block; }
.navbar .nav-cta { padding: 12px 26px; font-size: 14.5px; box-shadow: 0 6px 16px rgba(23, 75, 250, 0.25); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
}
.nav-links a.active { color: var(--blue); }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 61px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
  .nav-cta { display: none; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-logo img { height: 38px; }
  .nav-toggle { padding: 6px; }
  .navbar .container { padding-top: 11px; padding-bottom: 11px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(0,189,235,0.14), transparent),
    var(--gradient-navy);
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 15% 110%, rgba(100,36,232,0.25), transparent);
  pointer-events: none;
}
.hero .container {
  max-width: 780px;
  padding-top: 96px;
  padding-bottom: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  position: relative;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
.hero-copy h1 { font-size: 54px; line-height: 1.1; color: var(--white); }
.hero-copy h1 .accent { color: var(--teal); }
.hero-copy > p { font-size: 18px; line-height: 1.6; color: #C7CCEE; max-width: 560px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-trustbar { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.hero-trustbar span { display: flex; align-items: center; gap: 8px; color: #E6E8F7; font-size: 14px; font-weight: 600; }
.hero-trustbar svg { flex: none; }

/* ==========================================================================
   Coming-soon modal
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,15,61,0.6);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 30px 60px rgba(5,8,40,0.4);
}
.modal-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
}
.modal-card h3 { font-size: 19px; }
.modal-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Why Choose Fynlo — zigzag timeline
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wcPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(23,75,250,0.25); }
  50% { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(23,75,250,0); }
}
.wc-wrap { position: relative; width: 100%; max-width: 860px; margin: 0 auto; }
.wc-line {
  position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(to bottom, #D9DEF4 0, #D9DEF4 8px, transparent 8px, transparent 16px);
  transform: translateX(-50%);
}
.wc-row { display: flex; align-items: center; gap: 28px; margin-bottom: 8px; }
.wc-row:last-child { margin-bottom: 0; }
.wc-side { flex: 1; }
.wc-card {
  flex: 1; background: var(--white); border-radius: 18px; padding: 22px 26px;
  border: 1px solid var(--border-soft); box-shadow: 0 8px 24px rgba(16,22,79,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,22,79,0.12); }
.wc-card.right { text-align: right; }
.wc-card h3 { font-size: 16px; margin-bottom: 6px; }
.wc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.wc-dotwrap { position: relative; z-index: 1; flex-shrink: 0; }
.wc-dot {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: wcPulse 2.6s ease-in-out infinite;
}

/* --- Scroll-triggered animation (enabled by JS adding .wc-anim) --- */
.wc-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, #174BFA, #6424E8, #00BDEB);
  border-radius: 2px;
  transform-origin: top;
  transform: scaleY(var(--wc-progress, 0));
  transition: transform 0.15s linear;
}
.wc-wrap:not(.wc-anim) .wc-line::after { transform: scaleY(1); }

@keyframes wcSlideLeft  { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes wcSlideRight { from { opacity: 0; transform: translateX(48px); }  to { opacity: 1; transform: none; } }
@keyframes wcTextUp     { from { opacity: 0; transform: translateY(10px); }  to { opacity: 1; transform: none; } }
@keyframes wcPop {
  0%   { opacity: 0; transform: scale(0) rotate(-90deg); }
  70%  { opacity: 1; transform: scale(1.15) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.wc-anim .wc-card,
.wc-anim .wc-card h3,
.wc-anim .wc-card p,
.wc-anim .wc-dot { opacity: 0; }
.wc-anim .wc-dot { animation: none; }

.wc-anim .wc-row.in-view .wc-card.right { animation: wcSlideLeft 0.7s cubic-bezier(.22,1,.36,1) 0.15s forwards; }
.wc-anim .wc-row.in-view .wc-card:not(.right) { animation: wcSlideRight 0.7s cubic-bezier(.22,1,.36,1) 0.15s forwards; }
.wc-anim .wc-row.in-view .wc-card h3 { animation: wcTextUp 0.5s ease 0.45s forwards; }
.wc-anim .wc-row.in-view .wc-card p  { animation: wcTextUp 0.5s ease 0.6s forwards; }
.wc-anim .wc-row.in-view .wc-dot {
  animation: wcPop 0.6s cubic-bezier(.34,1.56,.64,1) forwards,
             wcPulse 2.6s ease-in-out 0.9s infinite;
}
/* keep hover lift working after the slide-in finishes */
.wc-anim .wc-row.in-view .wc-card.wc-done { animation: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wc-anim .wc-card, .wc-anim .wc-card h3, .wc-anim .wc-card p, .wc-anim .wc-dot { opacity: 1 !important; animation: none !important; }
  .wc-line::after { transition: none; }
}

/* ==========================================================================
   Download the app
   ========================================================================== */
.download-row {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.download-copy { flex: 1 1 440px; min-width: 300px; }
.download-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.download-feature.dl-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: 18px; padding: 18px 22px;
  border: 1px solid var(--border-soft); box-shadow: 0 8px 24px rgba(16,22,79,0.05);
  opacity: 0; animation: fadeUp 0.6s ease forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.download-feature.dl-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,22,79,0.12); }
.download-feature .icon-dot {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
  display: flex; align-items: center; justify-content: center;
}
.download-feature .icon-dot.dl-icon { animation: wcPulse 2.6s ease-in-out infinite; }
.download-feature h3 { margin: 0 0 2px; font-size: 15px; font-weight: 800; color: var(--navy); }
.download-feature p { margin: 0; font-size: 13px; color: var(--muted); }
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white); border-radius: 12px;
  padding: 10px 18px; opacity: 0.55; cursor: default; user-select: none;
}
.store-badge .store-icon { flex: 0 0 auto; display: flex; }
.store-badge .store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge .store-text small { font-size: 10px; color: #B9BEE6; }

/* Compact modifier: same UI, smaller scale */
.download-app--compact { padding: 48px 0 !important; }
.download-app--compact .section-head { margin-bottom: 30px !important; }
.download-app--compact .section-head h2 { font-size: 26px; }
.download-app--compact .section-head p { font-size: 13.5px; max-width: 460px; }
.download-app--compact .container { max-width: 880px; }
.download-app--compact .download-row { gap: 32px; justify-content: center; }
.download-app--compact .download-copy { flex: 1 1 280px; max-width: 300px; min-width: 240px; }
.download-app--compact .download-feature.dl-card { padding: 11px 14px; gap: 10px; border-radius: 13px; }
.download-app--compact .download-feature .icon-dot { width: 28px; height: 28px; border-radius: 8px; flex: 0 0 28px; }
.download-app--compact .download-feature .icon-dot svg { width: 13px; height: 13px; }
.download-app--compact .download-feature h3 { font-size: 11.5px; }
.download-app--compact .download-feature p { display: none; }
.download-app--compact .store-badge { padding: 7px 12px; gap: 7px; border-radius: 9px; }
.download-app--compact .store-badge .store-icon svg { width: 14px; height: 14px; }
.download-app--compact .store-badge .store-text small { font-size: 7.5px; }
.download-app--compact .store-badge .store-text strong { font-size: 10.5px; }
.download-app--compact .download-visual { flex: 0 0 auto; }
.download-app--compact .phone-scale-wrap { width: 190px; height: 392px; }
.download-app--compact .phone-app-mock { transform: scale(0.7); transform-origin: top left; }
.download-app--compact .blob-1 { width: 150px !important; height: 150px !important; top: -6px !important; left: -6px !important; }
.download-app--compact .blob-2 { width: 130px !important; height: 130px !important; bottom: -6px !important; right: 0 !important; }
.store-badge .store-text strong { font-size: 14px; font-weight: 700; }
.download-visual { flex: 1 1 300px; min-width: 260px; display: flex; align-items: center; justify-content: center; position: relative; }
.download-visual .blob-1, .download-visual .blob-2 { position: absolute; }

/* Eligibility widget */
.widget-card {
  flex: 1 1 380px;
  min-width: 300px;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 60px rgba(5,8,40,0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.widget-card h2 { font-size: 20px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label-row { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; }
.field-label-row strong { color: var(--blue); font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--blue); }
.text-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--navy);
}
.text-input:focus { outline: none; border-color: var(--blue); }
.toggle-row { display: flex; gap: 10px; }
.toggle-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
}
.toggle-btn.active { border-color: var(--blue); background: #EEF1FD; color: var(--blue); }
.widget-note { font-size: 11px; color: var(--muted-2); line-height: 1.5; margin: 0; }
.success-note {
  font-size: 13px; color: var(--success); background: var(--success-bg);
  border-radius: 10px; padding: 10px 12px; font-weight: 600; display: none;
}
.success-note.show { display: block; }

/* ==========================================================================
   Loan calculator
   ========================================================================== */
.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.calc-inputs { flex: 1 1 360px; min-width: 300px; display: flex; flex-direction: column; gap: 28px; }
.calc-inputs .field-label-row { font-size: 14px; font-weight: 700; color: var(--navy); }
.calc-inputs .field-label-row strong { color: var(--blue); }
.calc-subrow { display: flex; gap: 20px; flex-wrap: wrap; }
.calc-subrow .field-group { flex: 1 1 160px; }
.calc-subrow label { font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-subrow input { padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--border); font-size: 14px; }
.calc-result {
  flex: 1 1 320px;
  min-width: 280px;
  background: linear-gradient(135deg, var(--navy), #1B2170);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--white);
}
.calc-result .emi { font-size: 40px; font-weight: 800; }
.calc-result .divider { height: 1px; background: rgba(255,255,255,0.14); }
.calc-result .row { display: flex; justify-content: space-between; font-size: 14px; }
.calc-result .row span:last-child { font-weight: 700; }
.calc-result .row span:first-child { color: #B9BEE6; }
.calc-disclaimer { margin-top: 16px; font-size: 12px; color: var(--muted-2); line-height: 1.5; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.section-white { background: var(--white); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-cool);
  display: flex; align-items: center; justify-content: center;
}
.product-card h3 { font-size: 17px; }
.product-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; min-height: 64px; }
.product-meta { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; border-top: 1px solid var(--border); padding-top: 12px; }
.product-meta .row { display: flex; justify-content: space-between; }
.product-meta .row span:first-child { color: var(--muted-2); }
.product-meta .row span:last-child { font-weight: 700; }

/* ==========================================================================
   Steps / phone mockup
   ========================================================================== */
.steps-layout { display: flex; align-items: flex-start; justify-content: center; gap: 64px; flex-wrap: wrap; }
.phone-wrap { position: sticky; top: max(96px, calc(50vh - 280px)); width: 300px; flex: 0 0 300px; display: flex; align-items: center; justify-content: center; align-self: flex-start; }
.blob { position: absolute; opacity: 0.16; filter: blur(2px); z-index: 0; }
.blob-1 { width: 260px; height: 260px; top: -30px; left: -50px; background: var(--gradient-cool); border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; }
.blob-2 { width: 220px; height: 220px; bottom: -40px; right: -40px; background: var(--gradient-main); border-radius: 58% 42% 35% 65% / 55% 55% 45% 45%; }
.phone {
  position: relative; z-index: 1; width: 272px; height: 560px;
  border-radius: 44px; background: var(--navy); padding: 14px;
  box-shadow: var(--shadow-pop);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; background: var(--white);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; position: relative;
}
.phone-notch { width: 54px; height: 6px; border-radius: 3px; background: var(--border); margin: 0 auto 2px; }
.phone-topbar { display: flex; align-items: center; gap: 8px; }
.phone-topbar img { height: 18px; width: auto; flex: 0 0 auto; }
.phone-topbar-signal { font-size: 8px; letter-spacing: 1px; color: #B9BEE6; margin-left: auto; }
.phone-step { display: none; flex: 1; flex-direction: column; gap: 14px; }
.phone-step.active { display: flex; }

/* Download-app phone: quick actions, activity feed, tab bar */
.phone-app-mock .phone-screen { justify-content: flex-start; }
.phone-quick-row { display: flex; gap: 8px; margin-top: 2px; }
.phone-quick-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: #F5F7FC; border: 1px solid #EEF1FD; border-radius: 12px; padding: 10px 4px;
  font-size: 10px; font-weight: 700; color: var(--navy); text-align: center;
}
.phone-quick-icon {
  width: 28px; height: 28px; border-radius: 9px; background: #EEF1FD;
  display: flex; align-items: center; justify-content: center;
}
.phone-activity-row { display: flex; align-items: center; gap: 10px; }
.phone-activity-dot { width: 8px; height: 8px; border-radius: 50%; background: #174BFA; flex: 0 0 8px; }
.phone-activity-title { font-size: 12px; font-weight: 700; color: var(--navy); }
.phone-activity-sub { font-size: 10px; color: var(--muted); }
.phone-tabbar {
  margin-top: auto; padding-top: 10px; border-top: 1px solid #EEF1FD;
  display: flex; justify-content: space-around;
}
.phone-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; color: #9499BD; }
.phone-tab.active { color: #174BFA; }

.timeline { flex: 1 1 420px; min-width: 300px; max-width: 460px; display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 20px; align-items: stretch; min-height: max(220px, 40vh); padding-top: 10px; }
.timeline-item:last-child { min-height: 300px; }
.phone-step.active { animation: phoneStepIn 0.35s ease; }
@keyframes phoneStepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.timeline-copy { transition: opacity 0.25s ease; }
.timeline-copy.upcoming { opacity: 0.7; }

@media (max-width: 880px) {
  .steps-layout { gap: 24px; flex-direction: column; align-items: center; }

  /* Phone: real smaller size (not scaled) so text stays readable */
  .phone-wrap { position: relative; top: auto; width: 100%; flex: 0 0 auto; padding: 8px 0; }
  .phone-wrap .phone { width: 236px; height: 440px; padding: 10px; border-radius: 38px; }
  .phone-wrap .phone-screen { padding: 16px 14px; gap: 12px; border-radius: 30px; }
  .phone-wrap .phone-topbar img { height: 16px; }
  .phone-wrap .blob-1 { width: 170px; height: 170px; top: 20px; left: calc(50% - 175px); }
  .phone-wrap .blob-2 { width: 150px; height: 150px; top: auto; bottom: 10px; right: calc(50% - 170px); }

  /* Steps: horizontal stepper + active step card */
  .timeline {
    display: grid; grid-template-columns: repeat(3, 1fr) auto;
    width: 100%; max-width: 340px; min-width: 0; flex: 0 0 auto; row-gap: 16px;
  }
  .timeline-item { display: contents; }
  .timeline .marker-col { flex-direction: row; width: auto; flex: none; align-items: center; grid-row: 1; }
  .timeline .marker-dot, .timeline .marker-dot.active { width: 34px; height: 34px; flex: 0 0 34px; }
  .timeline .marker-line { width: auto; height: 3px; flex: 1; min-height: 0; margin: 0 6px; border-radius: 2px; }
  .timeline .timeline-copy { display: none; grid-row: 2; grid-column: 1 / -1; }
  .timeline .timeline-copy.active {
    display: block; text-align: center;
    background: var(--white); border: 1px solid var(--border-soft); border-radius: 16px;
    padding: 16px 18px; box-shadow: 0 8px 24px rgba(16,22,79,0.06); min-height: 132px;
    animation: phoneStepIn 0.35s ease;
  }
  .timeline .timeline-copy h3 { font-size: 17px; margin-bottom: 6px; }
  .timeline .timeline-copy p { font-size: 14px; line-height: 1.55; max-width: none; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .phone-step.active { animation: none; } }
.marker-col { display: flex; flex-direction: column; align-items: center; width: 32px; flex: 0 0 32px; }
.marker-dot {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 30px;
  font-size: 13px; font-weight: 800; transition: all 0.2s ease;
}
.marker-dot.upcoming { background: var(--white); border: 2.5px solid #D7DBF3; color: var(--muted-2); }
.marker-dot.active { width: 34px; height: 34px; flex-basis: 34px; background: var(--gradient-main); color: var(--white); box-shadow: 0 0 0 5px rgba(100,36,232,0.14); }
.marker-dot.done { background: var(--gradient-cool); color: var(--white); }
.marker-line { width: 3px; flex: 1; background: var(--border); margin-top: 2px; }
.marker-line.filled { background: linear-gradient(180deg, var(--teal), var(--blue)); }
.timeline-copy h3 { font-size: 18px; margin-bottom: 6px; }
.timeline-copy h3 .num { color: var(--muted-2); font-weight: 700; margin-right: 4px; }
.timeline-copy.active h3 .num { color: var(--violet); }
.timeline-copy p { font-size: 14.5px; color: var(--muted); line-height: 1.6; max-width: 380px; }
.timeline-copy.upcoming h3 { color: var(--muted-2); }

/* ==========================================================================
   How it works (simple icon steps, used on About)
   ========================================================================== */
.step-icon-card { display: flex; flex-direction: column; gap: 14px; }
.step-icon-card .step-num { font-size: 32px; font-weight: 800; color: var(--border); }
.step-icon-tile { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--violet), var(--blue)); display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   Why choose us (dark)
   ========================================================================== */
.section-dark { background: var(--gradient-navy); }
.section-dark .section-head h2, .section-dark .section-head .eyebrow { color: var(--white); }
.section-dark .eyebrow { color: var(--teal); }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.why-card h3 { font-size: 16px; color: var(--white); }
.why-card p { font-size: 13.5px; color: #B9BEE6; line-height: 1.55; }
.why-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(0,214,197,0.16); display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   Ecosystem flow
   ========================================================================== */
.flow-row { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.flow-box { flex: 1 1 200px; max-width: 220px; background: var(--white); border: 1px solid var(--border-soft); border-radius: 16px; padding: 22px; text-align: center; box-shadow: var(--shadow-card); }
.flow-box.highlight { background: var(--gradient-main); box-shadow: 0 12px 28px rgba(23,75,250,0.25); border: none; }
.flow-box.highlight .flow-label, .flow-box.highlight .flow-title { color: var(--white); }
.flow-label { font-size: 13px; font-weight: 700; color: var(--muted-2); margin-bottom: 6px; }
.flow-title { font-size: 15px; font-weight: 800; color: var(--navy); }
.flow-arrow { flex: 0 0 48px; display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   Eligibility & documents
   ========================================================================== */
.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > div { flex: 1 1 440px; min-width: 300px; }
.criteria-item { display: flex; gap: 14px; align-items: flex-start; }
.criteria-icon { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; background: #EEF1FD; display: flex; align-items: center; justify-content: center; }
.criteria-item strong { display: block; font-size: 14.5px; }
.criteria-item span { font-size: 13.5px; color: var(--muted); }
.doc-box { background: var(--bg); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--border-soft); }
.doc-row { display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; }

/* ==========================================================================
   Trust items
   ========================================================================== */
.trust-item { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border-radius: 16px; padding: 20px; border: 1px solid var(--border-soft); }
.trust-item strong { display: block; font-size: 14.5px; }
.trust-item span { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; background: var(--bg); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; font-family: inherit;
}
.faq-q span.q-text { font-size: 15px; font-weight: 700; color: var(--navy); }
.faq-q span.sign { font-size: 20px; color: var(--blue); font-weight: 700; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 20px 20px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.faq-item.open .faq-a { max-height: 240px; }

/* ==========================================================================
   Final CTA + footer
   ========================================================================== */
.final-cta { background: var(--white); padding: 24px 0 64px; }
.cta-banner {
  text-align: center; border-radius: 24px; padding: 48px 32px;
  background: #F3F5FD; border: 1px solid #E3E8FA;
}
.cta-banner h2 { font-size: 32px; line-height: 1.2; margin-bottom: 10px; }
.cta-banner p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 auto 24px; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-btn-outline { color: var(--navy); border: 1.5px solid #C9D0EE; background: var(--white); }
.cta-btn-outline:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width: 560px) {
  .final-cta { padding: 16px 0 44px; }
  .cta-banner { padding: 36px 20px; border-radius: 20px; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner p { font-size: 15px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

footer.site-footer { background: #0B0F3D; color: #B9BEE6; padding: 56px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 32px; width: auto; margin-bottom: 16px; }
.footer-about { font-size: 14px; line-height: 1.6; color: #9DA2CF; margin: 0 0 18px; max-width: 300px; }
.footer-partner { font-size: 14px; color: var(--white); margin: 0; line-height: 1.5; }
.footer-partner span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7B80B3; margin-bottom: 4px; }
.footer-partner em { font-style: normal; color: #9DA2CF; font-size: 13px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7B80B3; margin: 0 0 4px; }
.footer-col a { font-size: 14.5px; color: #D5D8F2; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { padding: 20px 0 24px; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom > span { font-size: 13.5px; color: #B9BEE6; }
.footer-bottom p { margin: 0; font-size: 12px; line-height: 1.6; color: #6F74A6; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  footer.site-footer { padding-top: 44px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col a { font-size: 14px; }
}




/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-hero { background: var(--gradient-navy); padding: 64px 0; text-align: center; }
.page-hero h1 { color: var(--white); font-size: 40px; }
.page-hero p { color: #C7CCEE; font-size: 16px; margin-top: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: 13px; color: var(--muted-2); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted-2); }
.legal-content { max-width: 820px; margin: 0 auto; padding: 72px 24px; }
.legal-content h2 { font-size: 22px; margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content .updated { font-size: 13px; color: var(--muted-2); margin-bottom: 32px; }

/* ==========================================================================
   Apply flow
   ========================================================================== */
.apply-shell { max-width: 640px; margin: 0 auto; padding: 56px 24px 96px; }
.apply-progress { display: flex; gap: 8px; margin-bottom: 36px; }
.apply-progress .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.apply-progress .bar span { display: block; height: 100%; width: 0%; background: var(--gradient-main); transition: width 0.3s ease; }
.apply-progress .bar.done span { width: 100%; }
.apply-progress .bar.current span { width: 50%; }
.apply-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-card); border: 1px solid var(--border-soft); }
.apply-card h2 { font-size: 24px; margin-bottom: 8px; }
.apply-card .sub { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.apply-field { margin-bottom: 20px; }
.apply-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.apply-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .apply-grid-2 { grid-template-columns: 1fr; } }
.otp-boxes { display: flex; gap: 12px; margin-bottom: 8px; }
.otp-boxes input {
  flex: 1; height: 56px; text-align: center; font-size: 22px; font-weight: 700;
  border-radius: 12px; border: 1.5px solid var(--border); color: var(--navy);
}
.otp-boxes input:focus { border-color: var(--blue); outline: none; }
.apply-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.link-btn { background: none; border: none; color: var(--muted); font-weight: 600; font-size: 14px; }
.link-btn:hover { color: var(--navy); }
.consent-box { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.consent-box input { margin-top: 3px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--success-bg); color: var(--success); font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 20px; }
.review-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.review-row span:first-child { color: var(--muted); }
.review-row span:last-child { font-weight: 700; }
.app-step-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-cool); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }

@media (max-width: 640px) {
  .hero-copy h1 { font-size: 38px; }
  .section-head h2 { font-size: 28px; }
  section { padding: 64px 0; }
  .download-app .container { gap: 36px; }
  .download-visual { width: 100%; }
  .phone { width: 240px; height: 492px; padding: 12px; }
  .blob-1, .download-visual .blob-1 { width: 180px; height: 180px; }
  .blob-2, .download-visual .blob-2 { width: 160px; height: 160px; }
}

/* ==========================================================================
   App promo (Download the app)
   ========================================================================== */
.app-promo {
  background: linear-gradient(180deg, #F5F7FF 0%, #EEF1FD 100%);
  padding: 52px 0;
  overflow: hidden;
}
.app-promo-row {
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.app-promo-copy { flex: 1 1 460px; max-width: 500px; }
.app-promo-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #6424E8; margin-bottom: 14px;
}
.app-promo-copy h2 { font-size: 36px; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.01em; }
.app-promo-copy p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; }
.app-promo-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff;
  padding: 9px 18px 9px 14px; border-radius: 10px;
  border: 1px solid #3a3a3a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}
.app-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.22); }
.app-badge > span { display: flex; flex-direction: column; line-height: 1.15; }
.app-badge small { font-size: 9.5px; color: #d6d6d6; }
.app-badge strong { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }

/* Visual */
.app-promo-visual {
  flex: 0 0 340px; height: 430px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.app-promo-circle { position: absolute; border-radius: 50%; z-index: 0; }
.circle-mint  { width: 240px; height: 240px; top: 10px; left: 0; background: linear-gradient(135deg, #D6F5F0, #C9EEF6); }
.circle-lilac { width: 190px; height: 190px; bottom: 16px; right: -6px; background: linear-gradient(135deg, #E4E1FB, #D9D3F8); }

.device {
  position: relative; z-index: 1;
  width: 214px; height: 420px;
  background: #15161C; border-radius: 38px; padding: 9px;
  box-shadow: 0 0 0 2px #2b2d36, 0 40px 70px rgba(16,22,79,0.28);
  animation: deviceFloat 5s ease-in-out infinite;
}
@keyframes deviceFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.device-screen {
  position: relative; height: 100%; overflow: hidden;
  background: #fff; border-radius: 30px;
  padding: 10px 13px 14px;
  display: flex; flex-direction: column; gap: 7px;
}
.device-status { display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 700; color: #10164F; }
.device-island { width: 62px; height: 18px; border-radius: 12px; background: #15161C; }
.device-signal { font-size: 6px; letter-spacing: 1px; }
.device-toolbar { display: flex; justify-content: space-between; margin-top: 2px; }
.device-logo { height: 20px; width: auto; align-self: flex-start; }
.device-card {
  background: linear-gradient(160deg, #EEF6FF, #E6FAF6);
  border: 1px solid #DDEBF7; border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; gap: 5px;
}
.device-card-top { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 700; color: #5A5F8A; }
.device-card strong { font-size: 18px; font-weight: 800; color: #10164F; }
.device-card small { font-size: 8.5px; color: #5A5F8A; }
.device-bar { height: 5px; border-radius: 3px; background: #DCE2F3; overflow: hidden; }
.device-bar div { width: 55%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #174BFA, #6424E8); }
.device-section { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; color: #10164F; margin-top: 2px; }
.device-link { color: #174BFA; font-weight: 700; font-size: 9px; }
.device-item {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 9px; border-radius: 10px; border: 1px solid #EDF0FA; background: #fff;
}
.device-item-icon { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.device-item div { display: flex; flex-direction: column; line-height: 1.25; }
.device-item b { font-size: 9.5px; color: #10164F; }
.device-item small { font-size: 8px; color: var(--muted); }
.device-chev { margin-left: auto; color: #9499BD; font-size: 13px; }
.device-fab {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #174BFA, #6424E8); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600;
  box-shadow: 0 8px 18px rgba(23,75,250,0.35);
}

@media (max-width: 880px) {
  .app-promo { padding: 44px 0; }
  .app-promo-row { flex-direction: column; text-align: center; gap: 28px; }
  .app-promo-copy { max-width: 560px; flex-basis: auto; }
  .app-promo-copy h2 { font-size: 28px; }
  .app-promo-badges { justify-content: center; }
  .app-promo-visual { flex-basis: auto; width: 100%; max-width: 320px; height: 430px; }
  .circle-mint { width: 200px; height: 200px; left: 0; }
  .circle-lilac { width: 160px; height: 160px; right: 0; }
}
@media (prefers-reduced-motion: reduce) { .device { animation: none; } }

/* Why Choose Fynlo — single column on mobile */
@media (max-width: 720px) {
  .wc-line { left: 26px; transform: none; }
  .wc-row { gap: 14px; margin-bottom: 14px; }
  .wc-side { display: none; }
  .wc-dotwrap { order: -1; }
  .wc-card, .wc-card.right { text-align: left; padding: 16px 18px; }
  .wc-anim .wc-row.in-view .wc-card.right { animation-name: wcSlideRight; }
}

/* Getting Started phone — app-style screens */
.phone-screen.gs-screen { padding: 10px 14px 0; gap: 10px; justify-content: flex-start; }
.gs-status { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; color: #10164F; padding: 0 4px; }
.gs-island { width: 64px; height: 18px; border-radius: 12px; background: #10164F; }
.gs-status-icons { display: flex; align-items: center; gap: 4px; }
.gs-header { display: flex; align-items: center; gap: 10px; }
.gs-avatar {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
  background: var(--gradient-main); display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #E3E8FF;
}
.gs-greet { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.gs-greet small { font-size: 9.5px; color: #8A8FB8; font-weight: 600; }
.gs-greet strong { font-size: 14px; color: #10164F; font-weight: 800; }
.gs-bell { position: relative; width: 32px; height: 32px; border-radius: 50%; background: #F3F5FD; display: flex; align-items: center; justify-content: center; }
.gs-bell i { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #FF5A5F; border: 1.5px solid #F3F5FD; }

.phone-screen.gs-screen .phone-step { gap: 10px; }
.gs-hero-card {
  background: linear-gradient(135deg, #174BFA 0%, #6424E8 100%); color: #fff;
  border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px;
  position: relative; overflow: hidden;
}
.gs-hero-card::after { content: ""; position: absolute; right: -24px; top: -24px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.gs-hero-card small { font-size: 9.5px; opacity: 0.85; }
.gs-hero-card strong { font-size: 22px; font-weight: 800; color: #fff; }
.gs-chip-light { align-self: flex-start; font-size: 8.5px; font-weight: 700; background: rgba(255,255,255,0.18); border-radius: 20px; padding: 3px 8px; margin-top: 2px; }
.gs-panel { background: #F6F8FE; border: 1px solid #EBEEFA; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.gs-row { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: #5A5F8A; font-weight: 600; }
.gs-row b { color: #10164F; font-size: 11.5px; }
.gs-slider { position: relative; height: 6px; border-radius: 3px; background: #E1E5F5; }
.gs-slider div { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #174BFA, #6424E8); }
.gs-slider span { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #6424E8; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(100,36,232,0.35); }
.gs-chips { display: flex; gap: 6px; }
.gs-chips span { flex: 1; text-align: center; font-size: 10px; font-weight: 700; color: #5A5F8A; background: #fff; border: 1.5px solid #E1E5F5; border-radius: 8px; padding: 5px 0; }
.gs-chips span.on { color: #174BFA; border-color: #174BFA; background: #EEF1FD; }
.gs-btn {
  margin-top: auto; margin-bottom: 4px; text-align: center; color: #fff; font-size: 12.5px; font-weight: 700;
  background: var(--gradient-main); border-radius: 12px; padding: 11px 0; box-shadow: 0 6px 14px rgba(23,75,250,0.28);
}
.gs-title-row { display: flex; justify-content: space-between; align-items: baseline; }
.gs-title-row b { font-size: 14px; color: #10164F; font-weight: 800; }
.gs-title-row span { font-size: 9.5px; color: #8A8FB8; font-weight: 700; }
.gs-progress { height: 4px; border-radius: 2px; background: #E7EAF7; margin-top: -4px; }
.gs-progress div { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #00BDEB, #174BFA); }
.gs-field { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #EBEEFA; border-radius: 12px; background: #fff; }
.gs-field div { display: flex; flex-direction: column; line-height: 1.25; }
.gs-field small { font-size: 8.5px; color: #8A8FB8; font-weight: 600; }
.gs-field b { font-size: 11.5px; color: #10164F; }
.gs-ficon { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.gs-verify { background: linear-gradient(165deg, #EEF1FD, #E3F8F6); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gs-verify-avatar {
  position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--gradient-main);
  display: flex; align-items: flex-end; justify-content: center; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(23,75,250,0.25);
}
.gs-verify-avatar svg { margin-bottom: 4px; }
.gs-verify-avatar i { position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; border-radius: 50%; background: #00C48C; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.gs-badges { display: flex; gap: 6px; }
.gs-badges span { font-size: 9.5px; font-weight: 700; color: #00926A; background: #DFF7EE; border-radius: 20px; padding: 3px 9px; }
.gs-otp { display: flex; gap: 8px; }
.gs-otp span { flex: 1; height: 36px; border-radius: 10px; border: 1.5px solid #174BFA; background: #F6F8FE; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #10164F; }
.gs-otp span.cur { border-color: #E1E5F5; background: #fff; position: relative; }
.gs-otp span.cur::after { content: ""; width: 2px; height: 16px; background: #174BFA; animation: gsBlink 1s steps(1) infinite; }
@keyframes gsBlink { 50% { opacity: 0; } }
.gs-success { background: linear-gradient(165deg, #EEF1FD, #E3F8F6); border-radius: 16px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.gs-success-icon { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #00C48C, #00BDEB); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(0,196,140,0.15); margin-bottom: 6px; }
.gs-success small { font-size: 10px; color: #5A5F8A; font-weight: 700; }
.gs-success strong { font-size: 22px; font-weight: 800; color: #10164F; }
.gs-success span { font-size: 9.5px; color: #5A5F8A; }
.gs-nav { display: flex; justify-content: space-around; border-top: 1px solid #EEF0F8; padding: 8px 0 10px; margin: 0 -14px; background: #fff; }
.gs-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; font-weight: 700; color: #A3A8C8; }
.gs-nav span.on { color: #174BFA; }

@media (max-width: 880px) {
  .phone-wrap .phone-screen.gs-screen { padding: 8px 12px 0; gap: 8px; }
  .phone-screen.gs-screen .phone-step { gap: 8px; }
  .gs-hide-sm { display: none !important; }
  .gs-nav { margin: 0 -12px; padding: 6px 0 8px; }
  .gs-hero-card { padding: 12px; }
  .gs-hero-card strong, .gs-success strong { font-size: 19px; }
  .gs-verify { padding: 10px; gap: 8px; }
  .gs-verify-avatar { width: 48px; height: 48px; }
  .gs-otp span { height: 32px; }
  .gs-success { padding: 12px 10px; }
  .gs-success-icon { width: 40px; height: 40px; }
}

/* Centred user icons in the Getting Started phone */
.gs-avatar { align-items: center; }
.gs-avatar svg { display: block; }
.gs-verify { padding-top: 16px; gap: 14px; }
.gs-verify-avatar {
  align-items: center; width: 60px; height: 60px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(23,75,250,0.22);
}
.gs-verify-avatar svg { margin: 0; display: block; }
.gs-verify-avatar i { right: -6px; bottom: -4px; width: 22px; height: 22px; box-shadow: 0 2px 6px rgba(0,146,106,0.35); }
@media (max-width: 880px) {
  .gs-verify { padding: 14px 10px 12px; gap: 14px; }
  .gs-verify-avatar { width: 52px; height: 52px; }
  .gs-verify-avatar svg { width: 24px; height: 24px; }
  .gs-verify-avatar i { width: 20px; height: 20px; }
}

/* ==========================================================================
   Eligibility + Documents
   ========================================================================== */
.elig-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.elig-card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 22px;
  padding: 28px; box-shadow: 0 10px 30px rgba(16,22,79,0.06);
  display: flex; flex-direction: column;
}
.elig-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.elig-card-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(23,75,250,0.22); }
.elig-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); margin-bottom: 2px; }
.elig-card-head h3 { font-size: 21px; }

.crit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.crit {
  display: flex; align-items: flex-start; gap: 12px;
  background: #F8F9FE; border: 1px solid #EEF0FA; border-radius: 14px; padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.crit:hover { transform: translateY(-3px); border-color: #DCE2FA; box-shadow: 0 10px 22px rgba(16,22,79,0.08); }
.crit-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.crit strong { display: block; font-size: 14.5px; color: var(--navy); margin: 1px 0 3px; }
.crit span:not(.crit-icon) { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }

.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; background: #F8F9FE; border: 1px solid #EEF0FA;
  font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.4;
}
.doc-icon { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; background: #E3F8F6; color: #00A99A; display: flex; align-items: center; justify-content: center; }
.doc-note {
  margin: auto 0 0; padding-top: 16px; display: flex; gap: 8px; align-items: flex-start;
  font-size: 12.5px; line-height: 1.5; color: var(--muted);
}
.doc-note svg { flex: 0 0 15px; margin-top: 1px; color: #174BFA; }

@media (max-width: 980px) {
  .elig-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .elig-card { padding: 20px 16px; border-radius: 18px; }
  .elig-card-head { margin-bottom: 16px; padding-bottom: 14px; }
  .elig-card-head h3 { font-size: 19px; }
  .crit-grid { grid-template-columns: 1fr; gap: 10px; }
  .crit { padding: 12px; align-items: center; }
  .doc-item { font-size: 14px; padding: 11px 12px; }
}
.elig-cta { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.elig-cta span { font-size: 13px; color: var(--muted); }
.doc-item { padding: 10px 14px; }
@media (max-width: 600px) {
  .elig-cta { flex-direction: column; align-items: stretch; text-align: center; gap: 8px; }
}

/* ==========================================================================
   Scroll reveal (enabled by JS adding .reveal-on to <html>)
   ========================================================================== */
.reveal-on [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--d, 0s);
}
.reveal-on [data-reveal="right"] { transform: translateX(24px); }
.reveal-on [data-reveal].revealed { opacity: 1; transform: none; }
/* after reveal, let hover effects use their own fast transition */
.reveal-on .crit.revealed { transition: opacity 0.6s ease var(--d,0s), transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Eligibility alignment polish */
.elig-section .section-head { margin-bottom: 40px; }
.crit { align-items: center; min-height: 76px; }
.crit-icon { transition: transform 0.25s ease; }
.crit:hover .crit-icon { transform: scale(1.08) rotate(-4deg); }
.doc-item { min-height: 52px; }
.elig-card-head h3 { line-height: 1.2; }
.reveal-on .crit.revealed:hover { transform: translateY(-3px); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-section { padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 32px; margin: 10px 0 12px; }
.contact-lead { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 24px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 16px;
  padding: 16px 18px; margin-bottom: 12px; color: inherit;
  box-shadow: 0 6px 18px rgba(16,22,79,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.contact-card:hover { border-color: #D5DCFA; box-shadow: 0 12px 26px rgba(16,22,79,0.1); }
.reveal-on a.contact-card.revealed:hover { transform: translateY(-3px); }
.contact-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.contact-card strong { display: block; font-size: 16px; color: var(--navy); }
.contact-arrow { margin-left: auto; color: var(--blue); font-size: 18px; font-weight: 700; transition: transform 0.2s ease; }
a.contact-card:hover .contact-arrow { transform: translateX(4px); }

.contact-form-card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 22px;
  padding: 30px; box-shadow: 0 16px 40px rgba(16,22,79,0.08);
}
.contact-form-card h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form-card > p { color: var(--muted); font-size: 14px; margin: 0 0 22px; line-height: 1.5; }
#contactForm { display: flex; flex-direction: column; gap: 16px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field span { font-size: 13px; font-weight: 700; color: var(--navy); }
.cf-field input, .cf-field select, .cf-field textarea {
  font: inherit; font-size: 14.5px; color: var(--navy);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; background: #FAFBFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(23,75,250,0.1);
}
.cf-field .invalid { border-color: #E0445E; background: #FFF7F8; }
.cf-hint { margin: -4px 0 0; font-size: 12.5px; color: var(--muted); }
.cf-error { margin: 0; font-size: 13px; color: #C42F48; font-weight: 600; }

.contact-faq {
  margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, #EEF1FD, #E6FAF6); border-radius: 18px; padding: 22px 26px;
}
.contact-faq strong { display: block; font-size: 17px; color: var(--navy); margin-bottom: 2px; }
.contact-faq span { font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .contact-section { padding: 48px 0; }
  .contact-info h2 { font-size: 26px; }
  .contact-form-card { padding: 22px 18px; border-radius: 18px; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-faq { padding: 20px; }
  .contact-faq .btn { width: 100%; }
}

/* Tighter spacing: FAQs + mobile app section */
#faqs { padding: 56px 0; }
#faqs .section-head { margin-bottom: 28px; }
#faqs .faq-list { gap: 10px; }
#faqs .faq-q { padding: 15px 18px; }
.app-promo { padding: 36px 0; }
.app-promo-copy h2 { margin-bottom: 12px; }
.app-promo-copy p { margin-bottom: 18px; }
@media (max-width: 880px) {
  #faqs { padding: 44px 0; }
  #faqs .section-head { margin-bottom: 22px; }
  .app-promo { padding: 32px 0; }
  .app-promo-row { gap: 20px; }
}

/* ==========================================================================
   Hero — two-column with loan card visual
   ========================================================================== */
.hero {
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(0,189,235,0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(100,36,232,0.35), transparent 60%),
    linear-gradient(160deg, #0B0F3D 0%, #141A5E 55%, #1E1670 100%);
}
.hero::before {
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 65% 40%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 65% 40%, #000 15%, transparent 70%);
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; animation: ctaOrb 10s ease-in-out infinite; }
.hero-orb-1 { width: 320px; height: 320px; right: 6%; top: -120px; background: radial-gradient(circle, rgba(0,214,197,0.28), transparent 70%); }
.hero-orb-2 { width: 260px; height: 260px; left: -80px; bottom: -100px; background: radial-gradient(circle, rgba(23,75,250,0.4), transparent 70%); animation-delay: -5s; }

.hero .container.hero-grid {
  max-width: var(--container, 1200px);
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px;
  text-align: left; padding-top: 72px; padding-bottom: 88px;
}
.hero-grid .hero-copy { align-items: flex-start; gap: 20px; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: #00D6C5; box-shadow: 0 0 0 4px rgba(0,214,197,0.2); animation: heroPulse 2s ease-in-out infinite; }
@keyframes heroPulse { 50% { box-shadow: 0 0 0 8px rgba(0,214,197,0); } }
.hero-grid .hero-copy h1 { font-size: 58px; letter-spacing: -0.02em; }
.hero-grid .hero-copy h1 .accent { background: linear-gradient(90deg, #00D6C5, #5AA2FF 60%, #A98BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-grid .hero-copy > p { max-width: 520px; }
.hero-grid .hero-cta-row { justify-content: flex-start; }
.hero-grid .hero-cta-row .btn-primary { box-shadow: 0 12px 28px rgba(23,75,250,0.45); }
.hero-grid .hero-trustbar { justify-content: flex-start; gap: 22px; margin-top: 8px; }

/* entrance animation */
.hero-grid .hero-copy > * { opacity: 0; animation: heroIn 0.7s cubic-bezier(.22,1,.36,1) forwards; }
.hero-grid .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-grid .hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-grid .hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-grid .hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-grid .hero-copy > *:nth-child(5) { animation-delay: .45s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* visual */
.hero-visual { position: relative; height: 470px; display: flex; align-items: center; justify-content: center; opacity: 0; animation: heroIn 0.9s cubic-bezier(.22,1,.36,1) .3s forwards; }
.hv-ring { position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.18); animation: hvSpin 40s linear infinite; }
.hv-ring::before { content: ""; position: absolute; inset: 50px; border-radius: 50%; background: radial-gradient(circle, rgba(23,75,250,0.35), transparent 70%); }
@keyframes hvSpin { to { transform: rotate(360deg); } }
.hv-card {
  position: relative; z-index: 2; width: 300px; background: var(--white); border-radius: 24px; padding: 20px;
  box-shadow: 0 30px 70px rgba(3,6,40,0.55); animation: ctaFloat 6s ease-in-out infinite;
}
.hv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hv-avatar { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #EEF1FD; }
.hv-head small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.hv-head b { display: block; font-size: 14px; color: var(--navy); }
.hv-tag { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #00926A; background: #DFF7EE; border-radius: 999px; padding: 4px 9px; }
.hv-label { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.hv-amount { display: block; font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.01em; }
.hv-slider { position: relative; height: 8px; border-radius: 4px; background: #E7EAF7; }
.hv-slider div { width: 72%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #00BDEB, #174BFA, #6424E8); }
.hv-slider span { position: absolute; left: 72%; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid #6424E8; transform: translate(-50%,-50%); box-shadow: 0 3px 10px rgba(100,36,232,0.4); }
.hv-scale { display: flex; justify-content: space-between; font-size: 10.5px; color: #9499BD; font-weight: 600; margin: 8px 0 16px; }
.hv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.hv-stats div { background: #F6F8FE; border: 1px solid #EBEEFA; border-radius: 12px; padding: 10px 12px; }
.hv-stats small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.hv-stats b { display: block; font-size: 15px; color: var(--navy); }
.hv-btn { text-align: center; color: #fff; font-weight: 700; font-size: 14px; border-radius: 12px; padding: 12px; background: var(--gradient-main); box-shadow: 0 8px 18px rgba(23,75,250,0.35); }

.hv-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.97); border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: 0 18px 40px rgba(3,6,40,0.45);
}
.hv-chip-icon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; }
.hv-chip b { display: block; font-size: 12.5px; color: var(--navy); }
.hv-chip small { display: block; font-size: 10.5px; color: var(--muted); }
.hv-chip-1 { left: 0; top: 70px; animation: ctaFloat 5s ease-in-out -1s infinite; }
.hv-chip-2 { right: -6px; top: 150px; animation: ctaFloat 5.5s ease-in-out -2.5s infinite; }
.hv-chip-3 { left: 20px; bottom: 50px; animation: ctaFloat 6s ease-in-out -4s infinite; }

@media (max-width: 980px) {
  .hero .container.hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 56px; padding-bottom: 64px; gap: 32px; }
  .hero-grid .hero-copy { align-items: center; }
  .hero-grid .hero-cta-row, .hero-grid .hero-trustbar { justify-content: center; }
  .hero-visual { height: 420px; max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero-grid .hero-copy h1 { font-size: 40px; }
  .hero-visual { height: 380px; }
  .hv-ring { width: 300px; height: 300px; }
  .hv-card { width: 250px; padding: 16px; border-radius: 20px; }
  .hv-amount { font-size: 28px; }
  .hv-chip { padding: 8px 12px 8px 8px; }
  .hv-chip-icon { width: 26px; height: 26px; flex-basis: 26px; }
  .hv-chip-1 { left: -4px; top: 18px; }
  .hv-chip-2 { right: -4px; top: auto; bottom: 120px; }
  .hv-chip-3 { left: -4px; bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hv-ring, .hv-card, .hv-chip, .hero-badge i { animation: none; }
  .hero-grid .hero-copy > *, .hero-visual { opacity: 1; animation: none; }
}
/* hero visual fixes */
.hero-visual { text-align: left; }
.hv-tag { white-space: nowrap; }
.hv-chip-1 { left: -24px; top: 40px; }
@media (max-width: 560px) {
  .hero-visual { height: 450px; max-width: 340px; }
  .hv-chip-2 { display: none; }
  .hv-chip-1 { left: auto; right: 0; top: 0; }
  .hv-chip-3 { left: 0; bottom: 0; }
}
.hv-head b { white-space: nowrap; }

/* Shared float animations (hero + CTA) */
@keyframes ctaOrb { 0%,100% { transform: translate(0,0); } 50% { transform: translate(14px,-12px); } }
@keyframes ctaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ==========================================================================
   Grievance Redressal page
   ========================================================================== */
.gr-section { padding: 72px 0; }
.gr-section .section-head { margin-bottom: 32px; }
.gr-head-2 { margin-top: 64px; }
.gr-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.gr-step {
  position: relative; background: var(--white); border: 1px solid var(--border-soft); border-radius: 18px;
  padding: 26px 22px 22px; box-shadow: 0 8px 24px rgba(16,22,79,0.05);
}
.gr-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -17px; top: 34px; z-index: 1;
  width: 14px; text-align: center; color: #9AA3E0; font-weight: 800;
}
.gr-step-num {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-main); color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(23,75,250,0.28);
}
.gr-step h3 { font-size: 17px; margin-bottom: 8px; }
.gr-step p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.gr-step strong { color: var(--navy); }

.gr-officers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gr-card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 22px; padding: 28px;
  box-shadow: 0 12px 32px rgba(16,22,79,0.07);
}
.gr-role { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); background: #EEF1FD; border-radius: 999px; padding: 5px 11px; margin-bottom: 12px; }
.gr-role-partner { color: #00926A; background: #DFF7EE; }
.gr-card h3 { font-size: 21px; margin-bottom: 18px; }
.gr-person { display: flex; align-items: center; gap: 12px; padding: 14px; background: #F6F8FE; border: 1px solid #EBEEFA; border-radius: 14px; margin-bottom: 18px; }
.gr-avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; }
.gr-person small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.gr-person strong { display: block; font-size: 16px; color: var(--navy); }
.gr-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gr-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.gr-contact svg { flex: 0 0 16px; margin-top: 3px; color: var(--blue); }
.gr-contact a { color: var(--navy); font-weight: 600; word-break: break-all; }
.gr-contact a:hover { color: var(--blue); }

.gr-note {
  margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(120deg, #174BFA, #6424E8); border-radius: 20px; padding: 24px 28px; color: #fff;
}
.gr-note-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.gr-note-text { flex: 1 1 320px; }
.gr-note-text strong { display: block; font-size: 17px; margin-bottom: 2px; }
.gr-note-text p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.88); line-height: 1.55; }
.gr-note .btn-white { color: var(--blue); }

@media (max-width: 900px) {
  .gr-steps, .gr-officers { grid-template-columns: 1fr; }
  .gr-step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%); }
}
@media (max-width: 520px) {
  .gr-section { padding: 48px 0; }
  .gr-head-2 { margin-top: 44px; }
  .gr-card { padding: 22px 18px; }
  .gr-note { padding: 22px 18px; }
  .gr-note .btn { width: 100%; }
}
@media (max-width: 520px) { .gr-contact li { font-size: 13.5px; } .gr-contact a { word-break: normal; overflow-wrap: anywhere; } }

/* FAQs — compact */
#faqs { padding: 40px 0 24px; }
#faqs .section-head { margin-bottom: 20px; gap: 6px; }
#faqs .section-head h2 { font-size: 30px; }
#faqs .faq-list { gap: 8px; }
#faqs .faq-q { padding: 12px 18px; }
#faqs .faq-a p { margin-top: 0; padding-bottom: 12px; }
#faqs + .final-cta, #faqs ~ .final-cta { padding-top: 24px; }
@media (max-width: 880px) {
  #faqs { padding: 32px 0 16px; }
  #faqs .section-head h2 { font-size: 24px; }
  #faqs .faq-q { padding: 11px 14px; }
}

/* Page hero (inner pages) — compact */
.page-hero { padding: 40px 0 44px; }
.page-hero h1 { font-size: 32px; }
.page-hero p { font-size: 15px; margin-top: 8px; max-width: 520px; }
@media (max-width: 600px) {
  .page-hero { padding: 28px 0 32px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14px; }
}
.page-hero p { max-width: 720px; }

/* Legal pages: readable links and list spacing */
.legal-content { padding-top: 48px; padding-bottom: 64px; }
.legal-content a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-content ul { margin: 0 0 16px; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--navy); }
.legal-content .updated { background: #FFF8E6; border: 1px solid #FBE3A6; color: #8A6100; border-radius: 10px; padding: 10px 14px; }
@media (max-width: 600px) { .legal-content { padding-top: 32px; padding-bottom: 44px; } .legal-content h2 { font-size: 19px; } }

/* "excl. interest" helper labels + apply tenure note */
.hv-stats small em, .gs-row em { font-style: normal; font-size: 0.85em; color: #9499BD; font-weight: 600; }
.tenure-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.hv-stats small em { display: block; line-height: 1.2; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-intro { padding: 64px 0; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: 32px; margin: 10px 0 18px; }
.about-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.8; margin: 0 0 16px; }
.about-copy .about-goal { color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.6; margin-top: 22px; padding-left: 16px; border-left: 4px solid; border-image: linear-gradient(180deg, #174BFA, #00D6C5) 1; }

.av-panel {
  position: relative; overflow: hidden; isolation: isolate; height: 500px; border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(400px 300px at 90% 0%, rgba(0,189,235,0.35), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(100,36,232,0.45), transparent 60%),
    linear-gradient(160deg, #0B0F3D, #1A1F6E);
  box-shadow: 0 30px 60px rgba(16,22,79,0.22);
}
.av-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.av-orb { position: absolute; border-radius: 50%; z-index: -1; animation: ctaOrb 10s ease-in-out infinite; }
.av-orb-1 { width: 220px; height: 220px; right: -40px; top: -40px; background: radial-gradient(circle, rgba(0,214,197,0.35), transparent 70%); }
.av-orb-2 { width: 260px; height: 260px; left: -60px; bottom: -80px; background: radial-gradient(circle, rgba(23,75,250,0.5), transparent 70%); animation-delay: -5s; }

.av-phone { width: 230px; height: 430px; background: #0B0F3D; border-radius: 38px; padding: 9px; box-shadow: 0 0 0 2px rgba(255,255,255,0.12), 0 30px 60px rgba(0,0,0,0.45); animation: ctaFloat 6s ease-in-out infinite; }
.av-screen { height: 100%; background: #fff; border-radius: 30px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.av-status { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; color: var(--navy); }
.av-island { width: 58px; height: 16px; border-radius: 10px; background: #0B0F3D; }
.av-user { display: flex; align-items: center; gap: 9px; }
.av-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #EEF1FD; }
.av-user small { display: block; font-size: 9.5px; color: var(--muted); }
.av-user b { display: block; font-size: 13px; color: var(--navy); white-space: nowrap; }
.av-loan { background: linear-gradient(135deg, #174BFA, #6424E8); color: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 5px; }
.av-loan small { font-size: 10px; opacity: 0.85; }
.av-loan strong { font-size: 22px; color: #fff; }
.av-loan span { font-size: 10px; opacity: 0.9; }
.av-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.25); overflow: hidden; }
.av-bar div { width: 66%; height: 100%; background: #7FF0E4; border-radius: 3px; }
.av-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #EDF0FA; border-radius: 12px; }
.av-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.av-row b { display: block; font-size: 11px; color: var(--navy); }
.av-row small { display: block; font-size: 9.5px; color: var(--muted); }

.av-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 18px 40px rgba(3,6,40,0.45); }
.av-chip > span { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 30px; }
.av-chip b { display: block; font-size: 12.5px; color: var(--navy); }
.av-chip small { display: block; font-size: 10.5px; color: var(--muted); }
.av-chip-1 { left: 22px; top: 70px; animation: ctaFloat 5s ease-in-out -1s infinite; }
.av-chip-2 { right: 22px; bottom: 70px; animation: ctaFloat 5.5s ease-in-out -3s infinite; }

.about-values { padding: 64px 0; }
.about-values .section-head { margin-bottom: 32px; }
.value-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 18px; padding: 24px;
  box-shadow: 0 8px 24px rgba(16,22,79,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.reveal-on .value-card.revealed { transition: opacity 0.6s ease var(--d,0s), transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.value-card:hover, .reveal-on .value-card.revealed:hover { transform: translateY(-4px); border-color: #D5DCFA; box-shadow: 0 16px 32px rgba(16,22,79,0.1); }
.value-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; transition: transform 0.25s ease; }
.value-card:hover .value-icon { transform: scale(1.08) rotate(-5deg); }
.value-card strong { font-size: 16px; color: var(--navy); }
.value-card span:not(.value-icon) { font-size: 14px; color: var(--muted); line-height: 1.55; }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .about-intro, .about-values { padding: 44px 0; }
  .about-copy h2 { font-size: 26px; }
  .av-panel { height: 440px; border-radius: 22px; }
  .av-phone { width: 200px; height: 380px; }
  .av-chip { padding: 8px 12px 8px 8px; }
  .av-chip-1 { left: 10px; top: 18px; }
  .av-chip-2 { right: 10px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .av-orb, .av-phone, .av-chip { animation: none; } }
.av-chip-1 { top: 34px; left: 18px; } @media (max-width: 560px) { .av-chip-1 { top: 14px; left: 10px; } }

/* ==========================================================================
   Responsive polish (phones & tablets)
   ========================================================================== */
/* Decorative shapes must never cause sideways scrolling */
main, section { overflow-x: clip; }

/* Comfortable tap targets in the footer */
.footer-col { gap: 2px; }
.footer-col h4 { margin-bottom: 8px; }
.footer-col a { display: block; padding: 7px 0; }

/* Readable store-badge captions */
.app-badge small { font-size: 11px; }

/* Larger consent checkboxes on the apply form */
.consent-box input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--blue); }

/* Tablets (portrait & landscape) */
@media (min-width: 600px) and (max-width: 1024px) {
  .container { padding-left: 32px; padding-right: 32px; }
  .section-head h2 { font-size: 32px; }
  .hero-grid .hero-copy h1 { font-size: 48px; }
  .elig-grid { gap: 20px; }
  .crit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gr-step:not(:last-child)::after { content: "→"; left: auto; right: -17px; top: 34px; bottom: auto; transform: none; }
  .about-values .grid-3, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) and (max-width: 1024px) {
  .gr-officers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 28px; }
  .cf-row { grid-template-columns: 1fr; }
}

/* Small phones (≤ 360px) */
@media (max-width: 360px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-grid .hero-copy h1 { font-size: 34px; }
  .hero-cta-row .btn { padding-left: 20px; padding-right: 20px; }
  .section-head h2, .cta-banner h2 { font-size: 24px; }
  .hv-card { width: 230px; }
  .hv-chip b { font-size: 11.5px; }
  .timeline { max-width: 100%; }
  .app-badge { padding: 8px 12px; }
}
@media (max-width: 1100px) { .elig-grid { grid-template-columns: 1fr; } }



/* About: illustration image */
.about-figure { margin: 0; }
.about-figure img { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.about-figure img { animation: aboutFloat 7s ease-in-out infinite; }
@keyframes aboutFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .about-figure img { animation: none; } }
.gr-steps[hidden] + .gr-head-2, .gr-head-2:first-of-type { margin-top: 0; } [hidden] { display: none !important; }
