/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  color-scheme: dark;
  --bg: #020306;
  --bg-soft: #05080d;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --text: #f7f9fc;
  --muted: #99a3b3;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #42f5d7;
  --accent-2: #5aa7ff;
  --warning: #facc15;
  --danger: #ff4d6d;
  --glow-teal: rgba(66, 245, 215, 0.35);
  --glow-blue: rgba(90, 167, 255, 0.3);
  --focus: rgba(66, 245, 215, 0.7);
  --nav-height: 64px;
  --container: min(1080px, calc(100% - 40px));

  /* spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;

  /* radii */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;

  /* fluid section rhythm */
  --section-pad: clamp(48px, 8vw, 72px);

  /* shadows */
  --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.3);
  --shadow-pop: 0 0 16px rgba(66, 245, 215, 0.08), 0 0 32px rgba(66, 245, 215, 0.04);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 32px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Consistent tap feedback on touch devices */
* {
  -webkit-tap-highlight-color: rgba(66, 245, 215, 0.15);
}

/* Keyboard focus visibility */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: rgba(66, 245, 215, 0.28);
  color: #fff;
}

img, svg, canvas {
  max-width: 100%;
}

/* ===========================
   SCROLL PROGRESS BAR
   =========================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 9999;
  transition: transform 60ms linear;
  pointer-events: none;
}

/* ===========================
   BODY & BACKGROUNDS
   =========================== */
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.7;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(66, 245, 215, 0.08), transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(90, 167, 255, 0.07), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.04), transparent 50%);
  animation: bg-shift 16s ease-in-out infinite alternate;
}

@keyframes bg-shift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  50%  { filter: hue-rotate(12deg) brightness(1.03); }
  100% { filter: hue-rotate(-8deg) brightness(0.98); }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    repeating-linear-gradient(0deg, rgba(66, 245, 215, 0.022) 0 1px, transparent 1px 3px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 3px, 64px 64px, 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 72%);
}

#field {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===========================
   NAVBAR
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--container);
  margin: 12px auto 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(3, 5, 9, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 400ms ease, border-color 400ms ease;
}

.nav.scrolled {
  border-color: rgba(66, 245, 215, 0.14);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.logo-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-icon svg {
  filter: drop-shadow(0 0 8px rgba(66, 245, 215, 0.25));
}

.shield-check {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: check-draw 1.2s ease 0.8s forwards;
}

@keyframes check-draw {
  to { stroke-dashoffset: 0; }
}

.shield-orbit {
  animation: orbit-spin 14s linear infinite;
  transform-origin: 50% 50%;
}

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

.logo-scan-line {
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: logo-scan 3s ease-in-out infinite;
}

@keyframes logo-scan {
  0%   { transform: translateY(4px); opacity: 0; }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(32px); opacity: 0; }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 800;
  font-size: 0.98rem;
}

