/* PocketPrism website. The app's own palette: Mint's teal greens, the icon's
   gold coin, Geist type. Light only, like the app's default theme. */
:root {
  color-scheme: light;
  --ink: #0d1f1c;
  --ink-soft: #3c524d;
  --muted: #5f6f6b;
  --bg: #f3faf6;
  --bg-tint: #e6f4ec;
  --card: #ffffff;
  --line: #d4e8dc;
  --teal: #00a65f;
  --teal-deep: #00847b;
  --teal-night: #0f5d56;
  --gold: #f6b93b;
  --gold-deep: #c98a12;
  --danger: #dc2626;
  --info: #2563eb;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(15, 93, 86, 0.14);
  --shadow-sm: 0 6px 18px rgba(15, 93, 86, 0.1);
  --wrap: 1140px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 0; cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  box-shadow: 0 10px 24px rgba(0, 132, 123, 0.3);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(0, 132, 123, 0.38); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-play { background: var(--ink); color: #fff; }
.btn-play small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; line-height: 1; }
.btn-play span { display: block; line-height: 1.15; text-align: left; }
.btn-play[aria-disabled='true'] { opacity: 0.6; cursor: default; transform: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 10px 16px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(0, 166, 95, 0.18), transparent);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--teal), var(--teal-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 19px; color: var(--ink-soft); margin-top: 18px; max-width: 34em; }
.urdu { font-weight: 600; color: var(--teal-night); margin-top: 14px; font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 270px; border-radius: 38px; padding: 9px; background: #0d1f1c;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 412 / 892; object-fit: cover; object-position: top; background: var(--bg-tint); }
.phone-a { left: 4%; top: 30px; transform: rotate(-5deg); z-index: 2; }
.phone-b { right: 2%; top: 0; transform: rotate(4deg); }
.chip {
  position: absolute; z-index: 3; background: var(--card); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-sm); font-size: 13.5px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
}
.chip b { display: block; font-size: 15px; }
.chip-coin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #7a2e0e; background: linear-gradient(135deg, #fde08b, var(--gold)); flex: none; }
.chip-1 { left: -10px; bottom: 90px; animation: float 6s ease-in-out infinite; }
.chip-2 { right: -6px; bottom: 30px; animation: float 7s ease-in-out infinite 1s; }

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

/* Strip */
.strip { padding: 18px 0 8px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.strip li::before { content: '✓'; color: var(--teal); font-weight: 800; margin-right: 8px; }

/* Sections */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 10px; font-weight: 800; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 18px; }
.center { margin-inline: auto; text-align: center; }

