/* DailyPay — dailypayng.com
   Shared design system. Aligned to the FuelAlert website structure and the
   DailyPay app palette (deep green brand, vivid green CTAs, Poppins). */

:root {
  --brand: #034539;
  --accent: #009933;
  --accent-dark: #007A28;
  --bg: #F4F8F6;
  --surface: #ffffff;
  --slate: #30363B;
  --muted: #98A6AD;
  --ink: #696969;
  --chip-bg: #E6F5EB;
  --card-border: #B0DFC0;
  --hairline: #EDEDED;
  --dark: #282F39;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(3, 69, 57, 0.08);
  --shadow-lg: 0 20px 60px rgba(3, 69, 57, 0.14);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.app-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; border-radius: 50px;
  padding: 13px 24px; cursor: pointer; border: none; transition: .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,153,51,.28); }
.btn-ghost { background: var(--chip-bg); color: var(--brand); }
.btn-ghost:hover { background: #d9efe1; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }

/* ── Store badges ────────────────────────────────────────────────────────── */
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #0b0f0d; color: #fff; border-radius: 12px;
  padding: 10px 18px; transition: .2s ease; min-width: 168px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-top { font-size: 10px; letter-spacing: .4px; opacity: .82; line-height: 1.1; }
.store-badge .sb-main { font-size: 17px; font-weight: 600; line-height: 1.15; }
.store-badge.light { background: #fff; color: var(--slate); border: 1px solid var(--hairline); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 248, 246, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(3,69,57,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--brand); }
.brand-logo .mark {
  width: 34px; height: 34px; border-radius: 10px; object-fit: cover;
  display: block; box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--slate); transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--brand); margin: 4px 0; border-radius: 2px; transition: .2s; }
.mobile-menu { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; }
.hero-grid { display: flex; flex-direction: column; gap: 48px; align-items: center; }
.hero-copy { width: 100%; max-width: 640px; text-align: center; }
.badge-pill {
  display: inline-block; background: var(--chip-bg); color: var(--accent);
  font-weight: 500; font-size: 14px; padding: 7px 16px; border-radius: 8px; margin-bottom: 18px;
}
.hero h1 {
  font-size: 40px; line-height: 1.16; font-weight: 800; color: var(--slate);
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent); }
.hero p.sub { color: var(--muted); font-size: 18px; margin: 20px 0 28px; font-weight: 500; }
.hero .stores { justify-content: center; }

/* ── 3D phone mockup ─────────────────────────────────────────────────────── */
.phone-stage { perspective: 1400px; display: flex; justify-content: center; }
.phone {
  width: 278px; height: 556px; border-radius: 42px; background: #0d1512;
  padding: 11px; box-shadow: var(--shadow-lg);
  transform: rotateY(-18deg) rotateX(6deg) rotateZ(1deg);
  transition: transform .5s ease; animation: float 6s ease-in-out infinite;
}
.phone:hover { transform: rotateY(-6deg) rotateX(2deg); }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; background: var(--bg); overflow: hidden; position: relative; }
.phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Screenshot showcase */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 44px 4px 12px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.shot img { width: 232px; border-radius: 26px; border: 1px solid var(--hairline); box-shadow: var(--shadow-lg); background: #0d1512; }
.shot p { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--slate); }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 40px 0; }
.section-title { text-align: center; font-size: 34px; font-weight: 800; color: var(--slate); letter-spacing: -0.4px; }
.section-sub { text-align: center; color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 620px; margin-left: auto; margin-right: auto; }
.divider { border-top: 1px solid var(--hairline); width: 80%; margin: 30px auto; }

