/* ═══════════════════════════════════════════
   APEX SYSTEMATIC — audit.css
═══════════════════════════════════════════ */

/* ── Hero ── */
.audit-hero {
  padding: var(--section-y) 0 56px;
  border-bottom: 1px solid #1E2838;
}

.audit-hero h1 {
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.audit-hero .hero-sub {
  max-width: 640px;
}

.audit-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.audit-hero-meta span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A8299;
}

.audit-meta-dot { color: #4F5B6E; }


/* ── Body ── */
.audit-body {
  padding: 56px 0 80px !important;
  border-bottom: none !important;
}

.audit-body.hidden { display: none; }

.audit-wrap {
  width: 100%;
  max-width: 620px;
}

.hidden { display: none !important; }


/* ── Progress ── */
.audit-progress-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  width: 100%;
  max-width: 620px;
}

.audit-prog-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7A8299;
  white-space: nowrap;
  flex: 0 0 auto;
}

.audit-prog-bar {
  flex: 1 1 auto;
  height: 3px;
  background: #263040;
  border-radius: 2px;
  overflow: hidden;
  min-width: 60px;
}

.audit-prog-fill {
  display: block;
  height: 3px;
  background: #C9A84C;
  border-radius: 2px;
  transition: width 0.35s ease;
  width: 0%;
}


/* ── Steps ── */
.audit-step { animation: auditFadeIn 0.2s ease; }
.audit-step.hidden { display: none; }

@keyframes auditFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.audit-q-label {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 6px;
  font-weight: 400;
}

.audit-q-helper {
  font-size: 0.88rem;
  color: #7A8299;
  margin-top: 6px;
}


/* ── Options ── */
.audit-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.audit-opt {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  height: 52px;
  padding: 0 18px;
  background: #131820;
  border: 1px solid #1E2838;
  border-radius: 2px;
  color: #D8DCE4;
  font-size: 0.92rem;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.audit-opt:hover {
  border-color: #263040;
  color: #FFFFFF;
  background: #182030;
}

.audit-opt.selected {
  border-color: #C9A84C;
  background: #182030;
  color: #FFFFFF;
}

.audit-opt::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 14px;
}

.audit-opt.selected::after {
  content: '✓';
  color: #C9A84C;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audit-opt.disabled {
  opacity: 0.35;
  pointer-events: none;
}


/* ── Nav ── */
.audit-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.audit-nav .btn { min-width: 130px; }

.audit-next:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.ao-gdpr-warning {
  font-size: 0.8rem;
  color: #e06c6c;
  margin-top: 8px;
}


/* ── Output section ── */
.audit-output-section {
  padding: var(--section-y) 0;
}

.audit-output-section.hidden { display: none; }

.audit-output {
  width: 100%;
  max-width: 620px;
}


/* ── Output: header ── */
.ao-header { margin-bottom: 52px; }

.ao-header h2 {
  margin: 1rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.ao-pains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ao-pain-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A84C;
  border: 1px solid rgba(201,168,76,0.3);
  padding: 5px 12px;
  border-radius: 2px;
}


/* ── Output: cards ── */
.ao-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.ao-card {
  background: #131820;
  border: 1px solid #1E2838;
  border-radius: 2px;
  padding: 32px 36px;
}

.ao-card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 6px;
  font-weight: 400;
}

.ao-card-what {
  font-size: 0.95rem;
  color: #D8DCE4;
  line-height: 1.65;
  margin-bottom: 8px;
}

.ao-card-stop {
  font-size: 0.875rem;
  color: #7A8299;
  margin-bottom: 24px;
  font-style: italic;
}

.ao-card-included {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}

.ao-card-included li {
  font-size: 0.875rem;
  color: #7A8299;
  padding-left: 16px;
  position: relative;
}

.ao-card-included li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #4F5B6E;
}

.ao-card-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid #1E2838;
}

.ao-card-stat { display: flex; flex-direction: column; gap: 3px; }

.ao-stat-label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4F5B6E;
}

.ao-stat-val { font-size: 1rem; font-weight: 500; color: #FFFFFF; }
.ao-stat-val--gold { color: #C9A84C; }





/* ── Output: ROI ── */
.ao-roi {
  background: #131820;
  border: 1px solid #1E2838;
  padding: 28px 36px;
  border-radius: 2px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.ao-roi-rate {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ao-roi-rate label { font-size: 0.85rem; color: #7A8299; white-space: nowrap; }

.ao-rate-field {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: #0E1117;
  border: 1px solid #263040;
  border-radius: 2px;
  padding: 8px 14px;
  gap: 6px;
}

.ao-rate-symbol, .ao-rate-unit { font-size: 0.9rem; color: #7A8299; }

.ao-rate-field input {
  width: 72px;
  background: none;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  text-align: right;
  -moz-appearance: textfield;
}

.ao-rate-field input::-webkit-outer-spin-button,
.ao-rate-field input::-webkit-inner-spin-button { -webkit-appearance: none; }

.ao-rate-hint { font-size: 0.75rem; color: #4F5B6E; font-style: italic; }

.ao-roi-calc { font-size: 0.95rem; color: #D8DCE4; line-height: 1.6; max-width: 340px; }
.ao-roi-calc strong { color: #C9A84C; }

.ao-exclusions {
  font-size: 0.78rem;
  color: #4F5B6E;
  line-height: 1.7;
  margin-bottom: 48px;
  font-style: italic;
}


/* ── Output: CTA ── */
.ao-cta {
  background: #131820;
  border: 1px solid #1E2838;
  border-left: 3px solid #C9A84C;
  padding: 36px 36px;
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
}

.ao-cta-text strong { display: block; font-size: 1.1rem; color: #FFFFFF; margin-bottom: 8px; }
.ao-cta-text p { font-size: 0.9rem; line-height: 1.65; max-width: 380px; }
.ao-cta-btn { white-space: nowrap; flex-shrink: 0; }


/* ── Output: email capture ── */
.ao-email-capture {
  border-top: 1px solid #1E2838;
  padding-top: 40px;
}

.ao-email-capture strong { display: block; color: #FFFFFF; margin-bottom: 6px; }
.ao-email-capture > p { font-size: 0.9rem; margin-bottom: 20px; }

.ao-email-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ao-email-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  background: #131820;
  border: 1px solid #263040;
  border-radius: 2px;
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
}

.ao-email-form input[type="email"]::placeholder { color: #4F5B6E; }
.ao-email-form input[type="email"]:focus { border-color: #7A8299; }

.ao-gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.ao-gdpr-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #C9A84C;
  flex-shrink: 0;
}

.ao-gdpr-label span { font-size: 0.82rem; color: #7A8299; line-height: 1.5; }
.ao-privacy-link { font-size: 0.78rem; color: #4F5B6E; text-decoration: underline; text-underline-offset: 2px; }
.ao-email-confirm { margin-top: 16px; font-size: 0.88rem; color: #C9A84C; }
.ao-email-confirm.hidden { display: none; }


/* ── Responsive ── */
@media (max-width: 640px) {
  .ao-card  { padding: 24px 20px; }
  .ao-roi   { padding: 22px 20px; }
  .ao-cta   { padding: 24px 20px; flex-direction: column; }
  .ao-cta-btn { width: 100%; text-align: center; }
  .ao-card-stats { gap: 18px; }
}
