/* ============================================
   Billvox — style.css
   ============================================ */

/* Base */
* {
  font-family: 'Inter', sans-serif;
}

body {
  background: #fff;
}

input::placeholder {
  color: #9ca3af;
}

details summary::-webkit-details-marker {
  display: none;
}

/* ── Nav ── */
.nav {
  border-bottom: 1px solid #e5e7eb;
  padding: 0 1.5rem;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: #111827;
}

.nav-cta {
  background: #2563eb;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  padding: 5.5rem 1.5rem 4rem;
  text-align: center;
  background: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111827;
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.hero h1 span {
  color: #2563eb;
}

.hero-sub {
  color: #6b7280;
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

/* ── Waitlist Form ── */
.waitlist-wrap {
  max-width: 400px;
  margin: 0 auto;
}

.form-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  color: #111827;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  outline: none;
  background: #fff;
}

.form-input:last-of-type {
  margin-bottom: 0.75rem;
}

.btn-primary {
  width: 100%;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.form-success {
  display: none;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-note {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.75rem;
}

/* ── Avatar Row ── */
.avatar-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  margin-left: -6px;
}

.avatar-1 { background: #dbeafe; color: #1d4ed8; }
.avatar-2 { background: #e0e7ff; color: #4338ca; }
.avatar-3 { background: #dcfce7; color: #15803d; }
.avatar-4 { background: #fef9c3; color: #a16207; }

.avatar-label {
  color: #9ca3af;
  font-size: 0.8rem;
}

.avatar-label strong {
  color: #374151;
}

/* ── Section Shared ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #111827;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.inner-760 { max-width: 760px; margin: 0 auto; }
.inner-640 { max-width: 640px; margin: 0 auto; }
.inner-560 { max-width: 560px; margin: 0 auto; }

/* ── SMS Demo ── */
.section-demo {
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding: 3.5rem 1.5rem;
}

.section-demo .section-label {
  text-align: center;
  margin-bottom: 1.5rem;
}

.chat-window {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
}

.chat-header {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

.chat-row {
  display: flex;
  margin-bottom: 0.6rem;
}

.chat-row.right { justify-content: flex-end; }
.chat-row.left  { justify-content: flex-start; }

.bubble {
  padding: 0.65rem 0.9rem;
  font-size: 0.87rem;
  line-height: 1.5;
  max-width: 80%;
}

.bubble.sent {
  background: #2563eb;
  color: #fff;
  border-radius: 16px 16px 3px 16px;
}

.bubble.received {
  background: #f3f4f6;
  color: #111827;
  border-radius: 16px 16px 16px 3px;
}

.bubble.received .amount {
  color: #16a34a;
  font-weight: 700;
}

/* ── Features ── */
.section-features {
  background: #fff;
  padding: 4rem 1.5rem;
}

.section-features .section-title {
  max-width: 420px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: #f3f4f6;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: #fff;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #111827;
  margin-bottom: 0.35rem;
}

.feature-desc {
  font-size: 0.81rem;
  color: #6b7280;
  line-height: 1.55;
}

/* ── How It Works ── */
.section-how {
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding: 4rem 1.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.step-num {
  width: 32px;
  height: 32px;
  background: #eff6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #2563eb;
  margin-bottom: 0.85rem;
}

.step-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #111827;
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 0.81rem;
  color: #6b7280;
  line-height: 1.55;
}

/* ── Stats ── */
.section-stats {
  background: #fff;
  padding: 4rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  padding: 1.25rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.45;
}

/* ── FAQ ── */
.section-faq {
  background: #f9fafb;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding: 4rem 1.5rem;
}

.section-faq .section-label {
  text-align: center;
}

.faq-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.2;
}

.faq-list {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-list details {
  border-bottom: 1px solid #f3f4f6;
}

.faq-list details:last-child {
  border-bottom: none;
}

.faq-list summary {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary .faq-icon {
  color: #9ca3af;
  font-size: 1rem;
  font-weight: 400;
}

.faq-list p {
  padding: 0 1.25rem 1rem;
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ── Bottom CTA ── */
.section-cta {
  background: #2563eb;
  padding: 5rem 1.5rem;
  text-align: center;
}

.section-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section-cta .cta-sub {
  color: #bfdbfe;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.cta-wrap {
  max-width: 380px;
  margin: 0 auto;
}

.form-input-dark {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.form-input-dark:last-of-type {
  margin-bottom: 0.75rem;
}

.btn-white {
  width: 100%;
  background: #fff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.form-success-dark {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-note-dark {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-top: 0.75rem;
}

/* ── Footer ── */
footer {
  background: #1e40af;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-logo {
  color: #bfdbfe;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-copy {
  color: #93c5fd;
  font-size: 0.75rem;
}
