/* Harvey Override Layer - Loaded LAST to override Bootstrap defaults */

/* ========================================
   A) PAGE + CONTAINER
   ======================================== */
body {
  background-color: var(--color-bg, #F7F7F5) !important;
  color: var(--color-text, #111111) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1120px !important;
}

.hero-text {
  max-width: 600px;
}

.prose {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   B) TYPOGRAPHY SCALE
   ======================================== */
h1, .h1, .display-4, .display-5, .display-6 {
  font-size: 52px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
}

h2, .h2 {
  font-size: 32px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  font-weight: 600 !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
}

h3, .h3 {
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
}

h4, .h4 {
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

p {
  line-height: 1.7 !important;
  margin-bottom: 1.25rem !important;
}

.lead {
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  color: var(--color-muted, #5B5B5B) !important;
}

/* Mobile typography */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  h1, .h1, .display-4, .display-5, .display-6 {
    font-size: 36px !important;
  }
  
  h2, .h2 {
    font-size: 26px !important;
  }
  
  h3, .h3 {
    font-size: 20px !important;
  }
}

/* ========================================
   C) WHITESPACE + VERTICAL RHYTHM
   ======================================== */
section, .section {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

@media (max-width: 768px) {
  section, .section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}

.py-5 {
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

@media (max-width: 768px) {
  .py-5 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}

.mb-4 { margin-bottom: 24px !important; }
.mb-5 { margin-bottom: 48px !important; }
.mt-4 { margin-top: 24px !important; }
.mt-5 { margin-top: 48px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }
.g-4 { gap: 32px !important; }

/* ========================================
   D) NAVBAR (Harvey Style)
   ======================================== */
.navbar,
.harvey-navbar {
  background-color: #fff !important;
  border-bottom: 1px solid var(--color-border, #E6E6E6) !important;
  box-shadow: none !important;
  padding: 16px 0 !important;
  min-height: 64px;
}

.navbar-brand,
.harvey-navbar .navbar-brand {
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  letter-spacing: -0.01em !important;
  color: var(--color-text, #111111) !important;
  text-decoration: none !important;
}

.navbar-brand:hover,
.harvey-navbar .navbar-brand:hover {
  color: var(--color-text, #111111) !important;
  text-decoration: none !important;
}

.navbar-nav {
  gap: 8px !important;
}

.navbar-nav .nav-link {
  font-weight: 500 !important;
  font-size: 15px !important;
  color: var(--color-muted, #5B5B5B) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  transition: color 0.15s ease, background-color 0.15s ease !important;
  text-decoration: none !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--color-text, #111111) !important;
  background-color: rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
}

.navbar-nav .nav-link.active {
  color: var(--color-text, #111111) !important;
}

/* Navbar toggler for light theme */
.navbar-toggler {
  border: 1px solid var(--color-border, #E6E6E6) !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: 2px solid var(--color-accent, #1F4ED8) !important;
  outline-offset: 2px !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2817, 17, 17, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Dropdown styling */
.dropdown-menu {
  background-color: var(--color-surface, #FFFFFF) !important;
  border: 1px solid var(--color-border, #E6E6E6) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  padding: 8px !important;
  margin-top: 8px !important;
}

.dropdown-item {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--color-muted, #5B5B5B) !important;
  padding: 10px 16px !important;
  border-radius: 6px !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--color-bg, #F7F7F5) !important;
  color: var(--color-text, #111111) !important;
}

.dropdown-item.active {
  background-color: var(--color-accent, #1F4ED8) !important;
  color: #fff !important;
}

.dropdown-divider {
  border-color: var(--color-border, #E6E6E6) !important;
  margin: 6px 0 !important;
}

/* Dropdown toggle arrow */
.dropdown-toggle::after {
  margin-left: 6px !important;
  vertical-align: 0.15em !important;
}

/* Navbar CTA buttons - symmetrical sizing */
.navbar-cta-btn {
  min-width: 160px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Dark theme navbar override */
.navbar.bg-dark,
.navbar[data-bs-theme="dark"] {
  background-color: #fff !important;
}

.navbar.bg-dark .navbar-brand,
.navbar[data-bs-theme="dark"] .navbar-brand {
  color: var(--color-text, #111111) !important;
}

.navbar.bg-dark .nav-link,
.navbar[data-bs-theme="dark"] .nav-link {
  color: var(--color-muted, #5B5B5B) !important;
}

.navbar.bg-dark .nav-link:hover,
.navbar[data-bs-theme="dark"] .nav-link:hover {
  color: var(--color-text, #111111) !important;
}

/* ========================================
   E) BUTTONS (Override Bootstrap)
   ======================================== */
.btn {
  font-weight: 600 !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  min-height: 44px !important;
  line-height: 1.4 !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
  box-shadow: none !important;
}

.btn-primary {
  background-color: var(--color-accent, #1F4ED8) !important;
  border: none !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #1a42b8 !important;
  box-shadow: none !important;
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-accent, #1F4ED8) !important;
  outline-offset: 3px !important;
}

.btn-outline-primary {
  background-color: transparent !important;
  border: 1px solid var(--color-border, #E6E6E6) !important;
  color: var(--color-text, #111111) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--color-bg, #F7F7F5) !important;
  border-color: var(--color-muted, #5B5B5B) !important;
  color: var(--color-text, #111111) !important;
}

.btn-outline-secondary {
  background-color: transparent !important;
  border: 1px solid var(--color-border, #E6E6E6) !important;
  color: var(--color-muted, #5B5B5B) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--color-bg, #F7F7F5) !important;
  border-color: var(--color-muted, #5B5B5B) !important;
  color: var(--color-text, #111111) !important;
}

.btn-lg {
  padding: 14px 28px !important;
  font-size: 16px !important;
  min-height: 48px !important;
}

.btn-sm {
  padding: 8px 16px !important;
  font-size: 14px !important;
  min-height: 36px !important;
}

/* Secondary/link buttons - minimal */
.btn-link {
  color: var(--color-accent, #1F4ED8) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  padding: 0 !important;
  min-height: auto !important;
}

.btn-link:hover {
  text-decoration: underline !important;
}

/* ========================================
   F) CARDS
   ======================================== */
.card {
  background-color: var(--color-surface, #FFFFFF) !important;
  border: 1px solid var(--color-border, #E6E6E6) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  overflow: hidden;
}

/* Preserve Bootstrap colored card backgrounds */
.card.bg-primary {
  background-color: var(--color-accent, #1F4ED8) !important;
  border-color: var(--color-accent, #1F4ED8) !important;
}

.card.bg-success {
  background-color: #157F3D !important;
  border-color: #157F3D !important;
}

.card.bg-info {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
}

.card-body {
  padding: 28px !important;
}

.card-header {
  background-color: var(--color-bg, #F7F7F5) !important;
  border-bottom: 1px solid var(--color-border, #E6E6E6) !important;
  padding: 20px 28px !important;
}

.card-header .card-title {
  color: var(--color-text, #111111) !important;
  font-weight: 600 !important;
}

.card-header.bg-primary {
  background-color: var(--color-accent, #1F4ED8) !important;
  border-bottom: none !important;
}

.card-footer {
  background-color: transparent !important;
  border-top: 1px solid var(--color-border, #E6E6E6) !important;
  padding: 20px 28px !important;
}

/* ========================================
   G) LINKS + HOVER
   ======================================== */
a {
  color: var(--color-accent, #1F4ED8);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #1a42b8;
  text-decoration: underline;
}

/* Content links in paragraphs */
p a, .prose a {
  text-decoration: none;
}

p a:hover, .prose a:hover {
  text-decoration: underline;
}

/* ========================================
   H) FORM INPUTS
   ======================================== */
.form-control,
.form-select {
  background-color: var(--color-surface, #FFFFFF) !important;
  border: 1px solid var(--color-border, #E6E6E6) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  min-height: 44px !important;
  color: var(--color-text, #111111) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-accent, #1F4ED8) !important;
  box-shadow: 0 0 0 3px rgba(31, 78, 216, 0.1) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: var(--color-muted, #5B5B5B) !important;
}

.form-label {
  font-weight: 500 !important;
  margin-bottom: 8px !important;
  color: var(--color-text, #111111) !important;
}

.form-text {
  color: var(--color-muted, #5B5B5B) !important;
  font-size: 14px !important;
  margin-top: 6px !important;
}

/* ========================================
   I) ALERTS
   ======================================== */
.alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 16px 20px !important;
}

.alert-success {
  background-color: rgba(21, 127, 61, 0.1) !important;
  color: var(--color-success, #157F3D) !important;
}

.alert-warning {
  background-color: rgba(180, 83, 9, 0.1) !important;
  color: var(--color-warning, #B45309) !important;
}

.alert-danger {
  background-color: rgba(180, 35, 24, 0.1) !important;
  color: var(--color-danger, #B42318) !important;
}

.alert-info {
  background-color: rgba(31, 78, 216, 0.1) !important;
  color: var(--color-accent, #1F4ED8) !important;
}

/* ========================================
   J) BADGES
   ======================================== */
.badge {
  font-weight: 500 !important;
  font-size: 13px !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
}

.badge.bg-primary {
  background-color: var(--color-accent, #1F4ED8) !important;
}

.badge.bg-success {
  background-color: var(--color-success, #157F3D) !important;
}

.badge.bg-warning {
  background-color: var(--color-warning, #B45309) !important;
  color: #fff !important;
}

.badge.bg-danger {
  background-color: var(--color-danger, #B42318) !important;
}

/* ========================================
   K) TABLES
   ======================================== */
.table {
  border-color: var(--color-border, #E6E6E6) !important;
}

.table th {
  font-weight: 600 !important;
  background-color: var(--color-bg, #F7F7F5) !important;
  border-bottom: 1px solid var(--color-border, #E6E6E6) !important;
}

.table td {
  border-bottom: 1px solid var(--color-border, #E6E6E6) !important;
  padding: 16px !important;
}

/* ========================================
   L) FOOTER
   ======================================== */
footer, .footer {
  background-color: var(--color-bg, #F7F7F5) !important;
  border-top: 1px solid var(--color-border, #E6E6E6) !important;
  padding: 48px 0 !important;
}

footer a, .footer a {
  color: var(--color-muted, #5B5B5B) !important;
}

footer a:hover, .footer a:hover {
  color: var(--color-text, #111111) !important;
}

/* ========================================
   M) MISC OVERRIDES
   ======================================== */

/* Progress bar */
.progress {
  border-radius: 8px !important;
  background-color: var(--color-border, #E6E6E6) !important;
}

.progress-bar {
  background-color: var(--color-accent, #1F4ED8) !important;
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
}

.breadcrumb-item a {
  color: var(--color-muted, #5B5B5B) !important;
}

.breadcrumb-item.active {
  color: var(--color-text, #111111) !important;
}

/* Modal */
.modal-content {
  border-radius: 16px !important;
  border: none !important;
}

.modal-header {
  border-bottom: 1px solid var(--color-border, #E6E6E6) !important;
}

.modal-footer {
  border-top: 1px solid var(--color-border, #E6E6E6) !important;
}

/* Remove Bootstrap's text-dark overrides */
.text-dark {
  color: var(--color-text, #111111) !important;
}

.text-muted {
  color: var(--color-muted, #5B5B5B) !important;
}

/* Hero section specific */
.hero-section,
.hero {
  background: var(--color-surface, #FFFFFF) !important;
  padding-top: 96px !important;
  padding-bottom: 96px !important;
  color: var(--color-text, #111111) !important;
}

.hero h1,
.hero .display-4 {
  color: var(--color-text, #111111) !important;
}

.hero .lead {
  color: var(--color-muted, #5B5B5B) !important;
}

@media (max-width: 768px) {
  .hero-section,
  .hero {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}

/* ========================================
   PDF Preview Card (Hero)
   ======================================== */
.pdf-preview-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 420px;
  margin-left: auto;
}

.pdf-preview-header {
  background: #F5F5F5;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
}

.pdf-preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E0E0E0;
}

.pdf-preview-dot:nth-child(1) { background: #FF5F57; }
.pdf-preview-dot:nth-child(2) { background: #FEBC2E; }
.pdf-preview-dot:nth-child(3) { background: #28C840; }

.pdf-preview-title {
  margin-left: auto;
  font-size: 13px;
  color: var(--color-muted, #5B5B5B);
  font-weight: 500;
}

.pdf-preview-page {
  background: #FFFFFF;
  padding: 28px 24px;
  position: relative;
  min-height: 320px;
}

.pdf-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a3a7a !important;
  text-align: center !important;
  margin: 0 0 4px 0 !important;
  letter-spacing: -0.01em;
}

.pdf-subtitle {
  font-size: 13px !important;
  color: #1a3a7a !important;
  text-align: center !important;
  margin: 0 0 20px 0 !important;
  opacity: 0.8;
}

.pdf-notice {
  background: #F0F7FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.pdf-notice-icon {
  font-size: 14px;
  color: #3B82F6;
  line-height: 1;
  margin-top: 1px;
}

.pdf-notice-text {
  font-size: 12px;
  color: #1E40AF;
  line-height: 1.4;
}

.pdf-notice-text strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

.pdf-notice-text span {
  font-size: 11px;
  color: #3B82F6;
}

.hero-standards {
  text-align: left;
}

@media (max-width: 767.98px) {
  .hero-standards {
    text-align: center;
  }
}

.pdf-meta {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
}

.pdf-meta-row {
  display: flex;
  font-size: 12px;
  margin-bottom: 6px;
}

.pdf-meta-row:last-child {
  margin-bottom: 0;
}

.pdf-meta-label {
  color: var(--color-muted, #5B5B5B);
  width: 110px;
  flex-shrink: 0;
}

.pdf-meta-value {
  color: var(--color-text, #111111);
  font-weight: 500;
}

.pdf-section-heading {
  font-size: 14px;
  font-weight: 600;
  color: #1a3a7a;
  margin-bottom: 8px;
}

.pdf-section-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-muted, #5B5B5B);
}

.pdf-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #FFFFFF);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .pdf-preview-card {
    max-width: 100%;
    margin-left: 0;
  }
}

/* ========================================
   H) COMPANY SEGMENTS CAROUSEL
   ======================================== */
.segment-section {
  padding: 64px 0;
  background-color: var(--color-bg, #F7F7F5);
}

.segment-header {
  text-align: center;
  margin-bottom: 48px;
}

.segment-title {
  font-size: 32px !important;
  font-weight: 600 !important;
  color: var(--color-text, #111111) !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}

.segment-subtitle {
  font-size: 18px !important;
  color: var(--color-muted, #5B5B5B) !important;
  margin-bottom: 0 !important;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.segment-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.segment-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.segment-carousel::-webkit-scrollbar {
  display: none;
}

.segment-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.segment-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.segment-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent, #1F4ED8);
  background: rgba(31, 78, 216, 0.08);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.segment-card-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--color-text, #111111) !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}

.segment-card-text {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--color-muted, #5B5B5B) !important;
  margin-bottom: 0 !important;
}

.segment-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2;
}

.segment-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--color-bg, #F7F7F5), transparent);
}

.segment-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--color-bg, #F7F7F5), transparent);
}

@media (min-width: 992px) {
  .segment-carousel {
    justify-content: center;
    overflow-x: visible;
  }
  
  .segment-fade {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .segment-section {
    padding: 48px 0;
  }
  
  .segment-title {
    font-size: 26px !important;
  }
  
  .segment-subtitle {
    font-size: 16px !important;
  }
  
  .segment-card {
    flex: 0 0 280px;
    padding: 24px;
  }
}

/* ========================================
   I) FEATURE CARD PDF PREVIEWS
   ======================================== */
.features-grid {
  justify-content: center;
}

/* ========================================
   J) HOW IT WORKS SECTION
   ======================================== */
.how-it-works-section {
  background-color: var(--color-surface, #FFFFFF);
}

.step-number {
  width: 56px;
  height: 56px;
  border: 2px solid var(--color-border, #E6E6E6);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text, #111111);
  background: var(--color-surface, #FFFFFF);
  transition: all 0.2s ease;
}

.step-number:hover {
  border-color: var(--color-accent, #1F4ED8);
  color: var(--color-accent, #1F4ED8);
}

.step-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text, #111111);
  margin-bottom: 0.75rem;
}

.step-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted, #5B5B5B);
}

.step-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-preview {
  background: var(--color-bg, #F7F7F5);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
}

.step-mini-doc {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 8px;
  padding: 1rem;
  width: 100%;
  max-width: 140px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step-mini-doc.verified {
  border-color: #22C55E;
}

.step-doc-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
}

.step-doc-header i {
  font-size: 1.25rem;
  color: var(--color-accent, #1F4ED8);
}

.step-mini-doc.verified .step-doc-header i {
  color: #22C55E;
}

.step-doc-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-doc-avatar {
  width: 32px;
  height: 32px;
  background: var(--color-bg, #F7F7F5);
  border-radius: 50%;
  margin: 0 auto 0.5rem;
}

.step-doc-fields {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.step-doc-line {
  height: 6px;
  background: var(--color-border, #E6E6E6);
  border-radius: 3px;
}

.step-doc-line.short {
  width: 60%;
}

.step-doc-line.medium {
  width: 80%;
}

.step-doc-line.typing {
  background: linear-gradient(90deg, var(--color-border) 0%, var(--color-accent, #1F4ED8) 50%, var(--color-border) 100%);
  background-size: 200% 100%;
  animation: typing 1.5s ease-in-out infinite;
}

.step-doc-line.delay-1 {
  animation-delay: 0.2s;
}

.step-doc-line.delay-2 {
  animation-delay: 0.4s;
}

@keyframes typing {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Step 1: Registration - Typing input animation */
.step-input-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg, #F7F7F5);
  border-radius: 4px;
  padding: 0.375rem 0.5rem;
  margin-bottom: 0.375rem;
}

.step-input-field i {
  font-size: 0.625rem;
  color: var(--color-muted, #5B5B5B);
  flex-shrink: 0;
}

.step-input-text {
  height: 6px;
  background: var(--color-border, #E6E6E6);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.step-input-text.typing-text {
  width: 0;
  animation: typeWidth 2s ease-out infinite;
}

.step-input-text.typing-password {
  width: 0;
  animation: typeWidth 2s ease-out infinite 0.5s;
}

@keyframes typeWidth {
  0% { width: 0; }
  50% { width: 70px; }
  100% { width: 70px; }
}

.step-input-text::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--color-accent, #1F4ED8);
  animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Step 2: Wizard - Sequential check animations */
.step-wizard-item .step-check {
  animation: checkPop 0.5s ease-out forwards;
  transform: scale(0);
}

.step-wizard-item:nth-child(1) .step-check {
  animation-delay: 0s;
}

.step-wizard-item:nth-child(2) .step-check {
  animation-delay: 0.3s;
}

@keyframes checkPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.step-wizard-item .step-dot {
  animation: dotPulse 1.5s ease-in-out infinite;
}

.step-wizard-item .step-dot.empty {
  animation: none;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(31, 78, 216, 0.4); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(31, 78, 216, 0); }
}

.step-wizard-line {
  animation: lineGrow 0.8s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}

.step-wizard-item:nth-child(1) .step-wizard-line {
  animation-delay: 0.1s;
}

.step-wizard-item:nth-child(2) .step-wizard-line {
  animation-delay: 0.4s;
}

.step-wizard-item:nth-child(3) .step-wizard-line {
  animation-delay: 0.7s;
}

.step-wizard-item:nth-child(4) .step-wizard-line {
  animation-delay: 1s;
}

@keyframes lineGrow {
  to { transform: scaleX(1); }
}

/* Step 4: Verified - Badge and download animation */
.step-download-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.step-verified-badge {
  margin-top: 0;
}

.step-verified-badge i {
  font-size: 1rem;
  color: #22C55E;
  animation: checkPop 1s ease-out forwards;
}

.step-download-btn {
  width: 24px;
  height: 24px;
  background: var(--color-accent, #1F4ED8);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: downloadPop 0.6s ease-out infinite 1.5s;
}

.step-download-btn i {
  font-size: 0.625rem;
  color: white;
  animation: downloadBounce 0.6s ease-in-out infinite 1.5s;
}

@keyframes downloadPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes downloadBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}

.step-wizard-items {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.step-wizard-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-check {
  width: 16px;
  height: 16px;
  background: #22C55E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-check i {
  font-size: 8px;
  color: white;
}

.step-dot {
  width: 16px;
  height: 16px;
  background: var(--color-accent, #1F4ED8);
  border-radius: 50%;
  flex-shrink: 0;
}

.step-dot.empty {
  background: transparent;
  border: 2px solid var(--color-border, #E6E6E6);
}

.step-wizard-line {
  height: 4px;
  background: var(--color-border, #E6E6E6);
  border-radius: 2px;
  flex-grow: 1;
}

.step-wizard-line.short {
  width: 50%;
  flex-grow: 0;
}

.step-verified-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.step-verified-badge i {
  font-size: 1.5rem;
  color: #22C55E;
}

.step-badge {
  width: 44px;
  height: 44px;
  border: 2px solid var(--color-border, #E6E6E6);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text, #111111);
  background: var(--color-surface, #FFFFFF);
  margin-bottom: 0.75rem;
}

.step-card:hover .step-badge {
  border-color: var(--color-accent, #1F4ED8);
  color: var(--color-accent, #1F4ED8);
}

/* ========================================
   K) EU AI ACT NOTICE
   ======================================== */
.eu-ai-act-notice {
  display: flex;
  gap: 1rem;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1px solid #F59E0B;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  align-items: flex-start;
}

.notice-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #F59E0B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-icon i {
  font-size: 1.125rem;
  color: white;
}

.notice-content {
  flex: 1;
}

.notice-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #92400E;
  margin-bottom: 0.5rem;
}

.notice-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #78350F;
  margin: 0;
}

.notice-text strong {
  color: #92400E;
}

.faq-disclaimer {
  color: var(--color-muted, #5B5B5B);
}

.feature-card {
  border: 1px solid var(--color-border, #E6E6E6) !important;
  border-radius: 12px !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
  overflow: hidden;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px);
}

.feature-card .card-body {
  padding: 0 !important;
}

.feature-card-preview {
  background: #F8F8F6;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
  padding: 16px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-content {
  padding: 24px;
}

.feature-card .feature-icon {
  display: none;
}

.feature-card .card-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--color-text, #111111) !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}

.feature-card .card-text {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--color-muted, #5B5B5B) !important;
  margin-bottom: 0 !important;
}

.mini-doc {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  padding: 12px;
  width: 100%;
  max-width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mini-doc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F0F0F0;
}

.mini-doc-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #FFFFFF;
}

.mini-doc-icon.risk { background: #DC3545; }
.mini-doc-icon.iso { background: #1F4ED8; }
.mini-doc-icon.speed { background: #10B981; }
.mini-doc-icon.dashboard { background: #6366F1; }
.mini-doc-icon.access { background: #8B5CF6; }
.mini-doc-icon.export { background: #F59E0B; }

.mini-doc-title {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.mini-doc-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-doc-line {
  height: 6px;
  border-radius: 3px;
  background: #F0F0F0;
}

.mini-doc-line.accent { background: rgba(31, 78, 216, 0.15); }
.mini-doc-line.short { width: 60%; }
.mini-doc-line.medium { width: 80%; }

.mini-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.mini-stat {
  background: #F8F8F8;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
}

.mini-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: #10B981;
}

.mini-stat-label {
  font-size: 8px;
  color: #888;
  text-transform: uppercase;
}

.mini-access-icons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: center;
}

.mini-access-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #666;
}

/* ========================================
   PRODUCT PAGE STYLES
   ======================================== */

/* Breadcrumb */
.harvey-breadcrumb {
  background: transparent !important;
  border-bottom: none;
}

.harvey-breadcrumb .breadcrumb {
  margin: 0;
}

.harvey-breadcrumb .breadcrumb-item a {
  color: var(--color-muted, #5B5B5B);
  text-decoration: none;
  transition: color 0.2s;
}

.harvey-breadcrumb .breadcrumb-item a:hover {
  color: var(--color-accent, #1F4ED8);
}

.harvey-breadcrumb .breadcrumb-item.active {
  color: var(--color-text, #111111);
}

.harvey-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--color-muted, #5B5B5B);
}

/* Product Hero */
.harvey-product-hero {
  background: var(--color-bg, #F7F7F5) !important;
  padding: 80px 0 96px !important;
}

.harvey-product-title {
  font-size: 52px !important;
  font-weight: 700 !important;
  color: var(--color-text, #111111) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1.5rem !important;
}

.harvey-product-subtitle {
  font-size: 1.25rem !important;
  color: var(--color-muted, #5B5B5B) !important;
  line-height: 1.7 !important;
  margin-bottom: 2rem !important;
  max-width: 640px;
}

@media (max-width: 768px) {
  .harvey-product-hero {
    padding: 48px 0 64px !important;
  }
  
  .harvey-product-title {
    font-size: 36px !important;
  }
}

/* Section styling */
.harvey-section {
  padding: 96px 0 !important;
  background: var(--color-surface, #FFFFFF) !important;
}

.harvey-section-alt {
  background: var(--color-bg, #F7F7F5) !important;
}

.harvey-section-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: var(--color-text, #111111) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
}

.harvey-section-subtitle {
  font-size: 1.125rem !important;
  color: var(--color-muted, #5B5B5B) !important;
  line-height: 1.7 !important;
  max-width: 600px;
  margin: 0 auto 2rem !important;
}

@media (max-width: 768px) {
  .harvey-section {
    padding: 64px 0 !important;
  }
  
  .harvey-section-title {
    font-size: 26px !important;
  }
}

/* Feature cards for product page */
.harvey-feature-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.harvey-feature-card:hover {
  border-color: var(--color-accent, #1F4ED8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.harvey-feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(31, 78, 216, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.harvey-feature-icon i {
  font-size: 24px;
  color: var(--color-accent, #1F4ED8);
}

.harvey-feature-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--color-text, #111111) !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}

.harvey-feature-text {
  font-size: 15px !important;
  color: var(--color-muted, #5B5B5B) !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}

.harvey-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.harvey-check-list li {
  font-size: 14px;
  color: var(--color-muted, #5B5B5B);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.harvey-check-list li i {
  color: #10B981;
  font-size: 12px;
}

/* Step numbers */
.harvey-step-number {
  width: 64px;
  height: 64px;
  background: var(--color-accent, #1F4ED8);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.harvey-step-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--color-text, #111111) !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
}

.harvey-step-text {
  font-size: 15px !important;
  color: var(--color-muted, #5B5B5B) !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* Body text */
.harvey-body-text {
  font-size: 1rem;
  color: var(--color-muted, #5B5B5B);
  line-height: 1.7;
}

/* Card */
.harvey-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Comparison table */
.harvey-comparison-table {
  width: 100%;
  background: var(--color-surface, #FFFFFF);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border, #E6E6E6);
  border-collapse: separate;
  border-spacing: 0;
}

.harvey-comparison-table thead th {
  background: var(--color-bg, #F7F7F5);
  color: var(--color-text, #111111);
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
}

.harvey-comparison-table thead th.highlight-col {
  background: var(--color-accent, #1F4ED8);
  color: #fff;
}

.harvey-comparison-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
  color: var(--color-text, #111111);
  vertical-align: middle;
}

.harvey-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.harvey-comparison-table tbody td.text-muted {
  color: var(--color-muted, #5B5B5B) !important;
}

/* Compliance-grade comparison table */
.compliance-table {
  width: 100%;
  background: var(--color-surface, #FFFFFF);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border, #E6E6E6);
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}

.compliance-table thead th {
  background: var(--color-bg, #F7F7F5);
  color: var(--color-text, #111111);
  font-weight: 500;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
  text-transform: none;
  letter-spacing: 0;
}

.compliance-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
  color: var(--color-text, #111111);
  vertical-align: middle;
  font-weight: 400;
}

.compliance-table tbody td.row-label {
  font-weight: 500;
  color: var(--color-text, #111111);
}

.compliance-table tbody tr:last-child td {
  border-bottom: none;
}

.compliance-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.01);
}

.compliance-table-footer {
  font-size: 0.8125rem;
  color: var(--color-muted, #5B5B5B);
  line-height: 1.5;
  text-align: center;
}

/* Harvey Buttons */
.harvey-btn-primary {
  background-color: var(--color-accent, #1F4ED8) !important;
  border-color: var(--color-accent, #1F4ED8) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.harvey-btn-primary:hover {
  background-color: #1a42b8 !important;
  border-color: #1a42b8 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 78, 216, 0.25);
}

.harvey-btn-outline {
  background-color: transparent !important;
  border: 2px solid var(--color-border, #E6E6E6) !important;
  color: var(--color-text, #111111) !important;
  font-weight: 600 !important;
  padding: 10px 26px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.harvey-btn-outline:hover {
  border-color: var(--color-accent, #1F4ED8) !important;
  color: var(--color-accent, #1F4ED8) !important;
  background-color: rgba(31, 78, 216, 0.05) !important;
}

/* What You Get section strong labels */
.harvey-section strong {
  color: var(--color-text, #111111);
  font-weight: 600;
}

/* Policy preview card fix for product page */
.policy-preview-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.policy-preview-header {
  background: var(--color-bg, #F7F7F5);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--color-border, #E6E6E6);
}

.policy-preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E0E0E0;
}

.policy-preview-dot:nth-child(1) { background: #FF5F56; }
.policy-preview-dot:nth-child(2) { background: #FFBD2E; }
.policy-preview-dot:nth-child(3) { background: #27CA40; }

.policy-preview-title {
  margin-left: auto;
  font-size: 13px;
  color: var(--color-muted, #5B5B5B);
  font-weight: 500;
}

.policy-preview-body {
  padding: 20px;
}

.policy-preview-section {
  padding: 10px 12px;
  background: var(--color-bg, #F7F7F5);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text, #111111);
  display: flex;
  align-items: center;
}

.policy-preview-section:last-child {
  margin-bottom: 0;
}

/* ========================================
   AUTHENTICATION PAGES
   ======================================== */
.harvey-auth-page {
  background: var(--color-bg, #F7F7F5);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.harvey-auth-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.harvey-auth-icon {
  width: 72px;
  height: 72px;
  background: rgba(31, 78, 216, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.harvey-auth-icon i {
  font-size: 28px;
  color: var(--color-accent, #1F4ED8);
}

.harvey-auth-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--color-text, #111111) !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
}

.harvey-auth-subtitle {
  font-size: 15px;
  color: var(--color-muted, #5B5B5B);
  margin-bottom: 0;
}

.harvey-input {
  border: 1px solid var(--color-border, #E6E6E6) !important;
  border-radius: 8px !important;
  background: var(--color-surface, #FFFFFF) !important;
}

.harvey-input:focus {
  border-color: var(--color-accent, #1F4ED8) !important;
  box-shadow: 0 0 0 3px rgba(31, 78, 216, 0.1) !important;
}

.harvey-link {
  color: var(--color-accent, #1F4ED8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.harvey-link:hover {
  color: #1a42b8;
  text-decoration: underline;
}

/* ========================================
   PRICING PAGE
   ======================================== */
.harvey-price-display {
  font-size: 72px;
  font-weight: 700;
  color: var(--color-accent, #1F4ED8);
  line-height: 1;
  margin-bottom: 8px;
}

.harvey-price-label {
  font-size: 1.25rem;
  color: var(--color-muted, #5B5B5B);
  margin-bottom: 0;
}

.harvey-pricing-card {
  background: var(--color-surface, #FFFFFF);
  border: 2px solid var(--color-accent, #1F4ED8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31, 78, 216, 0.12);
}

.harvey-pricing-header {
  background: var(--color-accent, #1F4ED8);
  color: #fff;
  padding: 24px;
  text-align: center;
}

.harvey-pricing-header h2 {
  font-size: 24px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  color: #fff !important;
}

.harvey-pricing-body {
  padding: 40px;
}

.harvey-price-accent {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent, #1F4ED8);
  line-height: 1;
}

.harvey-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.harvey-pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.harvey-pricing-list li i {
  color: var(--color-accent, #1F4ED8);
  font-size: 18px;
  margin-top: 2px;
}

.harvey-pricing-list li strong {
  display: block;
  color: var(--color-text, #111111);
  font-weight: 600;
  margin-bottom: 4px;
}

.harvey-pricing-list li p {
  font-size: 14px;
  color: var(--color-muted, #5B5B5B);
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   BLOG PAGE
   ======================================== */
.harvey-blog-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.harvey-blog-card:hover {
  border-color: var(--color-accent, #1F4ED8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.harvey-blog-card-body {
  padding: 28px;
}

.harvey-badge {
  display: inline-block;
  background: var(--color-accent, #1F4ED8);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.harvey-date {
  font-size: 13px;
  color: var(--color-muted, #5B5B5B);
}

.harvey-blog-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--color-text, #111111) !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
  line-height: 1.4 !important;
}

.harvey-blog-title a {
  color: inherit;
}

.harvey-blog-title a:hover {
  color: var(--color-accent, #1F4ED8);
}

.harvey-blog-excerpt {
  font-size: 15px;
  color: var(--color-muted, #5B5B5B);
  line-height: 1.6;
  margin-bottom: 16px !important;
}

/* ========================================
   GLOBAL ICON COLOR OVERRIDE
   ======================================== */
.text-primary,
.fas.text-primary,
.fa.text-primary {
  color: var(--color-accent, #1F4ED8) !important;
}

/* Override Bootstrap's primary button */
.btn-primary:not(.harvey-btn-primary) {
  background-color: var(--color-accent, #1F4ED8) !important;
  border-color: var(--color-accent, #1F4ED8) !important;
}

.btn-primary:not(.harvey-btn-primary):hover {
  background-color: #1a42b8 !important;
  border-color: #1a42b8 !important;
}

.btn-outline-primary {
  color: var(--color-accent, #1F4ED8) !important;
  border-color: var(--color-accent, #1F4ED8) !important;
}

.btn-outline-primary:hover {
  background-color: var(--color-accent, #1F4ED8) !important;
  border-color: var(--color-accent, #1F4ED8) !important;
  color: #fff !important;
}

/* Badge overrides */
.badge.bg-primary {
  background-color: var(--color-accent, #1F4ED8) !important;
}

/* Card border primary override */
.border-primary {
  border-color: var(--color-accent, #1F4ED8) !important;
}

.bg-primary {
  background-color: var(--color-accent, #1F4ED8) !important;
}

/* ========================================
   POLICY PROGRESS PAGE
   ======================================== */
.harvey-progress-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.harvey-progress-header {
  background: var(--color-surface, #FFFFFF);
  border-bottom: 1px solid var(--color-border, #E6E6E6);
  padding: 20px 28px;
}

.harvey-progress-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: var(--color-accent, #1F4ED8) !important;
  margin: 0 !important;
}

.harvey-progress-title i {
  color: var(--color-accent, #1F4ED8);
}

.harvey-progress-body {
  padding: 28px;
}

.harvey-progress-label {
  display: block;
  font-size: 14px;
  color: var(--color-muted, #5B5B5B);
  margin-bottom: 4px;
}

.harvey-progress-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text, #111111);
}

.harvey-progress-status {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text, #111111);
}

.harvey-progress-percent {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent, #1F4ED8);
}

.harvey-progress-bar-container {
  height: 12px;
  background: var(--color-border, #E6E6E6);
  border-radius: 6px;
  overflow: hidden;
}

.harvey-progress-bar-fill {
  height: 100%;
  background: var(--color-accent, #1F4ED8);
  border-radius: 6px;
  transition: width 0.5s ease-in-out;
}

.harvey-progress-bar-fill.completed {
  background: #22c55e;
}

.harvey-progress-bar-fill.error {
  background: #ef4444;
}

.harvey-progress-steps {
  margin-top: 28px;
}

.harvey-step {
  transition: all 0.3s ease;
}

.harvey-step-icon {
  width: 48px;
  height: 48px;
  background: var(--color-border, #E6E6E6);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.harvey-step-icon i {
  font-size: 20px;
  color: var(--color-muted, #5B5B5B);
  transition: color 0.3s ease;
}

.harvey-step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted, #5B5B5B);
  transition: color 0.3s ease;
}

.harvey-step.active .harvey-step-icon {
  background: rgba(31, 78, 216, 0.15);
  transform: scale(1.1);
}

.harvey-step.active .harvey-step-icon i {
  color: var(--color-accent, #1F4ED8);
}

.harvey-step.active .harvey-step-label {
  color: var(--color-accent, #1F4ED8);
  font-weight: 600;
}

.harvey-step.completed .harvey-step-icon {
  background: rgba(34, 197, 94, 0.15);
}

.harvey-step.completed .harvey-step-icon i {
  color: #22c55e;
}

.harvey-step.completed .harvey-step-label {
  color: var(--color-text, #111111);
}

/* Alerts */
.harvey-alert {
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.harvey-alert h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.harvey-alert p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.harvey-alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #166534;
}

.harvey-alert-success h5 {
  color: #166534;
}

.harvey-alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

.harvey-alert-danger h5 {
  color: #991b1b;
}

/* Additional button variants */
.harvey-btn-success {
  background-color: #22c55e !important;
  border-color: #22c55e !important;
  color: #fff !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.harvey-btn-success:hover {
  background-color: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
}

.harvey-btn-info {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  color: #fff !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.harvey-btn-info:hover {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #fff !important;
}

/* White page background for internal pages */
.harvey-page-white {
  background: var(--color-surface, #FFFFFF);
  min-height: 100%;
}

/* ========================================
   WIZARD PAGE
   ======================================== */
.harvey-wizard-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.harvey-wizard-header {
  background: var(--color-accent, #1F4ED8);
  padding: 32px 28px;
}

.harvey-wizard-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 8px !important;
}

.harvey-wizard-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.harvey-wizard-step {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.harvey-wizard-body {
  padding: 32px;
}

.harvey-question-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--color-text, #111111) !important;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px !important;
}

.harvey-question-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-accent, #1F4ED8);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Toggle Switch Styling */
.harvey-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.harvey-toggle-input {
  appearance: none;
  -webkit-appearance: none;
  width: 52px;
  height: 28px;
  background: #d1d5db;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.harvey-toggle-input::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.harvey-toggle-input:checked {
  background: #22c55e;
}

.harvey-toggle-input:checked::before {
  transform: translateX(24px);
}

.harvey-toggle-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.harvey-toggle-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text, #111111);
  cursor: pointer;
}

/* ========================================
   POLICY PREVIEW PAGE LAYOUT FIX
   ======================================== */
.policy-preview-visible,
.policy-preview-locked {
  max-width: 100%;
  overflow-x: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ensure Bootstrap row maintains flex layout */
.row.g-4 {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Ensure grid columns maintain proper sizing */
@media (min-width: 992px) {
  .row.g-4 > .col-lg-8 {
    flex: 0 0 66.666667% !important;
    max-width: 66.666667% !important;
  }
  .row.g-4 > .col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

/* Ensure cards don't break out of columns */
.col-lg-8 > .card,
.col-lg-4 > .card {
  max-width: 100%;
  width: 100%;
}

/* Fix position-relative not breaking grid */
.card-body.position-relative {
  overflow: visible;
}

/* Dashboard Policy Cards - Equal heights and consistent spacing */
.policy-card {
  display: flex;
  flex-direction: column;
}

.policy-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.policy-card .d-grid {
  margin-top: auto;
}

/* Badge truncation for long text */
.badge-truncate {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Ensure 3 cards per row at lg breakpoint */
@media (min-width: 992px) {
  .row.g-4 > .col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
}

/* Feedback modal - white labels */
#feedbackModal .form-label {
  color: #ffffff !important;
}

#feedbackModal .modal-body p {
  color: #ffffff !important;
}

/* Scope Cards - What AI-Comply does / does not do */
.harvey-scope-card {
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E6E6E6);
  border-radius: 16px;
  padding: 2rem;
}

.harvey-scope-card-contrast {
  background: #fef2f2;
  border-color: #fecaca;
}

.harvey-scope-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.harvey-scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.harvey-scope-list li {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--color-text, #111111);
  display: flex;
  align-items: flex-start;
}

.harvey-scope-list li i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
