:root {
  color-scheme: dark;
  --bg-primary: #030712;
  --bg-secondary: #080b16;
  --bg-deep: #020205;
  --card-bg: rgba(13, 20, 44, 0.45);
  --card-bg-hover: rgba(18, 28, 62, 0.65);
  --border-color: rgba(99, 102, 241, 0.15);
  --border-color-hover: rgba(139, 92, 246, 0.45);
  
  --text-primary: #f3f4f6;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  /* Advanced Neon Colors */
  --clr-violet: #8b5cf6;
  --clr-indigo: #6366f1;
  --clr-cyan: #06b6d4;
  --clr-magenta: #ec4899;
  --clr-rose: #f43f5e;
  --clr-amber: #f59e0b;
  --clr-emerald: #10b981;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--clr-indigo), var(--clr-violet), var(--clr-magenta));
  --grad-cyber: linear-gradient(135deg, var(--clr-cyan), var(--clr-indigo), var(--clr-violet));
  --grad-success: linear-gradient(135deg, var(--clr-emerald), var(--clr-cyan));
  --grad-danger: linear-gradient(135deg, var(--clr-rose), var(--clr-magenta));
  --grad-warning: linear-gradient(135deg, var(--clr-amber), var(--clr-rose));
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.2);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.2);
  --shadow-glow-rose: 0 0 30px rgba(244, 63, 94, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html, body {
  min-height: 100%;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Floating animated background glow blobs */
.glow-blob {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.blob-1 {
  background: var(--clr-indigo);
  top: -10%;
  left: -10%;
  animation: float-blob 22s infinite alternate;
}

.blob-2 {
  background: var(--clr-cyan);
  bottom: -10%;
  right: -10%;
  animation: float-blob-reverse 26s infinite alternate;
}

.blob-3 {
  background: var(--clr-magenta);
  top: 45%;
  left: 35%;
  animation: float-blob 32s infinite alternate-reverse;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 60px) scale(1.15); }
  100% { transform: translate(-40px, 120px) scale(0.9); }
}

@keyframes float-blob-reverse {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-120px, -60px) scale(0.9); }
  100% { transform: translate(60px, -120px) scale(1.15); }
}

/* Page Shell Layout */
.page-shell {
  max-width: 1340px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Glassmorphism Card System */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 40%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Sticky top navigation bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-radius: var(--radius-lg);
  background: rgba(9, 13, 28, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 24px;
  z-index: 100;
  backdrop-filter: blur(24px);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
  z-index: 1;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.nav-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.nav-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-cyan);
  box-shadow: 0 0 10px var(--clr-cyan);
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
}

/* Hero Section */
.hero-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin-top: 10px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 20%, #a5b4fc 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 600px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-stats div {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(13, 20, 44, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.hero-stats div:hover {
  background: rgba(13, 20, 44, 0.5);
  border-color: rgba(99, 102, 241, 0.2);
}

.hero-stats strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Scanner panel in Hero */
.scan-panel {
  padding: 40px;
  background: rgba(8, 11, 26, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: var(--shadow-lg), 0 30px 60px rgba(0, 0, 0, 0.4);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.panel-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--clr-cyan);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.scan-panel h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge.success {
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge.success::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-emerald);
  animation: pulse-emerald 2s infinite;
}

@keyframes pulse-emerald {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

#scan-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.field-group input {
  background: rgba(11, 16, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.field-group input:focus {
  border-color: var(--clr-indigo);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  background: rgba(11, 16, 38, 0.9);
}

/* Primary Button with Cyber Neon effects */
.primary-button {
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.primary-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.6s ease;
}

.primary-button:hover::before {
  left: 100%;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.45);
}

.primary-button:active {
  transform: translateY(1px);
}

/* Status scanning animations */
.status-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  margin-top: 10px;
}

.status-block p {
  font-size: 0.86rem;
  font-weight: 600;
  color: #22d3ee;
}

.status-block span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.loader {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(6, 182, 212, 0.15);
  border-left-color: var(--clr-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

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

/* Info Grid under inputs */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.info-grid div {
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.info-grid div:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(6, 182, 212, 0.2);
}

.info-grid p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.info-grid strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Feature grid section (roles design styled like Mavi Linking) */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.role-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.role-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--clr-indigo);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.role-card:nth-child(2) .role-icon-wrapper {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--clr-cyan);
}

.role-card:nth-child(3) .role-icon-wrapper {
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.2);
  color: var(--clr-magenta);
}

.role-card:hover .role-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.role-card:nth-child(2):hover .role-icon-wrapper {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.role-card:nth-child(3):hover .role-icon-wrapper {
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.15);
}

.role-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.tag-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-badge {
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.role-card:hover .tag-badge {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

.role-card:nth-child(2):hover .tag-badge {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
}

.role-card:nth-child(3):hover .tag-badge {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.2);
  color: #f472b6;
}

/* Results section transitions and styling */
.results-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
}

.results-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Summary stats layout */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.summary-card {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.summary-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.summary-card strong {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

/* Color codes for specific key cards */
#totalScore {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

#securityGrade {
  background: var(--grad-success);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

#riskClassification {
  background: var(--grad-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-card p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Charts structure */
.chart-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.chart-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chart-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-left: 3px solid var(--clr-violet);
  padding-left: 12px;
}

.chart-card canvas {
  width: 100% !important;
  max-height: 280px;
  margin: 0 auto;
}

/* Vulnerabilities list / panel */
.panel-group {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.vulnerabilities-panel,
.recommendations-panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vulnerabilities-panel h2,
.recommendations-panel h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vulnerabilities-panel .panel-header p,
.recommendations-panel .panel-header p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Cyber Table Styling */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#findingsTable {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

#findingsTable th {
  padding: 16px 20px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#findingsTable tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
}

#findingsTable tbody tr:last-child {
  border-bottom: none;
}

#findingsTable tbody tr:hover {
  background: rgba(99, 102, 241, 0.05);
}

#findingsTable td {
  padding: 18px 20px;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.5;
  vertical-align: middle;
}

#findingsTable td:nth-child(2) {
  font-weight: 700;
}

#findingsTable td:nth-child(3) {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Custom glowing badge tags for severities */
.tag {
  display: inline-flex;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-critical {
  background: rgba(244, 63, 94, 0.12) !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
  color: #fb7185 !important;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

.tag-high {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.tag-medium {
  background: rgba(6, 182, 212, 0.12) !important;
  border: 1px solid rgba(6, 182, 212, 0.35) !important;
  color: #22d3ee !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.tag-low {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #34d399 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

/* Recommendation list */
#recommendationList {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

#recommendationList li {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

#recommendationList li::before {
  content: "✦";
  color: var(--clr-cyan);
  font-size: 1.05rem;
  line-height: 1;
}

#recommendationList li:hover {
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Utility hidden helper */
.hidden {
  display: none !important;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .hero-panel {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .roles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .chart-grid {
    grid-template-columns: 1fr;
  }
  
  .panel-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
  }
  
  .brand-block {
    justify-content: center;
  }
  
  .nav-actions {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-copy h1 {
    font-size: 2.2rem;
  }
  
  .scan-panel {
    padding: 28px;
  }
  
  .vulnerabilities-panel,
  .recommendations-panel,
  .chart-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
}
