/* WeeWallet — marketing site. Warm cream base, app-purple accent, rounded forms. */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;0,6..12,800&display=swap');

:root {
  --cream: #fbf6ef;
  --cream-2: #f3ead9;
  --paper: #ffffff;
  --ink: #2a1b3d;
  --ink-soft: #6b5b7e;
  --purple: #a855f7;
  --purple-deep: #7c3aed;
  --cyan: #22d3ee;
  --green: #34d399;
  --pink: #f472b6;
  --amber: #fb923c;
  --night: #0f0f1a;
  --night-2: #1a1a2e;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(124, 58, 237, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(42, 27, 61, 0.25);
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--purple-deep); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 239, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 27, 61, 0.07);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; gap: 9px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; object-fit: cover;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 600; }
.nav-links a { color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--purple-deep); }
.nav-cta { background: var(--ink); color: var(--cream) !important; padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.nav-cta:hover { background: var(--purple-deep); }
.nav-login { border: 1.6px solid var(--purple); color: var(--purple-deep) !important; padding: 9px 16px; border-radius: 999px; font-weight: 700; transition: background 0.2s; }
.nav-login:hover { background: rgba(168, 85, 247, 0.10); color: var(--purple-deep) !important; }
@media (max-width: 720px) { .nav-links a:not(.nav-cta):not(.nav-login) { display: none; } }

/* ── Buttons / badges ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s;
}
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -18px rgba(124, 58, 237, 0.55); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); }
.badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badge { display: inline-flex; border-radius: var(--radius-sm); transition: transform 0.2s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 50px; width: auto; display: block; }
.store-beta {
  display: inline-flex; align-items: center; height: 50px;
  padding: 0 22px; border-radius: 12px;
  border: 1.6px solid var(--purple); color: var(--purple-deep);
  background: rgba(168, 85, 247, 0.08);
  font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.store-beta:hover { transform: translateY(-2px); background: rgba(168, 85, 247, 0.14); box-shadow: var(--shadow-sm); }
/* On the purple final-box, recolour for contrast (white-on-purple). */
.final-box .store-beta { color: #fff; border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.14); }
.final-box .store-beta:hover { background: rgba(255, 255, 255, 0.24); }
.web-link { display: inline-block; margin-top: 12px; color: var(--purple-deep); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.web-link:hover { text-decoration: underline; }
.final-box .web-link { display: block; margin-top: 16px; color: #fff; opacity: 0.92; }
.soon { font-size: 0.78rem; font-weight: 700; color: var(--purple-deep); background: rgba(168, 85, 247, 0.12); padding: 4px 11px; border-radius: 999px; align-self: center; }

/* ── Hero ── */
.hero { position: relative; padding: 80px 0 90px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(168, 85, 247, 0.16), transparent 70%),
    radial-gradient(50% 40% at 8% 30%, rgba(34, 211, 238, 0.12), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--purple-deep);
  background: rgba(168, 85, 247, 0.1); padding: 7px 15px; border-radius: 999px; font-size: 0.9rem; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); margin-bottom: 20px; }
.hero h1 .pop { color: var(--purple-deep); position: relative; white-space: nowrap; }
.hero h1 .pop::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6%; height: 28%;
  background: rgba(52, 211, 153, 0.35); border-radius: 6px; z-index: -1; }
.hero p.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 30ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* staggered entrance */
.reveal { opacity: 0; transform: translateY(16px); animation: rise 0.7s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.15s; } .d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; } .d5 { animation-delay: 0.45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } .phone { animation: none !important; } }

/* ── Phone mockup (the app) ── */
.phone-stage { display: grid; place-items: center; position: relative; }
.phone-stage .blob { position: absolute; width: 340px; height: 340px; border-radius: 46% 54% 60% 40%;
  background: linear-gradient(135deg, var(--purple), var(--cyan)); filter: blur(8px); opacity: 0.25; z-index: 0; }
