/* ==========================================================================
   Pound Pilot — landing site styles
   Brand palette derived from the app logo
   ========================================================================== */

:root {
  --blue:        #1E9BEF;
  --blue-dark:   #0F7FD0;
  --blue-deep:   #0A3A5C;
  --green:       #43A83A;
  --lime:        #9FD62E;
  --lime-dark:   #82B821;

  --ink:         #0C2A3E;
  --body:        #46586A;
  --muted:       #7C8B99;
  --line:        #E4ECF3;
  --bg:          #FFFFFF;
  --bg-soft:     #F4F9FF;
  --bg-card:     #FFFFFF;

  --shadow-sm:   0 2px 8px rgba(12, 42, 62, .06);
  --shadow-md:   0 12px 30px rgba(12, 42, 62, .10);
  --shadow-lg:   0 30px 60px rgba(12, 42, 62, .16);

  --radius:      18px;
  --radius-lg:   28px;
  --maxw:        1160px;

  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

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

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(30, 155, 239, .10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--lime);
  color: var(--blue-deep);
  box-shadow: 0 8px 20px rgba(130, 184, 33, .35);
}
.btn--primary:hover { background: var(--lime-dark); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-dark); }

.btn--light {
  background: #fff;
  color: var(--blue-deep);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: var(--shadow-sm); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-weight: 600; color: var(--body); transition: color .15s; }
.nav__links a:hover { color: var(--blue-dark); }

.nav__cta { display: flex; align-items: center; gap: 14px; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(30,155,239,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 20%, rgba(159,214,46,.14), transparent 55%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  padding: 84px 0 96px;
}
.hero__logo {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--blue-dark); }
.hero__lead { font-size: 1.2rem; color: var(--body); max-width: 520px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; }
.hero__note svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- Phone mockup ---------- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 610;
  background: #0C2A3E;
  border-radius: 42px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 22px;
  background: #0C2A3E;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1E9BEF 0%, #0F7FD0 42%, #F4F9FF 42%);
  border-radius: 32px;
  overflow: hidden;
  padding: 42px 18px 20px;
  color: #fff;
}
.phone__top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; opacity: .95; }
.phone__balance-label { font-size: .8rem; opacity: .85; margin: 20px 0 4px; }
.phone__balance { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.phone__chip { background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 12px; font-size: .72rem; font-weight: 600; }

.phone__card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 16px;
  margin-top: 22px;
  box-shadow: 0 10px 24px rgba(12,42,62,.18);
}
.phone__card h4 { margin: 0 0 12px; font-size: .82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.txn { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.txn:last-child { border-bottom: 0; }
.txn__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; flex: 0 0 auto; }
.txn__name { font-weight: 700; font-size: .86rem; }
.txn__cat { font-size: .72rem; color: var(--muted); }
.txn__amt { margin-left: auto; font-weight: 800; font-size: .9rem; }
.txn__amt.neg { color: #E4572E; }
.txn__amt.pos { color: var(--green); }
.txn__ico--red    { background: #FDECE7; }
.txn__ico--blue   { background: #E7F1FD; }
.txn__ico--green  { background: #ECF8E6; }
.txn__ico--purple { background: #F0ECFD; }

/* ---------- Logo strip ---------- */
.trust { padding: 34px 0; border-bottom: 1px solid var(--line); }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; align-items: center; }
.trust__row span { color: var(--muted); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.trust__row svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- Features ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(30,155,239,.4); }
.card__ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: rgba(30,155,239,.10);
  color: var(--blue-dark);
}
.card__ico svg { width: 26px; height: 26px; }
.card p { margin: 0; color: var(--muted); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step__num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--blue-deep);
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(130,184,33,.35);
}
.step p { color: var(--muted); margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.stat__label { color: var(--muted); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta {
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(159,214,46,.35), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 28px; font-size: 1.12rem; }
.cta .btn--primary { box-shadow: 0 10px 26px rgba(0,0,0,.22); }

/* store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.badge-img { display: inline-block; border-radius: 12px; transition: transform .15s, box-shadow .15s; }
.badge-img:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.badge-img img { height: 54px; width: auto; display: block; }
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 54px;
  padding: 0 20px;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  border: 1.5px dashed rgba(255, 255, 255, .55);
  border-radius: 12px;
}
.badge-soon svg { width: 22px; height: 22px; flex: 0 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0C2A3E; color: #fff;
  padding: 12px 20px; border-radius: 14px;
  font-weight: 600; transition: transform .15s, box-shadow .15s;
}
.cta .badge { background: rgba(12,42,62,.9); }
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.badge small { display: block; font-size: .68rem; opacity: .8; font-weight: 500; line-height: 1; }
.badge strong { display: block; font-size: 1.02rem; line-height: 1.15; }
.badge svg { width: 26px; height: 26px; flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 0;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue-dark); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: #C7D8E4; padding: 60px 0 30px; }
.footer a { color: #C7D8E4; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer .brand { color: #fff; }
.footer .brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer__grid p { color: #94AEC0; max-width: 300px; }
.footer__tagline { margin-top: 16px; }
.footer h4 { color: #fff; font-size: .95rem; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #94AEC0; font-size: .9rem;
}

/* ---------- Legal / prose pages ---------- */
.legal { padding: 64px 0 90px; }
.legal .container { max-width: 820px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-dark); font-weight: 600; margin-bottom: 22px; }
.legal__back:hover { text-decoration: underline; }
.legal__logo { display: block; width: 76px; height: 76px; border-radius: 18px; box-shadow: var(--shadow-sm); margin: 4px auto 14px; }
.legal__wordmark { text-align: center; font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 26px; }
.legal__wordmark span { color: var(--green); }
.legal h1 { margin-bottom: 6px; }
.legal__updated { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.legal .lead { font-size: 1.12rem; color: var(--body); }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.legal p { color: var(--body); }
.legal ul { color: var(--body); padding-left: 1.25em; margin: 0 0 1rem; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue-dark); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); }

/* ---------- Contact form ---------- */
.contact { padding: 60px 0 90px; }
.contact .container { max-width: 720px; }
.contact__intro { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }
.contact-form { display: grid; gap: 18px; position: relative; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 155, 239, .15);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .btn { justify-self: start; margin-top: 4px; border: 0; }
.contact-form .btn:disabled { opacity: .6; cursor: default; transform: none; }
.contact-status { margin: 6px 0 0; font-weight: 600; min-height: 1.2em; }
.contact-status.ok  { color: var(--green); }
.contact-status.err { color: #E4572E; }
@media (max-width: 560px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .hero__logo { margin-left: auto; margin-right: auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__note { justify-content: center; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav__links { display: none; }
  .nav__cta .btn--ghost,
  .nav__cta .btn--primary { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 22px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 520px) {
  .grid--3, .grid--4, .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta { padding: 48px 24px; }
}
