/* AccessAudit Pro Custom Styles & Modern A11y enhancements */

:root {
  --primary-navy: #0f172a;
  --secondary-navy: #1e293b;
  --accent-blue: #2563eb;
  --accent-cyan: #0284c7;
  --emerald-pass: #059669;
  --amber-warn: #d97706;
  --red-crit: #dc2626;
}

/* Custom accessible focus rings */
*:focus-visible {
  outline: 3px solid #3b82f6 !important;
  outline-offset: 2px !important;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Gauge circle styles */
.score-circle {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* Glassmorphism accents */
.glass-panel {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dark-glass {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Subtle scan pulse effect */
@keyframes radar-sweep {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateY(200%); opacity: 0; }
}

.radar-beam {
  animation: radar-sweep 2.2s infinite ease-in-out;
}

/* Skip link for screen reader and keyboard accessibility */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: #2563eb;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Print Styles for PDF / Print Audit */
@media print {
  header, footer, #audit-form-section, #audit-loading-section, #lead-capture-card, .no-print {
    display: none !important;
  }
  #audit-results-section {
    display: block !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
  .print-break {
    page-break-before: always;
  }
}