.brand-text small {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.nav-menu a {
  position: relative;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--muted);
  transition: color 200ms ease, background 200ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-menu a.active {
  color: var(--accent);
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 7px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.nav-cta:hover {
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Primary CTA shown only inside the mobile menu (nav-cta is hidden there) */
.nav-cta-mobile { display: none; }

/* ===========================
   HAMBURGER MENU
   =========================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 102;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: transform 350ms ease, opacity 250ms ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(3, 5, 9, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===========================
   LAYOUT
   =========================== */
main,
footer {
  width: var(--container);
  margin: 0 auto;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, .h3-style, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
}

h3, .h3-style {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.text-muted {
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-copy,
.section-head > p,
.card p,
.roadmap-item p,
.project-card p,
.company p,
.contact p {
  max-width: 540px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   SHIMMER TEXT
   =========================== */
.shimmer-text {
  background: linear-gradient(90deg, var(--text) 0%, var(--text) 40%, var(--accent) 50%, var(--text) 60%, var(--text) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ===========================
   TYPEWRITER CURSOR
   =========================== */
.cursor {
  display: inline-block;
  font-weight: 300;
  -webkit-text-fill-color: var(--accent);
  animation: blink-cursor 0.75s step-end infinite;
  margin-left: 2px;
}

.cursor.done {
  animation: blink-cursor 0.75s step-end 3;
  animation-fill-mode: forwards;
  opacity: 0;
}

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

/* ===========================
   BUTTONS
   =========================== */
.actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 300ms ease;
}

.primary::before,
.primary-pph::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: btn-shimmer 4s ease-in-out infinite;
}

@keyframes btn-shimmer {
  0%, 70% { left: -100%; }
  100%    { left: 200%; }
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020408;
}

.primary:hover {
  box-shadow: 0 0 20px var(--glow-teal), 0 0 40px rgba(90, 167, 255, 0.15);
}

.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(66, 245, 215, 0.3);
}

/* ===========================
   CARDS & PANELS
   =========================== */
.card,
.roadmap-item,
.project-card,
.facts,
.process article,
.metrics article,
.security-console {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 400ms ease;
}

.card:hover,
.roadmap-item:hover,
.project-card:hover,
.process article:hover,
.metrics article:hover {
  transform: translateY(-4px);
  border-color: rgba(66, 245, 215, 0.35);
  box-shadow:
    0 0 16px rgba(66, 245, 215, 0.08),
    0 0 32px rgba(66, 245, 215, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
}

/* Card inner glow */
.card::before,
.roadmap-item::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(66, 245, 215, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  border-radius: inherit;
}

.card:hover::before,
.roadmap-item:hover::before,
.project-card:hover::before {
  opacity: 1;
}

/* ===========================
   HERO — MINIMALIST
   =========================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 100px);
  min-height: calc(100svh - 100px);
  padding: 80px 0 48px;
}

.hero .eyebrow {
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 30px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-live-ring 2s infinite;
}

/* ===========================
   PAGE HEADER — INNER PAGES
   =========================== */
.page-header {
  padding: 100px 0 48px;
  text-align: center;
}

.page-header h1 {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-header .text-muted {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

/* ===========================
   MARQUEE STRIP
   =========================== */
.strip-wrapper {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  margin-bottom: 2px;
}

.strip-wrapper::before,
.strip-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.strip-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.strip-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.strip-track {
  display: flex;
  animation: marquee 24s linear infinite;
  width: max-content;
}

.strip-track p {
  display: flex;
  min-width: 180px;
  height: 56px;
  margin: 0;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  border-right: 1px solid var(--line);
  transition: color 200ms ease;
}

.strip-track p:hover {
  color: var(--accent);
}

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

/* ===========================
   SECTIONS
   =========================== */
.section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 28px;
}

/* ===========================
   PREVIEW GRID (HOME)
   =========================== */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 48px 0;
}

.preview-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  position: relative;
  overflow: hidden;
}

.preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(66, 245, 215, 0.3);
  box-shadow: 0 0 20px rgba(66, 245, 215, 0.06);
}

.preview-card .card-num {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.preview-card h3,
.preview-card .h3-style {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.preview-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.preview-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: gap 200ms ease;
}

.preview-card:hover .card-link {
  gap: 10px;
}

/* ===========================
   STATS ROW
   =========================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 0 48px;
}

.stat-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  text-align: center;
  transition: border-color 300ms ease;
}

.stat-card:hover {
  border-color: rgba(66, 245, 215, 0.25);
}

.stat-card .stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.stat-card p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.5;
}

/* ===========================
   SERVICE CARDS GRID
   =========================== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.card .card-num {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* ===========================
   SECURITY CONSOLE
   =========================== */
.security-console {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: rgba(3, 5, 9, 0.92);
  border: 1px solid rgba(66, 245, 215, 0.12);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(66, 245, 215, 0.04), 0 16px 48px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
}

.security-console::before {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(180deg, rgba(66, 245, 215, 0.015) 0 1px, transparent 1px 4px);
  pointer-events: none;
  z-index: 0;
}

.security-console::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(66, 245, 215, 0.04), transparent);
  transform: translateX(-100%);
  animation: panel-sweep 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.security-console > * {
  position: relative;
  z-index: 1;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.console-dots {
  display: flex;
  gap: 5px;
}

.console-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.console-dots span:nth-child(1) { background: var(--danger); }
.console-dots span:nth-child(2) { background: var(--warning); }
.console-dots span:nth-child(3) { background: var(--accent); }

.console-title {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.03em;
}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.pulse-live {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(66, 245, 215, 0.6);
  animation: pulse-live-ring 2s infinite;
}

@keyframes pulse-live-ring {
  0%   { box-shadow: 0 0 0 0 rgba(66, 245, 215, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(66, 245, 215, 0); }
  100% { box-shadow: 0 0 0 0 rgba(66, 245, 215, 0); }
}

.threat-feed {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  max-height: 140px;
  overflow: hidden;
}

.threat-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.68rem;
  font-family: 'Courier New', Courier, monospace;
  opacity: 0;
  transform: translateY(6px);
  animation: feed-in 400ms ease forwards;
}

.threat-entry:nth-child(1) { animation-delay: 200ms; }
.threat-entry:nth-child(2) { animation-delay: 400ms; }
.threat-entry:nth-child(3) { animation-delay: 600ms; }
.threat-entry:nth-child(4) { animation-delay: 800ms; }
.threat-entry:nth-child(5) { animation-delay: 1000ms; }

@keyframes feed-in {
  to { opacity: 1; transform: translateY(0); }
}

.threat-time {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.62rem;
  flex-shrink: 0;
}

.threat-tag {
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  text-transform: uppercase;
}

.threat-tag.blocked { background: rgba(255, 77, 109, 0.12); color: var(--danger); border: 1px solid rgba(255, 77, 109, 0.25); }
.threat-tag.warn    { background: rgba(250, 204, 21, 0.1); color: var(--warning); border: 1px solid rgba(250, 204, 21, 0.2); }
.threat-tag.safe    { background: rgba(66, 245, 215, 0.08); color: var(--accent); border: 1px solid rgba(66, 245, 215, 0.2); }

.threat-msg {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Radar */
.radar-section {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px;
  align-items: center;
}

.radar {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(66, 245, 215, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(66, 245, 215, 0.08); }
.ring-1 { width: 90%; height: 90%; }
.ring-2 { width: 60%; height: 60%; }
.ring-3 { width: 30%; height: 30%; }

.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0;
  left: 50%;
  transform-origin: bottom left;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(66, 245, 215, 0.15) 35deg, transparent 50deg);
  border-radius: 50% 50% 0 0;
  animation: radar-rotate 3s linear infinite;
}

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

.radar-blip {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 6px rgba(255, 77, 109, 0.7);
  animation: blip-fade 3s ease-in-out infinite;
}

.blip-1 { top: 22%; left: 30%; animation-delay: 0s; }
.blip-2 { top: 60%; right: 22%; animation-delay: 1s; }
.blip-3 { bottom: 28%; left: 22%; animation-delay: 2s; }

@keyframes blip-fade {
  0%, 30% { opacity: 0; transform: scale(0); }
  40%     { opacity: 1; transform: scale(1.3); }
  60%     { opacity: 1; transform: scale(1); }
  100%    { opacity: 0; transform: scale(0); }
}

.radar-core {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(3, 5, 9, 0.9);
  border: 1px solid rgba(66, 245, 215, 0.3);
  box-shadow: 0 0 16px rgba(66, 245, 215, 0.12);
  animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(66, 245, 215, 0.12); }
  50%      { box-shadow: 0 0 24px rgba(66, 245, 215, 0.25); }
}

.radar-stats { display: flex; flex-direction: column; gap: 8px; }
.radar-stat  { display: flex; flex-direction: column; gap: 2px; }

.stat-value {
  display: block;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.stat-bar { height: 2px; background: rgba(255, 255, 255, 0.06); border-radius: 2px; overflow: hidden; }
.stat-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  animation: fill-bar 1.5s ease 1.2s forwards;
}

@keyframes fill-bar { to { width: var(--fill); } }

.console-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.status-dot { width: 4px; height: 4px; border-radius: 50%; }
.status-dot.green { background: var(--accent); box-shadow: 0 0 4px rgba(66, 245, 215, 0.4); }
.status-dot.amber { background: var(--warning); box-shadow: 0 0 4px rgba(250, 204, 21, 0.4); }

/* ===========================
   CARD ICONS
   =========================== */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(66, 245, 215, 0.08);
  border: 1px solid rgba(66, 245, 215, 0.15);
  color: var(--accent);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 20px rgba(66, 245, 215, 0.15);
}

.card-icon--danger {
  background: rgba(255, 77, 109, 0.08);
  border-color: rgba(255, 77, 109, 0.15);
  color: var(--danger);
}

.card:hover .card-icon--danger {
  box-shadow: 0 0 20px rgba(255, 77, 109, 0.15);
}

.card-icon--blue {
  background: rgba(90, 167, 255, 0.08);
  border-color: rgba(90, 167, 255, 0.15);
  color: var(--accent-2);
}

.card:hover .card-icon--blue {
  box-shadow: 0 0 20px rgba(90, 167, 255, 0.15);
}

/* ===========================
   SOC DASHBOARD — FULL WIDTH
   =========================== */
.soc-dashboard {
  border: 1px solid rgba(66, 245, 215, 0.12);
  border-radius: 14px;
  background: rgba(3, 5, 9, 0.94);
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(66, 245, 215, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.5);
  margin-top: 32px;
  position: relative;
}

.soc-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(66, 245, 215, 0.012) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 0;
}

.soc-dashboard > * {
  position: relative;
  z-index: 1;
}

.soc-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.soc-title {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  letter-spacing: 0.02em;
}

.soc-body {
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  min-height: 360px;
}

/* --- NETWORK MAP --- */
.soc-network {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.soc-network-title,
.soc-feed-title {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.network-viz {
  position: relative;
  width: 100%;
  height: 200px;
  background:
    radial-gradient(circle at 50% 50%, rgba(66, 245, 215, 0.04), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  overflow: hidden;
}

.net-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.attack-line {
  stroke: var(--danger);
  stroke-width: 1;
  stroke-dasharray: 6 4;
  opacity: 0.5;
  animation: dash-flow 1.5s linear infinite;
}

.al-1 { animation-delay: 0s; }
.al-2 { animation-delay: 0.3s; }
.al-3 { animation-delay: 0.6s; }

.safe-line {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0.3;
  animation: dash-flow-safe 2s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -20; }
}

@keyframes dash-flow-safe {
  to { stroke-dashoffset: -20; }
}

.net-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2;
}

.net-server {
  width: 44px;
  height: 44px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(3, 5, 9, 0.9);
  border: 1.5px solid rgba(66, 245, 215, 0.4);
  box-shadow: 0 0 24px rgba(66, 245, 215, 0.15);
  animation: server-pulse 3s ease-in-out infinite;
}

@keyframes server-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(66, 245, 215, 0.15); }
  50% { box-shadow: 0 0 36px rgba(66, 245, 215, 0.3), 0 0 60px rgba(66, 245, 215, 0.08); }
}

.net-attacker {
  width: 26px;
  height: 26px;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.35);
  color: var(--danger);
  font-size: 0.65rem;
  animation: attacker-blink 2s ease-in-out infinite;
}

