:root {
  --bg-primary: #020c14;
  --bg-secondary: #041020;
  --bg-surface: rgba(0, 212, 255, 0.03);
  --bg-elevated: rgba(0, 212, 255, 0.07);
  --text-primary: #d8f0f8;
  --text-secondary: #6e9db0;
  --text-muted: #2e5060;
  --accent-red: #ff3e3e;
  --accent-red-dim: rgba(255, 62, 62, 0.13);
  --accent-green: #39ff14;
  --accent-green-dim: rgba(57, 255, 20, 0.10);
  --accent-gold: #e8ff00;
  --accent-gold-dim: rgba(232, 255, 0, 0.10);
  --accent-blue: #00d4ff;
  --glass: rgba(0, 212, 255, 0.04);
  --glass-border: rgba(0, 212, 255, 0.11);
  --glass-highlight: rgba(0, 212, 255, 0.22);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'SF Mono', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  padding-top: 38px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ═══ TICKER ═══ */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 38px;
  background: linear-gradient(90deg, rgba(0,212,255,0.06) 0%, var(--bg-primary) 15%, var(--bg-primary) 85%, rgba(0,212,255,0.06) 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.14);
  display: flex;
  align-items: center;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-shrink: 0;
  animation: ticker-scroll 70s linear infinite;
  padding-right: 2.5rem;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.ticker__item {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
}

.ticker__item--cve { color: var(--accent-red); opacity: 0.85; }
.ticker__item--actor { color: var(--accent-gold); opacity: 0.85; }
.ticker__item--advisory { color: var(--accent-blue); opacity: 0.85; }
.ticker__item--op { color: var(--accent-green); opacity: 0.85; }
.ticker__sep {
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--text-muted);
  opacity: 0.25;
  flex-shrink: 0;
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(4rem + env(safe-area-inset-top, 0px)) 2rem 5rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__circuit {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero__radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__radar-ring--1 { width: 340px; height: 340px; }
.hero__radar-ring--2 { width: 600px; height: 600px; border-color: rgba(0, 212, 255, 0.05); }
.hero__radar-ring--3 { width: 900px; height: 900px; border-color: rgba(0, 212, 255, 0.03); }

.hero__sweep {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  animation: radar-sweep 5s linear infinite;
  overflow: hidden;
}

.hero__sweep::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, transparent 80%, rgba(0, 212, 255, 0.15) 100%);
  border-radius: 0 50% 50% 0;
}

@keyframes radar-sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(180px);
}

.hero__glow--1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  top: 10%;
  left: 30%;
}

.hero__glow--2 {
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(232, 255, 0, 0.05) 0%, transparent 70%);
  bottom: 10%;
  right: 10%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid rgba(57, 255, 20, 0.18);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero__badge-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-green);
  animation: dot-blink 1.4s steps(1) infinite;
}

@keyframes dot-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero__label {
  font-family: var(--font-mono);
  font-size: clamp(0.58rem, 1vw, 0.7rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.hero__title {
  font-size: clamp(3.4rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.86;
  margin-bottom: 1.8rem;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #80e8ff 40%, var(--text-primary) 65%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero__op-tag {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  color: var(--accent-blue);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 2.5rem;
  letter-spacing: 0.08em;
}

.hero__op-tag::before {
  content: '▶';
  font-size: 0.5rem;
  color: var(--accent-blue);
  opacity: 0.6;
}

.hero__stats {
  display: flex;
  gap: 1px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stat {
  padding: 1.2rem 1.6rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 140px;
  position: relative;
}

.hero__stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-blue);
  opacity: 0.5;
}

.hero__stat-val {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent-blue);
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══ SECTIONS — SHARED ═══ */
.sec {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.sec__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sec__num {
  font-family: var(--font-mono);
  font-size: clamp(0.52rem, 0.75vw, 0.62rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-blue);
  opacity: 0.5;
  margin-bottom: 0.6rem;
}

.sec__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.sec__lead {
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.sec__rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sec__rule::before,
.sec__rule::after {
  content: '';
  height: 1px;
  background: var(--glass-border);
  flex: 1;
}

.sec__rule-text {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.25em;
  color: var(--accent-blue);
  opacity: 0.5;
  white-space: nowrap;
}

/* ═══ SEC 01: BOTNET TAKEDOWN ═══ */
.botnet-ops {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 212, 255, 0.08);
}

.botnet-ops .sec__title { color: var(--accent-blue); }

.op-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.op-summary {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.8;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent-blue);
  padding-left: 1rem;
  opacity: 0.7;
}

.botnet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 700px) {
  .botnet-grid { grid-template-columns: 1fr; }
}

.botnet-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.botnet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-blue);
  opacity: 0.6;
}

