/* ==========================================================
   Piggy Box — Launching Soon
   Brand: Orange #F5A623 · Black #111
   ========================================================== */

:root {
  --orange: #F5A623;
  --orange-2: #FFB835;
  --orange-soft: #FFE7BD;
  --cream: #FFF6E5;
  --ink: #111111;
  --ink-2: #1B1B1B;
  --muted: #6B6B6B;
  --line: #EEE3CC;
  --white: #ffffff;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 18px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 18px 40px rgba(17, 17, 17, 0.10);
  --shadow-lg: 0 30px 60px rgba(17, 17, 17, 0.16);

  --container: 1180px;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ========== Floating background coins ========== */
.coins { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.coin {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  color: rgba(245, 166, 35, 0.18);
  font-size: 80px;
  animation: float 14s linear infinite;
}
.coin:nth-child(1) { top: 10%;  left: 8%;   font-size: 60px;  animation-delay: 0s; }
.coin:nth-child(2) { top: 30%;  left: 88%;  font-size: 100px; animation-delay: 2s; }
.coin:nth-child(3) { top: 70%;  left: 12%;  font-size: 70px;  animation-delay: 4s; }
.coin:nth-child(4) { top: 50%;  left: 80%;  font-size: 50px;  animation-delay: 1s; }
.coin:nth-child(5) { top: 85%;  left: 60%;  font-size: 90px;  animation-delay: 3s; }
.coin:nth-child(6) { top: 20%;  left: 45%;  font-size: 40px;  animation-delay: 5s; }
.coin:nth-child(7) { top: 95%;  left: 30%;  font-size: 70px;  animation-delay: 6s; }
.coin:nth-child(8) { top: 5%;   left: 70%;  font-size: 55px;  animation-delay: 7s; }

@keyframes float {
  0%   { transform: translateY(0)    rotate(0deg);   }
  50%  { transform: translateY(-30px) rotate(180deg); }
  100% { transform: translateY(0)    rotate(360deg); }
}

/* ========== Navbar ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 229, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(17,17,17,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; color: var(--orange); }

.nav__burger {
  display: none;
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 3px;
  margin: 0 auto;
  transition: transform .25s ease;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 8px 20px rgba(245,166,35,0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245,166,35,0.45); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { transform: translateY(-2px); background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ========== Hero ========== */
.hero { padding: 60px 0 80px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.pill__dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(46,204,113,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin: 18px 0 18px;
}
.text-accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.text-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 14px;
  background: rgba(245,166,35,0.25);
  border-radius: 8px;
  z-index: -1;
}
.hero__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 28px;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 460px;
  margin-bottom: 28px;
}
.cd {
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 18px 8px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cd::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 40%);
}
.cd__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.5px;
  line-height: 1;
}
.cd__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 6px;
}