.att-1 { top: 8%; left: 12%; animation-delay: 0s; }
.att-2 { top: 10%; right: 10%; animation-delay: 0.6s; }
.att-3 { bottom: 10%; left: 8%; animation-delay: 1.2s; }

@keyframes attacker-blink {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.net-safe {
  width: 22px;
  height: 22px;
  background: rgba(66, 245, 215, 0.08);
  border: 1px solid rgba(66, 245, 215, 0.25);
  color: var(--accent);
  font-size: 0.55rem;
  font-weight: 800;
}

.safe-1 { bottom: 15%; right: 10%; }
.safe-2 { bottom: 3%; left: 45%; }

.net-block {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 900;
  z-index: 3;
  animation: block-pop 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.5);
}

.block-1 { top: 25%; left: 33%; animation-delay: 0.2s; }
.block-2 { top: 28%; right: 30%; animation-delay: 0.8s; }
.block-3 { bottom: 30%; left: 30%; animation-delay: 1.4s; }

@keyframes block-pop {
  0%, 40% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.3); }
  60% { transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: scale(0.8); }
}

/* --- FEED --- */
.soc-feed {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  overflow: hidden;
}

.soc-feed .threat-feed {
  max-height: 300px;
  overflow-y: auto;
  padding: 0;
  border: none;
}

