/* AppSec & DevSecOps Training Labs — GitHub Pages */
:root {
  --c-deep: #0c124c;
  --c-deep-mid: #121a5c;
  --c-mist: #d5d8dd;
  --c-accent: #08b98b;
  --c-accent-dim: rgba(8, 185, 139, 0.35);
  --c-slate: #5a6876;
  --c-steel: #7c8394;
  --c-panel: rgba(18, 26, 92, 0.55);
  --c-border: rgba(124, 131, 148, 0.35);
  --c-glow: rgba(8, 185, 139, 0.45);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-mist);
  background: var(--c-deep);
  overflow-x: hidden;
}

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

a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  color: #eef1f4;
  font-weight: 600;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.container.narrow {
  width: min(960px, 92vw);
}

/* --- Background stack --- */
.bg-canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

#bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.85;
}

.bg-gradient-orbs {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(8, 185, 139, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(18, 26, 92, 0.9), transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(8, 185, 139, 0.08), transparent 45%);
  animation: orbDrift 18s ease-in-out infinite alternate;
}

@keyframes orbDrift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-2%, 1%) scale(1.03);
  }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 131, 148, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 131, 148, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
  animation: gridScroll 40s linear infinite;
}

@keyframes gridScroll {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 48px, 48px 0;
  }
}

.bg-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(12, 18, 76, 0.06) 2px,
    rgba(12, 18, 76, 0.06) 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(12, 18, 76, 0.92), rgba(12, 18, 76, 0.75));
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--c-mist);
  text-decoration: none;
}

.logo-lockup:hover {
  text-decoration: none;
}

.logo-glyph {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--c-accent), #06d4a0 60%, #0c124c);
  box-shadow: 0 0 24px var(--c-glow);
  position: relative;
}

.logo-glyph::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 0.35rem;
  border: 1px solid rgba(213, 216, 221, 0.35);
  opacity: 0.8;
}

.logo-glyph.sm {
  width: 1.75rem;
  height: 1.75rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--c-steel);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-main {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-main a {
  color: var(--c-steel);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s var(--ease-out), text-shadow 0.25s;
}

.nav-main a:hover {
  color: var(--c-mist);
  text-shadow: 0 0 18px var(--c-accent-dim);
  text-decoration: none;
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-mist);
  border-radius: 1px;
  transition: transform 0.25s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 5% 1.25rem;
  border-bottom: 1px solid var(--c-border);
  background: rgba(12, 18, 76, 0.96);
}

.mobile-nav a {
  color: var(--c-mist);
  padding: 0.5rem 0;
  font-weight: 500;
}

.mobile-nav.is-open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s,
    background 0.3s,
    border-color 0.3s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-accent), #12c99a);
  color: #041a14;
  box-shadow: 0 8px 32px rgba(8, 185, 139, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(8, 185, 139, 0.5);
}

.btn-secondary {
  background: rgba(90, 104, 118, 0.25);
  border-color: var(--c-border);
  color: var(--c-mist);
}

.btn-secondary:hover {
  border-color: var(--c-accent);
  box-shadow: 0 0 24px var(--c-accent-dim);
}

.btn-ghost {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-mist);
}

.btn-ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--c-steel);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.btn-link:hover {
  color: var(--c-accent);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 4rem;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  flex: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-steel);
  margin: 0 0 1.25rem;
}

.kicker-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 12px var(--c-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
  text-shadow: 0 0 60px rgba(8, 185, 139, 0.15);
}

.title-accent {
  background: linear-gradient(120deg, var(--c-mist) 0%, var(--c-accent) 45%, #7c8394 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34rem;
  color: var(--c-steel);
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stats strong {
  font-size: 1.5rem;
  font-family: var(--font-mono);
  color: var(--c-accent);
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--c-steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero visual 3D-ish */
.hero-visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-globe {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(124, 131, 148, 0.35);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}

.orbit-fast {
  inset: 2%;
  animation-duration: 14s;
  animation-direction: reverse;
  border-color: rgba(8, 185, 139, 0.25);
}

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

.core-ring {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(8, 185, 139, 0.35), rgba(12, 18, 76, 0.2));
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 40px rgba(8, 185, 139, 0.15),
    0 0 60px rgba(8, 185, 139, 0.12);
  transform: translateZ(40px);
}

.core-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--c-mist);
}

.core-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 185, 139, 0.35), transparent 65%);
  filter: blur(20px);
  z-index: -1;
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.floating-card {
  position: absolute;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  animation: floaty 6s ease-in-out infinite;
}