.phone {
  position: relative; z-index: 1; width: 280px; padding: 12px; border-radius: 42px;
  background: #0a0a12; box-shadow: 0 40px 90px -30px rgba(42, 27, 61, 0.6), inset 0 0 0 2px rgba(255,255,255,0.06);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-14px) rotate(-1.2deg); } }
.phone .screen { background: var(--night); border-radius: 32px; padding: 22px 18px 26px; color: #fff; }
.scr-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.scr-brand { font-family: var(--font-display); font-weight: 700; color: var(--purple); font-size: 1.15rem; }
.scr-fam { font-size: 0.72rem; color: #b8b8d0; }
.bal-card { border: 2px solid var(--purple); border-radius: 18px; padding: 18px; text-align: center; background: var(--night-2); }
.bal-card .who { font-size: 0.95rem; color: #fff; font-weight: 700; }
.bal-card .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--purple); margin: 2px 0; }
.bal-card .giv { font-size: 0.74rem; color: #b8b8d0; }
.scr-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.scr-actions .a { background: var(--night-2); border: 1.5px solid #2a2a44; border-radius: 13px; padding: 10px 0; text-align: center; font-size: 1.2rem; }
.scr-actions .a span { display: block; font-size: 0.6rem; color: #b8b8d0; margin-top: 3px; font-family: var(--font-body); }
.scr-count { display: flex; gap: 8px; margin-top: 14px; }
.scr-count .t { flex: 1; background: var(--night-2); border-radius: 12px; padding: 9px; text-align: center; }
.scr-count .t .n { font-family: var(--font-display); font-weight: 700; color: var(--cyan); font-size: 1.1rem; }
.scr-count .t .l { font-size: 0.58rem; color: #b8b8d0; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { align-items: center; }
  .eyebrow { margin-inline: auto; }
  .phone-stage { margin-top: 10px; }
}

/* ── Trust strip ── */
.trust-line { max-width: 62ch; margin: 30px auto 0; text-align: center; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.trust-line strong { color: var(--ink); }

/* ── Sections ── */
section.band { padding: 86px 0; }
.cream2 { background: var(--cream-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker { font-weight: 800; color: var(--purple-deep); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 10px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }

/* features grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(42,27,61,0.05); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -24px rgba(124,58,237,0.4); }
.card .ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.i-purple { background: rgba(168,85,247,0.14); } .i-cyan { background: rgba(34,211,238,0.16); }
.i-green { background: rgba(52,211,153,0.16); } .i-pink { background: rgba(244,114,182,0.16); }
.i-amber { background: rgba(251,146,60,0.16); } .i-deep { background: rgba(124,58,237,0.14); }

/* jars */
.jars { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 8px; }
@media (max-width: 680px) { .jars { grid-template-columns: 1fr; } }
.jar { border-radius: var(--radius); padding: 30px 26px; color: #fff; position: relative; overflow: hidden; }
.jar h3 { font-size: 1.5rem; margin-bottom: 6px; }
.jar p { opacity: 0.92; }
.jar .big-emoji { position: absolute; right: -10px; bottom: -16px; font-size: 5.5rem; opacity: 0.22; }
.jar-spend { background: linear-gradient(140deg, var(--purple), var(--purple-deep)); }
.jar-save { background: linear-gradient(140deg, var(--green), #0d9488); }
.jar-give { background: linear-gradient(140deg, var(--pink), #db2777); }

/* why we built it — note below the three jars */
.why-note { max-width: 680px; margin: 44px auto 0; text-align: center; }
.why-note .kicker { font-weight: 800; color: var(--purple-deep); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }
.why-note p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 10px; }
.why-note .why-sig { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 0.98rem; margin-top: 12px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 16px; }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--purple); opacity: 0.55; }
.step h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.step p { color: var(--ink-soft); }

/* final cta */
.final { text-align: center; }
.final-box { background: linear-gradient(140deg, var(--purple), var(--purple-deep)); color: #fff; border-radius: 34px; padding: 64px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.final-box::after { content: '🐷'; position: absolute; font-size: 12rem; right: -20px; bottom: -40px; opacity: 0.12; }
.final-box h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 14px; }
.final-box p { font-size: 1.15rem; opacity: 0.92; max-width: 44ch; margin: 0 auto 28px; }

/* footer */
footer { background: var(--ink); color: #cbbfd9; padding: 56px 0 34px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
footer .brand { color: var(--cream); }
footer .f-links { display: flex; gap: 26px; flex-wrap: wrap; font-weight: 600; }
footer .f-links a:hover { color: #fff; }
footer .legal { width: 100%; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 26px; padding-top: 22px; font-size: 0.86rem; opacity: 0.75; }

/* ── Legal pages ── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 60px 24px 90px; }
.legal-page .back { color: var(--purple-deep); font-weight: 700; display: inline-block; margin-bottom: 22px; }
.legal-page h1 { font-size: 2.4rem; margin-bottom: 6px; }
.legal-page .updated { color: var(--ink-soft); margin-bottom: 28px; }
.legal-page h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.legal-page p, .legal-page li { color: #46384f; margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }
.callout { background: rgba(168,85,247,0.1); border-left: 4px solid var(--purple); border-radius: 12px; padding: 18px 20px; margin: 22px 0; }
.callout strong { color: var(--purple-deep); }

/* Screenshot gallery */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots img { flex: 0 0 auto; width: 240px; height: auto; border-radius: 26px; box-shadow: var(--shadow); scroll-snap-align: center; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.35); border-radius: 4px; }
/* 4 tiles fit the row — center on desktop, scroll only on narrow screens */
@media (min-width: 1080px) { .shots { justify-content: center; overflow-x: visible; scroll-snap-type: none; } }
