/* ============================================================
   Krypterro.com — holographic / cyber-neural theme
   Void backgrounds, neon emissive accents, glass panels, glow
   Palette: cyan #00f0ff · blue #0066ff · lime #39ff14
            magenta #e100ff · purple #9d00ff · amber #ffaa00
   ============================================================ */

:root {
  --bg:        #05050a;
  --bg-2:      #0a0a12;
  --panel:     rgba(12, 18, 36, 0.5);
  --panel-2:   rgba(18, 24, 48, 0.55);
  --line:      rgba(0, 240, 255, 0.18);
  --line-hot:  rgba(0, 240, 255, 0.55);
  --text:      #eef2ff;
  --muted:     #9fb0d8;
  --cyan:      #00f0ff;
  --blue:      #0066ff;
  --lime:      #39ff14;
  --magenta:   #e100ff;
  --purple:    #9d00ff;
  --amber:     #ffaa00;
  --danger:    #ff6b6b;
  --ok:        #39ff14;
  --radius:    14px;
  --maxw:      1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 75% -10%, rgba(0, 102, 255, 0.16), transparent 60%),
    radial-gradient(900px 520px at 8% 22%, rgba(157, 0, 255, 0.12), transparent 60%),
    radial-gradient(800px 500px at 92% 88%, rgba(0, 240, 255, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* ---------------- Ambient background (fixed layer) ---------------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.p {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 8px 2px rgba(0, 240, 255, 0.35);
  animation: particle-float linear infinite;
  opacity: 0;
}
.p:nth-child(2)  { left: 6%;  top: 22%; width: 3px;  height: 3px;  animation-duration: 16s; animation-delay: 0s;   background: rgba(0,240,255,.6);  }
.p:nth-child(3)  { left: 14%; top: 68%; width: 2px;  height: 2px;  animation-duration: 21s; animation-delay: 2s;  background: rgba(157,0,255,.7);  box-shadow: 0 0 8px 2px rgba(157,0,255,.35);  }
.p:nth-child(4)  { left: 22%; top: 12%; width: 4px;  height: 4px;  animation-duration: 26s; animation-delay: 5s;  background: rgba(57,255,20,.5);  box-shadow: 0 0 8px 2px rgba(57,255,20,.3);   }
.p:nth-child(5)  { left: 31%; top: 82%; width: 2px;  height: 2px;  animation-duration: 18s; animation-delay: 1s;  background: rgba(0,240,255,.5);  }
.p:nth-child(6)  { left: 44%; top: 8%;  width: 3px;  height: 3px;  animation-duration: 23s; animation-delay: 7s;  background: rgba(225,0,255,.6);  box-shadow: 0 0 8px 2px rgba(225,0,255,.3);   }
.p:nth-child(7)  { left: 55%; top: 90%; width: 2px;  height: 2px;  animation-duration: 19s; animation-delay: 3s;  background: rgba(0,102,255,.6);  box-shadow: 0 0 8px 2px rgba(0,102,255,.3);   }
.p:nth-child(8)  { left: 63%; top: 30%; width: 3px;  height: 3px;  animation-duration: 27s; animation-delay: 9s;  background: rgba(0,240,255,.55); }
.p:nth-child(9)  { left: 72%; top: 78%; width: 2px;  height: 2px;  animation-duration: 15s; animation-delay: 4s;  background: rgba(157,0,255,.6);  box-shadow: 0 0 8px 2px rgba(157,0,255,.3);   }
.p:nth-child(10) { left: 81%; top: 14%; width: 4px;  height: 4px;  animation-duration: 22s; animation-delay: 11s; background: rgba(0,240,255,.5);  }
.p:nth-child(11) { left: 88%; top: 55%; width: 2px;  height: 2px;  animation-duration: 25s; animation-delay: 6s;  background: rgba(255,170,0,.6);  box-shadow: 0 0 8px 2px rgba(255,170,0,.3);   }
.p:nth-child(12) { left: 95%; top: 84%; width: 3px;  height: 3px;  animation-duration: 17s; animation-delay: 8s;  background: rgba(225,0,255,.55); box-shadow: 0 0 8px 2px rgba(225,0,255,.3);   }
.p:nth-child(13) { left: 40%; top: 46%; width: 2px;  height: 2px;  animation-duration: 20s; animation-delay: 12s; background: rgba(0,240,255,.5);  }
.p:nth-child(14) { left: 68%; top: 60%; width: 2px;  height: 2px;  animation-duration: 24s; animation-delay: 14s; background: rgba(0,102,255,.55); }

@keyframes particle-float {
  0%   { transform: translateY(30px); opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: 0.7; }
  100% { transform: translateY(-140px); opacity: 0; }
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }

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

img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--panel);
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--text); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand { display: flex; align-items: center; }
.wordmark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #00f0ff, #3b82f6 60%, #7b2fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.45));
}