/* Notify form */
.notify {
  display: flex;
  gap: 10px;
  background: var(--white);
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  max-width: 480px;
  border: 1px solid var(--line);
}
.notify input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
}
.notify input::placeholder { color: #999; }
.notify__hint {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}
.notify__hint.success { color: #10934f; font-weight: 600; }
.notify__hint.error   { color: #c0392b; font-weight: 600; }

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
}
.hero__stats span { font-size: 13px; color: var(--muted); }

/* Hero phone art */
.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}
.phone {
  width: 320px;
  height: 640px;
  background: var(--ink);
  border-radius: 50px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 12px rgba(17,17,17,0.04);
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(-2deg); }
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone__screen {
  background: linear-gradient(160deg, var(--orange) 0%, var(--orange-2) 60%, #FFD27E 100%);
  border-radius: 38px;
  height: 100%;
  padding: 50px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.screen__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.screen__hello { font-weight: 700; color: var(--ink); }
.screen__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.balance {
  background: var(--ink);
  color: var(--white);
  border-radius: 20px;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.balance__label { font-size: 12px; opacity: 0.7; }
.balance__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.5px;
}
.balance__delta { font-size: 12px; color: #80E1A8; font-weight: 600; }

.goal-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 14px 16px;
}
.goal-card__top, .goal-card__bot {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600;
}
.goal-card__pct { color: var(--ink); }
.goal-bar {
  height: 8px;
  background: rgba(17,17,17,0.1);
  border-radius: 999px;
  margin: 10px 0;
  overflow: hidden;
}
.goal-bar__fill {
  width: 0;
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
  animation: fillBar 2.4s ease forwards 0.4s;
}
@keyframes fillBar { to { width: 68%; } }
.goal-card__bot { font-size: 12px; opacity: 0.7; font-weight: 500; }

.actions { display: flex; gap: 10px; }
.action {
  flex: 1;
  border: none;
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  padding: 12px;
  font-family: inherit;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}
.action span {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.action--alt { background: rgba(255,255,255,0.9); color: var(--ink); }
.action--alt span { background: var(--ink); color: var(--orange); }

.recent {
  background: rgba(255,255,255,0.55);
  border-radius: 16px;
  padding: 8px 14px;
}
.recent__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed rgba(17,17,17,0.12);
}
.recent__row:last-child { border-bottom: none; }
.recent__row b { color: #097c3a; font-weight: 700; }

/* Floating cards over the phone */
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow-md);
  font-size: 13px;
}
.floating-card span { font-size: 22px; }
.floating-card b { font-family: var(--font-display); display: block; font-size: 15px; }
.floating-card small { color: var(--muted); }
.floating-card--1 {
  top: 20%; left: -10px;
  animation: bobble 4s ease-in-out infinite;
}
.floating-card--2 {
  bottom: 18%; right: -10px;
  animation: bobble 4s ease-in-out infinite 1.5s;
}
@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ========== Marquee ========== */
.marquee {
  background: var(--ink);
  color: var(--orange);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
}
.marquee__track {
  display: inline-flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========== Sections ========== */
.section { padding: 100px 0; position: relative; }
.section--dark {
  background: var(--ink);
  color: var(--white);
}
.section--soft {
  background: var(--white);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section__head--light { color: var(--white); }
.section__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 14px 0 14px;
}
.section__head p {
  color: var(--muted);
  font-size: 17px;
}
.section--dark .section__head p { color: rgba(255,255,255,0.7); }
.eyebrow {
  display: inline-block;
  background: var(--orange-soft);
  color: #8a5a00;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.eyebrow--light {
  background: rgba(245,166,35,0.18);
  color: var(--orange);
}

/* ========== Features ========== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.feature__icon {
  width: 60px; height: 60px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 18px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 8px;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ========== Steps ========== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: background .25s, border-color .25s, transform .25s;
}
.step:hover {
  background: rgba(245,166,35,0.08);
  border-color: var(--orange);
  transform: translateY(-4px);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--orange);
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 6px;
}
.step p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin: 0;
}

/* ========== Quotes ========== */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  margin: 0;
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute;
  top: -16px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--orange);
  line-height: 1;
}
.quote p {
  font-size: 16px;
  margin: 0 0 16px;
}
.quote footer {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* ========== FAQ ========== */
.faq { max-width: 820px; margin: 0 auto; }
.qa {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s;
}
.qa[open] { border-color: var(--orange); }
.qa summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '+';
  font-size: 26px;
  color: var(--orange);
  font-weight: 800;
  transition: transform .25s;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ========== CTA section ========== */
.section--cta { padding: 80px 0; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.cta-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  margin: 14px 0 10px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.cta-card p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 16px;
}
.cta-card--alt {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.cta-card--alt h2 { color: var(--white); }
.cta-card--alt p { color: rgba(255,255,255,0.7); }

/* ========== Footer ========== */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 70px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer__brand p {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 16px;
  color: var(--orange);
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal a { color: rgba(255,255,255,0.75); }
.footer__legal a:hover { color: var(--orange); }

/* ========== Scroll-reveal animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { min-height: 560px; order: -1; }
  .phone { transform: scale(0.85); }
  .features, .steps, .quotes { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 18px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .hero { padding: 40px 0 60px; }
  .hero__title { font-size: 44px; }
  .countdown { grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 100%; }
  .cd { padding: 14px 4px; }
  .cd__num { font-size: 24px; }
  .cd__label { font-size: 9px; }
  .notify { flex-direction: column; border-radius: var(--radius); padding: 8px; }
  .notify input { width: 100%; }
  .notify .btn { width: 100%; }
  .features, .steps, .quotes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 70px 0; }
  .cta-card { padding: 34px 26px; }
  .floating-card--1 { left: 0; top: 10%; }
  .floating-card--2 { right: 0; bottom: 8%; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 36px; }
  .brand__name { font-size: 17px; }
  .marquee__track { font-size: 18px; gap: 28px; }
}