.soc-feed .threat-feed::-webkit-scrollbar {
  width: 3px;
}

.soc-feed .threat-feed::-webkit-scrollbar-track {
  background: transparent;
}

.soc-feed .threat-feed::-webkit-scrollbar-thumb {
  background: rgba(66, 245, 215, 0.15);
  border-radius: 3px;
}

.soc-feed .threat-entry:nth-child(6) { animation-delay: 1200ms; }
.soc-feed .threat-entry:nth-child(7) { animation-delay: 1400ms; }
.soc-feed .threat-entry:nth-child(8) { animation-delay: 1600ms; }

/* --- STATS --- */
.soc-stats {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soc-stat-card {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 300ms ease, background 300ms ease;
}

.soc-stat-card:hover {
  border-color: rgba(66, 245, 215, 0.15);
  background: rgba(66, 245, 215, 0.02);
}

.soc-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.soc-stat-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.soc-stat-badge {
  font-size: 0.52rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.soc-stat-badge.blocked {
  background: rgba(255, 77, 109, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 77, 109, 0.2);
}

.soc-stat-badge.safe {
  background: rgba(66, 245, 215, 0.08);
  color: var(--accent);
  border: 1px solid rgba(66, 245, 215, 0.18);
}

.soc-stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.soc-stat-unit {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: 2px;
}

.soc-stat-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}

.soc-stat-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  animation: fill-bar 1.8s ease 0.8s forwards;
}

/* ===========================
   VULNERABILITY SCANNER
   =========================== */
.vuln-scanner {
  border: 1px solid rgba(66, 245, 215, 0.1);
  border-radius: 14px;
  background: rgba(3, 5, 9, 0.95);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(66, 245, 215, 0.03), 0 16px 60px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  margin: 24px auto 0;
}

.vuln-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.vuln-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.vuln-status {
  font-size: 0.6rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.vuln-body {
  padding: 16px 18px;
  max-height: 380px;
  overflow-y: auto;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.72rem;
  line-height: 1.9;
}

.vuln-body::-webkit-scrollbar {
  width: 3px;
}

.vuln-body::-webkit-scrollbar-thumb {
  background: rgba(66, 245, 215, 0.12);
  border-radius: 3px;
}

.vuln-line {
  opacity: 0;
  transform: translateX(-8px);
  animation: vuln-reveal 400ms ease forwards;
  animation-delay: calc(var(--delay) * 300ms + 500ms);
  color: rgba(255, 255, 255, 0.65);
}

@keyframes vuln-reveal {
  to { opacity: 1; transform: translateX(0); }
}

.vuln-prefix {
  color: var(--accent);
  font-weight: 700;
}

.vuln-cmd {
  color: var(--text);
  font-weight: 500;
}

.vuln-ts {
  color: rgba(255, 255, 255, 0.25);
}

.vuln-safe {
  color: var(--accent);
  font-weight: 700;
}

.vuln-warn {
  color: var(--warning);
  font-weight: 700;
}

.vuln-danger {
  color: var(--danger);
  font-weight: 700;
}

.vuln-blink {
  animation: blink-cursor 0.8s step-end infinite;
  color: var(--accent);
}

/* ===========================
   PROCESS SECTION
   =========================== */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.process article {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.process span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* ===========================
   ROADMAP
   =========================== */
.roadmap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.roadmap-item {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.06);
  color: var(--warning);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-live {
  border-color: rgba(66, 245, 215, 0.25);
  background: rgba(66, 245, 215, 0.06);
  color: var(--accent);
  gap: 5px;
}

/* ===========================
   METRICS
   =========================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 24px 0;
}

.metrics article { padding: 24px; }
.metrics span {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.metrics p {
  max-width: 280px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===========================
   PROJECT CARD
   =========================== */
.project-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.project-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

/* ===========================
   COMPANY / CONTACT
   =========================== */
.company,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.company {
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.contact {
  border-top: 1px solid var(--line);
  padding-top: 72px;
}

.facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border-radius: 10px;
}

.facts div {
  padding: 18px;
  background: var(--bg-soft);
  transition: background 300ms ease;
}

.facts div:hover { background: rgba(66, 245, 215, 0.03); }

dt, .facts span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts strong {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  word-break: break-word;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

footer a {
  color: var(--accent);
  transition: opacity 200ms ease;
}

footer a:hover { opacity: 0.8; }

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--stagger-delay, 0ms);
}

.stagger-children.staggered > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   MAGNETIC
   =========================== */
.magnetic {
  transition: transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===========================
   DDOS SIMULATION CONTAINER
   =========================== */
.ddos-sim-container {
  border: 1px solid rgba(66, 245, 215, 0.1);
  border-radius: 16px;
  background: rgba(3, 5, 9, 0.95);
  overflow: hidden;
  box-shadow:
    0 0 80px rgba(66, 245, 215, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.5);
  position: relative;
}

.ddos-sim-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(66, 245, 215, 0.008) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 0;
}

.ddos-sim-container > * {
  position: relative;
  z-index: 1;
}

/* Header */
.ddos-sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

.ddos-sim-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--danger);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.ddos-sim-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  letter-spacing: 0.04em;
}