.botnet-card--primary::before { background: var(--accent-red); opacity: 0.8; }
.botnet-card--secondary::before { background: var(--accent-gold); opacity: 0.6; }

.botnet-card__name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
}

.botnet-card--primary .botnet-card__name { color: var(--accent-red); }
.botnet-card--secondary .botnet-card__name { color: var(--accent-gold); }

.botnet-card__title {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.botnet-card__body {
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.botnet-card__meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.75rem;
}

.botnet-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.botnet-card__stat-val {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--accent-blue);
}

.botnet-card--primary .botnet-card__stat-val { color: var(--accent-red); }
.botnet-card--secondary .botnet-card__stat-val { color: var(--accent-gold); }

.botnet-card__stat-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══ SEC 02: TRIVY SUPPLY CHAIN ═══ */
.trivy-sc {
  border-top: 1px solid var(--glass-border);
}

.trivy-sc .sec__title { color: var(--accent-red); }

.sc-timeline {
  position: relative;
  padding-left: 0;
}

.sc-event {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.06);
}

@media (max-width: 600px) {
  .sc-event { grid-template-columns: 1fr; gap: 0.5rem; }
}

.sc-event:last-child { border-bottom: none; }

.sc-event__time {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent-blue);
  opacity: 0.7;
  letter-spacing: 0.08em;
  padding-top: 0.15rem;
}

.sc-event__content h3 {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.sc-event__content p {
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

.sc-event__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  margin-top: 0.4rem;
}

.sc-event__tag--critical { background: var(--accent-red-dim); color: var(--accent-red); }
.sc-event__tag--warn { background: var(--accent-gold-dim); color: var(--accent-gold); }
.sc-event__tag--info { background: var(--glass); color: var(--accent-blue); border: 1px solid var(--glass-border); }

.sc-ioc-strip {
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: rgba(255, 62, 62, 0.03);
  border: 1px solid rgba(255, 62, 62, 0.10);
  border-radius: 4px;
}

.sc-ioc-strip__title {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 0.75rem;
}

.sc-ioc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sc-ioc {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.2rem 0.55rem;
  background: var(--accent-red-dim);
  color: var(--accent-red);
  border: 1px solid rgba(255, 62, 62, 0.15);
  border-radius: 2px;
}

/* ═══ SEC 03: APT37 RUBY JUMPER ═══ */
.apt37 {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(232, 255, 0, 0.06);
}

.apt37 .sec__title { color: var(--accent-gold); }

.rj-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 820px) {
  .rj-layout { grid-template-columns: 1fr; }
}

.rj-dossier {
  background: var(--glass);
  border: 1px solid rgba(232, 255, 0, 0.12);
  border-radius: 4px;
  padding: 1.5rem;
}

.rj-dossier__label {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(232, 255, 0, 0.10);
  padding-bottom: 0.5rem;
}

.rj-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.05);
}

.rj-row:last-child { border-bottom: none; }

