/* ============================================================================
 * Preflight Audit — Verification seal & trust components (SOVRA Protocol)
 * ==========================================================================*/

.preflight-seal-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.preflight-seal-link {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.preflight-seal-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  text-decoration: none;
}
.preflight-seal-link:focus-visible {
  outline: 2px solid var(--neon-cyan, #00d4ff);
  outline-offset: 3px;
  border-radius: 50%;
}

/* ---- Footer compact badge ------------------------------------------------ */
.preflight-footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 auto 18px;
  max-width: 520px;
  padding: 14px 18px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.06), rgba(0, 212, 255, 0.04));
}
.preflight-footer-badge .preflight-seal-link {
  flex-shrink: 0;
}
.preflight-footer-badge .preflight-seal-img {
  width: 56px;
  height: 56px;
}
.preflight-footer-copy {
  text-align: left;
  min-width: 0;
}
.preflight-footer-copy strong {
  display: block;
  font-family: var(--font-display, Orbitron, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-primary, #f0f0f5);
}
.preflight-footer-copy span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted, #4a5570);
  line-height: 1.4;
}
.preflight-footer-copy a.preflight-verify-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fb923c;
  text-decoration: none;
}
.preflight-footer-copy a.preflight-verify-link:hover {
  color: #fdba74;
  text-decoration: underline;
}

/* ---- Full trust section (homepage / dedicated pages) ----------------------- */
.preflight-trust-section {
  position: relative;
  z-index: 1;
}
.preflight-trust-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: var(--ft-radius-lg, 20px);
  background: linear-gradient(145deg, rgba(18, 24, 42, 0.85), rgba(24, 31, 52, 0.72));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.preflight-trust-seal .preflight-seal-img {
  width: 140px;
  height: 140px;
}
.preflight-trust-eyebrow {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fb923c;
  margin-bottom: 8px;
}
.preflight-trust-title {
  font-family: var(--font-display, Orbitron, sans-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary, #f0f0f5);
  margin: 0 0 6px;
  line-height: 1.15;
}
.preflight-trust-subtitle {
  font-size: 15px;
  color: var(--text-secondary, #8892a8);
  margin: 0 0 20px;
  line-height: 1.5;
}
.preflight-assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.preflight-assessment-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary, #f0f0f5);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.preflight-assessment-grid li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  flex-shrink: 0;
}
.preflight-trust-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted, #4a5570);
  margin: 0 0 16px;
  max-width: 640px;
}
.preflight-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fb923c;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.preflight-verify-btn:hover {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.5);
  color: #fdba74;
  text-decoration: none;
}

/* ---- Inline page card (portal pages) ------------------------------------- */
.preflight-page-card {
  margin-top: 0;
}
.preflight-page-card .preflight-trust-card {
  grid-template-columns: auto 1fr;
  padding: 28px 32px;
  gap: 24px;
}
.preflight-page-card .preflight-trust-seal .preflight-seal-img {
  width: 110px;
  height: 110px;
}

@media (max-width: 768px) {
  .preflight-trust-card,
  .preflight-page-card .preflight-trust-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
    gap: 20px;
  }
  .preflight-trust-seal {
    display: flex;
    justify-content: center;
  }
  .preflight-trust-seal .preflight-seal-img {
    width: 120px;
    height: 120px;
  }
  .preflight-assessment-grid {
    text-align: left;
  }
  .preflight-trust-note {
    margin-left: auto;
    margin-right: auto;
  }
  .preflight-footer-badge {
    flex-direction: column;
    text-align: center;
  }
  .preflight-footer-copy {
    text-align: center;
  }
}
