/* ==========================================================================
   V2F SOLUTIONS - WEBSITE AUDIT ENGINE STYLESHEET
   Proprietary 6-Pillar Digital Legitimacy & Technical Audit Tool
   Design System: Dark Space Theme, Glowing Accents, Clean Glass Cards
   ========================================================================== */

/* --- Standalone Minimal Header & Footer --- */
.audit-standalone-header {
  width: 100%;
  background: rgba(8, 7, 28, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.audit-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.visit-v2f-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.visit-v2f-btn:hover {
  background: rgba(91, 216, 255, 0.1);
  border-color: var(--v2f-cyan-glow);
  color: var(--v2f-cyan-glow);
  transform: translateY(-1px);
}

.audit-standalone-footer {
  width: 100%;
  background: #08071c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.audit-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.audit-footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.audit-footer-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
}

/* --- Audit Layout & Containers --- */
.audit-page-wrap {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: 60px 0 100px;
  background: radial-gradient(circle at 50% 0%, rgba(28, 100, 242, 0.12) 0%, rgba(8, 7, 28, 0) 70%),
              radial-gradient(circle at 85% 30%, rgba(91, 216, 255, 0.08) 0%, rgba(8, 7, 28, 0) 50%);
}

.audit-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91, 216, 255, 0.1);
  border: 1px solid rgba(91, 216, 255, 0.25);
  color: var(--v2f-cyan-glow);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.audit-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.audit-hero h1 .highlight-cyan {
  color: var(--v2f-cyan-glow);
  background: linear-gradient(135deg, #5bd8ff 0%, #4d61d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.audit-hero-desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 760px;
  margin: 0 auto 32px;
}

.audit-trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 36px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.audit-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.audit-trust-item svg {
  color: var(--v2f-cyan-glow);
  flex-shrink: 0;
}

/* --- Mode Switcher Tabs --- */
.audit-mode-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 40px;
  gap: 8px;
}

.audit-tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.audit-tab-btn:hover {
  color: #fff;
}

.audit-tab-btn.active {
  background: var(--v2f-blue-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(77, 97, 214, 0.35);
}

.audit-tab-btn .badge-pill {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 999px;
}

/* --- Card Shell --- */
.audit-card-shell {
  max-width: 860px;
  margin: 0 auto;
  background: #0f0d2b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(91, 216, 255, 0.08);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.audit-card-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4d61d6, #5bd8ff, #ee7811);
}

/* --- Quick Scan Bar --- */
.quick-scan-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-scan-input-group {
  display: flex;
  gap: 12px;
}

.audit-url-input-wrap {
  position: relative;
  flex: 1;
}

.audit-url-input-wrap svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
}

.audit-url-input {
  width: 100%;
  height: 56px;
  padding: 0 20px 0 52px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.25s ease;
}

.audit-url-input:focus {
  outline: none;
  border-color: var(--v2f-cyan-glow);
  box-shadow: 0 0 0 4px rgba(91, 216, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

.audit-submit-btn {
  height: 56px;
  padding: 0 32px;
  background: linear-gradient(135deg, #ee7811 0%, #ff9330 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(238, 120, 17, 0.35);
}

.audit-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(238, 120, 17, 0.45);
}

.quick-scan-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.qs-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.qs-feat-icon {
  color: var(--v2f-cyan-glow);
  font-size: 16px;
  margin-top: 1px;
}

/* --- Multi-Step Wizard Progress Bar --- */
.wizard-progress-header {
  margin-bottom: 36px;
}

.wizard-progress-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 16px;
}

.wizard-progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--v2f-blue-primary), var(--v2f-cyan-glow));
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 14%;
}