/* Spotlight: the bank-wise budget feature */
.spotlight { background: linear-gradient(160deg, var(--teal-night), #0b3f3a); color: #eafaf3; border-radius: 34px; padding: 56px; display: grid; grid-template-columns: 1fr 0.8fr; gap: 48px; align-items: center; overflow: hidden; }
.spotlight .eyebrow { color: #7fe3bd; }
.spotlight h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 10px; font-weight: 800; }
.spotlight p { color: rgba(234, 250, 243, 0.82); margin-top: 16px; font-size: 18px; }
.flow { margin-top: 26px; display: grid; gap: 12px; }
.flow div { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 14px 16px; }
.flow i { font-style: normal; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--gold); color: #5a2a06; }
.flow b { display: block; color: #fff; }
.flow span { color: rgba(234, 250, 243, 0.75); font-size: 15px; }
.spot-phone { position: relative; width: 280px; justify-self: center; }
.spot-phone .phone { position: relative; transform: rotate(3deg); width: 100%; background: #04201d; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--bg-tint); }
.card h3 { font-size: 19px; margin-top: 16px; }
.card p { color: var(--ink-soft); margin-top: 8px; font-size: 15.5px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery figure { margin: 0; }
.gallery .phone { position: relative; width: 100%; }
.gallery figcaption { text-align: center; margin-top: 14px; font-weight: 700; }
.gallery figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); }
.step h3 { font-size: 18px; margin-top: 6px; }
.step p { color: var(--ink-soft); margin-top: 6px; font-size: 15.5px; }

/* Pricing */
.pricing { background: var(--bg-tint); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--card); border-radius: 26px; padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--teal); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -14px; right: 24px; background: linear-gradient(135deg, #fde08b, var(--gold)); color: #5a2a06; font-weight: 800; font-size: 12px; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.price { margin-top: 12px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan .sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; font-size: 15.5px; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: '–'; color: var(--muted); }
.plan .btn { margin-top: auto; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--teal-deep); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--ink-soft); }

/* Closing CTA */
.closing { padding: 40px 0 90px; }
.closing-box { text-align: center; border-radius: 34px; padding: 60px 24px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-night)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.closing-box::after { content: 'Rs'; position: absolute; right: -30px; bottom: -70px; font-size: 260px; font-weight: 900; color: rgba(255, 255, 255, 0.06); }
.closing-box h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.closing-box p { margin-top: 12px; opacity: 0.85; font-size: 18px; }
.closing-box .hero-ctas { justify-content: center; }
.closing-box .btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.3); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--teal-deep); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 90px; }
.legal h1 { font-size: 40px; font-weight: 800; }
.legal .updated { color: var(--muted); margin-top: 8px; }
.legal h2 { font-size: 22px; margin-top: 38px; }
.legal p, .legal li { color: var(--ink-soft); margin-top: 12px; }
.legal ul { padding-left: 20px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip-1, .chip-2 { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}

@media (max-width: 980px) {
  .hero-grid, .spotlight { grid-template-columns: 1fr; }
  .phones { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .phone { width: 230px; }
  .spotlight { padding: 40px 26px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links, .nav.open .nav-cta {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; background: var(--bg); padding: 12px 20px;
  }
  .nav.open .nav-links { top: 68px; gap: 14px; }
  .nav.open .nav-cta { top: 196px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .hero { padding-top: 32px; }
  .phones { height: 440px; }
  .phone { width: 190px; border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
  .chip { font-size: 12.5px; }
  .chip-1 { left: 0; bottom: 40px; }
  .chip-2 { right: 0; bottom: 0; }
  section { padding: 64px 0; }
  .grid, .plans { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ── Tour: the app's parts, one at a time, spotlighted and numbered ── */
.tour-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 920px; margin: 0 auto; }
.tour-phone .phone { position: relative; width: 100%; max-width: 340px; margin: 0 auto; }
.tour-screen { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 412 / 892; background: var(--bg-tint); }
.tour-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0; }
.tour-spot {
  position: absolute; border-radius: 14px; border: 2.5px solid var(--teal);
  box-shadow: 0 0 0 9999px rgba(4, 32, 29, 0.6), 0 0 0 6px rgba(0, 166, 95, 0.25);
  transition: left 0.45s cubic-bezier(.2, .8, .2, 1), top 0.45s cubic-bezier(.2, .8, .2, 1), width 0.45s cubic-bezier(.2, .8, .2, 1), height 0.45s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.tour-num {
  position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 800; font-size: 14px;
  border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.tour.ended .tour-spot { box-shadow: none; border-color: transparent; }
.tour.ended .tour-num { display: none; }
.tour-card, .tour-end { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: var(--shadow-sm); }
.tour-end { display: none; outline: none; }
.tour.ended .tour-card { display: none; }
.tour.ended .tour-end { display: block; }
.tour-count { font-size: 13px; font-weight: 700; color: var(--teal-deep); letter-spacing: 0.02em; }
.tour-card h3, .tour-end h3 { font-size: 26px; margin: 6px 0 8px; font-weight: 800; }
.tour-card p, .tour-end p { color: var(--ink-soft); font-size: 17px; min-height: 3.2em; margin: 0; }
.tour-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.tour-gap { flex: 1; }
.tour-actions button.btn { cursor: pointer; font: inherit; font-weight: 700; }
.tour-actions button.btn:disabled { opacity: 0.45; cursor: default; }
.tour-skip { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; padding: 8px 4px; }
.tour-skip:hover { color: var(--ink); }
.tour-dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tour-dots button {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card);
  color: var(--ink-soft); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
}
.tour-dots button[aria-current="step"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.tour.ended .tour-dots { display: none; }
@media (max-width: 980px) {
  .tour-grid { grid-template-columns: 1fr; gap: 28px; }
  .tour-phone .phone { max-width: 290px; }
}
@media (max-width: 760px) {
  .tour-phone .phone { position: relative; max-width: 260px; width: 100%; }
  .tour-card h3, .tour-end h3 { font-size: 22px; }
  .tour-card p, .tour-end p { font-size: 16px; }
  .tour-dots { gap: 6px; }
  .tour-dots button { width: 30px; height: 30px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .tour-spot { transition: none; } }
