/* approvedcashmax.com — Financial Inclusion Theme: deep indigo, violet, green, gold */

:root {
  --bg:       #0f0a2e;
  --bg2:      #1e1b4b;
  --surface:  #2d2a5e;
  --border:   rgba(124,58,237,.28);
  --violet:   #7c3aed;
  --violet2:  #6d28d9;
  --green:    #16a34a;
  --green2:   #15803d;
  --gold:     #fbbf24;
  --text:     #f5f3ff;
  --muted:    rgba(245,243,255,.68);
  --white:    #ffffff;
  --shadow:   0 20px 60px rgba(0,0,0,.55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,10,46,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.nav-logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -.2px;
}
.nav-logo span { color: var(--green); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 800 !important;
  font-size: .88rem !important;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--green2) !important; }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: radial-gradient(ellipse 900px 500px at 50% 0%, rgba(124,58,237,.2), transparent 70%);
}

.yes-statement {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--text);
}
.yes-statement .yes { color: var(--green); }

h1 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.4;
  letter-spacing: -.2px;
}

.serve-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.serve-badge {
  background: rgba(22,163,74,.14);
  border: 1.5px solid rgba(22,163,74,.4);
  color: var(--green);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.serve-badge .check { color: var(--green); font-weight: 900; }

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--violet), var(--violet2));
  color: var(--white);
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
  transition: opacity .15s, transform .08s;
  box-shadow: 0 8px 30px rgba(124,58,237,.4);
}
.hero-cta:hover { opacity: .9; }
.hero-cta:active { transform: translateY(1px); }

.hero-sub-note {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--muted);
}

/* ── INCLUSION SECTION ── */
.inclusion-section { padding: 70px 20px; }
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.section-title .highlight { color: var(--gold); }
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 48px;
  font-size: 1rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.inclusion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.inclusion-card {
  background: rgba(45,42,94,.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  border-left: 4px solid var(--violet);
}
.inclusion-card .icon { font-size: 2rem; margin-bottom: 14px; }
.inclusion-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.inclusion-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ── FORM SECTION ── */
.form-section {
  background: rgba(30,27,75,.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 20px;
}
.form-section-inner {
  max-width: 560px;
  margin: 0 auto;
}
.form-section-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 8px;
}
.form-section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  font-size: .95rem;
}

.form-card {
  background: rgba(15,10,46,.8);
  border: 1px solid rgba(124,58,237,.35);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

/* Form fields */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-size: .82rem; font-weight: 700; color: rgba(245,243,255,.8); letter-spacing: .1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

input, select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(124,58,237,.3);
  background: rgba(0,0,0,.35);
  color: var(--text);
  font-size: .9rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: auto;
  appearance: auto;
}
input::placeholder { color: rgba(245,243,255,.3); }
input:focus, select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,.2);
}
select option { background: #1e1b4b; }

.form-group.error input,
.form-group.error select { border-color: #f87171; }
.err-msg { font-size: .76rem; color: #fca5a5; display: none; }
.form-group.error .err-msg { display: block; }

#grp-website { display: none; }

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: .2px;
  transition: opacity .15s, transform .08s;
  margin-top: 4px;
}
.submit-btn:hover { opacity: .9; }
.submit-btn:active { transform: translateY(1px); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.form-disclaimer {
  font-size: .72rem;
  color: rgba(245,243,255,.4);
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}
.form-disclaimer a { color: var(--gold); }

#form-error { display: none; color: #fca5a5; font-size: .82rem; margin-top: 8px; text-align: center; }

#confirm-box { display: none; text-align: center; padding: 24px 0; }
.confirm-icon { font-size: 3rem; margin-bottom: 12px; }
.confirm-title { font-size: 1.3rem; font-weight: 900; color: var(--green); margin-bottom: 8px; }
.confirm-body { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ── QUOTES ── */
.quotes-section { padding: 70px 20px; }
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.quote-card {
  background: rgba(45,42,94,.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
}
.quote-text {
  font-size: .93rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}
.quote-text::before { content: "\201C"; }
.quote-text::after  { content: "\201D"; }
.quote-author {
  font-size: .8rem;
  font-weight: 800;
  color: var(--gold);
}

/* ── HOW IT WORKS ── */
.section { padding: 70px 20px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.step {
  background: rgba(45,42,94,.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--violet);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; color: var(--gold); }
.step p { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(45,42,94,.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  padding: 18px 20px;
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .arrow { color: var(--violet); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.faq-item.open .faq-a { display: block; }

/* ── STATES ── */
.states-section { padding: 40px 20px; border-top: 1px solid var(--border); }
.states-label { text-align: center; font-size: .82rem; color: var(--muted); font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.states-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.states-links a {
  background: rgba(45,42,94,.5);
  border: 1px solid var(--border);
  color: var(--gold);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  transition: background .15s;
}
.states-links a:hover { background: rgba(124,58,237,.2); }

/* ── FOOTER ── */
footer {
  background: #080514;
  border-top: 1px solid var(--border);
  padding: 40px 20px 28px;
  color: var(--muted);
  font-size: .8rem;
}
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.footer-logo { font-size: 1rem; font-weight: 900; color: var(--gold); }
.footer-logo span { color: var(--green); }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--text); }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: rgba(245,243,255,.35);
  font-size: .74rem;
  line-height: 1.6;
}

/* ── INNER PAGES ── */
.page-hero {
  background: linear-gradient(135deg, #1a1252, #0f0a2e);
  border-bottom: 1px solid var(--border);
  padding: 60px 20px 48px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--gold); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.prose { max-width: 760px; margin: 0 auto; padding: 48px 20px; }
.prose h2 { font-size: 1.35rem; font-weight: 900; color: var(--gold); margin: 32px 0 12px; }
.prose h3 { font-size: 1.05rem; font-weight: 800; color: var(--text); margin: 24px 0 8px; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: .93rem; line-height: 1.7; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose li { color: var(--muted); font-size: .93rem; line-height: 1.7; margin-bottom: 6px; }
.prose a { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; max-width: 420px; }
  .nav-links { gap: 14px; }
}
@media (max-width: 600px) {
  .serve-badges { gap: 8px; }
  .form-card { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links li:not(:last-child) { display: none; }
  .footer-top { flex-direction: column; }
  .inclusion-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
}
