/* ═══════════════════════════════════════════
   GOOGLE FONT — Lato (matches whiteaegis.com)
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700;900&display=swap');

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

:root {
  --primary:  #e21f36;
  --primary-d:#c41829;
  --navy:     #000219;
  --body-txt: #4b5280;
  --bg:       #f5f6fa;
  --white:    #ffffff;
  --green:    #10b981;
  --amber:    #f59e0b;
  --red-err:  #ef4444;
  --border:   #e2e4ee;
  --muted:    #6b7280;
  --radius:   8px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--body-txt);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   SCREEN CONTROL
═══════════════════════════════════════════ */
.screen { display: none; }
.screen.active { display: block; }

/* ═══════════════════════════════════════════
   WA WEBSITE HEADER — matches whiteaegis.com
═══════════════════════════════════════════ */
.wa-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
}

.wa-topbar {
  background: #000219;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wa-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
}

.wa-social-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 14px;
}

.wa-social-links a {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.wa-social-links a:hover { color: var(--primary); }

.wa-navbar {
  background: #000219;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.wa-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.wa-logo-link { display: flex; align-items: center; }

.wa-logo {
  height: 52px;
  width: auto;
  display: block;
}

.wa-nav { display: flex; }

.wa-navlist {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-navlist > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.wa-navlist > li > a:hover { color: var(--primary); }

.wa-navlist > li > a i { font-size: 16px; }

.wa-has-dropdown { position: relative; }

.wa-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #000219;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  min-width: 260px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 1000;
  padding: 6px 0;
}

.wa-has-dropdown:hover .wa-dropdown { display: block; }

.wa-dropdown li a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.wa-dropdown li a:hover { background: rgba(255,255,255,0.07); color: #fff; }

.wa-dpdp-item {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 6px;
  padding-top: 4px;
}

.wa-dpdp-item a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: var(--primary) !important;
  color: #ffffff !important;
  border-radius: 6px;
  margin: 4px 8px;
  padding: 8px 12px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

.wa-dpdp-item a:hover { background: var(--primary-d) !important; }

.wa-free-badge {
  font-size: 10px;
  background: #fff;
  color: var(--primary);
  padding: 1px 5px;
  border-radius: 8px;
  font-weight: 800;
  margin-left: auto;
}

.wa-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.wa-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}

/* ═══════════════════════════════════════════
   WA FOOTER — matches whiteaegis.com
═══════════════════════════════════════════ */
.wa-footer {
  background: var(--navy);
  padding: 40px 24px 0;
}

.wa-footer-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.wa-footer-logo {
  height: 52px;
  width: auto;
}

.wa-copyright {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
}

.wa-copyright-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.wa-copyright p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin: 4px 0;
}

.wa-copyright a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.wa-copyright a:hover { color: var(--primary); text-decoration: none; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.dpdp-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* ═══════════════════════════════════════════
   TRUST BADGES (now in hero)
═══════════════════════════════════════════ */
.trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.trust-badges span {
  font-size: 12px;
  background: rgba(226,31,54,0.12);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(226,31,54,0.3);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  text-align: center;
  padding: 28px 0 28px;
}

.hero h1 {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.hero-sub {
  font-size: 16px;
  color: var(--body-txt);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Red underline accent on hero title */
.hero h1 span {
  position: relative;
}
.hero h1 span::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   CARD
═══════════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,2,25,0.06);
}

.form-card { padding: 32px; }

/* ═══════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════ */
.form-group { margin-bottom: 22px; }

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}

.req { color: var(--primary); }
.opt { color: var(--muted); font-weight: 400; font-size: 13px; }

.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  margin-top: -4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(226,31,54,0.10);
}

input.invalid, select.invalid {
  border-color: var(--red-err);
}

.field-error {
  color: var(--red-err);
  font-size: 12.5px;
  margin-top: 5px;
  display: none;
}

.field-error.show { display: block; }

/* Checkboxes */
.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--body-txt);
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5;
}

.check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

.consent-group { margin-top: 8px; }
.consent-check { font-size: 13.5px; line-height: 1.55; }

/* Privacy box */
.privacy-box {
  background: #fff5f6;
  border: 1px solid #ffc5cc;
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0;
  font-size: 13px;
  color: #7a0d1a;
}

.privacy-box strong { display: block; margin-bottom: 8px; font-size: 13.5px; }

.privacy-box ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.privacy-box ul li { margin-bottom: 4px; }
.privacy-link { font-size: 13px; font-weight: 700; color: var(--primary); }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.2px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 50px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  width: 100%;
}

.btn-primary:hover { background: var(--primary-d); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(226,31,54,0.25); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  width: 100%;
}

.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-calendly {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  transition: all 0.2s;
}

.btn-calendly:hover {
  background: var(--primary-d);
  text-decoration: none;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226,31,54,0.25);
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
  padding: 6px 0;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
}

.btn-back {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  font-family: 'Lato', sans-serif;
}

.btn-back:hover { border-color: var(--navy); color: var(--navy); }

/* ═══════════════════════════════════════════
   QUIZ — SCREEN 2
═══════════════════════════════════════════ */
.quiz-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,2,25,0.06);
}

.quiz-header h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}

.quiz-header p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.progress-wrap { margin-bottom: 10px; }

.progress-bar-bg {
  background: var(--border);
  border-radius: 20px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--primary), #ff6b7a);
  height: 100%;
  border-radius: 20px;
  transition: width 0.4s ease;
  width: 0%;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.motivation-msg {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

/* Question cards */
.questions-list { display: flex; flex-direction: column; gap: 14px; }

.question-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s;
  box-shadow: 0 1px 3px rgba(0,2,25,0.05);
}