.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  color: #c7d4ff;
  font-weight: 500;
  font-size: 15px;
}
.nav-list a:hover { color: var(--cyan); background: rgba(0, 240, 255, 0.07); text-decoration: none; text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }
.nav-list a.is-active {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--line-hot);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15), inset 0 0 12px rgba(0, 240, 255, 0.06);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.55);
}

.nav-toggle {
  display: none;
  color: #f4ecff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 46%),
    linear-gradient(145deg, rgba(155, 92, 255, 0.22), rgba(56, 28, 120, 0.28) 58%, rgba(12, 10, 30, 0.55));
  border: 1px solid rgba(205, 178, 255, 0.5);
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  min-height: 2.5rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(155, 92, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.nav-toggle:hover {
  color: #fff;
  border-color: rgba(230, 210, 255, 0.78);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 28px rgba(155, 92, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 110px 0 96px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 840px; }

/* Orbital rings + core (pure CSS) */
.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 680px;
  height: 680px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.55;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.16);
  animation: orbit-spin linear infinite;
}
.orbit-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border-top: 2px solid rgba(0, 240, 255, 0.9);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.8));
}
.orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 3px rgba(0, 240, 255, 0.8);
}
.r1 { inset: 0;       animation-duration: 34s; }
.r2 { inset: 70px;    animation-duration: 26s; animation-direction: reverse; }
.r2::after { border-top-color: rgba(157, 0, 255, 0.9); filter: drop-shadow(0 0 8px rgba(157, 0, 255, 0.7)); }
.r2 .orbit-dot { background: var(--purple); box-shadow: 0 0 12px 3px rgba(157, 0, 255, 0.8); }
.r3 { inset: 140px;   animation-duration: 20s; }
.r3::after { border-top-color: rgba(0, 102, 255, 0.9); filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.7)); }
.r3 .orbit-dot { background: var(--blue); box-shadow: 0 0 12px 3px rgba(0, 102, 255, 0.8); }
.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.55) 0%, rgba(0, 102, 255, 0.22) 45%, transparent 70%);
  box-shadow: 0 0 60px 18px rgba(0, 240, 255, 0.35), inset 0 0 40px rgba(0, 240, 255, 0.4);
  animation: orbit-pulse 4s ease-in-out infinite;
}

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.85; }
  50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