.floating-card span {
  letter-spacing: 0.08em;
}

.fc-1 {
  top: 6%;
  left: 4%;
  animation-delay: 0s;
}

.fc-2 {
  top: 18%;
  right: -4%;
  animation-delay: 1s;
}

.fc-3 {
  bottom: 22%;
  left: -2%;
  animation-delay: 2s;
}

.fc-4 {
  bottom: 8%;
  right: 8%;
  animation-delay: 0.5s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) translateZ(20px);
  }
  50% {
    transform: translateY(-10px) translateZ(30px);
  }
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--c-slate);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

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

@keyframes scrollLine {
  0% {
    opacity: 0.2;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0.2;
    transform: scaleY(0.6);
  }
}

/* --- Sections --- */
.section {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  position: relative;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--c-steel);
  font-size: 1.05rem;
}

.glass-panel {
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-card {
  padding: 1.5rem 1.35rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.about-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.about-card p {
  margin: 0;
  color: var(--c-steel);
  font-size: 0.98rem;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 185, 139, 0.45);
  box-shadow: 0 28px 72px rgba(8, 185, 139, 0.12);
}

/* Capabilities cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cap-card {
  position: relative;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(18, 26, 92, 0.65), rgba(12, 18, 76, 0.85));
  border: 1px solid var(--c-border);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.35s;
}

.cap-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.cap-card p {
  margin: 0;
  color: var(--c-steel);
  font-size: 0.92rem;
}

.cap-icon {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.cap-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(8, 185, 139, 0.22), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.cap-card:hover .cap-glow {
  opacity: 1;
}

.cap-card:hover {
  border-color: rgba(8, 185, 139, 0.5);
  box-shadow: 0 20px 50px rgba(8, 185, 139, 0.15);
}

/* Architecture */
.section-arch {
  background: linear-gradient(180deg, transparent, rgba(8, 185, 139, 0.04), transparent);
}

.arch-diagram {
  position: relative;
  padding: 2.5rem 1.5rem 3rem;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--c-border);
  background: rgba(12, 18, 76, 0.5);
  overflow: hidden;
}

.arch-layer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}

.arch-node {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(90, 104, 118, 0.25);
  border: 1px solid var(--c-border);
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.arch-node:hover {
  transform: translateY(-3px);
  border-color: var(--c-accent);
  box-shadow: 0 0 24px var(--c-accent-dim);
}

.arch-node.pulse {
  border-color: rgba(8, 185, 139, 0.55);
  box-shadow: 0 0 32px rgba(8, 185, 139, 0.25);
  animation: nodePulse 3.5s ease-in-out infinite;
}

@keyframes nodePulse {
  0%,
  100% {
    box-shadow: 0 0 32px rgba(8, 185, 139, 0.2);
  }
  50% {
    box-shadow: 0 0 48px rgba(8, 185, 139, 0.45);
  }
}

.arch-connector {
  display: none;
}

.arch-base .arch-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-md);
  background: rgba(124, 131, 148, 0.15);
  border: 1px solid rgba(124, 131, 148, 0.35);
  color: var(--c-mist);
}

.arch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.arch-line {
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: 1.5;
  stroke-dasharray: 8 10;
  animation: dashMove 14s linear infinite;
  opacity: 0.55;
}

.arch-line-c {
  opacity: 0.35;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -180;
  }
}

.arch-dot {
  fill: var(--c-accent);
  filter: drop-shadow(0 0 6px var(--c-accent));
}

/* Differentials */
.diff-columns {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.diff-sticky {
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.diff-sticky h3 {
  margin: 0 0 1rem;
}

.diff-sticky p {
  margin: 0;
  color: var(--c-steel);
}

.diff-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.diff-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  background: rgba(18, 26, 92, 0.35);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.diff-item:hover {
  transform: translateX(6px);
  border-color: rgba(8, 185, 139, 0.45);
}

.diff-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(8, 185, 139, 0.2);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
}

.diff-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.diff-item p {
  margin: 0;
  color: var(--c-steel);
  font-size: 0.95rem;
}

/* Showcase */
.section-showcase {
  overflow: hidden;
}

.showcase-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.show-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.show-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  background: linear-gradient(155deg, rgba(18, 26, 92, 0.7), rgba(12, 18, 76, 0.95));
  border: 1px solid var(--c-border);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.show-card-lg {
  min-height: 200px;
}

.show-card-wide {
  grid-column: span 1;
}

.show-card-inner {
  position: relative;
  z-index: 2;
}

.show-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.65rem;
}