.ddos-sim-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Body */
.ddos-sim-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 380px;
}

/* Sidebar */
.ddos-sim-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bench-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

.bench-tab:hover {
  background: rgba(255, 255, 255, 0.03);
}

.bench-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  flex-shrink: 0;
}

.bench-icon svg {
  width: 18px;
  height: 18px;
}

.bench-icon--active {
  background: rgba(66, 245, 215, 0.08);
  border-color: rgba(66, 245, 215, 0.2);
  color: var(--accent);
}

.bench-tab strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.bench-tab span {
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.3;
}

.bench-verified {
  margin-top: auto;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.25);
  padding: 8px 0 0;
}

/* Canvas */
.ddos-sim-canvas-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(66, 245, 215, 0.03), transparent 50%),
    radial-gradient(ellipse at 20% 50%, rgba(255, 77, 109, 0.02), transparent 50%);
}

#ddosCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Server rack */
.server-rack {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
  background: rgba(66, 245, 215, 0.04);
  border: 1px solid rgba(66, 245, 215, 0.15);
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(66, 245, 215, 0.06);
}

.rack-unit {
  width: 100%;
  height: 18px;
  border-radius: 3px;
  background: rgba(66, 245, 215, 0.06);
  border: 1px solid rgba(66, 245, 215, 0.12);
  position: relative;
  overflow: hidden;
}

.rack-unit::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 4px var(--accent);
  animation: rack-blink 2s ease-in-out infinite;
}

.rack-unit:nth-child(2)::before { animation-delay: 0.3s; }
.rack-unit:nth-child(3)::before { animation-delay: 0.6s; }
.rack-unit:nth-child(4)::before { animation-delay: 0.9s; }
.rack-unit:nth-child(5)::before { animation-delay: 1.2s; }
.rack-unit:nth-child(6)::before { animation-delay: 1.5s; }
.rack-unit:nth-child(7)::before { animation-delay: 1.8s; }
.rack-unit:nth-child(8)::before { animation-delay: 2.1s; }

.rack-unit::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(66, 245, 215, 0.3);
}

@keyframes rack-blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Stats bar */
.ddos-sim-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ddos-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.ddos-stat:last-child {
  border-right: none;
}

.ddos-stat-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ddos-stat-value {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--danger);
  letter-spacing: -0.02em;
}

.ddos-stat-safe {
  color: var(--accent);
}

/* ===========================
   KEYFRAMES
   =========================== */
@keyframes panel-sweep {
  0%, 55% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}

/* ===========================
   RESPONSIVE
   =========================== */

/* --- Tablet / small laptop --- */
@media (max-width: 1024px) {
  .preview-grid,
  .grid,
  .process,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .soc-body {
    grid-template-columns: 220px 1fr 200px;
  }
}

/* --- Tablet portrait & mobile nav --- */
@media (max-width: 880px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-size: 1.4rem;
    background: rgba(3, 5, 9, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms ease, visibility 400ms ease;
  }

  .nav-menu a {
    color: var(--muted);
    font-size: 1.45rem;
    padding: 10px 24px;
  }

  .nav-menu.open { opacity: 1; visibility: visible; }

  .nav-menu.open a {
    animation: menu-in 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(16px);
  }

  .nav-menu.open a:nth-child(1) { animation-delay: 60ms; }
  .nav-menu.open a:nth-child(2) { animation-delay: 120ms; }
  .nav-menu.open a:nth-child(3) { animation-delay: 180ms; }
  .nav-menu.open a:nth-child(4) { animation-delay: 240ms; }

  @keyframes menu-in { to { opacity: 1; transform: translateY(0); } }

  .nav-cta { display: none; }

  .nav-menu .nav-cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #020408;
    font-size: 1.05rem;
    font-weight: 800;
  }

  .preview-grid,
  .stats-row,
  .roadmap,
  .process,
  .metrics {
    grid-template-columns: 1fr;
  }

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

  .company,
  .contact {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex-direction: column;
    align-items: flex-start;
  }

  /* SOC: drop the network column, keep feed + stats */
  .soc-body { grid-template-columns: 1fr 220px; }
  .soc-network { display: none; }

  /* ---- DDoS sim: keep benchmark tabs usable as a horizontal strip ---- */
  .ddos-sim-body { grid-template-columns: 1fr; }

  .ddos-sim-sidebar {
    flex-direction: row;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    -webkit-overflow-scrolling: touch;
  }
  .ddos-sim-sidebar::-webkit-scrollbar { display: none; }

  .bench-tab {
    flex: 0 0 auto;
    padding: 10px 14px;
    min-height: 48px;
  }
  .bench-tab span { display: none; }
  .bench-tab strong { white-space: nowrap; margin-bottom: 0; }
  .bench-verified { display: none; }

  .ddos-sim-canvas-wrap { min-height: 320px; }

  .ddos-sim-stats { grid-template-columns: repeat(2, 1fr); }
  .ddos-stat:nth-child(2n) { border-right: none; }
}

