:root {
  --bg: #070d19;
  --bg-elevated: #0c1526;
  --surface: #101c33;
  --surface-alt: #152440;
  --surface-hover: #1b2e52;
  --ink: #f1f5f9;
  --ink-secondary: #cbd5e1;
  --muted: #94a3b8;
  --border: #1e3154;
  --border-strong: #2b4470;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --emerald-border: rgba(52, 211, 153, 0.35);
  --cyan: #06b6d4;
  --cyan-bright: #22d3ee;
  --cyan-soft: rgba(6, 182, 212, 0.14);
  --cyan-border: rgba(34, 211, 238, 0.35);
  --rose: #f43f5e;
  --rose-soft: rgba(244, 63, 94, 0.14);
  --rose-border: rgba(251, 113, 133, 0.38);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --amber-border: rgba(251, 191, 36, 0.38);
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(2, 6, 23, 0.5);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, 0.72);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  max-width: 100%;
  overflow-x: hidden;
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: var(--cyan-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.tabular {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 25, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-bright);
  border: 1px solid var(--emerald-border);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-secondary);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--emerald-bright);
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--cyan) 100%);
  color: #04131c !important;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(7, 13, 25, 0.96);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-nav::-webkit-scrollbar {
  display: none;
}

.mobile-nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  width: max-content;
}

.mobile-nav a {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mobile-nav a:hover {
  color: var(--emerald-bright);
  border-color: var(--emerald-border);
  text-decoration: none;
}

.header-cta:hover {
  opacity: 0.92;
  text-decoration: none;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 60% 45% at 15% 0%, rgba(16, 185, 129, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 5%, rgba(6, 182, 212, 0.14), transparent 55%),
    linear-gradient(180deg, #091224 0%, #070d19 100%);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 48px;
}

.hero-top {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 28px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 28, 51, 0.9);
  border: 1px solid var(--emerald-border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--emerald-bright);
  margin-bottom: 16px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 10px var(--emerald);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #ffffff;
}

.hero-gradient {
  background: linear-gradient(90deg, #34d399 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 0 auto;
  max-width: 740px;
  font-size: 16px;
  color: var(--ink-secondary);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.hero-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
}

/* Workbench Shell */
.workbench-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0a1222;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 14px;
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.tab-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  color: #ffffff;
  background: var(--bg-elevated);
  border-bottom-color: var(--emerald-bright);
}

.tab-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.tab-btn.active .tab-num {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald-bright);
}

.tab-panel {
  display: none;
  padding: 26px;
}

.tab-panel.active {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover:not(:disabled) {
  background: var(--surface-hover);
  border-color: var(--cyan-border);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
  border-color: var(--emerald-bright);
  color: #031510;
  font-weight: 700;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--emerald-bright) 0%, var(--emerald) 100%);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, #0284c7 100%);
  border-color: var(--cyan-bright);
  color: #031521;
  font-weight: 700;
}

.btn-cyan:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--cyan) 100%);
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12.5px;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink-secondary);
}

/* Dropzone & Input */
.sample-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.sample-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.sample-btn {
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sample-btn:hover {
  border-color: var(--emerald-border);
  color: var(--emerald-bright);
  background: var(--emerald-soft);
}

.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: rgba(16, 28, 51, 0.45);
  padding: 18px 20px;
  text-align: center;
  transition: all 0.15s ease;
  margin-bottom: 14px;
  cursor: pointer;
}

.dropzone.dragover {
  border-color: var(--emerald-bright);
  background: var(--emerald-soft);
}

.dropzone-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 4px;
}

.dropzone-sub {
  font-size: 12.5px;
  color: var(--muted);
}

.sbom-textarea {
  width: 100%;
  min-height: 170px;
  max-height: 320px;
  resize: vertical;
  background: #070e1c;
  color: #e2e8f0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
}