.show-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.show-card p {
  margin: 0 0 1rem;
  color: var(--c-steel);
  font-size: 0.95rem;
}

.show-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-steel);
}

.show-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
}

.show-shine {
  position: absolute;
  inset: -50%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: shine 7s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(12deg);
  }
  30% {
    transform: translateX(100%) rotate(12deg);
  }
  100% {
    transform: translateX(100%) rotate(12deg);
  }
}

.show-card:hover {
  border-color: rgba(8, 185, 139, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Pillars */
.section-pillars {
  padding-bottom: 5rem;
}

.pillars-orbit {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.pillar-center {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 35% 30%, rgba(8, 185, 139, 0.35), rgba(12, 18, 76, 0.9));
  border: 1px solid rgba(8, 185, 139, 0.35);
  box-shadow: 0 0 80px rgba(8, 185, 139, 0.2);
}

.pillar-center span {
  font-weight: 700;
  font-size: 1.05rem;
}

.pillar-center small {
  color: var(--c-steel);
  font-size: 0.75rem;
}

.pillar-orbit-ring {
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  border-radius: 50%;
  border: 1px dashed rgba(124, 131, 148, 0.25);
  animation: spin 48s linear infinite;
}

.pillar-tags {
  position: absolute;
  inset: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

.pillar-orbit {
  position: relative;
}

.pillar-tags li {
  position: absolute;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(18, 26, 92, 0.85);
  border: 1px solid var(--c-border);
  font-size: 0.78rem;
  color: var(--c-mist);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  animation: tagFloat 8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: auto;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pillar-tags li:hover {
  border-color: var(--c-accent);
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--c-accent-dim);
}

/* place tags in circle */
.pillar-tags li:nth-child(1) {
  top: 4%;
  left: 42%;
}
.pillar-tags li:nth-child(2) {
  top: 14%;
  right: 12%;
}
.pillar-tags li:nth-child(3) {
  top: 38%;
  right: 2%;
}
.pillar-tags li:nth-child(4) {
  bottom: 32%;
  right: 6%;
}
.pillar-tags li:nth-child(5) {
  bottom: 10%;
  right: 18%;
}
.pillar-tags li:nth-child(6) {
  bottom: 6%;
  left: 28%;
}
.pillar-tags li:nth-child(7) {
  bottom: 28%;
  left: 4%;
}
.pillar-tags li:nth-child(8) {
  top: 42%;
  left: 2%;
}
.pillar-tags li:nth-child(9) {
  top: 22%;
  left: 8%;
}
.pillar-tags li:nth-child(10) {
  top: 52%;
  left: 18%;
}

@keyframes tagFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Roadmap timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 1.5rem;
}

.timeline-line {
  position: absolute;
  left: 0.55rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--c-accent), rgba(124, 131, 148, 0.35));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  opacity: 0.75;
  transition: opacity 0.35s;
}

.timeline-item.is-done,
.timeline-item.is-active {
  opacity: 1;
}

.timeline-dot {
  position: absolute;
  left: 0.15rem;
  top: 1.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-slate);
  border: 2px solid var(--c-deep);
  box-shadow: 0 0 0 2px rgba(124, 131, 148, 0.4);
}

.timeline-item.is-done .timeline-dot {
  background: var(--c-accent);
  box-shadow: 0 0 16px var(--c-glow);
}

.timeline-item.is-active .timeline-dot {
  background: var(--c-accent);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-card {
  padding: 1.35rem 1.5rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 185, 139, 0.45);
}

.timeline-card h3 {
  margin: 0 0 0.5rem;
}

.timeline-card p {
  margin: 0 0 0.75rem;
  color: var(--c-steel);
  font-size: 0.96rem;
}

.timeline-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* CTA */
.section-cta {
  padding-bottom: 5rem;
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
}

.cta-copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--c-steel);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: 2.5rem 0 3rem;
  background: rgba(8, 10, 40, 0.6);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  color: var(--c-steel);
  font-size: 0.92rem;
  max-width: 36rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a {
  color: var(--c-steel);
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--c-accent);
}

.footer-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--c-slate);
  font-family: var(--font-mono);
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-lead,
  .hero-actions {
    margin-inline: auto;
  }

  .hero-stats {
    justify-content: center;
  }

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

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

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

  .diff-sticky {
    position: static;
  }

  .show-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .nav-main,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pillar-tags li {
    font-size: 0.7rem;
    padding: 0.3rem 0.55rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .bg-grid {
    animation: none;
  }
}