/* --- Phones --- */
@media (max-width: 560px) {
  :root { --container: min(100% - 24px, 1080px); }

  h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2rem); }

  .hero {
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
    padding: 56px 0 40px;
  }
  .page-header { padding: 84px 0 32px; }
  .section { padding: var(--section-pad) 0; }

  .preview-card,
  .roadmap-item,
  .project-card,
  .process article,
  .metrics article,
  .card { padding: 22px 20px; }

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

  .radar-section { grid-template-columns: 1fr; justify-items: center; }
  .radar { width: 110px; height: 110px; }
  .radar-stats { width: 100%; }

  .console-status { flex-wrap: wrap; gap: 6px; }
  .threat-time { display: none; }

  .soc-body { grid-template-columns: 1fr; }

  .soc-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .soc-stat-card {
    flex: 1;
    min-width: 130px;
  }

  .soc-feed .threat-feed { max-height: 220px; }

  /* Full-bleed code-style panels on phones */
  .vuln-scanner,
  .soc-dashboard {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .vuln-body { font-size: 0.66rem; }

  .ddos-sim-stats { grid-template-columns: 1fr 1fr; }

  .ddos-sim-header { flex-wrap: wrap; gap: 6px; }
  .ddos-sim-label { display: none; }

  .server-rack {
    width: 28px;
    padding: 6px 4px;
    right: 6px;
    gap: 3px;
  }
  .rack-unit { height: 12px; }
  .rack-unit::before { width: 3px; height: 3px; left: 3px; }
  .rack-unit::after  { width: 2px; height: 2px; right: 3px; }

  footer { flex-direction: column; text-align: center; }
}

/* --- Small phones --- */
@media (max-width: 400px) {
  .actions,
  .contact-actions { width: 100%; }

  .actions .button,
  .contact-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .brand-text { font-size: 0.9rem; }
}

/* ===========================
   PAGE LOADER
   =========================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99997;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 700ms ease 200ms, visibility 700ms ease 200ms;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: loader-appear 400ms ease forwards;
}

@keyframes loader-appear {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.loader-wordmark {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.loader-bar-wrap {
  width: 140px;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  animation: loader-fill 900ms cubic-bezier(0.4,0,0.2,1) 100ms forwards;
}

@keyframes loader-fill { to { width: 100%; } }

/* ===========================
   GLITCH ANIMATIONS
   =========================== */
@keyframes glitch-clip-1 {
  0%, 82%, 100% { clip-path: none; transform: none; }
  84% { clip-path: inset(18% 0 62% 0); transform: translate(-4px, 0); }
  86% { clip-path: inset(72% 0 4%  0); transform: translate( 4px, 0); }
  88% { clip-path: inset(42% 0 38% 0); transform: translate(-2px, 0); }
  90% { clip-path: none; transform: none; }
}

@keyframes glitch-clip-2 {
  0%, 82%, 100% { clip-path: none; transform: none; opacity: 0; }
  84% { clip-path: inset(52% 0 28% 0); transform: translate(4px, 0);  opacity: 0.7; }
  86% { clip-path: inset(8%  0 82% 0); transform: translate(-4px, 0); opacity: 0.5; }
  88% { clip-path: none; opacity: 0; }
}

/* ===========================
   BUTTON RIPPLE
   =========================== */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: scale(0);
  animation: ripple-burst 600ms linear forwards;
  pointer-events: none;
}

@keyframes ripple-burst {
  to { transform: scale(4.5); opacity: 0; }
}

/* ===========================
   STAT / METRIC NUMBER GLOW
   =========================== */
.stat-num,
.soc-stat-number,
.metrics span {
  text-shadow:
    0 0 18px rgba(66,245,215,0.35),
    0 0 36px rgba(66,245,215,0.15);
}

/* ===========================
   SCROLLBAR
   =========================== */
::-webkit-scrollbar          { width: 5px; }
::-webkit-scrollbar-track    { background: var(--bg); }
::-webkit-scrollbar-thumb    { background: rgba(66,245,215,0.14); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(66,245,215,0.28); }

/* ===========================
   HERO AMBIENT GLOW
   =========================== */
.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66,245,215,0.055) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  animation: hero-ambient 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

@keyframes hero-ambient {
  0%, 100% { transform: translate(-50%,-55%) scale(1);    opacity: 0.6; }
  50%       { transform: translate(-50%,-55%) scale(1.18); opacity: 1; }
}

/* ===========================
   TERMINAL SCAN LINE
   =========================== */
.soc-dashboard,
.vuln-scanner,
.ddos-sim-container {
  overflow: hidden;
}

.soc-dashboard::after,
.vuln-scanner::after,
.ddos-sim-container::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(66,245,215,0.35) 50%, transparent 100%);
  top: 0;
  animation: term-scan 5s linear infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes term-scan {
  0%   { top: 0%;   opacity: 0; }
  3%   { opacity: 1; }
  97%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ===========================
   CARD MOUSE-TRACKED SPOTLIGHT
   =========================== */
.card::before,
.roadmap-item::before,
.preview-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 50%),
    rgba(66,245,215,0.07),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.card:hover::before,
.roadmap-item:hover::before,
.preview-card:hover::before,
.project-card:hover::before {
  opacity: 1;
}

.card > *,
.roadmap-item > *,
.preview-card > *,
.project-card > * {
  position: relative;
  z-index: 1;
}