.wizard-step-node {
  position: relative;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0f0d2b;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.wizard-step-node.active {
  border-color: var(--v2f-cyan-glow);
  color: #fff;
  background: #17153a;
  box-shadow: 0 0 16px rgba(91, 216, 255, 0.4);
}

.wizard-step-node.completed {
  border-color: #10b981;
  background: #10b981;
  color: #fff;
}

.wizard-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.wizard-pillar-badge {
  color: var(--v2f-cyan-glow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Wizard Questions & Step Views --- */
.wizard-step {
  display: none;
  animation: fadeInStep 0.35s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-question-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.step-question-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Form Fields for Step 1 */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: space-between;
}

.field-label span.req {
  color: var(--v2f-orange-accent);
}

.field-input, .field-select {
  height: 50px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.25s ease;
}

.field-input:focus, .field-select:focus {
  outline: none;
  border-color: var(--v2f-cyan-glow);
  box-shadow: 0 0 0 3px rgba(91, 216, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

.field-select option {
  background: #12102e;
  color: #fff;
}

/* Radio Card Options for Rubric Questions */
.rubric-options-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.rubric-option-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rubric-option-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(91, 216, 255, 0.3);
  transform: translateY(-1px);
}

.rubric-option-card.selected {
  background: rgba(77, 97, 214, 0.12);
  border-color: var(--v2f-cyan-glow);
  box-shadow: 0 0 0 1px var(--v2f-cyan-glow),
              0 8px 24px rgba(77, 97, 214, 0.2);
}

.option-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.rubric-option-card.selected .option-badge {
  background: var(--v2f-cyan-glow);
  color: #08071c;
  border-color: var(--v2f-cyan-glow);
}

.option-content {
  flex: 1;
}

.option-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.4;
}

.option-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.rubric-radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Wizard Button Nav */
.wizard-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard-back-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wizard-back-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.wizard-next-btn {
  background: linear-gradient(135deg, var(--v2f-blue-primary), #6878d6);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(77, 97, 214, 0.3);
}

.wizard-next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(77, 97, 214, 0.45);
}

.wizard-next-btn.finish {
  background: linear-gradient(135deg, #ee7811 0%, #ff9330 100%);
  box-shadow: 0 4px 16px rgba(238, 120, 17, 0.35);
}

.wizard-next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* --- Scanning / Analyzing State --- */
.audit-scanner-modal {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.scanner-circle-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
}

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

.scanner-bg-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.scanner-progress-circle {
  fill: none;
  stroke: url(#cyanBlueGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  transition: stroke-dashoffset 0.2s ease;
}

.scanner-percent-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.scanner-headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.scanner-subline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

/* Terminal Console */
.audit-terminal {
  background: #08071c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #9adbff;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  min-height: 160px;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-line {
  opacity: 0;
  animation: fadeInLine 0.25s forwards;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes fadeInLine {
  to { opacity: 1; }
}

.terminal-line .status-tag {
  color: #10b981;
  font-weight: 600;
}

/* ==========================================================================
   REPORT VIEW
   ========================================================================== */
.audit-report-container {
  display: none;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  animation: fadeInReport 0.5s ease;
}

@keyframes fadeInReport {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Report Action Bar */
.report-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.report-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}

.report-back-link:hover {
  color: var(--v2f-cyan-glow);
}

.report-button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-report-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-report-tool.print {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-report-tool.print:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-report-tool.share {
  background: rgba(91, 216, 255, 0.1);
  border: 1px solid rgba(91, 216, 255, 0.25);
  color: var(--v2f-cyan-glow);
}

.btn-report-tool.share:hover {
  background: rgba(91, 216, 255, 0.2);
}

.btn-report-tool.primary-cta {
  background: linear-gradient(135deg, #ee7811, #ff9330);
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(238, 120, 17, 0.35);
}

/* Report Header Card */
.report-header-card {
  background: linear-gradient(135deg, #12102e 0%, #0d0b26 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.report-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4d61d6, #5bd8ff, #ee7811);
}

.report-brand-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.report-brand-meta .badge-secp {
  background: rgba(91, 216, 255, 0.1);
  color: var(--v2f-cyan-glow);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
}

.report-target-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.report-target-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--v2f-cyan-glow);
  text-decoration: underline;
  margin-bottom: 16px;
}

.report-verdict-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
}

/* Score Circle Gauge */
.report-score-gauge-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-svg-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 12px;
}

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

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 12;
}

.gauge-fill {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gauge-number {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.gauge-out-of {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.grade-badge-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grade-a { background: rgba(16, 185, 129, 0.18); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.grade-b { background: rgba(59, 130, 246, 0.18); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.grade-c { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.grade-d { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

/* --- 6 Pillars Performance Grid --- */
.report-section-head {
  margin-bottom: 20px;
}

.report-section-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.report-section-head p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.pillars-score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.pillar-card {
  background: #12102e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  border-color: rgba(91, 216, 255, 0.3);
  transform: translateY(-2px);
}

.pillar-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.pillar-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-icon {
  font-size: 20px;
}

.pillar-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.pillar-score-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.pillar-meter-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-bottom: 14px;
  overflow: hidden;
}

.pillar-meter-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease;
}

.pillar-desc-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.pillar-rec-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--v2f-cyan-glow);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* --- Critical Red Flags Alert Box --- */
.red-flags-card {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 36px;
}

.red-flags-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.red-flags-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f87171;
}

.red-flags-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.red-flag-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(239, 68, 68, 0.05);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.red-flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  margin-top: 6px;
  flex-shrink: 0;
}

/* --- 30-Day Remediation Roadmap --- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.roadmap-card {
  background: #12102e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  position: relative;
}

.roadmap-week-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--v2f-cyan-glow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.roadmap-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.roadmap-bullet-list {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  padding-left: 18px;
}

.roadmap-bullet-list li {
  margin-bottom: 6px;
}

/* --- V2F Solutions Remediation CTA Banner --- */
.remediation-cta-banner {
  background: radial-gradient(circle at 10% 50%, rgba(91, 216, 255, 0.15) 0%, rgba(8, 7, 28, 0) 60%),
              linear-gradient(135deg, #17153a 0%, #0d0b26 100%);
  border: 1px solid rgba(91, 216, 255, 0.25);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.remediation-cta-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.remediation-cta-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  line-height: 1.6;
}

.remediation-cta-action {
  flex-shrink: 0;
}

/* --- Embed Mode & Instructions --- */
.audit-embed-info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  margin-top: 48px;
  text-align: center;
}

.audit-embed-code-snippet {
  background: #08071c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 18px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 13px;
  color: #9adbff;
  display: inline-block;
  margin-top: 12px;
  user-select: all;
}

/* --- Modal Booking Popup --- */
.strategy-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 7, 28, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.strategy-modal-backdrop.open {
  display: flex;
}

.strategy-modal-content {
  background: #12102e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #fff;
}

/* Toast Message */
.audit-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #10b981;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.audit-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Screen typography & meta helpers */
.rep-ref-id {
  color: #fff;
  font-weight: 700;
}
.rep-verdict-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}
.edge-probes-badge {
  font-size: 12px;
  color: var(--v2f-cyan-glow);
  font-weight: 600;
}
.pillar-weight {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.pillar-rec-label {
  color: var(--v2f-cyan-glow);
  font-weight: 700;
}
.red-flag-title-text {
  color: #fff;
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}
.red-flag-desc-text {
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   PDF EXCLUSIVE ELEMENTS (Hidden on Screen, Active in PDF)
   ========================================================================== */
.pdf-only-header,
.pdf-watermark {
  display: none !important;
}

/* ==========================================================================
   PRINT / PDF EXPORT STYLES (EXECUTIVE PROFESSIONAL DOCUMENT)
   ========================================================================== */
@page {
  size: A4;
  margin: 12mm 12mm 14mm 12mm;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body {
    background: #ffffff !important;
    color: #0f172a !important;
    position: relative !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* Universal text-shadow & white-text neutralization */
  p, span, div, strong, h1, h2, h3, h4, li, a {
    text-shadow: none !important;
  }

  [style*="color: #fff"],
  [style*="color:#fff"],
  [style*="color: rgb(255, 255, 255)"],
  [style*="color: white"] {
    color: #0f172a !important;
  }

  /* Hide Web-only navigation, headers, footers & buttons */
  .top-notice-wrap,
  .navbar,
  .footer,
  .audit-standalone-header,
  .audit-standalone-footer,
  .audit-hero,
  .audit-card-shell,
  .audit-trust-strip,
  .audit-mode-tabs,
  .report-action-bar,
  .remediation-cta-banner,
  .audit-embed-info-box,
  .strategy-modal-backdrop,
  .audit-toast {
    display: none !important;
  }

  /* Show PDF Dedicated Header with Logo on Left */
  .pdf-only-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2.5px solid #0f274a !important;
    padding-bottom: 14px !important;
    margin-bottom: 24px !important;
    width: 100% !important;
  }

  .pdf-header-left {
    display: flex !important;
    align-items: center !important;
  }

  .pdf-header-logo {
    height: 52px !important;
    width: auto !important;
    display: block !important;
  }

  .pdf-header-right {
    text-align: right !important;
  }

  .pdf-header-badge {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: #0f274a !important;
    text-transform: uppercase !important;
  }

  .pdf-header-subtitle {
    font-size: 10.5px !important;
    color: #475569 !important;
    letter-spacing: 0.04em !important;
    margin-top: 2px !important;
    font-weight: 600 !important;
  }

  .pdf-header-domain {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0369a1 !important;
    margin-top: 2px !important;
  }

  /* PDF Repeating Centered Watermark in Background */
  .pdf-watermark {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(-25deg) !important;
    width: 560px !important;
    max-width: 85% !important;
    opacity: 0.045 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .pdf-watermark img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .audit-page-wrap {
    padding: 0 !important;
    background: #ffffff !important;
  }

  .audit-report-container {
    display: block !important;
    max-width: 100% !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* Executive Header Card */
  .report-header-card {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: none !important;
    padding: 24px !important;
    border-radius: 12px !important;
    margin-bottom: 24px !important;
  }

  .report-header-card::before {
    background: linear-gradient(90deg, #1e3a8a, #0284c7, #ea580c) !important;
    height: 4px !important;
  }

  .report-brand-meta {
    color: #64748b !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
  }

  .report-brand-meta span {
    color: #475569 !important;
  }

  .badge-secp {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
    font-weight: 700 !important;
  }

  .rep-ref-id {
    color: #0f172a !important;
    font-weight: 800 !important;
  }

  .report-target-title {
    color: #0f172a !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
  }

  .report-target-url {
    color: #0284c7 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
  }

  .rep-verdict-title {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    margin-top: 14px !important;
  }

  .report-verdict-text {
    color: #334155 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }

  /* Score Gauge in PDF */
  .gauge-bg {
    stroke: #e2e8f0 !important;
  }

  .gauge-number {
    color: #0f172a !important;
    font-weight: 900 !important;
  }

  .gauge-out-of {
    color: #64748b !important;
    font-weight: 600 !important;
  }

  .grade-badge-pill {
    font-weight: 800 !important;
  }
  .grade-a { background: #dcfce7 !important; color: #15803d !important; border: 1.5px solid #86efac !important; }
  .grade-b { background: #dbeafe !important; color: #1d4ed8 !important; border: 1.5px solid #93c5fd !important; }
  .grade-c { background: #fef9c3 !important; color: #a16207 !important; border: 1.5px solid #fde047 !important; }
  .grade-d, .grade-f { background: #fee2e2 !important; color: #b91c1c !important; border: 1.5px solid #fca5a5 !important; }

  /* Section Heads */
  .report-section-head {
    margin-bottom: 14px !important;
    margin-top: 24px !important;
  }

  .report-section-head h2 {
    color: #0f172a !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
  }

  .report-section-head p {
    color: #475569 !important;
    font-size: 12.5px !important;
  }

  .edge-probes-badge {
    color: #0369a1 !important;
    font-weight: 700 !important;
  }

  /* Telemetry Cards */
  .telemetry-grid {
    gap: 14px !important;
    margin-bottom: 24px !important;
    page-break-inside: avoid !important;
  }

  .telemetry-card {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: none !important;
    border-radius: 10px !important;
    padding: 16px !important;
    page-break-inside: avoid !important;
  }

  .telemetry-title {
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .telemetry-main-val {
    color: #0f172a !important;
    font-size: 24px !important;
    font-weight: 900 !important;
  }

  .telemetry-main-val span.sub {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  .telemetry-details {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 10px !important;
  }

  .telemetry-detail-row span.label {
    color: #475569 !important;
    font-weight: 500 !important;
  }

  .telemetry-detail-row span.val {
    color: #0f172a !important;
    font-weight: 700 !important;
  }

  .badge-pass { background: #dcfce7 !important; color: #166534 !important; border: 1px solid #86efac !important; font-weight: 700 !important; }
  .badge-warn { background: #fef3c7 !important; color: #92400e !important; border: 1px solid #fcd34d !important; font-weight: 700 !important; }
  .badge-fail { background: #fee2e2 !important; color: #991b1b !important; border: 1px solid #fca5a5 !important; font-weight: 700 !important; }

  /* 6 Pillars Performance Grid */
  .pillars-score-grid {
    gap: 14px !important;
    margin-bottom: 24px !important;
  }

  .pillar-card {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: none !important;
    border-radius: 10px !important;
    padding: 18px !important;
    page-break-inside: avoid !important;
  }

  .pillar-name {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 15px !important;
  }

  .pillar-weight {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 600 !important;
  }

  .pillar-score-text {
    font-weight: 900 !important;
    font-size: 17px !important;
  }

  .pillar-meter-bg {
    background: #e2e8f0 !important;
    height: 6px !important;
    border-radius: 999px !important;
  }

  .pillar-desc-text {
    color: #334155 !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

  .pillar-rec-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 3.5px solid #0284c7 !important;
    color: #1e293b !important;
    font-size: 12px !important;
    padding: 10px 12px !important;
    line-height: 1.5 !important;
  }

  .pillar-rec-label {
    color: #0369a1 !important;
    font-weight: 800 !important;
  }

  /* Red Flags Alert Card */
  .red-flags-card {
    background: #fff5f5 !important;
    border: 1.5px solid #fecaca !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
    page-break-inside: avoid !important;
  }

  .red-flags-title {
    color: #991b1b !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
  }

  .red-flag-item {
    background: #ffffff !important;
    border: 1px solid #fed7d7 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    color: #1e293b !important;
  }

  .red-flag-dot {
    background: #dc2626 !important;
  }

  .red-flag-title-text {
    color: #991b1b !important;
    font-weight: 800 !important;
    font-size: 14px !important;
  }

  .red-flag-desc-text {
    color: #334155 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  /* 30-Day Remediation Roadmap */
  .roadmap-grid {
    gap: 12px !important;
    margin-bottom: 24px !important;
    page-break-inside: avoid !important;
  }

  .roadmap-card {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 16px !important;
    page-break-inside: avoid !important;
  }

  .roadmap-week-tag {
    color: #0369a1 !important;
    font-weight: 900 !important;
    font-size: 12px !important;
  }

  .roadmap-step-title {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 14px !important;
  }

  .roadmap-bullet-list {
    color: #334155 !important;
    font-size: 12px !important;
  }

  .roadmap-bullet-list li {
    color: #334155 !important;
    margin-bottom: 4px !important;
  }
}

/* ==========================================================================
   LIVE TECHNICAL TELEMETRY GRID STYLES
   ========================================================================== */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.telemetry-card {
  background: #12102e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.telemetry-card:hover {
  background: #17153d;
  border-color: rgba(91, 216, 255, 0.3);
  transform: translateY(-2px);
}

.telemetry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.telemetry-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-pass { background: rgba(16, 185, 129, 0.18); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-warn { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-fail { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.telemetry-main-val {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.telemetry-main-val span.sub {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.telemetry-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.telemetry-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.telemetry-detail-row span.label {
  color: rgba(255, 255, 255, 0.55);
}

.telemetry-detail-row span.val {
  color: #9adbff;
  font-weight: 600;
  text-align: right;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (MOBILE, TABLET & VIEWPORTS)
   ========================================================================== */
@media (max-width: 900px) {
  .telemetry-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .report-header-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .report-brand-meta {
    justify-content: center;
  }

  .report-target-url {
    justify-content: center;
  }

  .report-verdict-text {
    margin: 0 auto;
  }

  .pillars-score-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .remediation-cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .remediation-cta-banner .audit-submit-btn {
    align-self: center;
  }
}

@media (max-width: 640px) {
  /* Standalone Header */
  .audit-standalone-header {
    height: auto;
    padding: 14px 0;
  }

  .audit-header-container {
    height: auto;
    gap: 12px;
  }

  .brand-logo-wrap img {
    height: 38px !important;
  }

  .visit-v2f-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Page Wrapper & Hero */
  .audit-page-wrap {
    padding: 24px 0 60px;
  }

  .audit-hero {
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .audit-badge {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
  }

  .audit-hero h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
    line-height: 1.22;
    margin-bottom: 14px;
  }

  .audit-hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
    padding: 0 4px;
  }

  .audit-trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    margin-bottom: 24px;
    font-size: 12px;
    text-align: left;
  }

  .audit-trust-item {
    gap: 6px;
  }

  /* Mode Switcher Tabs */
  .audit-mode-tabs {
    display: flex;
    width: 100%;
    margin: 0 auto 24px;
    padding: 4px;
    gap: 4px;
  }

  .audit-tab-btn {
    flex: 1;
    padding: 9px 8px;
    font-size: 12.5px;
    justify-content: center;
    border-radius: 8px;
  }

  .audit-tab-btn .badge-pill {
    display: none;
  }

  /* Card Shell */
  .audit-card-shell {
    padding: 20px 14px;
    border-radius: 16px;
  }

  /* Wizard Step Progress */
  .wizard-progress-header {
    margin-bottom: 24px;
  }

  .wizard-progress-track {
    margin-bottom: 12px;
  }

  .wizard-step-node {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-width: 1.5px;
  }

  .wizard-progress-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .wizard-step-title {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .wizard-step-desc {
    font-size: 13px;
    margin-bottom: 18px;
  }

  /* Form Elements */
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .field-label {
    font-size: 13px;
  }

  .field-input, .field-select {
    height: 46px;
    font-size: 14px;
    padding: 0 12px;
  }

  /* Rubric Cards */
  .rubric-options-list {
    gap: 10px;
    margin-bottom: 24px;
  }

  .rubric-option-card {
    padding: 12px 12px;
    gap: 12px;
    border-radius: 12px;
  }

  .option-badge {
    width: 24px;
    height: 24px;
    font-size: 11px;
    border-radius: 6px;
  }

  .option-title {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .option-desc {
    font-size: 12px;
    line-height: 1.45;
  }

  /* Wizard Nav Buttons */
  .wizard-nav-actions {
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 20px;
  }

  .wizard-back-btn {
    width: 100%;
    justify-content: center;
    height: 46px;
    font-size: 14px;
  }

  .wizard-next-btn {
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 14.5px;
  }

  /* Quick Scan Mode */
  .quick-scan-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .quick-scan-input-group input {
    width: 100%;
    border-radius: 10px !important;
    height: 48px;
  }

  .quick-scan-input-group button {
    width: 100%;
    border-radius: 10px !important;
    height: 48px;
    justify-content: center;
  }

  .quick-scan-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Scanner Modal State */
  .scanner-circle-wrap {
    width: 110px;
    height: 110px;
    margin-bottom: 18px;
  }

  .scanner-percent-text {
    font-size: 22px;
  }

  .scanner-headline {
    font-size: 1.25rem;
  }

  .scanner-subline {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .audit-terminal {
    padding: 12px 14px;
    font-size: 11.5px;
    min-height: 140px;
    line-height: 1.6;
  }

  /* Report View Actions */
  .audit-report-container {
    padding: 0 4px;
  }

  .report-action-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .report-back-link {
    justify-content: center;
    padding: 6px 0;
  }

  .report-button-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .btn-report-tool {
    width: 100%;
    justify-content: center;
    height: 46px;
    font-size: 13.5px;
  }

  /* Report Header Card */
  .report-header-card {
    padding: 22px 16px;
    border-radius: 16px;
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .report-brand-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 12px;
  }

  .report-target-title {
    font-size: 1.45rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .report-target-url {
    font-size: 13px;
    word-break: break-all;
    justify-content: center;
    margin-bottom: 12px;
  }

  .report-verdict-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .report-verdict-text {
    font-size: 13px;
    line-height: 1.55;
  }

  .report-score-gauge-wrap {
    margin-top: 4px;
  }

  .gauge-svg-wrap {
    width: 130px;
    height: 130px;
  }

  .gauge-number {
    font-size: 38px;
  }

  .gauge-out-of {
    font-size: 11px;
  }

  .grade-badge-pill {
    font-size: 12.5px;
    padding: 4px 12px;
  }

  /* Telemetry Cards */
  .telemetry-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .telemetry-card {
    padding: 16px;
    border-radius: 14px;
  }

  .telemetry-main-val {
    font-size: 24px;
  }

  /* 6 Pillars Cards */
  .pillars-score-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .pillar-card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .pillar-title {
    font-size: 15px;
  }

  .pillar-desc {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .pillar-rec-box {
    font-size: 12px;
    padding: 8px 12px;
    line-height: 1.45;
  }

  /* Red Flags */
  .red-flags-card {
    padding: 20px 16px;
    border-radius: 14px;
    margin-bottom: 28px;
  }

  .red-flags-title {
    font-size: 1.15rem;
  }

  .red-flag-item {
    padding: 12px 14px;
    font-size: 13px;
    gap: 10px;
  }

  /* Roadmap */
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  .roadmap-card {
    padding: 16px;
    border-radius: 14px;
  }

  .roadmap-step-title {
    font-size: 14px;
  }

  .roadmap-bullet-list {
    font-size: 12px;
    line-height: 1.45;
  }

  /* Remediation CTA Banner */
  .remediation-cta-banner {
    padding: 22px 16px;
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
    margin-bottom: 28px;
  }

  .remediation-cta-banner h3 {
    font-size: 1.25rem;
  }

  .remediation-cta-banner p {
    font-size: 13px;
    line-height: 1.5;
  }

  .remediation-cta-banner .audit-submit-btn {
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 14px;
    padding: 0 16px;
  }

  /* Embed Info Box */
  .audit-embed-info-box {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .audit-embed-code-snippet {
    font-size: 11px;
    padding: 10px 12px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* Strategy Modal */
  .strategy-modal-backdrop {
    padding: 12px;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .strategy-modal-content {
    padding: 24px 16px;
    border-radius: 16px;
    margin: 20px auto;
    max-height: none;
  }

  .strategy-modal-content h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }

  .strategy-modal-content p {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  #modal-audit-info {
    font-size: 12px !important;
    padding: 8px 10px !important;
    word-break: break-word;
  }

  .modal-close-btn {
    top: 14px;
    right: 14px;
    font-size: 26px;
    padding: 4px;
    line-height: 1;
  }

  #modal-strategy-form {
    gap: 12px !important;
  }

  #modal-strategy-form .audit-submit-btn {
    height: 48px;
    font-size: 14.5px;
    justify-content: center;
  }

  /* Standalone Footer */
  .audit-standalone-footer {
    padding: 24px 0;
    font-size: 12px;
  }

  .audit-footer-container {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    justify-content: center;
  }

  .audit-footer-left {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .audit-footer-right {
    text-align: center;
  }
}

@media (max-width: 380px) {
  .wizard-step-node {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .audit-trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand-logo-wrap img {
    height: 32px !important;
  }

  .visit-v2f-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}
