/* ===================================================
   BVG — Business Velocity Group
   Design: Industrial luxury, dark + gold, clean typography
   =================================================== */

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

:root {
  --bg: #0d0d0d;
  --bg-elevated: #141414;
  --bg-accent: #1a1a0f;
  --gold: #d4a853;
  --gold-light: #e8c978;
  --text: #e6e6e6;
  --text-muted: #888;
  --border: rgba(255,255,255,.06);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 2px;
  --max-width: 1100px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { 
  background: var(--bg); color: var(--text); 
  font-family: var(--font-body); font-weight: 300;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 500; margin-bottom: .4rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.1rem; color: var(--text); }
.tagline { font-size: 1.15rem; font-style: italic; color: var(--gold); margin-top: 1.5rem; }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 700px; text-align: center; margin-left: auto; margin-right: auto; }
.section { padding: 5rem 0; }
.section-dark { background: var(--bg-elevated); }
.section-accent { background: var(--bg-accent); }
.section-cta { padding: 6rem 0; text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ---------- NAV ---------- */
.nav { 
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { 
  max-width: var(--max-width); margin: 0 auto; padding: .8rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { 
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--gold); text-decoration: none; letter-spacing: 2px;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 500; text-decoration: none; cursor: pointer; transition: all .2s; border: none; }
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { color: var(--text-muted); background: transparent; }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: .9rem 2.2rem; font-size: .95rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .8rem; }

/* ---------- HERO ---------- */
.hero { padding: 6rem 0 4rem; min-height: 70vh; display: flex; align-items: center; }
.hero-tag { font-size: .8rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); margin-bottom: 1rem; }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1.5rem; align-items: center; }