/* ===========================
   BENCH TAB ACTIVE STATE
   (class-based so only the selected tab highlights)
   =========================== */
.bench-tab.is-active {
  background: rgba(66, 245, 215, 0.04);
  border-color: rgba(66, 245, 215, 0.15);
  border-left: 2px solid var(--accent);
}
.bench-tab.is-active strong { color: var(--accent); }
.bench-tab.is-active .bench-icon {
  background: rgba(66, 245, 215, 0.08);
  border-color: rgba(66, 245, 215, 0.2);
  color: var(--accent);
}

/* ===========================
   REDUCED MOTION
   Respect users who prefer less animation.
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html { scroll-behavior: auto; }

  /* Make reveal content visible immediately */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Quiet the ambient / decorative loops */
  .strip-track { animation: none !important; }
  #field { display: none !important; }
  .hero::before,
  .logo-scan-line,
  .shield-orbit,
  .soc-dashboard::after,
  .vuln-scanner::after,
  .ddos-sim-container::after { display: none !important; }
}

/* ===========================
   NAV ACTIVE GLOW
   =========================== */
.nav-menu a.active {
  text-shadow: 0 0 14px rgba(66,245,215,0.55);
}

/* ===========================
   EYEBROW SHIMMER TEXT
   =========================== */
.eyebrow {
  background: linear-gradient(90deg,
    var(--accent) 0%,
    rgba(66,245,215,0.55) 50%,
    var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: eyebrow-shimmer 4s linear infinite;
}

@keyframes eyebrow-shimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* ===========================
   SECTION HEAD UNDERLINE
   =========================== */
.section-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin-top: 12px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(66,245,215,0.4);
}

/* ===========================
   STAGGER CHILDREN WITH SCALE
   =========================== */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--stagger-delay, 0ms);
}

.stagger-children.staggered > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===========================
   FLOATING CARD ANIMATION
   =========================== */
@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ===========================
   ANIMATED GRADIENT BORDER ON HOVER
   =========================== */
@property --ba {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes ba-spin { to { --ba: 360deg; } }

.card,
.roadmap-item,
.preview-card {
  --ba: 0deg;
}

.card:hover,
.roadmap-item:hover,
.preview-card:hover {
  animation: ba-spin 3s linear infinite;
}

/* ===========================
   DDOS CANVAS BACKGROUND
   =========================== */
.ddos-sim-canvas-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(255,77,109,0.03) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(66,245,215,0.04) 0%, transparent 55%);
}



/* ===========================
   PC PART HUNT SPECIFIC STYLES
   =========================== */
:root {
  --pph-accent: #cfff04; /* PC Part Hunt lime green */
}

.card-pph {
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 400ms ease;
}

.card-pph:hover {
  border-color: rgba(207, 255, 4, 0.35);
  box-shadow: 
    0 0 16px rgba(207, 255, 4, 0.08), 
    0 0 32px rgba(207, 255, 4, 0.04), 
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card-pph::before {
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(207, 255, 4, 0.08), transparent 65%);
}

.primary-pph {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pph-accent), #a3cc00);
  color: #020408;
}

.primary-pph:hover {
  box-shadow: 0 0 20px rgba(207, 255, 4, 0.35), 0 0 40px rgba(207, 255, 4, 0.15);
}

.badge-pph {
  color: var(--pph-accent);
  background: rgba(207, 255, 4, 0.08);
  border: 1px solid rgba(207, 255, 4, 0.15);
}

.badge-pph .pulse-live {
  background: var(--pph-accent);
  box-shadow: 0 0 8px var(--pph-accent);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 400ms ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(66, 245, 215, 0.3);
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 0.6;
  height: 22px;
  color: var(--accent);
  opacity: 0.55;
}

.testimonial blockquote {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.t-role {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text);
}

.t-org {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ===========================
   FAQ ACCORDION (native <details>)
   =========================== */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.faq-item[open] {
  border-color: rgba(66, 245, 215, 0.3);
  box-shadow: var(--shadow-pop);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  list-style: none;
  transition: color 200ms ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 300ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-body {
  padding: 0 20px 18px;
}

.faq-item[open] .faq-body {
  animation: faq-open 320ms ease;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-body p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===========================
   PROJECT SHOWCASE (themeable)
   Drives both the Rust and PC Part Hunt cards via
   --sc / --sc-2 (theme colors) and --sc-rgb (for rgba glows).
   =========================== */
.showcase {
  --sc: var(--accent);
  --sc-2: var(--accent-2);
  --sc-rgb: 66, 245, 215;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--sc-rgb), 0.28);
  background:
    radial-gradient(ellipse at 88% -10%, rgba(var(--sc-rgb), 0.16), transparent 55%),
    radial-gradient(ellipse at 0% 120%, rgba(var(--sc-rgb), 0.07), transparent 52%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.55), rgba(2, 4, 7, 0.6));
  box-shadow: 0 0 50px rgba(var(--sc-rgb), 0.07), 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: transform 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
}

.showcase:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--sc-rgb), 0.5);
  box-shadow: 0 0 60px rgba(var(--sc-rgb), 0.18), 0 28px 70px rgba(0, 0, 0, 0.55);
}

/* animated top border sweep */
.showcase::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, var(--sc), var(--sc-2), transparent);
  background-size: 200% 100%;
  animation: sc-sweep 4s linear infinite;
  pointer-events: none;
}