.question-card.answered { border-color: #ffc5cc; border-left: 3px solid var(--primary); }

.q-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.q-number {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.q-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.55;
}

.q-buttons {
  display: flex;
  gap: 10px;
}

.q-btn {
  flex: 1;
  padding: 11px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  background: var(--bg);
  color: var(--navy);
  transition: all 0.18s;
  min-height: 46px;
}

.q-btn.yes-btn.selected {
  background: #d1fae5;
  border-color: var(--green);
  color: #065f46;
}

.q-btn.no-btn.selected {
  background: #fee2e2;
  border-color: var(--red-err);
  color: #991b1b;
}

.q-btn:not(.selected):hover { border-color: var(--primary); }

.quiz-footer {
  text-align: center;
  margin-top: 24px;
  padding-bottom: 20px;
}

.quiz-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* ═══════════════════════════════════════════
   RESULTS — SCREEN 3
═══════════════════════════════════════════ */
.results-hero {
  text-align: center;
  padding: 8px 0 20px;
}

.results-hero h2 {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
  color: var(--navy);
}
.results-hero p { color: var(--body-txt); font-size: 15px; margin-top: 4px; }
.results-date { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Score ring */
.score-section {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,2,25,0.06);
}

.score-ring-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
}

.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 10;
}

.ring-fill {
  fill: none;
  stroke: var(--green);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.2s ease, stroke 0.4s;
}

.score-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-pct {
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.score-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

.score-msg {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  display: inline-block;
}

.score-msg.green { background: #d1fae5; color: #065f46; }
.score-msg.amber { background: #fef3c7; color: #92400e; }
.score-msg.red-msg { background: #fee2e2; color: #991b1b; }

.score-contact { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Benchmark */
.benchmark-bars { margin: 14px 0; }

.bench-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.bench-name {
  font-size: 13px;
  font-weight: 600;
  min-width: 90px;
  color: var(--navy);
}

.bench-bar-wrap {
  flex: 1;
  background: var(--border);
  border-radius: 20px;
  height: 12px;
  overflow: hidden;
}

.bench-bar {
  height: 100%;
  border-radius: 20px;
  transition: width 1s ease;
}

.your-bar { background: var(--primary); }
.avg-bar { background: var(--muted); }

.bench-pct {
  font-size: 13px;
  font-weight: 700;
  min-width: 35px;
  text-align: right;
  color: var(--navy);
}

.bench-statement {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.cat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.cat-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }

.cat-bar-bg {
  background: var(--border);
  border-radius: 20px;
  height: 8px;
  margin-bottom: 6px;
  overflow: hidden;
}

.cat-bar-fill {
  height: 100%;
  border-radius: 20px;
}

.cat-pct { font-size: 13px; font-weight: 700; }

.cat-bar-fill.green { background: var(--green); }
.cat-bar-fill.amber { background: var(--amber); }
.cat-bar-fill.red   { background: var(--red-err); }
.cat-pct.green { color: var(--green); }
.cat-pct.amber { color: var(--amber); }
.cat-pct.red   { color: var(--red-err); }

/* Gaps */
.gaps-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

.gap-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff5f6;
  border: 1px solid #ffc5cc;
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: #7a0d1a;
}

.gap-item .gap-icon { font-size: 16px; flex-shrink: 0; }
.gap-item.hidden { display: none; }

/* CTA */
.cta-card { text-align: center; }

.cta-msg {
  font-size: 14px;
  color: var(--body-txt);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}

.audit-success {
  margin-top: 16px;
  padding: 12px 16px;
  background: #d1fae5;
  border-radius: var(--radius);
  color: #065f46;
  font-size: 14px;
  font-weight: 700;
}

/* old footer styles removed — using .wa-footer now */

/* ═══════════════════════════════════════════
   DISCLAIMER BOX
═══════════════════════════════════════════ */
.disclaimer-box {
  background: #fffbf0;
  border: 1px solid #f0d080;
  border-left: 4px solid #e6a817;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 20px;
  font-size: 13px;
  color: #6b4f10;
  line-height: 1.6;
}

.disclaimer-box .disc-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 13px;
  color: #92610a;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.disclaimer-box p { margin-bottom: 6px; }
.disclaimer-box p:last-child { margin-bottom: 0; }

/* old site-footer styles removed — using .wa-footer now */

.card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════════
   SECTION DIVIDER WITH ICON
═══════════════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — WA NAV
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .wa-hamburger { display: flex; }

  .wa-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000219;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 12px 0;
    z-index: 998;
  }

  .wa-navbar { position: relative; }

  .wa-nav.open { display: block; }

  .wa-navlist { flex-direction: column; align-items: stretch; gap: 0; }

  .wa-navlist > li > a {
    padding: 12px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .wa-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.04);
    padding: 0;
  }

  .wa-has-dropdown.open .wa-dropdown { display: block; }
  .wa-has-dropdown:hover .wa-dropdown { display: none; }
  .wa-has-dropdown.open:hover .wa-dropdown { display: block; }

  .wa-dropdown li a { padding: 10px 36px; font-size: 14px; }

  .wa-dpdp-item a { margin: 6px 20px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — CONTENT
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .card, .form-card { padding: 18px 16px; }
  .category-grid { grid-template-columns: 1fr; }
  .trust-badges { gap: 6px; }
  .trust-badges span { font-size: 11px; padding: 3px 8px; }
  .q-buttons { flex-direction: column; }
  .q-btn { width: 100%; }
  .cta-buttons { gap: 10px; }
  .bench-name { min-width: 72px; font-size: 12px; }
  .wa-logo { height: 40px; }
  .wa-topbar { display: none; }
}
