/* ==========================================================================
   VALOR Marketing Site — Premium Dark Cyber Design
   Author: Antonio Andrea Rao
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --brand: #00a3dd;
  --brand-light: #33b8e5;
  --brand-dark: #0088b8;
  --brand-glow: rgba(0, 163, 221, 0.35);
  --brand-subtle: rgba(0, 163, 221, 0.08);

  --bg-deep: #050a12;
  --bg-base: #0a1118;
  --bg-elevated: #0f1a24;
  --bg-card: rgba(15, 26, 36, 0.65);
  --bg-glass: rgba(12, 20, 30, 0.72);

  --text-primary: #e8edf2;
  --text-secondary: #8fa3b8;
  --text-muted: #5a6f82;

  --border: rgba(0, 163, 221, 0.12);
  --border-hover: rgba(0, 163, 221, 0.35);

  --critical: #ff4757;
  --high: #ff6b35;
  --medium: #ffa502;
  --low: #2ed573;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px var(--brand-glow);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-light);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

em {
  font-style: normal;
  color: var(--brand);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 100%);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__header .section__subtitle {
  margin: 0 auto;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--brand-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--brand-glow);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn--ghost:hover {
  background: var(--brand-subtle);
  border-color: var(--brand);
  color: var(--brand-light);
}

.btn--linkedin {
  background: rgba(10, 102, 194, 0.15);
  color: #4da3e8;
  border: 1px solid rgba(10, 102, 194, 0.35);
}

.btn--linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(10, 102, 194, 0.35);
}

/* --- Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(5, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(5, 10, 18, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__menu a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__menu a:hover {
  color: var(--text-primary);
  background: var(--brand-subtle);
}

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  margin-left: 4px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.lang-btn {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-radius: 100px;
  transition: all var(--transition);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 2px 12px var(--brand-glow);
}

.nav__cta {
  background: var(--brand-subtle) !important;
  border: 1px solid var(--border-hover) !important;
  color: var(--brand-light) !important;
  margin-left: 8px;
}

.nav__cta:hover {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--brand-light);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-sub {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 12px;
  letter-spacing: 0.05em;
}

.hero__slogan {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  min-height: 2.5em;
  transition: opacity 0.4s ease;
}

.hero__slogan.is-fading {
  opacity: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero__ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.ticker__item {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.ticker__item strong {
  color: var(--brand);
  font-weight: 600;
}

.ticker__sep {
  color: var(--brand);
  font-size: 0.5rem;
  opacity: 0.5;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--brand), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* --- Manifesto --- */
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.manifesto__lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.manifesto__quote {
  padding: 24px 28px;
  background: var(--bg-glass);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  backdrop-filter: blur(12px);
}

.manifesto__quote p {
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
}

.manifesto__orbit {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.orbit__ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: orbit-spin 20s linear infinite;
}

.orbit__ring--2 {
  inset: 30px;
  animation-duration: 15s;
  animation-direction: reverse;
}

.orbit__ring--3 {
  inset: 60px;
  animation-duration: 10s;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}

.orbit__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-light);
  padding: 4px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.orbit__label--1 { top: 0; left: 50%; transform: translateX(-50%); }
.orbit__label--2 { right: 0; top: 50%; transform: translateY(-50%); }
.orbit__label--3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit__label--4 { left: 0; top: 50%; transform: translateY(-50%); }

/* --- Metrics --- */
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.metric-card {
  padding: 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.metric-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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

.metric-card__value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-card__label {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.metric-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Pillars --- */
.pillars__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition);
}

.pillar-card:hover,
.pillar-card.is-open {
  border-color: var(--border-hover);
}

.pillar-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px 28px;
  text-align: left;
  color: inherit;
  transition: background var(--transition);
}

.pillar-card__header:hover {
  background: var(--brand-subtle);
}