.rj-row__key {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.rj-row__val {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.rj-row__val--yellow { color: var(--accent-gold); }
.rj-row__val--red { color: var(--accent-red); }

.rj-chain {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rj-stage {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  align-items: start;
}

.rj-stage__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(232, 255, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-gold);
  flex-shrink: 0;
  background: rgba(232, 255, 0, 0.04);
}

.rj-stage__content h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
  letter-spacing: 0.06em;
}

.rj-stage__content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.rj-connector {
  width: 1px;
  height: 12px;
  background: rgba(232, 255, 0, 0.2);
  margin-left: 15px;
}

/* ═══ SEC 04: CVE INTELLIGENCE ═══ */
.cve-intel {
  border-top: 1px solid var(--glass-border);
}

.cve-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 820px) {
  .cve-layout { grid-template-columns: 1fr; }
}

.cve-featured {
  background: linear-gradient(135deg, rgba(255, 62, 62, 0.06) 0%, var(--glass) 100%);
  border: 1px solid rgba(255, 62, 62, 0.18);
  border-radius: 4px;
  padding: 2rem;
}

.cve-featured__id {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 0.2rem;
}

.cve-featured__score {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background: var(--accent-red-dim);
  color: var(--accent-red);
  border: 1px solid rgba(255, 62, 62, 0.2);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.cve-featured__product {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cve-featured__desc {
  font-size: clamp(0.85rem, 1.2vw, 0.93rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.cve-featured__timeline {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 62, 62, 0.1);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.cve-featured__timeline span { color: var(--accent-red); }

.cve-secondary-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cve-mini {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1.1rem 1.25rem;
  transition: border-color 0.25s;
}

.cve-mini:hover { border-color: var(--glass-highlight); }

.cve-mini__id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cve-mini__id--red { color: var(--accent-red); }
.cve-mini__id--gold { color: var(--accent-gold); }
.cve-mini__id--blue { color: var(--accent-blue); }

.cve-mini__label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.cve-mini__desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cve-mini__vendor {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.kev-new {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}

.kev-new__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.kev-new__title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.kev-new__date {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-muted);
}

.kev-new__deadline {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--accent-gold);
  margin-left: auto;
}

.kev-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.kev-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.3rem 0.65rem;
  background: var(--glass);
  color: var(--accent-blue);
  border: 1px solid var(--glass-border);
  border-radius: 2px;
}

/* ═══ SEC 05: OPERATION GHOSTMAIL ═══ */
.ghostmail {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 212, 255, 0.06);
}

.ghostmail .sec__title { color: var(--text-primary); }

.gm-panel {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, var(--glass) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 720px) {
  .gm-panel { grid-template-columns: 1fr; }
}

.gm-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--glass-border);
  padding-right: 2rem;
}

@media (max-width: 720px) {
  .gm-meta { border-right: none; padding-right: 0; border-bottom: 1px solid var(--glass-border); padding-bottom: 1.5rem; }
}

.gm-field {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.4rem 0;
}

