/* SSL.ro base components; the public light theme is layered in light.css. */
:root {
  /* Trust & Authority palette */
  --primary: #1E40AF;
  --primary-glow: rgba(30, 64, 175, 0.3);
  --primary-dark: #1E3A8A;
  --primary-light: rgba(30, 64, 175, 0.1);
  --accent: #059669;
  --accent-glow: rgba(5, 150, 105, 0.15);
  --gold: #D97706;
  --gold-light: rgba(217, 119, 6, 0.1);
  --success: #059669;
  --success-bg: rgba(5, 150, 105, 0.1);
  --warning: #D97706;
  --warning-bg: rgba(217, 119, 6, 0.1);
  --danger: #DC2626;
  --danger-bg: rgba(220, 38, 38, 0.08);
  --orange: #EA580C;
  --orange-bg: rgba(234, 88, 12, 0.1);

  /* Dark backgrounds with slight blue tint for trust */
  --bg-body: #070B14;
  --bg-surface: #0C1220;
  --bg-card: #111827;
  --bg-card-hover: #1F2937;
  --bg-input: #0C1220;
  --text: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(148, 163, 184, 0.08);
  --border-light: rgba(148, 163, 184, 0.04);

  --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(30, 64, 175, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;

  /* Trust badge colors */
  --trust-blue: #1E40AF;
  --security-green: #059669;
  --cert-gold: #D97706;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-body);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ========== ANIMATED BACKGROUND ========== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(30, 64, 175, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(5, 150, 105, 0.04), transparent),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(217, 119, 6, 0.03), transparent);
}

.bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
}

.logo .lock-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo span {
  background: linear-gradient(135deg, #3B82F6, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  min-width: 0;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-xs);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: #3B82F6;
  background: var(--primary-light);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  z-index: 1;
  padding: 2.2rem 1.5rem 0.75rem;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.15rem;
  letter-spacing: 0.02em;
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-size: clamp(4.2rem, 9vw, 6.8rem);
  font-weight: 800;
  line-height: 0.9;
  margin-bottom: 0.8rem;
  letter-spacing: -0.04em;
  color: var(--text);
  text-align: left;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #3B82F6 0%, var(--accent) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 790px;
  margin: 0 0 1.15rem;
  line-height: 1.38;
  text-align: left;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.45fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(8, 13, 25, 0.9)),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 42%);
  box-shadow: 0 24px 55px rgba(2, 6, 23, 0.28);
}

.hero-copy {
  padding: 2rem;
  border-color: rgba(56, 189, 248, 0.24);
  box-shadow:
    0 24px 55px rgba(2, 6, 23, 0.32),
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 0 55px rgba(37, 99, 235, 0.10);
}

.hero-copy::before,
.hero-panel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 36%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: #7DD3FC;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.hero-meta-item {
  min-height: 36px;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-self: end;
  align-self: stretch;
  width: min(100%, 300px);
}

.hero-panel-card {
  padding: 0.82rem;
  border-radius: 18px;
  height: 100%;
  overflow: visible;
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.58rem;
}

.hero-panel-titlebar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.hero-panel-kicker {
  font-size: 0.64rem;
  font-weight: 700;
  color: #7DD3FC;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1;
}

.hero-panel-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.hero-panel-pill {
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  background: rgba(217, 119, 6, 0.1);
  color: #FDBA74;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.info-circle-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background:
    radial-gradient(circle at 30% 30%, rgba(125, 211, 252, 0.18), rgba(15, 23, 42, 0.96)),
    rgba(12, 18, 32, 0.92);
  color: #BAE6FD;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-circle-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.2);
}

.hero-panel-note {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-panel-note a {
  color: #93C5FD;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-panel-note a:hover {
  color: #DBEAFE;
  text-decoration: underline;
}

.hero-grade-list {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.hero-grade-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  gap: 0.42rem;
  align-items: center;
  padding: 0.38rem 0.5rem;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.028);
}

