/* BankGeeks AI product page. Page chrome uses the app's navy / platinum tokens (data-brand);
   the phone screens reproduce the app's own light theme exactly. */

:root[data-brand="bankgeeks"] { --font-display: var(--font-text); }
html[data-brand="bankgeeks"][lang="en"] .display { font-weight: 600; letter-spacing: -0.04em; line-height: 1.06; }
html[data-brand="bankgeeks"][lang="en"] .h3 { font-weight: 600; letter-spacing: -0.015em; }
.bg-app-icon { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.bg-brand .brand-word { letter-spacing: -0.02em; font-weight: 700; }
.site-footer .brand-word { font-family: "Unbounded", var(--font-text); font-weight: 600; letter-spacing: -0.03em; }

/* ── hero ───────────────────────────────────────────────────────────── */
.p-hero { position: relative; overflow: hidden; }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 7vw, 110px) clamp(56px, 8vw, 120px); position: relative; }
.p-hero h1 { font-size: clamp(2.2rem, 1.2rem + 3.3vw, 4rem); }
.p-hero .lede { margin-top: 24px; }
.p-trust { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--text-3); font-size: 0.95rem; }
.p-trust svg { width: 17px; height: 17px; color: var(--good); flex-shrink: 0; }
.p-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.play-soon { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--text-2); }
.play-soon svg { width: 22px; height: 22px; color: var(--text); }
.play-soon b { color: var(--text); font-weight: 600; }
.p-hero-art { display: grid; justify-items: center; position: relative; isolation: isolate; }
.p-hero-art::before {
  content: ""; position: absolute; z-index: -1; inset: 4% -30%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(124 163 216 / 0.2), transparent);
}
.js .p-hero .rise { opacity: 0; transform: translateY(22px); animation: rise 1s var(--ease) forwards; animation-delay: calc(0.1s + var(--i, 0) * 0.1s); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .p-hero-grid { grid-template-columns: 1fr; }
}