.gm-field__key {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gm-field__val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.gm-field__val--cyan { color: var(--accent-blue); }
.gm-field__val--red { color: var(--accent-red); }

.gm-narrative h3 {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gm-narrative p {
  font-size: clamp(0.83rem, 1.2vw, 0.91rem);
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ═══ SEC 06: BREACH REGISTER ═══ */
.breach-reg {
  border-top: 1px solid var(--glass-border);
}

.breach-reg .sec__title { color: var(--accent-red); }

.breach-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.breach-table th {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 1rem 0.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.breach-row {
  background: var(--glass);
  border-radius: 3px;
}

.breach-row td {
  padding: 1.1rem 1rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  vertical-align: top;
}

.breach-row td:first-child {
  border-left: 1px solid var(--glass-border);
  border-radius: 3px 0 0 3px;
}

.breach-row td:last-child {
  border-right: 1px solid var(--glass-border);
  border-radius: 0 3px 3px 0;
}

.breach-row--critical td { border-top-color: rgba(255, 62, 62, 0.3); }
.breach-row--high td { border-top-color: rgba(232, 255, 0, 0.2); }

.breach-org {
  font-weight: 600;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  margin-bottom: 0.2rem;
}

.breach-sector {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.breach-impact {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  font-weight: 700;
  color: var(--accent-red);
}

.breach-detail {
  font-size: clamp(0.8rem, 1.1vw, 0.87rem);
  color: var(--text-secondary);
  line-height: 1.55;
}

.breach-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  margin-top: 0.3rem;
}

.breach-tag--crit { background: var(--accent-red-dim); color: var(--accent-red); }
.breach-tag--high { background: var(--accent-gold-dim); color: var(--accent-gold); }

@media (max-width: 680px) {
  .breach-table thead { display: none; }
  .breach-table, .breach-row, .breach-row td { display: block; width: 100%; }
  .breach-row { margin-bottom: 1rem; }
  .breach-row td { border: none !important; border-radius: 0 !important; padding: 0.5rem 1rem; }
  .breach-row td:first-child { border-top: 1px solid rgba(255,62,62,0.2) !important; border-left: 3px solid var(--accent-red) !important; border-radius: 0 !important; padding-top: 1rem; }
  .breach-row td:last-child { padding-bottom: 1rem; }
}

/* ═══ SEC 07: OAUTH ABUSE ═══ */
.oauth-sec {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 212, 255, 0.06);
}

.oauth-sec .sec__title { color: var(--accent-blue); }

.oauth-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 800px;
}

.oauth-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  align-items: stretch;
  position: relative;
}

.oauth-step__num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oauth-step__num {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-blue);
  flex-shrink: 0;
  z-index: 1;
}

.oauth-step__line {
  width: 1px;
  flex: 1;
  background: var(--glass-border);
  margin: 0 auto;
}

.oauth-step:last-child .oauth-step__line { display: none; }

.oauth-step__card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 3px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.25s;
}

.oauth-step__card:hover { border-color: var(--glass-highlight); }

.oauth-step__card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.oauth-step__card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.oauth-step__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  padding: 0.15rem 0.4rem;
  margin-top: 0.35rem;
}

.oauth-step__tag--attacker { background: var(--accent-red-dim); color: var(--accent-red); }
.oauth-step__tag--victim { background: var(--accent-gold-dim); color: var(--accent-gold); }
.oauth-step__tag--result { background: var(--glass); color: var(--accent-blue); border: 1px solid var(--glass-border); }

/* ═══ SEC 08: AI PIPELINE ATTACK ═══ */
.ai-attack {
  border-top: 1px solid var(--glass-border);
}

.ai-attack .sec__title { color: var(--accent-blue); }

.ai-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 760px) {
  .ai-split { grid-template-columns: 1fr; }
}

.ai-exploit-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.ai-exploit-box__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(0, 212, 255, 0.04);
  border-bottom: 1px solid rgba(0, 212, 255, 0.10);
}

