/* Uspector Custom Styles - Modern SSL/TLS Security Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #38bdf8;
  --secondary: #ffffff;
  --card-bg: #181818;
  --page-bg: #111111;
  --border-color: #262626;
}

body {
  font-family: var(--font-sans);
  background-color: #111111;
  color: #f1f5f9;
  -webkit-font-smoothing: antialiased;
}

code, pre, .font-mono {
  font-family: var(--font-mono);
}

/* Navbar active item indicator */
.nav-link {
  transition: all 0.2s ease;
  position: relative;
}

.nav-link.active {
  color: #38bdf8 !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background-color: #38bdf8;
  border-radius: 9999px;
}

/* Chain of Trust Visualization */
.trust-node {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.trust-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Grade Badges */
.grade-badge-a {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.grade-badge-b {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.grade-badge-c {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.grade-badge-f {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

/* Pulse animation for running scan */
@keyframes scanning-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(2, 132, 199, 0);
  }
}

.scanning-pulse {
  animation: scanning-glow 2s infinite ease-in-out;
}

/* Feature card hover */
.feature-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: 0 20px 25px -5px rgba(2, 132, 199, 0.08), 0 8px 10px -6px rgba(2, 132, 199, 0.04);
}

/* Accordion transition */
.accordion-content {
  transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Print styles */
@media print {
  .no-print, header, footer, form, .btn-action {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  .report-container {
    box-shadow: none !important;
    border: none !important;
  }
}