/* ── the phone and the app inside it ────────────────────────────────── */
.p-phone { width: min(100%, 320px); }
.p-phone .phone-screen { background: #f3f5f9; }
.app {
  position: absolute; inset: 0; padding: 0 12px 16px; overflow: hidden;
  color: #101b2d; font-family: var(--font-text); font-size: 12px; line-height: 1.4; background: #f3f5f9;
  display: flex; flex-direction: column; gap: 10px;
}
:lang(ar) .app { font-family: var(--font-ar); }
.app .num { font-variant-numeric: tabular-nums; }
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 10px 2px; font-size: 11px; font-weight: 600; direction: ltr; }
.app-status-icons { display: inline-flex; gap: 4px; }
.app-status-icons i { width: 12px; height: 8px; border-radius: 2px; background: #101b2d; opacity: 0.8; }
.app-status-icons i:first-child { width: 10px; opacity: 0.55; }
.app-head { padding: 2px 4px; }
.app-title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.app-date { font-size: 10.5px; color: #57637a; margin-top: 1px; }

.money-card {
  border-radius: 16px; color: #fff; padding: 14px 14px 6px;
  background: linear-gradient(135deg, #1b335c, #0a1428);
  box-shadow: 0 12px 24px -16px rgb(10 20 40 / 0.6);
}
.mc-label { font-size: 11px; font-weight: 700; color: rgb(255 255 255 / 0.74); }
.mc-total { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; margin-top: 2px; }
.mc-rows { list-style: none; margin: 10px -14px 0; padding: 4px 0 0; border-top: 1px solid rgb(255 255 255 / 0.14); }
.mc-rows li { display: flex; align-items: center; gap: 9px; padding: 7px 14px; transition: background-color 0.4s ease; }
.mc-rows li.flash { background: rgb(255 255 255 / 0.1); }
.mc-ico { width: 24px; height: 24px; border-radius: 50%; background: rgb(255 255 255 / 0.14); position: relative; flex-shrink: 0; }
.mc-ico::after { content: ""; position: absolute; inset: 7px; border-radius: 2px; border: 1.5px solid #c9cfd8; }
.mc-ico.wallet::after { border-radius: 3px; inset: 7px 6px; }
.mc-name { flex: 1; min-width: 0; display: grid; }
.mc-name b { font-size: 11.5px; font-weight: 700; }
.mc-name small { font-size: 9.5px; color: rgb(255 255 255 / 0.74); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-amt { font-size: 12px; font-weight: 800; direction: ltr; }

.app-card { background: #fff; border: 1px solid #e2e7ef; border-radius: 16px; padding: 12px 14px; }
.apc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.apc-title { font-size: 12.5px; font-weight: 800; }
.apc-days { font-size: 10px; color: #57637a; white-space: nowrap; }
.apc-sub { font-size: 10.5px; color: #57637a; margin-top: 8px; }
.apc-big { font-size: 13px; font-weight: 600; }
.apc-big .num { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.apc-big small { font-size: 12px; font-weight: 600; }
.apc-status { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #1e7a4f; font-size: 12px; }
.ok-dot { width: 14px; height: 14px; border-radius: 50%; background: #1e7a4f; position: relative; flex-shrink: 0; }
.ok-dot::after { content: ""; position: absolute; left: 4px; top: 2.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.apc-note { font-size: 10px; color: #57637a; margin-inline-start: 20px; }
.apc-line { display: flex; align-items: center; gap: 8px; border-top: 1px solid #e2e7ef; margin: 10px -14px 0; padding: 9px 14px 0; }
.apc-cal { width: 16px; height: 16px; border-radius: 3px; border: 1.5px solid #57637a; flex-shrink: 0; }
.apc-line-text { flex: 1; display: grid; min-width: 0; }
.apc-line-text b { font-size: 11px; font-weight: 600; }
.apc-line-text small { font-size: 9.5px; color: #57637a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apc-line-amt { font-size: 11px; font-weight: 700; direction: ltr; }
.apc-link { color: #1f3a66; font-weight: 700; font-size: 10.5px; text-align: center; border-top: 1px solid #e2e7ef; margin: 10px -14px 0; padding-top: 9px; }
.apc-row .apc-link { border: 0; margin: 0; padding: 0; }
.app-payday-peek .apc-sub { margin-top: 6px; }

.app-recent .apc-title { margin-bottom: 4px; }
.apr-list { list-style: none; margin: 0; padding: 0; transition: opacity 0.35s ease; }
.apr-list li { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid #eef1f6; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.apr-list li:first-child { border-top: 0; }
.apr-list li.apr-new { opacity: 0; transform: translateY(-8px); }
.apr-ico { width: 26px; height: 26px; border-radius: 50%; background: #eef2f8; position: relative; flex-shrink: 0; }
.apr-ico::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--c, #9aa3b2); }
.apr-name { flex: 1; min-width: 0; display: grid; }
.apr-name b { font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apr-name small { font-size: 9.5px; color: #57637a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apr-amt { font-size: 11.5px; font-weight: 700; direction: ltr; }
.apr-amt.neutral { color: #57637a; }
.money-card { transition: opacity 0.35s ease; }
.money-card.resetting, .apr-list.resetting { opacity: 0.35; }
.mc-rows li.flash .mc-amt { color: #fff; }

.app-notif {
  position: absolute; inset-inline: 12px; top: 10px; z-index: 3; display: flex; align-items: center; gap: 8px;
  background: rgb(16 27 45 / 0.92); color: #fff; border-radius: 14px; padding: 9px 12px; font-size: 11px;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.5); transform: translateY(-140%); transition: transform 0.6s var(--ease);
}
.app-notif.show { transform: translateY(0); }
.app-notif-icon { width: 22px; height: 22px; border-radius: 50%; background: #3d7be0; position: relative; flex-shrink: 0; }
.app-notif-icon::after { content: ""; position: absolute; left: 6px; top: 7px; width: 10px; height: 7px; border-radius: 2.5px; background: #fff; }
.app-notif-text { display: grid; min-width: 0; flex: 1; line-height: 1.35; }
.app-notif-text b { font-size: 10.5px; }
.app-notif-msg { font-size: 10px; color: rgb(255 255 255 / 0.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.apm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.apm-stats small { display: block; font-size: 10px; color: #57637a; }
.apm-stats b { font-size: 15px; font-weight: 800; direction: ltr; display: inline-block; }
.apm-stats b.in, .app .in { color: #1e7a4f; }
.apm-donut { width: 132px; height: 132px; margin: 10px auto 6px; transform: rotate(0deg); }
.apm-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.apm-legend li { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #57637a; }
.apm-legend li i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.apm-legend li em { margin-inline-start: auto; font-style: normal; color: #8a93a6; font-size: 9.5px; }
.apm-legend li b { color: #101b2d; font-weight: 700; min-width: 64px; text-align: end; direction: ltr; }

.apf-verdict { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.apf-chart { width: 100%; height: 108px; margin-top: 10px; direction: ltr; }
.apf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.apf-stats div { background: #f3f5f9; border-radius: 10px; padding: 6px 5px; min-width: 0; }
.apf-stats small { display: block; font-size: 8.5px; color: #57637a; font-weight: 600; line-height: 1.25; }
.apf-stats b { font-size: 10px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; direction: ltr; display: inline-block; }
.apf-events ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 9px; }
.apf-events li { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.apf-events .ev { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.apf-events .ev.out { background: #f8ece9; box-shadow: inset 0 0 0 7px #f8ece9, inset 0 0 0 9px #b54334; }
.apf-events .ev.in { background: #e7f3ec; box-shadow: inset 0 0 0 7px #e7f3ec, inset 0 0 0 9px #1e7a4f; }
.ev-name { flex: 1; display: grid; }
.ev-name b { font-weight: 700; }
.ev-name small { font-size: 9.5px; color: #8a93a6; }
.apf-events .num { font-weight: 800; direction: ltr; }

/* ── the feature story: a sticky phone, screens change as the text scrolls ── */
.story { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 110px); margin-top: clamp(40px, 6vw, 80px); }
.story-stage { position: sticky; top: calc(68px + 5vh); height: calc(100dvh - 68px - 10vh); max-height: 720px; display: grid; place-items: center; }
.story-stage .phone { width: 320px; flex-shrink: 0; }
@media (max-height: 820px) { .story-stage .phone { transform: scale(0.86); } }
@media (max-height: 700px) { .story-stage .phone { transform: scale(0.74); } }
.story-stage .app { opacity: 0; transform: scale(0.985); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.story-stage .app.active, html:not(.js) .story-stage .app:first-child { opacity: 1; transform: none; }
.story-steps { display: grid; }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; opacity: 0.35; transition: opacity 0.5s var(--ease); }
.story-step.on { opacity: 1; }
.story-step > h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
:lang(ar) .story-step > h3 { font-family: var(--font-ar); font-weight: 700; letter-spacing: 0; }
.story-step > p { margin-top: 16px; color: var(--text-2); max-width: 46ch; font-size: 1.08rem; }
.story-step .step-visual { display: none; }
.step-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.step-ico svg { width: 22px; height: 22px; }
.pro-tag {
  display: inline-block; vertical-align: middle; margin-inline-start: 12px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.2;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--line-strong);
}
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .story-step { min-height: 0; opacity: 1; padding-block: 36px; }
  .story-step .step-visual { display: grid; justify-items: center; margin-top: 28px; }
}

/* ── setup ──────────────────────────────────────────────────────────── */
.p-setup { padding-top: 0; }
.setup-list { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.setup-list::before { content: ""; position: absolute; top: 22px; inset-inline: 22px; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--accent), var(--line-strong)); opacity: 0.6; }
.setup-list li { position: relative; }
.setup-n {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.setup-list h3 { margin-top: 22px; }
.setup-list p { margin-top: 10px; color: var(--text-2); max-width: 36ch; }
@media (max-width: 800px) {
  .setup-list { grid-template-columns: 1fr; gap: 32px; }
  .setup-list::before { top: 22px; bottom: 22px; inset-inline-start: 22px; inset-inline-end: auto; width: 1px; height: auto; background: var(--line-strong); }
  .setup-list li { padding-inline-start: 68px; }
  .setup-n { position: absolute; inset-inline-start: 0; top: 0; }
  .setup-list h3 { margin-top: 8px; }
}

/* ── privacy ────────────────────────────────────────────────────────── */
.p-privacy { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-privacy-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.p-privacy h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); }
.p-privacy .lede { margin-top: 22px; }
.p-privacy .link { margin-top: 28px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); }
.facts li { background: var(--surface); padding: 26px; display: grid; gap: 10px; align-content: start; }
.facts svg { width: 26px; height: 26px; color: var(--accent); }
.facts b { font-size: 1.05rem; }
.facts span { color: var(--text-2); font-size: 0.97rem; }
@media (max-width: 900px) { .p-privacy-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ── pricing ────────────────────────────────────────────────────────── */
.plans { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; }
.plan { border-radius: var(--radius-card); border: 1px solid var(--line); background: var(--surface); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; }
.plan-pro { background: linear-gradient(160deg, #1b335c, #0a1428); color: #fff; border-color: rgb(255 255 255 / 0.12); }
.plan-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
:lang(ar) .plan-name { font-family: var(--font-ar); font-weight: 700; }
.plan-price { margin-top: 12px; font-size: 1.05rem; color: var(--text-2); }
.plan-pro .plan-price { color: rgb(255 255 255 / 0.8); }
.plan-price b { font-size: 2rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.plan-pro .plan-price b { color: #fff; }
.plan ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--good); }
.plan-pro li svg { color: #57d39a; }
.plan-note { margin-top: auto; padding-top: 24px; color: var(--text-3); font-size: 0.9rem; }
.plan-pro .plan-note { color: rgb(255 255 255 / 0.7); }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ── questions ──────────────────────────────────────────────────────── */
.faq-list { margin-top: clamp(32px, 5vw, 56px); max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; color: var(--text-3); transition: transform 0.3s var(--ease); flex-shrink: 0; margin-inline-start: auto; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { padding: 0 0 22px; color: var(--text-2); max-width: 66ch; }

/* ── closing call ───────────────────────────────────────────────────── */
.p-final { text-align: center; }
.p-final h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.p-final .lede { margin: 22px auto 0; }
.p-final .p-ctas { justify-content: center; }