/* ---------- PROBLEM ---------- */
.problem-list { list-style: none; }
.problem-list li { padding: .5rem 0; padding-left: 1.2rem; position: relative; color: var(--text-muted); }
.problem-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.stat-box { text-align: center; padding: 2rem; border-left: 2px solid var(--gold); }
.stat-number { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { color: var(--text-muted); margin-top: .5rem; }
.stat-note { font-size: .85rem; color: var(--text-muted); margin-top: .5rem; }

/* ---------- PHASES ---------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.phase { padding: 1.5rem 0; border-top: 1px solid var(--border); }
.phase-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); opacity: .4; }
.phase-timeline { font-size: .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5rem; }
.phase-deliverable { font-size: .8rem; color: var(--text-muted); margin-top: .8rem; font-style: italic; }

/* ---------- SERVICES ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.service h3 { color: var(--gold); }
.service p { color: var(--text-muted); font-size: .9rem; }

/* ---------- WHO ---------- */
.who-card { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.who-card h3 { color: var(--gold); }
.who-card p { font-size: .9rem; color: var(--text-muted); }

/* ---------- WHY ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-top: 2rem; }

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.pricing-card { padding: 2rem; border: 1px solid var(--border); }
.pricing-featured { border-color: var(--gold); }
.pricing-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }
.pricing-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; margin: .5rem 0; }
.pricing-price span { font-size: 1rem; color: var(--text-muted); }
.pricing-monthly { color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; font-size: .9rem; }
.pricing-card ul li { padding: .3rem 0; color: var(--text-muted); }
.pricing-card ul li::before { content: '✓ '; color: var(--gold); }
.pricing-note { text-align: center; font-size: .8rem; color: var(--text-muted); margin-top: 1.5rem; }

/* ---------- FAQ ---------- */
.faq-list { text-align: left; margin-top: 2rem; }
.faq-item { padding: 0 0 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.faq-item h3 { color: var(--gold); margin-bottom: .5rem; }
.faq-item p { color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta-sub { font-size: .85rem; color: var(--text-muted); margin-bottom: 2rem; }
.cta-alt { font-size: .85rem; color: var(--text-muted); margin-top: 1.5rem; }
.cta-alt a { color: var(--gold); }

/* ---------- FOOTER ---------- */
footer { padding: 2rem 0; text-align: center; font-size: .8rem; color: var(--text-muted); border-top: 1px solid var(--border); }

/* ---------- FORM ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: .3rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .7rem 1rem; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: .95rem; border-radius: var(--radius);
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-checkbox { display: flex; align-items: flex-start; gap: .5rem; }
.form-checkbox input[type="checkbox"] { width: auto; margin-top: .2rem; accent-color: var(--gold); }
.checkbox-label span { font-size: .85rem; color: var(--text-muted); line-height: 1.4; }
.form-note { text-align: center; font-size: .8rem; color: var(--text-muted); margin-top: 1rem; }

/* ---------- SAMPLE CARD ---------- */
.sample-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 2rem; overflow: hidden; }
.sample-header { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.sample-badge { background: var(--gold); color: var(--bg); font-size: .7rem; font-weight: 600; padding: .15rem .5rem; border-radius: 2px; text-transform: uppercase; letter-spacing: 1px; }
.sample-title { font-size: .9rem; color: var(--text-muted); }
.sample-body { padding: 1.5rem; }
.sample-body h4 { color: var(--gold); font-size: .95rem; margin: 1.5rem 0 .5rem; font-family: var(--font-body); font-weight: 600; }
.sample-body h4:first-child { margin-top: 0; }
.sample-body p { font-size: .9rem; color: var(--text-muted); margin-bottom: .8rem; }
.sample-body ol { font-size: .9rem; color: var(--text-muted); padding-left: 1.2rem; margin-bottom: 1rem; }
.sample-body ol li { margin-bottom: .4rem; }
.sample-table { width: 100%; border-collapse: collapse; margin: .75rem 0; }
.sample-table th { font-size: .8rem; color: var(--gold); text-align: left; padding: .5rem; border-bottom: 1px solid var(--border); font-weight: 500; }
.sample-table td { font-size: .85rem; color: var(--text-muted); padding: .5rem; border-bottom: 1px solid var(--border); }

/* ---------- AUDIT DETAILS ---------- */
.audit-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.audit-details h3 { color: var(--gold); margin-bottom: .5rem; }
.audit-details .problem-list { margin-top: 0; }

/* ---------- WIZARD ---------- */
.wizard-progress { display: flex; align-items: center; justify-content: center; gap: 0; margin: 2rem 0 2.5rem; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.wizard-step-num { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-elevated); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .85rem; transition: all .3s; }
.wizard-step.active .wizard-step-num { border-color: var(--gold); color: var(--gold); background: var(--bg-accent); }
.wizard-step.completed .wizard-step-num { border-color: var(--gold); background: var(--gold); color: var(--bg); }
.wizard-step-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.wizard-step.active .wizard-step-label { color: var(--gold); }
.wizard-step.completed .wizard-step-label { color: var(--text); }
.wizard-step-line { flex: 1; height: 2px; background: var(--border); margin: 0 .5rem; min-width: 40px; align-self: center; margin-bottom: 1.2rem; }
.wizard-panel h3 { color: var(--gold); margin-bottom: 1.5rem; }
.wizard-panel { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.wizard-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.wizard-buttons .btn { flex: 1; }

/* ---------- REVIEW SUMMARY ---------- */
.review-summary { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.review-row { display: flex; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.review-row:last-child { border-bottom: none; }
.review-label { font-weight: 500; color: var(--gold); min-width: 100px; }
.review-row span:not(.review-label) { color: var(--text); }

/* ---------- TERMS BOX ---------- */
.terms-box { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; max-height: 300px; overflow-y: auto; }
.terms-box p { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; line-height: 1.6; }
.terms-box p:last-child { margin-bottom: 0; }
.terms-box strong { color: var(--text); }
.terms-link { color: var(--gold); text-decoration: underline; }
.terms-link:hover { color: var(--gold-light); }

/* ---------- TERMS PAGE ---------- */
.terms-page h2 { color: var(--gold); font-size: 1.1rem; margin: 2rem 0 .5rem; font-family: var(--font-body); }
.terms-page h2:first-child { margin-top: 0; }
.terms-page p, .terms-page li { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.terms-page ul { margin: .5rem 0 1rem 1.5rem; }
.terms-page li { margin-bottom: .5rem; }

/* ---------- PAYMENT ---------- */
.payment-summary { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; }
.payment-line { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; }
.payment-label { color: var(--text); font-weight: 400; }
.payment-amount { color: var(--text); font-weight: 600; }
.payment-note { font-size: .8rem; color: var(--text-muted); }
.payment-divider { border-top: 1px solid var(--border); margin: .5rem 0; }
.payment-total .payment-label { font-weight: 600; font-size: 1.1rem; color: var(--text); }
.payment-total .payment-amount { font-size: 1.3rem; color: var(--gold); }
.payment-status { text-align: center; padding: 2rem; }
.payment-status p { color: var(--text-muted); margin-top: 1rem; }
.payment-security { text-align: center; margin-top: 1.5rem; }
.payment-security p { font-size: .8rem; color: var(--text-muted); }

/* ---------- SPINNER ---------- */
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--gold); border-radius: 50%; margin: 0 auto; animation: spin .8s linear infinite; }
.spinner-container { padding: 2rem; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FORM ERROR ---------- */
.form-error { background: rgba(220, 50, 50, .1); border: 1px solid rgba(220, 50, 50, .3); border-radius: var(--radius); padding: .75rem 1rem; color: #f07070; font-size: .85rem; margin-top: 1rem; }

/* ---------- SUCCESS PAGE ---------- */
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--bg); font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.success-timeline { margin: 2rem 0; }
.success-step { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.success-step-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-accent); border: 2px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .85rem; flex-shrink: 0; }
.success-step-content h3 { color: var(--gold); font-size: 1rem; margin-bottom: .25rem; }
.success-step-content p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.success-details { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin: 2rem 0; }
.success-details h3 { color: var(--gold); margin-bottom: 1rem; }
.success-note { margin-top: 1.5rem; padding: 1rem; background: var(--bg-accent); border-radius: var(--radius); border: 1px solid var(--gold); }
.success-note p { font-size: .9rem; margin: 0; }
.success-note a { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 1.5rem; border-bottom: 1px solid var(--border); }
  .mobile-toggle { display: block; }
  .grid-2, .grid-3, .phases, .why-grid, .pricing-grid, .audit-details { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .section { padding: 3rem 0; }
  .sample-table { font-size: .75rem; }
  .sample-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .wizard-progress { gap: 0; }
  .wizard-step-label { font-size: .65rem; }
  .wizard-step-line { min-width: 20px; }
  .payment-line { flex-direction: column; gap: .25rem; }
  .terms-box { max-height: 250px; }
  .success-step { flex-direction: column; align-items: flex-start; }
}