.hero-grade-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-grade-item.grade-a-plus .hero-grade-mark,
.hero-grade-item.grade-a .hero-grade-mark {
  background: linear-gradient(135deg, #059669, #16A34A);
}

.hero-grade-item.grade-b .hero-grade-mark {
  background: linear-gradient(135deg, #D97706, #F59E0B);
}

.hero-grade-item.grade-c .hero-grade-mark {
  background: linear-gradient(135deg, #EA580C, #F97316);
}

.hero-grade-item.grade-d .hero-grade-mark,
.hero-grade-item.grade-f .hero-grade-mark {
  background: linear-gradient(135deg, #DC2626, #991B1B);
}

.hero-grade-copy strong {
  display: block;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grade-info-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.20);
  background: rgba(15, 23, 42, 0.72);
  color: #BAE6FD;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  z-index: 2;
}

.grade-info-link:hover {
  border-color: rgba(125, 211, 252, 0.45);
  color: #E0F2FE;
}

.grade-info-link::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: calc(100% + 0.45rem);
  width: 210px;
  padding: 0.48rem 0.58rem;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.98);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.grade-info-link::before {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(100% + 0.18rem);
  border: 5px solid transparent;
  border-left-color: rgba(7, 11, 20, 0.98);
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.grade-info-link:hover::after,
.grade-info-link:focus-visible::after,
.grade-info-link:hover::before,
.grade-info-link:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ========== SCAN FORM ========== */
.scan-form-wrap {
  max-width: none;
  margin: 0;
  position: relative;
}

.scan-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.98), rgba(6, 10, 19, 0.94));
  border: 2px solid rgba(56, 189, 248, 0.24);
  border-radius: 18px;
  padding: 7px;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow:
    0 16px 38px rgba(2, 6, 23, 0.45),
    0 0 0 1px rgba(30, 64, 175, 0.14);
}

.scan-form:focus-within {
  border-color: rgba(56, 189, 248, 0.58);
  box-shadow:
    0 0 0 4px rgba(59, 130, 246, 0.11),
    0 18px 42px rgba(2, 6, 23, 0.48),
    0 0 45px rgba(56, 189, 248, 0.12);
}

.scan-form input {
  flex: 1;
  min-width: 0;
  min-height: 64px;
  padding: 0 1.3rem;
  border: none;
  background: transparent;
  font-size: 1.18rem;
  line-height: 1.2;
  font-family: inherit;
  color: var(--text);
  outline: none;
}

.scan-form input::placeholder {
  color: var(--text-muted);
}

.scan-btn-main {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 1.16rem 2.25rem !important;
  font-size: 1.08rem !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #1E40AF, #2563EB, #38BDF8) !important;
  letter-spacing: 0.01em;
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.scan-btn-main:hover {
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.42) !important;
  transform: translateY(-1px);
}

.verdict-status {
  margin-top: 0.62rem;
}

.verdict-status-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.38rem;
}

.verdict-status-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 42px;
  padding: 0.34rem 0.36rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--text-secondary);
  white-space: nowrap;
}

