/* =============================================================
   VouchPay Landing Page — Styles
   Mobile-first, min 375px breakpoint
   ============================================================= */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:          #0a0f1e;
  --color-surface:     #111827;
  --color-surface-2:   #1a2235;
  --color-border:      #1f2d45;
  --color-text:        #f0f4ff;
  --color-text-muted:  #8fa3bf;
  --color-text-dim:    #4a6580;
  --color-teal:        #1bbdd4;
  --color-teal-light:  #4dd6e8;
  --color-teal-dark:   #0e9ab0;
  --color-yellow:      #f5b31a;
  --color-green:       #22c55e;
  --color-orange:      #f97316;
  --color-red:         #ef4444;
  --color-white:       #ffffff;
  --radius-sm:         6px;
  --radius-md:         12px;
  --radius-lg:         20px;
  --radius-pill:       999px;
  --shadow-card:       0 4px 24px rgba(0,0,0,0.35);
  --shadow-glow-teal:  0 0 40px rgba(27,189,212,0.15);
  --font:              'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h:             64px;
  --transition:        0.2s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }
ul { list-style: none; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-sm  { padding: 8px 18px;  font-size: 13px; }
.btn-md  { padding: 12px 24px; font-size: 15px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--color-teal); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-teal-light); box-shadow: 0 0 20px rgba(27,189,212,0.4); }
.btn-secondary { background: transparent; color: var(--color-teal); border: 2px solid var(--color-teal); }
.btn-secondary:hover { background: rgba(27,189,212,0.1); }
.btn-white { background: var(--color-white); color: #0a0f1e; }
.btn-white:hover { background: #e8f0fe; box-shadow: 0 0 20px rgba(255,255,255,0.2); }

.store-btn { min-width: 168px; }
.store-icon { width: 24px; height: 24px; flex-shrink: 0; fill: currentColor; }
.store-icon--dark { fill: #0a0f1e; }
.store-btn-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.store-btn-sub  { font-size: 11px; font-weight: 400; opacity: 0.8; }
.store-btn-main { font-size: 15px; font-weight: 700; }

/* ---- Badges ---- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; letter-spacing: 0.03em; }
.badge-verified { background: rgba(27,189,212,0.15); color: var(--color-teal-light); border: 1px solid rgba(27,189,212,0.3); }

/* ---- Section headers ---- */
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 12px; }
.section-headline { font-size: clamp(28px, 5vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.section-subhead { font-size: clamp(16px, 2vw, 18px); color: var(--color-text-muted); max-width: 640px; margin-bottom: 48px; line-height: 1.7; }

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,15,30,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-h);
  transition: background var(--transition);
}
.nav.nav--scrolled { background: rgba(10,15,30,0.97); }
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 18px; color: var(--color-text); flex-shrink: 0; }
.logo-mark { color: var(--color-teal); font-size: 20px; }
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--color-text-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--color-text); }
.nav-ctas { margin-left: auto; display: none; }
.nav-hamburger { margin-left: auto; background: none; border: none; display: flex; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  display: flex; flex-direction: column; padding: 24px 20px; gap: 16px;
  transform: translateY(-120%); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease; z-index: 99;
}
.nav-mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-link { font-size: 16px; font-weight: 500; color: var(--color-text-muted); padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.mobile-cta { align-self: flex-start; margin-top: 8px; }
@media (min-width: 768px) {
  .nav-links  { display: flex; }
  .nav-ctas   { display: flex; }
  .nav-hamburger { display: none; }
  .nav-mobile-menu { display: none !important; }
}

/* ============================================================ HERO */
.hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(27,189,212,0.12) 0%, transparent 70%), var(--color-bg);
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-eyebrow { margin-bottom: 16px; }
.hero-headline {
  font-size: clamp(36px, 8vw, 68px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-white) 60%, var(--color-teal-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subhead { font-size: clamp(16px, 2.5vw, 19px); color: var(--color-text-muted); line-height: 1.7; max-width: 520px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-disclaimer { font-size: 13px; color: var(--color-text-dim); }
.hero-visual { display: flex; justify-content: center; }

.phone-mockup {
  width: 280px; max-width: 100%;
  background: #0d1526; border-radius: 36px; border: 2px solid var(--color-border);
  padding: 16px 12px; box-shadow: var(--shadow-card), var(--shadow-glow-teal); overflow: hidden;
}
.phone-screen { display: flex; flex-direction: column; gap: 10px; }
.phone-status-bar { display: flex; justify-content: space-between; font-size: 11px; color: var(--color-text-dim); padding: 0 4px; }
.phone-app-header { font-weight: 800; font-size: 14px; color: var(--color-text); padding: 4px 4px 0; }
.phone-logo-sm { color: var(--color-teal); }
.phone-search-bar { display: flex; align-items: center; gap: 8px; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 8px 12px; font-size: 11px; color: var(--color-text-dim); }
.phone-result-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.phone-result-card--warn { border-color: rgba(249,115,22,0.4); }
.result-company-row { display: flex; flex-direction: column; gap: 4px; }
.result-badge-verified { font-size: 9px; font-weight: 700; color: var(--color-teal-light); background: rgba(27,189,212,0.1); border: 1px solid rgba(27,189,212,0.25); border-radius: var(--radius-pill); padding: 2px 7px; width: fit-content; }
.result-company-name { font-size: 12px; font-weight: 700; color: var(--color-text); }
.result-score-row { display: flex; gap: 10px; align-items: flex-start; }
.score-circle { width: 52px; height: 52px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; border: 2px solid; }
.score-green  { border-color: var(--color-green);  color: var(--color-green);  background: rgba(34,197,94,0.1); }
.score-orange { border-color: var(--color-orange); color: var(--color-orange); background: rgba(249,115,22,0.1); }
.score-num   { font-size: 16px; font-weight: 800; line-height: 1; }
.score-label { font-size: 8px; font-weight: 600; opacity: 0.8; }
.score-details { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.score-item { font-size: 10px; font-weight: 500; }
.score-positive { color: var(--color-green); }
.score-negative { color: var(--color-orange); }
.score-neutral  { color: var(--color-text-muted); }
.result-vouch-row { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; border-top: 1px solid var(--color-border); }
.vouch-count { font-size: 10px; color: var(--color-text-muted); }
.vouch-btn { font-size: 10px; font-weight: 700; background: var(--color-teal); color: var(--color-bg); border: none; border-radius: var(--radius-pill); padding: 4px 12px; }

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 420px; gap: 80px; }
  .phone-mockup { width: 300px; }
}

/* ============================================================ STAT BANNER */
.stat-banner { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 40px 0; }
.stat-banner-inner { display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-num { font-size: clamp(32px, 6vw, 48px); font-weight: 800; color: var(--color-teal-light); letter-spacing: -0.02em; line-height: 1; }
.stat-desc { font-size: 14px; color: var(--color-text-muted); max-width: 180px; text-align: center; line-height: 1.4; }
.stat-divider { width: 40px; height: 2px; background: var(--color-border); border-radius: 2px; }
@media (min-width: 768px) {
  .stat-banner-inner { flex-direction: row; justify-content: center; gap: 40px; text-align: left; }
  .stat-item { align-items: flex-start; }
  .stat-divider { width: 2px; height: 48px; }
  .stat-desc { max-width: 160px; text-align: left; }
}

/* ============================================================ PROBLEM */
.problem { padding: 80px 0; background: var(--color-bg); }
.problem-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.problem-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; transition: border-color var(--transition), box-shadow var(--transition); }
.problem-card:hover { border-color: rgba(27,189,212,0.3); box-shadow: 0 4px 24px rgba(27,189,212,0.08); }
.problem-icon { font-size: 32px; margin-bottom: 12px; }
.problem-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.problem-card p  { font-size: 15px; color: var(--color-text-muted); line-height: 1.65; }
@media (min-width: 768px) { .problem-cards { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================ HOW IT WORKS */
.how-it-works { padding: 80px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-number { font-size: 13px; font-weight: 800; color: var(--color-teal); background: rgba(27,189,212,0.12); border: 1px solid rgba(27,189,212,0.25); border-radius: var(--radius-pill); padding: 6px 14px; flex-shrink: 0; letter-spacing: 0.05em; }
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-content p  { font-size: 15px; color: var(--color-text-muted); line-height: 1.65; }
.step-connector { width: 2px; height: 32px; background: var(--color-border); margin: 8px 0 8px 38px; border-radius: 2px; }
@media (min-width: 768px) {
  .steps { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr; gap: 0; align-items: flex-start; }
  .step-connector { width: auto; height: 2px; margin: 20px 0 0; background: var(--color-border); }
  .step { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================ AUDIENCE */
.audience-section { padding: 80px 0; }
.audience-section--alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.audience-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.audience-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.audience-eyebrow--blue   { color: var(--color-teal); }
.audience-eyebrow--yellow { color: var(--color-yellow); }
.audience-content h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.audience-content p  { font-size: 16px; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 24px; }
.audience-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.audience-list li { display: flex; gap: 10px; font-size: 15px; color: var(--color-text-muted); line-height: 1.5; }
.check { color: var(--color-teal); font-weight: 700; flex-shrink: 0; }
.audience-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.audience-card--highlight { border-color: rgba(27,189,212,0.35); background: rgba(27,189,212,0.06); }
.audience-card-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; color: var(--color-text-dim); }
.audience-card-label--green { color: var(--color-teal); }
.scenario-text { font-size: 15px; line-height: 1.65; color: var(--color-text-muted); font-style: italic; margin-bottom: 10px; }
.scenario-attribution { font-size: 12px; font-weight: 600; color: var(--color-text-dim); }
.supplier-stat-block { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.supplier-stat { display: flex; flex-direction: column; gap: 8px; }
.supplier-stat-num   { font-size: 48px; font-weight: 800; color: var(--color-yellow); letter-spacing: -0.02em; }
.supplier-stat-label { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }
.supplier-stat-divider { height: 1px; background: var(--color-border); }
@media (min-width: 900px) {
  .audience-inner--left  { grid-template-columns: 1fr 1fr; }
  .audience-inner--right { grid-template-columns: 1fr 1fr; }
  .audience-inner--right .audience-visual { order: -1; }
}

/* ============================================================ TRUST */
.trust { padding: 80px 0; background: var(--color-bg); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.trust-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; transition: border-color var(--transition), transform var(--transition); }
.trust-card:hover { border-color: rgba(27,189,212,0.35); transform: translateY(-2px); }
.trust-icon { font-size: 32px; margin-bottom: 12px; }
.trust-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.trust-card p  { font-size: 15px; color: var(--color-text-muted); line-height: 1.65; }
@media (min-width: 600px)  { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================ GET APP */
.get-app { padding: 80px 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.get-app-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.get-app-content h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.get-app-content > p { font-size: 17px; color: var(--color-text-muted); margin-bottom: 36px; line-height: 1.65; }
.get-app-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 32px; }
.waitlist-divider { display: flex; align-items: center; gap: 16px; color: var(--color-text-dim); font-size: 13px; margin-bottom: 24px; }
.waitlist-divider::before, .waitlist-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.waitlist-label { font-size: 14px; color: var(--color-text-muted); margin-bottom: 12px; }
.waitlist-form-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.waitlist-input { flex: 1; min-width: 0; padding: 12px 18px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-pill); color: var(--color-text); font-family: var(--font); font-size: 15px; transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.waitlist-input:focus { border-color: var(--color-teal); box-shadow: 0 0 0 3px rgba(27,189,212,0.15); }
.waitlist-input::placeholder { color: var(--color-text-dim); }
.waitlist-submit { flex-shrink: 0; }
.waitlist-feedback { min-height: 20px; margin-top: 10px; font-size: 14px; font-weight: 500; }
.waitlist-feedback--success { color: var(--color-green); }
.waitlist-feedback--error   { color: var(--color-red); }

/* ============================================================ FOOTER */
.footer { background: var(--color-bg); border-top: 1px solid var(--color-border); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 56px 20px 40px; max-width: 1120px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 17px; color: var(--color-text); margin-bottom: 10px; }
.footer-tagline { font-size: 14px; color: var(--color-text-muted); margin-bottom: 8px; }
.footer-legal-entity { font-size: 12px; color: var(--color-text-dim); }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-dim); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--color-text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--color-teal); }
.footer-disclaimer { border-top: 1px solid var(--color-border); padding: 24px 0; }
.footer-disclaimer p { font-size: 12px; color: var(--color-text-dim); line-height: 1.7; max-width: 900px; padding: 0 20px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }

/* ============================================================ RESPONSIVE */
@media (max-width: 374px) { body { min-width: 375px; } }
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .get-app-stores { flex-direction: column; align-items: center; }
  .get-app-stores .btn { width: 100%; max-width: 280px; }
  .waitlist-form-row { flex-direction: column; }
  .waitlist-input { width: 100%; }
  .waitlist-submit { width: 100%; }
}

/* Accessibility focus */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}