/* Why choose us */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--card-border); }
.feature-card .fi { width: 54px; height: 54px; border-radius: 14px; background: var(--chip-bg); display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.feature-card h3 { font-size: 19px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.feature-card p { color: var(--ink); font-size: 14.5px; }

/* How it works */
.steps { margin-top: 44px; display: flex; flex-direction: column; gap: 26px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step .num { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.step h3 { font-size: 22px; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.step p { color: var(--ink); font-size: 15px; }

/* Dark CTA band */
.cta-band { background: var(--dark); border-radius: 28px; padding: 56px 48px; text-align: center; color: #fff; margin: 20px 0; }
.cta-band h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.4px; }
.cta-band p { color: #cfd6da; margin: 14px auto 26px; max-width: 520px; }
.cta-band .stores { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--brand); color: #dbe7e2; margin-top: 60px; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand-logo { color: #fff; }
.site-footer .brand-logo .mark { background: rgba(255,255,255,.14); }
.footer-about { color: #a7c4ba; font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-contact { list-style: none; margin: 18px 0 0; padding: 0; max-width: 320px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; color: #a7c4ba; font-size: 14px; margin-bottom: 11px; line-height: 1.45; }
.footer-contact li svg { flex: none; margin-top: 2px; color: #7fc99a; }
.footer-contact a { color: #a7c4ba; transition: color .15s; }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: #a7c4ba; font-size: 14px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #8fb3a7; font-size: 13px; }

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal-hero { background: linear-gradient(135deg, var(--brand), #056B56); color: #fff; padding: 56px 0; }
.legal-hero h1 { font-size: 34px; font-weight: 800; }
.legal-hero p { color: #cde6da; margin-top: 8px; }
.legal-body { max-width: 820px; margin: 0 auto; padding: 48px 24px 20px; }
.legal-body h1 { font-size: 26px; color: var(--brand); margin-bottom: 6px; }
.legal-body h2 { font-size: 19px; color: var(--slate); margin-top: 30px; margin-bottom: 6px; }
.legal-body p { margin: 8px 0; color: #384347; font-size: 15px; }
.legal-body .tag { display: inline-block; background: var(--chip-bg); color: var(--accent-dark); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; margin: 8px 0; }
.legal-body ul { margin: 8px 0 8px 22px; color: #384347; font-size: 15px; }

/* ── Sub-page hero + prose ───────────────────────────────────────────────── */
.page-hero { padding: 64px 0 8px; text-align: center; }
.page-hero .eyebrow { display: inline-block; background: var(--chip-bg); color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; padding: 6px 14px; border-radius: 8px; margin-bottom: 14px; }
.page-hero h1 { font-size: 40px; font-weight: 800; color: var(--slate); letter-spacing: -0.5px; }
.page-hero p { color: var(--muted); font-size: 18px; margin: 16px auto 0; max-width: 640px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 24px; font-weight: 700; color: var(--slate); margin: 34px 0 10px; }
.prose p { color: #40474b; font-size: 16px; margin: 12px 0; }
.prose ul { margin: 12px 0 12px 20px; color: #40474b; font-size: 16px; }
.prose ul li { margin: 8px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.mini-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.mini-card .fi { width: 48px; height: 48px; border-radius: 12px; background: var(--chip-bg); display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.mini-card h3 { font-size: 19px; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.mini-card p { color: var(--ink); font-size: 15px; }

/* Split image + text rows (sub-pages) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 40px; }
.split + .split { margin-top: 56px; }
.split-media { display: flex; justify-content: center; }
.split-media img { width: 236px; border-radius: 30px; border: 9px solid #0d1512; box-shadow: var(--shadow-lg); background: #0d1512; }
.split-copy .step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.split-copy h3 { font-size: 24px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.split-copy p { color: var(--ink); font-size: 16px; }
.banner-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); margin-top: 32px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .split-media { order: -1; }
  .split-copy .step-num { margin-left: auto; margin-right: auto; }
}

/* FAQ accordion (native details/summary) */
.faq { max-width: 780px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 4px 20px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16.5px; color: var(--slate); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--accent); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #40474b; font-size: 15.5px; padding: 0 0 18px; margin: 0; }

/* Contact cards (help page) */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.contact-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); transition: .2s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card .fi { width: 54px; height: 54px; border-radius: 50%; background: var(--chip-bg); display: grid; place-items: center; font-size: 26px; margin: 0 auto 16px; }
.contact-card h3 { font-size: 18px; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--ink); font-size: 14.5px; }
.contact-card a { color: var(--accent); font-weight: 600; }

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
}

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

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  .hero { padding: 90px 0 50px; }
  .hero-grid { flex-direction: row; justify-content: space-between; gap: 40px; }
  .hero-copy { text-align: left; flex: 1.1; }
  .hero .stores { justify-content: flex-start; }
  .phone-stage { flex: 1; }
  .hero h1 { font-size: 52px; }
  .steps { gap: 22px; }
  .step { padding: 32px; }
}
@media (max-width: 899px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .section-title { font-size: 27px; }
  .cta-band { padding: 40px 22px; }
  .cta-band h2 { font-size: 26px; }
  .mobile-menu.open { display: block; background: var(--surface); border-bottom: 1px solid var(--hairline); padding: 12px 24px 20px; }
  .mobile-menu.open a { display: block; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--bg); }
}
@media (max-width: 620px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