.pillar-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.pillar-card__icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card__icon--vapt { background: rgba(0, 163, 221, 0.15); color: var(--brand); }
.pillar-card__icon--risk { background: rgba(255, 107, 53, 0.15); color: var(--high); }
.pillar-card__icon--supply { background: rgba(46, 213, 115, 0.15); color: var(--low); }
.pillar-card__icon--incidents { background: rgba(255, 71, 87, 0.15); color: var(--critical); }
.pillar-card__icon--bia { background: rgba(255, 165, 2, 0.15); color: var(--medium); }
.pillar-card__icon--matrix { background: rgba(138, 43, 226, 0.15); color: #a855f7; }

.pillar-card__meta {
  flex: 1;
  min-width: 0;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pillar-card__teaser {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pillar-card__chevron {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.pillar-card.is-open .pillar-card__chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.pillar-card__body {
  padding: 0 28px 24px 96px;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: slide-down 0.3s ease;
}

.pillar-card__body[hidden] {
  display: none;
}

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

.pillar-card__features {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-card__features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
}

.pillar-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* --- Console Mock --- */
.console__mock {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.console__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.console__dots {
  display: flex;
  gap: 6px;
}

.console__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.console__dots span:nth-child(1) { background: #ff5f57; }
.console__dots span:nth-child(2) { background: #febc2e; }
.console__dots span:nth-child(3) { background: #28c840; }

.console__url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 4px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
}

.console__body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 400px;
}

.console__sidebar {
  padding: 20px 0;
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.console__nav-item {
  padding: 10px 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: default;
  transition: all var(--transition);
}

.console__nav-item--active {
  color: var(--brand);
  background: var(--brand-subtle);
  border-right: 2px solid var(--brand);
}

.console__main {
  padding: 24px;
}

.console__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.console__kpi {
  padding: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.console__kpi-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.console__kpi-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.console__kpi-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.console__kpi-delta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 4px;
}

.console__kpi-delta--down {
  color: var(--low);
  background: rgba(46, 213, 115, 0.1);
}

.console__kpi-delta--up {
  color: var(--critical);
  background: rgba(255, 71, 87, 0.1);
}

.console__charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.console__chart-panel {
  padding: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.console__chart-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Severity bars */
.severity-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.severity-bar {
  display: grid;
  grid-template-columns: 70px 1fr 36px;
  align-items: center;
  gap: 12px;
}

.severity-bar__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.severity-bar[data-severity="critical"] .severity-bar__label { color: var(--critical); }
.severity-bar[data-severity="high"] .severity-bar__label { color: var(--high); }
.severity-bar[data-severity="medium"] .severity-bar__label { color: var(--medium); }
.severity-bar[data-severity="low"] .severity-bar__label { color: var(--low); }

.severity-bar__track {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.severity-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.severity-bar[data-severity="critical"] .severity-bar__fill { background: var(--critical); }
.severity-bar[data-severity="high"] .severity-bar__fill { background: var(--high); }
.severity-bar[data-severity="medium"] .severity-bar__fill { background: var(--medium); }
.severity-bar[data-severity="low"] .severity-bar__fill { background: var(--low); }

.severity-bar__count {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-align: right;
  color: var(--text-secondary);
}

/* Donut chart */
.donut-chart {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
}

.donut-chart__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-chart__bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 24;
}

.donut-chart__segment {
  fill: none;
  stroke-width: 24;
  stroke-linecap: round;
  transition: stroke-dasharray 1.2s ease;
}

.donut-chart__segment[data-segment="vapt"] { stroke: var(--brand); }
.donut-chart__segment[data-segment="risk"] { stroke: var(--high); }
.donut-chart__segment[data-segment="supply"] { stroke: var(--low); }
.donut-chart__segment[data-segment="incidents"] { stroke: var(--critical); }
.donut-chart__segment[data-segment="other"] { stroke: var(--text-muted); }

.donut-chart__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-chart__total {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
}

.donut-chart__label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.donut-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.donut-chart__legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend__dot--vapt { background: var(--brand); }
.legend__dot--risk { background: var(--high); }
.legend__dot--supply { background: var(--low); }
.legend__dot--incidents { background: var(--critical); }
.legend__dot--other { background: var(--text-muted); }

/* --- NIS2 Lifecycle --- */
.nis2__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nis2__step {
  padding: 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition);
}

.nis2__step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.nis2__step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.nis2__step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  padding: 4px 8px;
  background: var(--brand-subtle);
  border-radius: var(--radius-sm);
}

.nis2__step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.nis2__step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.nis2__progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.nis2__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nis2__progress-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Comparison Table --- */
.comparison__wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison__table th,
.comparison__table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison__table th:first-child,
.comparison__table td:first-child {
  text-align: left;
}

.comparison__table thead th {
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
}

.comparison__table tbody tr {
  background: var(--bg-glass);
  transition: background var(--transition);
}

.comparison__table tbody tr:hover {
  background: var(--brand-subtle);
}

.comparison__highlight {
  background: rgba(0, 163, 221, 0.08) !important;
  color: var(--brand-light);
  font-weight: 600;
}

.comparison__table .check {
  color: var(--low);
  font-size: 1.25rem;
}

.comparison__table .cross {
  color: var(--critical);
  font-size: 1.25rem;
}

.comparison__table .partial {
  color: var(--medium);
  font-size: 1.25rem;
}

/* --- Technology --- */
.tech__architecture {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.tech__layer {
  width: 100%;
  padding: 20px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
}

.tech__layer:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.tech__layer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.tech__layer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech__layer-items span {
  padding: 6px 14px;
  font-size: 0.8125rem;
  background: var(--brand-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.tech__connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--brand), transparent);
}

.tech__posture {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.posture-card {
  padding: 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.posture-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.posture-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--brand-light);
}

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

.tech__tools-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tool-chip {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}

.tool-chip:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-subtle);
  transform: translateY(-2px);
}

/* --- Gallery --- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  aspect-ratio: 16 / 9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8));
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 18, 0.95);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] {
  display: none;
}

.lightbox:not([hidden]).is-open {
  display: flex;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all var(--transition);
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
}

.lightbox__close:hover {
  background: var(--brand-subtle);
  border-color: var(--brand);
  color: var(--brand);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: var(--text-primary);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all var(--transition);
}

.lightbox__nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 8px 16px;
  background: var(--bg-glass);
  border-radius: 100px;
}

/* --- Author --- */
.author__card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 48px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  max-width: 800px;
  margin: 0 auto;
}

.author__avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-subtle);
  border: 2px solid var(--border-hover);
  border-radius: 50%;
  overflow: hidden;
}

.author__avatar img {
  width: 64px;
  height: 64px;
}

.author__location {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.author__headline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--brand);
  margin-bottom: 12px;
  line-height: 1.5;
}