@keyframes sc-sweep { to { background-position: -200% 0; } }

/* scanline texture */
.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(180deg, rgba(var(--sc-rgb), 0.02) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

/* rising sparks / embers (two layers for depth) */
.showcase-spark,
.showcase-spark::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
}

.showcase-spark {
  background-image:
    radial-gradient(2px 2px at 18% 90%, rgba(var(--sc-rgb), 0.9), transparent 60%),
    radial-gradient(2px 2px at 42% 95%, rgba(var(--sc-rgb), 0.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 63% 88%, rgba(var(--sc-rgb), 0.8), transparent 60%),
    radial-gradient(2px 2px at 81% 96%, rgba(var(--sc-rgb), 0.7), transparent 60%);
  animation: sc-rise 5.5s linear infinite;
}

.showcase-spark::after {
  content: "";
  background-image:
    radial-gradient(1.5px 1.5px at 28% 92%, rgba(var(--sc-rgb), 0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 55% 97%, rgba(var(--sc-rgb), 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 73% 90%, rgba(var(--sc-rgb), 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 94%, rgba(var(--sc-rgb), 0.6), transparent 60%);
  animation: sc-rise 8s linear infinite 1.2s;
}

@keyframes sc-rise {
  0%   { transform: translateY(14px); opacity: 0; }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.5; }
  100% { transform: translateY(-46px); opacity: 0; }
}

.showcase-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 32px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
}

.showcase .badge {
  border-color: rgba(var(--sc-rgb), 0.32);
  background: rgba(var(--sc-rgb), 0.08);
  color: var(--sc-2);
  gap: 6px;
}

.showcase .badge .pulse-live {
  background: var(--sc-2);
  box-shadow: 0 0 0 0 rgba(var(--sc-rgb), 0.6);
  animation: sc-pulse-ring 2s infinite;
}

@keyframes sc-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(var(--sc-rgb), 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(var(--sc-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--sc-rgb), 0); }
}

.showcase-title {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, var(--sc-2) 58%, var(--sc) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-copy {
  max-width: 540px;
  color: #cdd5df;
  font-size: 0.95rem;
  line-height: 1.7;
}

.showcase-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 0;
}

.showcase-features li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(var(--sc-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--sc-rgb), 0.06);
  font-size: 0.76rem;
  font-weight: 600;
  color: #e7ecf3;
  transition: border-color 250ms ease, background 250ms ease, transform 250ms ease;
}

.showcase-features li:hover {
  border-color: rgba(var(--sc-rgb), 0.5);
  background: rgba(var(--sc-rgb), 0.12);
  transform: translateY(-2px);
}

.showcase-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sc-2);
  box-shadow: 0 0 6px var(--sc-2);
}

.button-themed {
  border-color: transparent;
  background: linear-gradient(135deg, var(--sc), var(--sc-2));
  color: #050a08;
}

.button-themed:hover {
  box-shadow: 0 0 20px rgba(var(--sc-rgb), 0.5), 0 0 40px rgba(var(--sc-rgb), 0.2);
}

.showcase-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-stat {
  text-align: center;
  padding: 16px 14px;
  border: 1px solid rgba(var(--sc-rgb), 0.18);
  border-radius: var(--radius);
  background: rgba(var(--sc-rgb), 0.04);
  transition: border-color 300ms ease, background 300ms ease, transform 300ms ease;
}

.showcase-stat:hover {
  border-color: rgba(var(--sc-rgb), 0.4);
  background: rgba(var(--sc-rgb), 0.08);
  transform: translateY(-3px);
}

.showcase-stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--sc-2);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(var(--sc-rgb), 0.4);
}

.showcase-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---- themes ---- */
.showcase--rust { --sc: #e85d04; --sc-2: #ff9e2c; --sc-rgb: 232, 93, 4; }
.showcase--rust .button-themed { color: #160a02; }

.showcase--pph { --sc: #b6e000; --sc-2: #d8ff3e; --sc-rgb: 182, 224, 0; }
.showcase--pph .button-themed { color: #0a0f00; }

@media (max-width: 760px) {
  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showcase-stats { flex-direction: row; }
  .showcase-stat { flex: 1; }
}

/* ===========================
   OFFICE LOCATION
   =========================== */
.office {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items: stretch;
}

.office-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.office-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 300ms ease, box-shadow 400ms ease;
}

.office-card:hover {
  border-color: rgba(66, 245, 215, 0.3);
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.office-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(66, 245, 215, 0.08);
  border: 1px solid rgba(66, 245, 215, 0.18);
  color: var(--accent);
}

.office-icon svg { width: 22px; height: 22px; }

.office-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.office-addr {
  display: block;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--text);
}

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

.office-map {
  position: relative;
  min-height: 320px;
  border: 1px solid rgba(66, 245, 215, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(66, 245, 215, 0.05), 0 16px 48px rgba(0, 0, 0, 0.45);
}

.office-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Dark-mode the Google Maps embed to match the cyber theme */
  filter: invert(0.92) hue-rotate(180deg) brightness(0.92) contrast(0.95) saturate(0.85);
  transition: filter 400ms ease;
}

.office-map:hover iframe {
  filter: invert(0.88) hue-rotate(180deg) brightness(1) contrast(0.98) saturate(0.95);
}

@media (max-width: 760px) {
  .office { grid-template-columns: 1fr; }
  .office-map { min-height: 280px; }
}