.verdict-status-chip strong,
.verdict-status-chip em {
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.verdict-status-chip em {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.chip-a-plus strong,
.chip-a strong { color: #34D399; }
.chip-b strong { color: #FBBF24; }
.chip-c strong { color: #FB923C; }
.chip-d strong { color: #F87171; }
.chip-f strong { color: #FCA5A5; }

.btn {
  padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::before { opacity: 1; }
.btn:hover { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; border-radius: var(--radius-xs); }
.btn-danger { background: linear-gradient(135deg, var(--danger), #dc2626); }
.btn-danger:hover { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4); }
.btn-success { background: linear-gradient(135deg, var(--success), #16a34a); }
.btn-success:hover { box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); color: var(--text); box-shadow: none; }

/* ========== LOADING ========== */
.scanner-loading {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.scanner-loading.active { display: block; }

.scan-animation {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.scan-animation .ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top-color: #2457D6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.scan-animation .ring:nth-child(2) {
  inset: 8px;
  border-top-color: #FCD116;
  animation-duration: 0.8s;
  animation-direction: reverse;
}

.scan-animation .ring:nth-child(3) {
  inset: 16px;
  border-top-color: #CE1126;
  animation-duration: 1.2s;
}

.scan-animation .center-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  transform: translate(-50%, -50%);
  color: #2457D6;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
}

.scan-animation .center-brand em {
  color: #000000;
  font-style: normal;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.scanner-loading h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.scanner-loading p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========== RESULTS ========== */
.results {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.5s ease;
}

.results.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== GRADE ========== */
.grade-section {
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: -0.02em;
}

.grade-badge::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  background: inherit;
  opacity: 0.15;
  filter: blur(16px);
  z-index: -1;
}

.grade-badge.grade-a-plus, .grade-badge.grade-a {
  background: linear-gradient(135deg, #059669, #047857);
}
.grade-badge.grade-b {
  background: linear-gradient(135deg, #D97706, #B45309);
}
.grade-badge.grade-c {
  background: linear-gradient(135deg, #EA580C, #C2410C);
}
.grade-badge.grade-d, .grade-badge.grade-f {
  background: linear-gradient(135deg, #DC2626, #991B1B);
}

.grade-hostname {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.grade-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.grade-score-bar {
  max-width: 300px;
  margin: 1rem auto 0;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}

.grade-score-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.card h3 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-icon {
  font-size: 0.9rem;
}

/* ========== INFO GRID ========== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.info-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.info-value {
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-all;
  color: var(--text);
}

/* ========== PROTOCOLS ========== */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
}

.proto-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.proto-item.supported {
  background: var(--success-bg);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.15);
}

.proto-item.not-supported {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border-color: var(--border-light);
}

.proto-item.deprecated {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.15);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.green { background: var(--success); box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.status-dot.red { background: var(--danger); box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.status-dot.gray { background: var(--text-muted); }

/* ========== CHAIN ========== */
.chain-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.chain-item:last-child { border-bottom: none; }

.chain-index {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.chain-details { flex: 1; min-width: 0; }

.chain-subject {
  font-weight: 600;
  font-size: 0.9rem;
  word-break: break-all;
}

.chain-issuer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ========== REASONS ========== */
.reason-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.reason-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.015);
}

.reason-item.warn {
  background: var(--warning-bg);
  border-color: rgba(234, 179, 8, 0.15);
  color: var(--warning);
}

.reason-item.good {
  background: var(--success-bg);
  border-color: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

/* ========== FEATURES ========== */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 4rem auto 2.2rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(8, 13, 25, 0.92)),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 35%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  padding: 1.7rem 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 32%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 30%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
}

.feature-card:hover::before { opacity: 1; }

.feature-card-wide {
  grid-column: 1 / -1;
}

.feature-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background: rgba(59, 130, 246, 0.08);
  color: #7DD3FC;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-icon.blue { background: var(--primary-light); }
.feature-icon.cyan { background: var(--accent-glow); }
.feature-icon.purple { background: var(--gold-light); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text);
  text-transform: none;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.52rem 0.82rem;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.32), rgba(5, 150, 105, 0.18)),
    rgba(12, 18, 32, 0.9);
  color: #E0F2FE;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.22);
}

.feature-cta:hover {
  border-color: rgba(56, 189, 248, 0.54);
  color: #fff;
}

.feature-cta-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.feature-pill {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--text-secondary);
  font-size: 0.77rem;
  font-weight: 600;
}

.feature-note {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ========== RECENT SCANS ========== */
.recent-section {
  max-width: 1180px;
  margin: 0.75rem auto 2rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 0.28rem;
  color: #7DD3FC;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-heading p {
  max-width: 360px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: right;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.recent-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.68rem 0.82rem;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(8, 13, 25, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.recent-item:hover {
  border-color: rgba(56, 189, 248, 0.2);
  background: rgba(17, 24, 39, 0.98);
}

.recent-card-copy {
  display: grid;
  min-width: 0;
  gap: 0.16rem;
}

.recent-hostname {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.35;
}

.recent-issuer {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.recent-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.recent-expiry {
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.recent-ok {
  color: var(--success);
}

.recent-warn {
  color: var(--warning);
}

.recent-expired {
  color: var(--danger);
}

.mini-grade {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-width: 54px;
  height: 40px;
  border-radius: 9px;
  font-size: 0.68rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.mini-grade-letter {
  font-size: 0.78rem;
  font-weight: 850;
}

.mini-grade-score {
  margin-top: 0.23rem;
  font-size: 0.52rem;
  font-weight: 700;
  opacity: 0.86;
}

.mini-grade.grade-a-plus, .mini-grade.grade-a { background: var(--security-green); }
.mini-grade.grade-b { background: var(--cert-gold); }
.mini-grade.grade-c { background: var(--orange); }
.mini-grade.grade-d, .mini-grade.grade-f { background: var(--danger); }
.mini-grade.grade-pending {
  border: 1px solid rgba(96, 165, 250, 0.24);
  background: rgba(37, 99, 235, 0.17);
  color: #bfdbfe;
}
.mini-grade.recent-status-tls_detected {
  border-color: rgba(52, 211, 153, 0.25);
  background: rgba(5, 150, 105, 0.17);
  color: #a7f3d0;
}
.mini-grade.recent-status-no_tls {
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(180, 83, 9, 0.16);
  color: #fde68a;
}

/* ========== MONITOR ========== */
.monitor-form-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.monitor-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.monitor-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--bg-input);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.monitor-form input:focus {
  border-color: rgba(30, 64, 175, 0.4);
}

.monitor-form input::placeholder {
  color: var(--text-muted);
}

.monitor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.monitor-table th {
  text-align: left;
  padding: 0.7rem 0.75rem;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.monitor-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.monitor-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ========== ERROR ========== */
.error-msg {
  background: var(--danger-bg);
  color: var(--danger);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.2);
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  max-width: 580px;
  margin: 1rem auto;
  display: none;
  position: relative;
  z-index: 1;
}

.error-msg.active { display: block; }

/* ========== FOOTER ========== */
.footer {
  text-align: center;
  padding: 2.4rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  margin-top: 2.8rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0), rgba(7, 11, 20, 0.85));
}

/* ========== PAGES ========== */
.page { display: none; }
.page.active { display: block; }

html[data-active-page] .page { display: none; }
html[data-active-page='home'] #page-home,
html[data-active-page='verdicts'] #page-verdicts,
html[data-active-page='monitor'] #page-monitor,
html[data-active-page='about'] #page-about,
html[data-active-page='account'] #page-account { display: block; }

/* ========== SAN TAGS ========== */
.san-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

/* ========== ABOUT ========== */
.about-wrap {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.about-wrap p,
.about-wrap li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.about-wrap ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}

.about-wrap li { margin-bottom: 0.3rem; }

.about-wrap strong { color: var(--text); }

/* ========== VERDICT GUIDE ========== */
.verdict-guide-wrap {
  max-width: 1180px;
  margin: 3rem auto 5rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.verdict-guide-hero {
  padding: 1.7rem;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(8, 13, 25, 0.92)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 35%);
}

.verdict-guide-hero h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.verdict-guide-hero p {
  max-width: 860px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.verdict-guide-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.verdict-guide-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #CBD5E1;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.verdict-card {
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(8, 13, 25, 0.92)),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.06), transparent 34%);
  box-shadow: var(--shadow);
}

.verdict-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
}

.verdict-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 44px;
  padding: 0 0.95rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.verdict-badge-low {
  color: #86EFAC;
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
}

.verdict-badge-medium {
  color: #FCD34D;
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(245, 158, 11, 0.22);
}

.verdict-badge-elevated {
  color: #FDBA74;
  background: rgba(234, 88, 12, 0.13);
  border-color: rgba(249, 115, 22, 0.22);
}

.verdict-badge-high {
  color: #FCA5A5;
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(239, 68, 68, 0.22);
}

.verdict-badge-critical {
  color: #FECACA;
  background: rgba(127, 29, 29, 0.22);
  border-color: rgba(248, 113, 113, 0.28);
}

.verdict-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.verdict-card p,
.verdict-note-card p {
  color: var(--text-secondary);
  line-height: 1.72;
}

.verdict-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
}

.verdict-card li {
  margin-bottom: 0.45rem;
  line-height: 1.66;
}

.verdict-a-plus { border-color: rgba(34, 197, 94, 0.18); }
.verdict-a { border-color: rgba(16, 185, 129, 0.18); }
.verdict-b { border-color: rgba(245, 158, 11, 0.18); }
.verdict-c { border-color: rgba(249, 115, 22, 0.18); }
.verdict-d { border-color: rgba(239, 68, 68, 0.18); }
.verdict-f { border-color: rgba(248, 113, 113, 0.22); }
.verdict-no-tls { border-color: rgba(125, 211, 252, 0.18); }
.verdict-error { border-color: rgba(244, 114, 182, 0.18); }

.verdict-a-plus .verdict-mark {
  background: rgba(22, 163, 74, 0.12);
  color: #86EFAC;
  border: 1px solid rgba(34, 197, 94, 0.26);
}

.verdict-a .verdict-mark {
  background: rgba(5, 150, 105, 0.12);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.verdict-b .verdict-mark {
  background: rgba(217, 119, 6, 0.12);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.24);
}

.verdict-c .verdict-mark {
  background: rgba(234, 88, 12, 0.12);
  color: #FDBA74;
  border: 1px solid rgba(249, 115, 22, 0.24);
}

.verdict-d .verdict-mark {
  background: rgba(220, 38, 38, 0.12);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.24);
}

.verdict-f .verdict-mark {
  background: rgba(127, 29, 29, 0.22);
  color: #FECACA;
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.verdict-no-tls .verdict-mark {
  background: rgba(14, 165, 233, 0.1);
  color: #BAE6FD;
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.verdict-error .verdict-mark {
  background: rgba(190, 24, 93, 0.14);
  color: #F9A8D4;
  border: 1px solid rgba(244, 114, 182, 0.24);
}

.verdict-compare-card,
.verdict-note-card {
  margin-top: 1rem;
}

.verdict-compare-card {
  padding: 1.45rem;
}

.verdict-compare-card h3,
.verdict-note-card h3 {
  margin-bottom: 0.8rem;
}

.verdict-table-wrap {
  overflow-x: auto;
}

.verdict-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.verdict-table th,
.verdict-table td {
  padding: 0.9rem 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  text-align: left;
  vertical-align: top;
}

.verdict-table th {
  color: #E2E8F0;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verdict-table td {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.verdict-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* ========== TRUST BADGES ========== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.trust-badge-blue { background: var(--primary-light); color: #3B82F6; border: 1px solid rgba(30, 64, 175, 0.2); }
.trust-badge-green { background: var(--success-bg); color: var(--accent); border: 1px solid rgba(5, 150, 105, 0.2); }
.trust-badge-gold { background: var(--gold-light); color: var(--gold); border: 1px solid rgba(217, 119, 6, 0.2); }

/* Monospace override for IBM Plex Mono */
[style*="font-family:monospace"],
[style*="font-family: monospace"],
code, pre, .mono {
  font-family: 'IBM Plex Mono', 'Consolas', monospace !important;
}

/* San tags with trust style */
.san-tag {
  display: inline-block;
  background: var(--primary-light);
  color: #3B82F6;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(30, 64, 175, 0.15);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    padding: 1.1rem 0.9rem 0.35rem;
  }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy {
    padding: 1.2rem;
    border-radius: 20px;
  }
  .hero-panel {
    display: none;
  }
  .hero-panel-card { padding: 1rem; border-radius: 22px; }
  .hero h1 {
    font-size: clamp(3.05rem, 18vw, 4.85rem);
    line-height: 0.9;
    margin-bottom: 0.7rem;
  }
  .hero p {
    max-width: none;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }
  .hero-panel-head { flex-direction: column; }
  .hero-panel-actions { width: 100%; justify-content: space-between; }
  .scan-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
  }
  .scan-form input {
    min-height: 56px;
    padding: 0 0.72rem;
    font-size: 1rem;
  }
  .scan-btn-main {
    width: auto !important;
    min-height: 56px;
    padding: 0.85rem 0.65rem !important;
    border-radius: 11px !important;
    font-size: 0.98rem !important;
  }
  .scan-btn-main svg {
    width: 16px;
    height: 16px;
    margin-right: 4px !important;
  }
  .verdict-status {
    margin-top: 0.58rem;
    padding: 0.62rem;
    border-radius: 12px;
  }
  .verdict-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem;
  }
  .verdict-status-chip {
    min-height: 26px;
  }
  .hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.65rem;
  }
  .hero-meta-item {
    min-height: 32px;
    padding: 0.36rem 0.34rem;
    font-size: 0.68rem;
    border-radius: 9px;
  }
  .btn { width: 100%; padding: 1rem; }
  .info-grid { grid-template-columns: 1fr; }
  .proto-grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; margin-top: 2rem; }
  .feature-card-wide { grid-column: auto; }
  .feature-card-top { grid-template-columns: 1fr; }
  .navbar { padding: 0 1rem; }
  .nav-links {
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 0.4rem 0.6rem; font-size: 0.8rem; }
  .monitor-form { flex-direction: column; }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-heading p {
    text-align: left;
    max-width: none;
  }
  .recent-section {
    margin: 0.75rem auto 1.4rem;
    padding: 0 0.9rem;
  }
  .recent-list {
    gap: 0.28rem;
  }
  .recent-item {
    padding: 0.56rem 0.66rem;
    border-radius: 12px;
  }
  .recent-hostname {
    font-size: 0.78rem;
  }
  .recent-date {
    display: none;
  }
  .verdict-guide-wrap { margin: 2rem auto 4rem; padding: 0 1rem; }
  .verdict-guide-hero { padding: 1.2rem; }
  .verdict-grid,
  .verdict-note-grid { grid-template-columns: 1fr; }
  .verdict-card { padding: 1.05rem; border-radius: 20px; }
  .verdict-card-head { align-items: flex-start; flex-direction: column; }
  .verdict-mark { min-width: 52px; height: 40px; }
  .verdict-table { min-width: 640px; }
}