.author__stats {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  opacity: 0.75;
}

.author__bio {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.author__certs,
.author__languages {
  margin-bottom: 24px;
}

.author__certs-label,
.author__lang-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.author__certs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-chip {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-secondary);
  background: var(--brand-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}

.cert-chip:hover {
  color: var(--brand-light);
  border-color: var(--border-hover);
}

.author__lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.author__lang-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 16px;
}

.author__lang-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 0.5rem;
  top: 0.55em;
}

.author__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.author__contact .btn {
  font-size: 0.875rem;
}

/* --- Footer --- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-base);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer__logo img {
  height: 28px;
  opacity: 0.8;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer__nav {
  display: flex;
  gap: 24px;
}

.site-footer__nav a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.site-footer__nav a:hover {
  color: var(--brand);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nis2__timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .console__kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .console__charts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: rgba(5, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__menu a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav__lang {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    width: 100%;
  }

  .nav__cta {
    margin-left: 0 !important;
    margin-top: 8px;
  }

  .manifesto__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .manifesto__orbit {
    width: 260px;
    height: 260px;
  }

  .metrics__grid {
    grid-template-columns: 1fr;
  }

  .console__body {
    grid-template-columns: 1fr;
  }

  .console__sidebar {
    display: none;
  }

  .console__kpis {
    grid-template-columns: 1fr 1fr;
  }

  .nis2__timeline {
    grid-template-columns: 1fr;
  }

  .tech__posture {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .author__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }

  .author__certs-chips {
    justify-content: center;
  }

  .author__lang-list {
    justify-content: center;
  }

  .author__contact {
    justify-content: center;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .pillar-card__body {
    padding-left: 28px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .console__kpis {
    grid-template-columns: 1fr;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker__track {
    animation: none;
  }

  .hero__glow {
    animation: none;
  }

  .orbit__ring {
    animation: none;
  }
}