/* Digital Audit AI - Custom Styles */

:root {
  --da-primary: #0054a6;
  --da-gradient: linear-gradient(135deg, #0054a6 0%, #0891b2 100%);
  --da-score-high: #2fb344;
  --da-score-mid: #f59f00;
  --da-score-low: #d63939;
}

/* Hero */
.hero-section {
  background: var(--da-gradient);
  color: #fff;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section .btn-white { color: var(--da-primary); }

/* Score circle */
.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  position: relative;
}
.score-circle .score-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.score-circle .score-label {
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Semaphore badges */
.semaphore { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .85rem; }
.semaphore-green { color: var(--da-score-high); }
.semaphore-yellow { color: var(--da-score-mid); }
.semaphore-red { color: var(--da-score-low); }
.semaphore-dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.semaphore-green .semaphore-dot { background: var(--da-score-high); }
.semaphore-yellow .semaphore-dot { background: var(--da-score-mid); }
.semaphore-red .semaphore-dot { background: var(--da-score-low); }

/* Blurred teaser */
.blurred-teaser {
  position: relative;
  overflow: hidden;
}
.blurred-teaser .blurred-content {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}
.blurred-teaser .unlock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
  z-index: 2;
}

/* Progress bar colors */
.progress-green .progress-bar { background-color: var(--da-score-high); }
.progress-yellow .progress-bar { background-color: var(--da-score-mid); }
.progress-red .progress-bar { background-color: var(--da-score-low); }

/* Feature cards */
.feature-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border: 0;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Questionnaire steps */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-indicator .step {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .85rem;
  background: #e6e8eb; color: #667382;
  position: relative;
  z-index: 1;
}
.step-indicator .step.active { background: var(--da-primary); color: #fff; }
.step-indicator .step.completed { background: var(--da-score-high); color: #fff; }
.step-indicator .step-line {
  flex: 1; height: 3px; background: #e6e8eb;
}
.step-indicator .step-line.completed { background: var(--da-score-high); }

/* Pricing card highlight */
.pricing-popular {
  border: 2px solid var(--da-primary);
  position: relative;
}
.pricing-popular .pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--da-primary);
  color: #fff;
  padding: 2px 16px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navbar brand */
.navbar-brand-text {
  font-weight: 700;
  font-size: 1.15rem;
}
.navbar-brand-text span { color: #0891b2; }

/* Gap analysis bar */
.gap-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gap-bar .gap-current, .gap-bar .gap-target {
  height: 8px;
  border-radius: 4px;
}
.gap-bar .gap-current { background: var(--da-primary); }
.gap-bar .gap-target { background: #e6e8eb; }

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-section { padding: 2.5rem 0 2rem; }
  .hero-section h1 { font-size: 1.75rem; }
  .score-circle { width: 110px; height: 110px; }
  .score-circle .score-value { font-size: 2rem; }
}

/* Scan animation */
@keyframes pulse-scan {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.scanning-pulse { animation: pulse-scan 1.5s infinite; }

/* Area score card */
.area-score-card {
  border-left: 4px solid transparent;
  transition: all 0.2s;
}
.area-score-card.score-high { border-left-color: var(--da-score-high); }
.area-score-card.score-mid { border-left-color: var(--da-score-mid); }
.area-score-card.score-low { border-left-color: var(--da-score-low); }

/* Print */
@media print {
  .no-print { display: none !important; }
  .hero-section { background: #f5f7fb !important; color: #1a1a2e !important; }
}