.hero-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
  margin: 0 0 18px;
}
.hero-title {
  font-size: clamp(34px, 5.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 22px;
  background: linear-gradient(100deg, #ffffff 10%, #7fe9ff 45%, #3b82f6 75%, #9d00ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 240, 255, 0.3));
}
.hero-lead { font-size: 18.5px; color: var(--muted); margin: 0 0 34px; max-width: 660px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Buttons: premium neon glow pills ---------------- */
.btn {
  --btn-glow: rgba(0, 234, 255, 0.48);
  --btn-glow-soft: rgba(80, 120, 255, 0.34);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-height: 3.15rem;
  padding: 0.92rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.btn > i {
  font-size: 0.96em;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.45));
}
.btn:hover,
.btn:focus { text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); filter: brightness(0.98); }
.btn:focus-visible {
  outline: 2px solid var(--signal-cyan, #00eaff);
  outline-offset: 4px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.15);
  box-shadow: none;
}

/* Primary = cyan→blue→violet soft neon glass (site signal stack) */
.btn-primary {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #6ff3ff 0%, #3eb6ff 34%, #4f86ff 68%, #8a62ff 100%);
  border-color: rgba(214, 248, 255, 0.78);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(12, 28, 90, 0.38),
    0 0 26px var(--btn-glow),
    0 0 58px var(--btn-glow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -12px 22px rgba(40, 70, 180, 0.22);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  filter: brightness(1.06) saturate(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 16px 36px rgba(12, 28, 90, 0.42),
    0 0 34px rgba(0, 234, 255, 0.62),
    0 0 78px rgba(100, 130, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -12px 22px rgba(40, 70, 180, 0.18);
}

/* Ghost / secondary = violet glass neon outline */
.btn-ghost {
  --btn-glow: rgba(155, 92, 255, 0.42);
  --btn-glow-soft: rgba(155, 92, 255, 0.22);
  color: #f4ecff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 46%),
    linear-gradient(145deg, rgba(155, 92, 255, 0.30), rgba(56, 28, 120, 0.34) 58%, rgba(12, 10, 30, 0.55));
  border-color: rgba(205, 178, 255, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 10px 26px rgba(20, 8, 48, 0.34),
    0 0 24px var(--btn-glow),
    0 0 52px var(--btn-glow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 18px rgba(155, 92, 255, 0.10);
  text-shadow: 0 1px 10px rgba(180, 140, 255, 0.28);
}
.btn-ghost:hover {
  color: #ffffff;
  filter: brightness(1.08);
  border-color: rgba(230, 210, 255, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 14px 32px rgba(20, 8, 48, 0.4),
    0 0 34px rgba(155, 92, 255, 0.55),
    0 0 70px rgba(155, 92, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 0 22px rgba(155, 92, 255, 0.14);
}

/* Optional semantic variants */
.btn--signal-green,
.btn-success {
  --btn-glow: rgba(57, 255, 136, 0.46);
  --btn-glow-soft: rgba(47, 229, 180, 0.28);
  color: #04140c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #7dffb4 0%, #39ff88 48%, #2fe5b4 100%);
  border-color: rgba(210, 255, 230, 0.85);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 12px 28px rgba(0, 40, 24, 0.3),
    0 0 26px var(--btn-glow),
    0 0 56px var(--btn-glow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  text-shadow: none;
}
.btn--signal-amber,
.btn-warning {
  --btn-glow: rgba(255, 177, 27, 0.46);
  --btn-glow-soft: rgba(255, 140, 40, 0.28);
  color: #1a0f00;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #ffd27a 0%, #ffb11b 52%, #ff8a18 100%);
  border-color: rgba(255, 236, 196, 0.85);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(60, 30, 0, 0.28),
    0 0 26px var(--btn-glow),
    0 0 56px var(--btn-glow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: none;
}

.btn--sm { min-height: 2.55rem; padding: 0.68rem 1.25rem; font-size: 0.9rem; gap: 0.55rem; }
.btn--lg { min-height: 3.55rem; padding: 1.05rem 2.25rem; font-size: 1.05rem; gap: 0.8rem; }
.btn--block { width: 100%; }

.hero-actions .btn { min-width: 12.5rem; }
.cta-box .btn,
.cta-inline .btn { margin-top: 0.15rem; }

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover,
  .btn:active { transition: none; transform: none; }
}

/* ---------------- Sections & cards ---------------- */
.section { position: relative; padding: 64px 0; }
.section-muted {
  background: rgba(8, 10, 22, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 30px;
  background: linear-gradient(90deg, #00f0ff, #3b82f6 70%, #9d00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.35));
}
.page-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  background: linear-gradient(100deg, #fff, #7fe9ff 60%, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.25));
}
.lead { color: var(--muted); font-size: 17.5px; margin: 0 0 38px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 26px rgba(0, 102, 255, 0.1), inset 0 0 26px rgba(0, 240, 255, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--line-hot);
  box-shadow: 0 0 38px rgba(0, 240, 255, 0.22), inset 0 0 30px rgba(0, 240, 255, 0.06);
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #7fe9ff; text-shadow: 0 0 12px rgba(0, 240, 255, 0.4); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .card-lead { color: var(--text); }

.cta-box {
  border: 1px solid rgba(225, 0, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(16, 10, 32, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 44px;
  text-align: center;
  box-shadow: 0 0 34px rgba(225, 0, 255, 0.14), inset 0 0 34px rgba(157, 0, 255, 0.06);
}
.cta-box h2 { margin: 0 0 10px; font-size: 26px; }
.cta-box p { color: var(--muted); margin: 0 0 26px; }

/* ---------------- Pipeline / stages ---------------- */
.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 10px;
}
.pipeline-track {
  position: absolute;
  top: 46px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, #00f0ff, #39ff14 33%, #ffaa00 66%, #e100ff);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.55);
  opacity: 0.65;
}
.stage {
  position: relative;
  text-align: center;
  padding: 64px 10px 0;
}
.stage::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px 5px rgba(0, 240, 255, 0.6);
}
.stage:nth-child(3)::before { background: var(--lime);  box-shadow: 0 0 16px 5px rgba(57, 255, 20, 0.55); }
.stage:nth-child(4)::before { background: var(--amber);  box-shadow: 0 0 16px 5px rgba(255, 170, 0, 0.55); }
.stage:nth-child(5)::before { background: var(--magenta); box-shadow: 0 0 16px 5px rgba(225, 0, 255, 0.55); }
.stage-num {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}
.stage h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #e8eeff;
}
.stage:nth-child(3) h3 { color: #a8ff8a; text-shadow: 0 0 12px rgba(57, 255, 20, 0.4); }
.stage:nth-child(4) h3 { color: #ffd591; text-shadow: 0 0 12px rgba(255, 170, 0, 0.4); }
.stage:nth-child(5) h3 { color: #ffa4f5; text-shadow: 0 0 12px rgba(225, 0, 255, 0.4); }
.stage p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------------- Prose (rendered markdown) ---------------- */
.prose h1 { font-size: 36px; margin: 0 0 24px; font-weight: 800; background: linear-gradient(100deg, #fff, #7fe9ff 60%, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.25)); }
.prose h2 { font-size: 23px; margin: 42px 0 12px; font-weight: 700; color: #7fe9ff; text-shadow: 0 0 12px rgba(0, 240, 255, 0.35); }
.prose h3 { font-size: 19px; margin: 32px 0 8px; font-weight: 700; color: #cfd8ff; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 26px; }
.prose li { margin: 6px 0; }
.prose code {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.9em;
  color: var(--cyan);
}
.prose pre {
  background: rgba(4, 6, 14, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  overflow-x: auto;
  box-shadow: inset 0 0 24px rgba(0, 102, 255, 0.08);
}
.prose pre code { background: none; border: 0; padding: 0; }
.prose blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--purple);
  color: var(--muted);
  box-shadow: -8px 0 24px -14px rgba(157, 0, 255, 0.6);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* ---------------- Blog ---------------- */
.post-list { display: grid; gap: 30px; }
.post-row {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
  box-shadow: 0 12px 24px -24px rgba(0, 240, 255, 0.4);
}
.post-row time, .post-meta time {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.45);
}
.post-row h2, .post-row h3 { margin: 6px 0 8px; font-size: 21px; font-weight: 700; }
.post-row h2 a, .post-row h3 a { color: var(--text); }
.post-row h2 a:hover, .post-row h3 a:hover { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 240, 255, 0.4); }
.post-row p { color: var(--muted); margin: 0; }
.tag-list { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0 0; margin: 0; }
.tag-list li a {
  font-size: 12.5px;
  color: #d4a6ff;
  border: 1px solid rgba(157, 0, 255, 0.45);
  border-radius: 20px;
  padding: 3px 12px;
  background: rgba(157, 0, 255, 0.08);
}
.tag-list li a:hover { border-color: var(--purple); color: #fff; text-decoration: none; box-shadow: 0 0 14px rgba(157, 0, 255, 0.3); }
.link-more { font-weight: 600; }
.post-meta { margin: 0 0 10px; }
.post-meta .post-tags a { font-size: 13.5px; color: #d4a6ff; }
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 22px;
}
.post-nav a { color: var(--muted); font-weight: 500; }
.post-nav a:hover { color: var(--cyan); }

/* ---------------- Forms ---------------- */
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.1), inset 0 0 30px rgba(0, 240, 255, 0.04);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 14.5px; color: #c7d4ff; }
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(4, 6, 14, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 15px;
  font: inherit;
  font-size: 15.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field-full { grid-column: 1 / -1; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--line-hot);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.25), inset 0 0 14px rgba(0, 240, 255, 0.05);
}
.form-note { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; backdrop-filter: blur(10px); }
.alert ul { margin: 0; padding-left: 20px; }
.alert-ok { background: rgba(57, 255, 20, 0.08); border: 1px solid rgba(57, 255, 20, 0.45); color: #b6ffa0; box-shadow: 0 0 20px rgba(57, 255, 20, 0.12); }
.alert-error { background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.45); color: #ffb3b3; box-shadow: 0 0 20px rgba(255, 107, 107, 0.12); }

/* ---------------- Footer ---------------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 30px 0;
  background: rgba(5, 5, 10, 0.6);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p { color: var(--muted); margin: 0; font-size: 14px; }
.footer-links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 240, 255, 0.4); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .pipeline-track { display: none; }
  .stage { padding-top: 58px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 72px 0 56px; }
  .hero-orbit { width: 420px; height: 420px; opacity: 0.35; }
  .r2 { inset: 44px; }
  .r3 { inset: 88px; }
  .orbit-core { width: 100px; height: 100px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 5, 10, 0.95);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 8px; }
}

/* ============================================================
   Krypterro design system v2 — holographic cyber-neural layer
   Semantic tokens + reusable layout/component primitives.
   Use semantic classes below rather than direct neon hex values.
   ============================================================ */
:root {
  /* void and glass */
  --void-950: #05050a;
  --void-900: #090914;
  --void-850: #0d1020;
  --surface-1: rgba(11, 16, 33, .68);
  --surface-2: rgba(17, 23, 48, .78);
  --surface-solid: #11182d;
  --glass-fill: linear-gradient(145deg, rgba(20, 32, 65, .62), rgba(7, 10, 25, .78));
  --glass-highlight: rgba(255, 255, 255, .08);
  --ink-strong: #f7fbff;
  --ink: #d9e7ff;
  --ink-muted: #9eb2d2;
  --ink-faint: #6d81a4;

  /* emissive signals */
  --signal-cyan: #00eaff;
  --signal-blue: #3478ff;
  --signal-green: #39ff88;
  --signal-amber: #ffb11b;
  --signal-magenta: #f229d8;
  --signal-violet: #9b5cff;
  --signal-danger: #ff5873;
  --signal-cyan-rgb: 0, 234, 255;
  --signal-violet-rgb: 155, 92, 255;
  --signal-magenta-rgb: 242, 41, 216;

  /* system geometry */
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;
  --radius-sm: .5rem;
  --radius-md: .875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --measure: 72ch;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --transition-fast: 160ms cubic-bezier(.2,.8,.2,1);
  --transition: 280ms cubic-bezier(.2,.8,.2,1);
  --glow-cyan: 0 0 0 1px rgba(var(--signal-cyan-rgb), .24), 0 0 22px rgba(var(--signal-cyan-rgb), .16), 0 0 56px rgba(var(--signal-cyan-rgb), .08);
  --glow-violet: 0 0 0 1px rgba(var(--signal-violet-rgb), .24), 0 0 22px rgba(var(--signal-violet-rgb), .16), 0 0 56px rgba(var(--signal-violet-rgb), .08);
}

html { background: var(--void-950); }
body { font-family: var(--font-sans); color: var(--ink); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background-image: repeating-linear-gradient(0deg, rgba(142, 210, 255, .018) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
::selection { background: rgba(var(--signal-cyan-rgb), .35); color: var(--ink-strong); }
:focus-visible { outline: 2px solid var(--signal-cyan); outline-offset: 4px; border-radius: var(--radius-sm); }

/* Type: readable humanist sans with compact technical labels. */
.eyebrow, .data-label, .stage-num, .kicker, .overline {
  color: var(--signal-cyan);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.display-gradient, .hero-title, .page-title, .section-title {
  color: var(--ink-strong);
  background: linear-gradient(100deg, #fff 5%, #cefbff 38%, #61baff 70%, #c497ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.03em; }
.lead { color: var(--ink-muted); max-width: var(--measure); line-height: 1.72; }

/* Foundation primitives. */
.stack > * + * { margin-top: var(--stack-space, var(--space-4)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, var(--space-3)); }
.split { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flow-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.section-deep { overflow: hidden; isolation: isolate; background: linear-gradient(180deg, rgba(4, 6, 16, .14), rgba(12, 15, 39, .52)); }
.section-deep::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(55% 90% at 0% 50%, rgba(var(--signal-violet-rgb), .11), transparent 70%), radial-gradient(45% 80% at 100% 50%, rgba(var(--signal-cyan-rgb), .10), transparent 72%); }

/* Glass panels: intended for content blocks, not every element. */
.holo-panel, .glass-panel, .contact-form, .cta-box {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(var(--signal-cyan-rgb), .20);
  border-radius: var(--radius-lg);
  background: var(--glass-fill);
  box-shadow: var(--glow-cyan), inset 0 1px 0 var(--glass-highlight), inset 0 0 38px rgba(var(--signal-cyan-rgb), .035);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}
.holo-panel::before, .glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background: linear-gradient(115deg, rgba(255,255,255,.10), transparent 24%, transparent 72%, rgba(var(--signal-cyan-rgb), .08));
}
.holo-panel { padding: clamp(1.4rem, 3vw, 2.25rem); }
.holo-panel--violet { border-color: rgba(var(--signal-violet-rgb), .30); box-shadow: var(--glow-violet), inset 0 1px 0 var(--glass-highlight), inset 0 0 38px rgba(var(--signal-violet-rgb), .035); }
.holo-panel--amber { border-color: rgba(255,177,27,.32); box-shadow: 0 0 0 1px rgba(255,177,27,.16), 0 0 28px rgba(255,177,27,.11), inset 0 1px 0 var(--glass-highlight); }

/* Linkable feature cards. Accent is assigned intentionally by class/data-accent. */
.card, .signal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-5);
  color: var(--ink);
  overflow: hidden;
  border: 1px solid rgba(var(--signal-cyan-rgb), .17);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(21,31,62,.62), rgba(8,11,27,.76));
  box-shadow: 0 0 0 1px rgba(255,255,255,.02), 0 14px 44px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.card::after, .signal-card::after { content: ""; position: absolute; width: 8rem; height: 8rem; right: -3.5rem; bottom: -4rem; border-radius: 50%; background: radial-gradient(circle, rgba(var(--signal-cyan-rgb), .19), transparent 66%); filter: blur(3px); transition: transform var(--transition); }
.card:hover, .signal-card:hover { transform: translateY(-5px); border-color: rgba(var(--signal-cyan-rgb), .62); box-shadow: var(--glow-cyan), 0 22px 50px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.1); }
.card:hover::after, .signal-card:hover::after { transform: scale(1.35); }
.card h3, .signal-card h3 { color: var(--ink-strong); text-shadow: none; }
.card .icon-orb, .signal-card .icon-orb { margin-bottom: var(--space-4); }
.card--green, .signal-card[data-accent="green"] { border-color: rgba(57,255,136,.25); }
.card--green::after, .signal-card[data-accent="green"]::after { background: radial-gradient(circle, rgba(57,255,136,.19), transparent 66%); }
.card--amber, .signal-card[data-accent="amber"] { border-color: rgba(255,177,27,.25); }
.card--amber::after, .signal-card[data-accent="amber"]::after { background: radial-gradient(circle, rgba(255,177,27,.19), transparent 66%); }
.card--magenta, .signal-card[data-accent="magenta"] { border-color: rgba(var(--signal-magenta-rgb), .25); }
.card--magenta::after, .signal-card[data-accent="magenta"]::after { background: radial-gradient(circle, rgba(var(--signal-magenta-rgb), .19), transparent 66%); }

/* Font Awesome Free 7 icon vessels. Place <i class="fa-solid fa-shield-halved"> within. */
.icon-orb, .icon-hex {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--signal-cyan);
  font-size: 1.15rem;
  border: 1px solid rgba(var(--signal-cyan-rgb), .42);
  background: radial-gradient(circle at 35% 25%, rgba(230,255,255,.19), rgba(var(--signal-cyan-rgb),.15) 34%, rgba(5,8,20,.65) 72%);
  box-shadow: 0 0 0 4px rgba(var(--signal-cyan-rgb),.05), 0 0 22px rgba(var(--signal-cyan-rgb),.34), inset 0 0 12px rgba(var(--signal-cyan-rgb),.24);
}
.icon-orb { border-radius: 50%; }
.icon-hex { clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.icon-orb--violet, .icon-hex--violet { color: #d2b6ff; border-color: rgba(var(--signal-violet-rgb), .5); background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.19), rgba(var(--signal-violet-rgb),.18) 34%, rgba(10,5,25,.65) 72%); box-shadow: 0 0 0 4px rgba(var(--signal-violet-rgb),.05), 0 0 22px rgba(var(--signal-violet-rgb),.34), inset 0 0 12px rgba(var(--signal-violet-rgb),.24); }
.icon-orb--green, .icon-hex--green { color: #b0ffd0; border-color: rgba(57,255,136,.5); background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.19), rgba(57,255,136,.18) 34%, rgba(5,25,18,.65) 72%); box-shadow: 0 0 0 4px rgba(57,255,136,.05), 0 0 22px rgba(57,255,136,.34), inset 0 0 12px rgba(57,255,136,.24); }

/* Procedural hologram motifs: use as decorative sibling elements, aria-hidden="true". */
.holo-orbit { position: relative; width: min(26rem, 72vw); aspect-ratio: 1; margin-inline: auto; border: 1px solid rgba(var(--signal-cyan-rgb),.32); border-radius: 50%; box-shadow: 0 0 50px rgba(var(--signal-cyan-rgb),.12), inset 0 0 44px rgba(var(--signal-cyan-rgb),.05); animation: orbit-rotate 32s linear infinite; }
.holo-orbit::before, .holo-orbit::after { content: ""; position: absolute; inset: 13%; border: 1px dashed rgba(var(--signal-violet-rgb), .58); border-radius: 50%; animation: orbit-rotate 18s linear infinite reverse; }
.holo-orbit::after { inset: 28%; border-style: solid; border-color: rgba(57,255,136,.48); animation-duration: 12s; }
.holo-core { position: absolute; inset: 38%; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #eaffff 0 3%, var(--signal-cyan) 12%, rgba(52,120,255,.65) 33%, rgba(155,92,255,.13) 58%, transparent 70%); box-shadow: 0 0 24px var(--signal-cyan), 0 0 80px rgba(var(--signal-cyan-rgb),.52), inset 0 0 22px #fff; animation: core-pulse 3.8s ease-in-out infinite; }
.energy-line { height: 1px; overflow: hidden; background: linear-gradient(90deg, transparent, rgba(var(--signal-cyan-rgb),.35), transparent); }
.energy-line::after { content: ""; display: block; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--signal-cyan), #fff, var(--signal-violet), transparent); box-shadow: 0 0 12px 2px var(--signal-cyan); animation: energy-flow 3.6s ease-in-out infinite; }
@keyframes orbit-rotate { to { transform: rotate(360deg); } }
@keyframes core-pulse { 50% { transform: scale(1.13); filter: brightness(1.3); } }
@keyframes energy-flow { 0% { transform: translateX(-120%); } 55%,100% { transform: translateX(420%); } }

/* Buttons already defined above as premium neon pills; inputs/status/tables follow. */

.status-pill { display: inline-flex; gap: .45rem; align-items: center; padding: .38rem .7rem; color: var(--ink-muted); font-family: var(--font-mono); font-size: .74rem; border: 1px solid rgba(var(--signal-cyan-rgb),.25); border-radius: 100vmax; background: rgba(var(--signal-cyan-rgb),.06); }
.status-pill::before { content: ""; width: .46rem; aspect-ratio: 1; border-radius: 50%; background: var(--signal-green); box-shadow: 0 0 8px var(--signal-green); animation: status-ping 1.8s ease-in-out infinite; }
@keyframes status-ping { 50% { box-shadow: 0 0 3px var(--signal-green); opacity: .52; } }
.form-field input, .form-field textarea, select { color: var(--ink-strong); border-radius: var(--radius-sm); background: rgba(4,7,18,.78); border-color: rgba(var(--signal-cyan-rgb),.25); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-faint); }
.form-field input:focus, .form-field textarea:focus, select:focus { border-color: var(--signal-cyan); box-shadow: 0 0 0 3px rgba(var(--signal-cyan-rgb),.13), 0 0 23px rgba(var(--signal-cyan-rgb),.16); }
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-5) 0; overflow: hidden; border: 1px solid rgba(var(--signal-cyan-rgb),.2); border-radius: var(--radius-md); background: rgba(6,9,22,.56); }
.prose th, .prose td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid rgba(var(--signal-cyan-rgb),.12); }
.prose th { color: var(--signal-cyan); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(var(--signal-cyan-rgb),.06); }
.prose tr:last-child td { border-bottom: 0; }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; gap: var(--space-4); }
  .holo-panel, .cta-box, .contact-form { padding: var(--space-4); }
  .card, .signal-card { padding: var(--space-4); }
  .section { padding: var(--space-6) 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Hero artwork layer */
@import url("/assets/css/heroes.css");