.sbom-textarea:focus {
  outline: none;
  border-color: var(--cyan-bright);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.privacy-note {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 22px 0 18px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.kpi-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.kpi-sub {
  font-size: 12px;
  color: var(--ink-secondary);
  margin-top: 4px;
}

.kpi-ok .kpi-value { color: var(--emerald-bright); }
.kpi-warn .kpi-value { color: #fbbf24; }
.kpi-bad .kpi-value { color: #fb7185; }
.kpi-cyan .kpi-value { color: var(--cyan-bright); }

/* Export Toolbar */
.export-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #0a1426;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.export-bar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
}

/* Section Panels inside results */
.result-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 18px;
}

.result-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.result-section-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-pass { background: var(--emerald-soft); color: var(--emerald-bright); border: 1px solid var(--emerald-border); }
.badge-fail, .badge-critical { background: var(--rose-soft); color: #fda4af; border: 1px solid var(--rose-border); }
.badge-high { background: rgba(249, 115, 22, 0.16); color: #fdba74; border: 1px solid rgba(251, 146, 60, 0.4); }
.badge-warn, .badge-medium { background: var(--amber-soft); color: #fcd34d; border: 1px solid var(--amber-border); }
.badge-info, .badge-low { background: var(--cyan-soft); color: var(--cyan-bright); border: 1px solid var(--cyan-border); }
.badge-neutral { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }

/* Checks Grid */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: #0b1426;
  border: 1px solid var(--border);
}

.check-item.fail {
  border-color: rgba(244, 63, 94, 0.35);
}

.check-item.warn {
  border-color: rgba(245, 158, 11, 0.35);
}

.check-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.check-code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan-bright);
  margin-right: 6px;
}

.check-detail {
  font-size: 12.5px;
  color: var(--muted);
}

/* Vulnerability Cards & OpenVEX Triage */
.vuln-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vuln-card {
  background: #0a1324;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.vuln-card.sev-CRITICAL { border-left: 4px solid #f43f5e; }
.vuln-card.sev-HIGH { border-left: 4px solid #f97316; }
.vuln-card.sev-MEDIUM { border-left: 4px solid #f59e0b; }
.vuln-card.sev-LOW { border-left: 4px solid #06b6d4; }

.vuln-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.vuln-id-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.vuln-summary {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 4px 0 10px;
}

.vex-controls {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.vex-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.vex-select, .vex-input, .form-input, .form-select, .form-textarea {
  width: 100%;
  background: #070d19;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  padding: 8px 10px;
  font-family: var(--sans);
  font-size: 13px;
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
}

.vex-select:focus, .vex-input:focus, .form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--emerald-bright);
}

/* Data Table */
.table-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.kpi-grid > *,
.checks-grid > *,
.two-col > *,
.form-grid > *,
.pricing-grid > *,
.guides-grid > *,
.vex-controls > *,
.stage-tabs > *,
.deadline-banner > *,
.check-item > div,
.result-section,
.workbench-card,
.tab-panel,
.vuln-card {
  min-width: 0;
  max-width: 100%;
}

.check-detail,
.vuln-summary,
.preview-box,
.ai-box,
.code-block {
  overflow-wrap: anywhere;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  text-align: left;
  padding: 10px 12px;
  background: #0a1324;
  color: var(--muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(30, 49, 84, 0.65);
  color: var(--ink-secondary);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

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

.purl-cell {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--cyan-bright);
  max-width: 280px;
  word-break: break-all;
}

/* CRA Classifier & ENISA Forms */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.category-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.cat-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: #0b1426;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-option:hover {
  border-color: var(--cyan-border);
}

.cat-option.selected {
  border-color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.09);
}

.cat-option input {
  margin-top: 4px;
  accent-color: var(--emerald);
}

.deadline-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.deadline-card {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #0a1426;
  border: 1px solid var(--border-strong);
}

.deadline-date {
  font-size: 15px;
  font-weight: 800;
  color: #fbbf24;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #0a1324;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  cursor: pointer;
}

.checklist-item input {
  margin-top: 3px;
  accent-color: var(--emerald);
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #091224;
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 8px 0 14px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--cyan) 100%);
  transition: width 0.2s ease;
}

/* ENISA Stage Pills */
.stage-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.stage-btn {
  padding: 12px;
  border-radius: var(--radius-md);
  background: #0a1324;
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.stage-btn.active {
  border-color: var(--cyan-bright);
  background: var(--cyan-soft);
  color: #ffffff;
}

.stage-btn strong {
  display: block;
  font-size: 13.5px;
}

.stage-btn span {
  font-size: 12px;
  color: var(--muted);
}

.preview-box {
  background: #060b16;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: #dbeafe;
  white-space: pre-wrap;
  max-height: 460px;
  overflow-y: auto;
}

.ai-box {
  margin-top: 14px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 13.5px;
  color: var(--ink);
  white-space: pre-wrap;
  line-height: 1.65;
}

.notice-banner {
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: #fde68a;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Sections below fold */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-header p {
  margin: 0;
  color: var(--ink-secondary);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border-color: var(--emerald-bright);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.25), var(--shadow-md);
  position: relative;
}

.price-tag {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin: 12px 0 4px;
}

.price-tag span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.price-list li::before {
  content: "✓ ";
  color: var(--emerald-bright);
  font-weight: 800;
}

/* Guides Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.guide-card:hover {
  border-color: var(--emerald-border);
  transform: translateY(-2px);
  text-decoration: none;
}

.guide-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-bright);
  margin-bottom: 6px;
}

.guide-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.35;
}

.guide-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--ink-secondary);
  font-size: 14px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

/* Footer */
.site-footer {
  background: #050a14;
  padding: 40px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--emerald-bright);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #0f2537;
  border: 1px solid var(--emerald-border);
  color: #ecfdf5;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 120;
  display: none;
}

.toast.show {
  display: block;
}

/* Guide Article Page Styles */
.article-hero {
  background: linear-gradient(180deg, #0b1528 0%, #070d19 100%);
  border-bottom: 1px solid var(--border);
  padding: 42px 0 34px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.geo-answer-box {
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid var(--emerald-border);
  border-left: 4px solid var(--emerald-bright);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 20px 0 24px;
  color: #e2e8f0;
  font-size: 15px;
}

.code-block {
  background: #050a14;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: #bae6fd;
}

.article-body {
  padding: 36px 0 60px;
}

.article-body h2 {
  margin-top: 32px;
  color: #ffffff;
  font-size: 22px;
}

.article-body p, .article-body li {
  color: var(--ink-secondary);
}

.article-body code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cyan-bright);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(6, 182, 212, 0.14));
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 980px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .checks-grid, .two-col, .pricing-grid, .guides-grid { grid-template-columns: 1fr; }
  .vex-controls { grid-template-columns: 1fr; }
  .tab-bar { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-nav { display: block; }
}

@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 14px; }
  .form-grid, .stage-tabs, .deadline-banner { grid-template-columns: 1fr; }
  .tab-panel { padding: 16px 12px; }
  .result-section { padding: 14px 12px; }
  .table-controls { width: 100%; }
  .table-controls .form-input,
  .table-controls .form-select { width: 100% !important; min-width: 0; }
  .trust-badge { font-size: 11.5px; padding: 6px 10px; line-height: 1.35; }
  .sample-btn { width: 100%; text-align: left; }
}

@media (max-width: 480px) {
  .brand-pill { display: none; }
  .brand { font-size: 16px; gap: 8px; }
  .header-cta { padding: 8px 12px; font-size: 12.5px; }
  .kpi-grid { grid-template-columns: 1fr; }
}

@media print {
  body { background: #ffffff; color: #0f172a; }
  .site-header, .tab-bar, .sample-bar, .dropzone, .sbom-textarea, .action-row, .export-bar, .site-footer, #pricing, #guides-section, #faq {
    display: none !important;
  }
  .workbench-card, .result-section, .kpi-card {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
    box-shadow: none;
  }
}