.ai-exploit-box__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ai-exploit-box__dot--r { background: #ff5f57; }
.ai-exploit-box__dot--y { background: #febc2e; }
.ai-exploit-box__dot--g { background: #28c840; }

.ai-exploit-box__file {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.ai-exploit-box__body {
  padding: 1.2rem;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1vw, 0.76rem);
  line-height: 1.9;
  color: var(--text-secondary);
}

.t-cyan { color: var(--accent-blue); }
.t-red { color: var(--accent-red); }
.t-gold { color: var(--accent-gold); }
.t-green { color: var(--accent-green); }
.t-muted { color: var(--text-muted); }

.ai-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ai-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ai-point__icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.ai-point__text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ai-point__text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ═══ SEC 09: POST-QUANTUM ═══ */
.pqc-sec {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(232, 255, 0, 0.05);
}

.pqc-sec .sec__title { color: var(--accent-gold); }

.pqc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 720px) {
  .pqc-grid { grid-template-columns: 1fr; }
}

@media (min-width: 480px) and (max-width: 719px) {
  .pqc-grid { grid-template-columns: 1fr 1fr; }
}

.pqc-card {
  background: var(--glass);
  border: 1px solid rgba(232, 255, 0, 0.10);
  border-radius: 4px;
  padding: 1.5rem;
}

.pqc-card__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.pqc-card__title {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pqc-card__body {
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  color: var(--text-secondary);
  line-height: 1.62;
}

.pqc-urgency {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(232, 255, 0, 0.03);
  border: 1px solid rgba(232, 255, 0, 0.12);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pqc-urgency__year {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  flex-shrink: 0;
}

.pqc-urgency__text {
  font-size: clamp(0.88rem, 1.3vw, 0.96rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══ SEC 10: COMPLIANCE DEADLINES ═══ */
.compliance-dl {
  border-top: 1px solid rgba(0, 212, 255, 0.08);
}

.compliance-dl .sec__title { color: var(--text-primary); }

.deadline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.deadline-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.deadline-card--urgent {
  border-color: rgba(255, 62, 62, 0.22);
  background: rgba(255, 62, 62, 0.04);
}

.deadline-card--upcoming {
  border-color: rgba(232, 255, 0, 0.15);
}

.deadline-card__date {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.deadline-card--urgent .deadline-card__date { color: var(--accent-red); }
.deadline-card--upcoming .deadline-card__date { color: var(--accent-gold); }
.deadline-card .deadline-card__date { color: var(--accent-blue); }

.deadline-card__month {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.deadline-card__title {
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.deadline-card__body {
  font-size: clamp(0.78rem, 1.1vw, 0.85rem);
  color: var(--text-secondary);
  line-height: 1.55;
}

.deadline-card__authority {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ═══ STATS STRIP ═══ */
.stats-strip {
  background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, var(--bg-primary) 40%, rgba(232,255,0,0.03) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.stats-rail {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-block__val {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-block__val--blue { color: var(--accent-blue); }
.stat-block__val--red { color: var(--accent-red); }
.stat-block__val--gold { color: var(--accent-gold); }
.stat-block__val--green { color: var(--accent-green); }

.stat-block__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ═══ WEEK AHEAD ═══ */
.week-ahead {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.week-ahead .sec__title { color: var(--accent-green); }

.wa-cal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.wa-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}

.wa-card--imminent {
  border-color: rgba(255, 62, 62, 0.22);
}

.wa-card--upcoming {
  border-color: rgba(57, 255, 20, 0.15);
}

.wa-card__date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

.wa-card--imminent .wa-card__date { color: var(--accent-red); }

.wa-card__title {
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.wa-card__body {
  font-size: clamp(0.76rem, 1.1vw, 0.84rem);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ═══ SOURCE LINKS ═══ */
.source {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.22s ease;
}

.source:hover { color: var(--accent-blue); }

.sources {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  border-top: 1px solid rgba(0, 212, 255, 0.05);
  padding-top: 1rem;
}

/* ═══ FOOTER ═══ */
.site-footer {
  text-align: center;
  padding: 4rem 2rem calc(4rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--glass-border);
}

.site-footer__brand {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.site-footer__pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
  animation: footer-pulse 2.5s ease-in-out infinite;
}

@keyframes footer-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent-blue); }
  50% { opacity: 0.4; box-shadow: 0 0 3px var(--accent-blue); }
}

.site-footer__regen {
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.site-footer__session {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.site-footer__timestamp {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 640px) {
  .hero {
    padding: calc(3rem + env(safe-area-inset-top, 0px)) 1.5rem 3rem;
  }
  .hero__stats {
    flex-direction: column;
    align-items: center;
  }
  .hero__stat {
    width: 100%;
    max-width: 280px;
  }
  .pqc-urgency { flex-direction: column; gap: 1rem; }
}
