:root {
  --bg: #08090b;
  --bg-2: #101216;
  --panel: rgba(16, 18, 22, 0.85);
  --panel-strong: #16191e;
  --panel-soft: #f3f3ef;
  --white: #ffffff;
  --text: #f4f5f7;
  --muted: #9299a4;
  --muted-strong: #626873;
  --ink: #0b0c0e;
  --ink-soft: #101216;
  --border: #272b32;
  --border-strong: #30353d;
  --accent: #7cffcb;
  --accent-strong: #7cffcb;
  --accent-soft: rgba(124, 255, 203, 0.12);
  --accent-2: #7cffcb;
  --accent-3: #7cffcb;
  --accent-4: #7cffcb;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

body,
button,
input,
textarea {
  font-family: var(--sans);
}

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

button,
input {
  font: inherit;
}

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

main {
  position: relative;
}

.section-dark {
  background: #15181d;
  color: var(--text);
}

.section-light {
  background: #f4f5f7;
  color: #101216;
}

.grid {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 94px);
  align-items: end;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
  width: min(1380px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 0 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  background: rgba(21, 24, 29, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(255, 255, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav.scrolled {
  background: rgba(21, 24, 29, 0.96);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(124, 255, 203, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.55);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
  white-space: nowrap;
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.brand span {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(124, 255, 203, 0.6);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-drop {
  position: relative;
}

.nav-drop>a,
.desktop-nav>a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease, box-shadow 0.2s ease;
}

.nav-drop:hover>a,
.nav-drop:focus-within>a,
.desktop-nav>a:hover,
.desktop-nav>a:focus-visible,
.desktop-nav>a[aria-current="page"],
.nav-drop>a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.nav-drop>a span {
  opacity: 0.9;
  font-size: 0.72rem;
  font-weight: 800;
}

.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  background: rgba(23, 26, 31, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(124, 255, 203, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 200;
}

.drop-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu,
.nav-drop.active .drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.drop-menu a:hover {
  background: rgba(124, 255, 203, 0.2);
  border-color: rgba(124, 255, 203, 0.45);
  color: #ffffff;
  transform: translateX(3px);
  text-shadow: 0 0 10px rgba(124, 255, 203, 0.6);
}

.nav-cta,
.btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta {
  padding: 10px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Highlighted "Try Free Demo" Navbar Button with Motion Effects */
.nav-cta[href*="demo"],
.nav-cta-demo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #7cffcb 0%, #7cffcb 50%, #08785b 100%);
  color: #07100c !important;
  font-weight: 700;
  border: 1px solid rgba(124, 255, 203, 0.85);
  box-shadow: 0 4px 18px rgba(124, 255, 203, 0.4);
  animation: demoGlowPulse 2.8s infinite ease-in-out;
}

.nav-cta[href*="demo"]::before,
.nav-cta-demo::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -75%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.65) 50%,
      transparent 100%);
  transform: rotate(25deg);
  animation: shimmerSweep 3.2s infinite ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.nav-cta[href*="demo"] span,
.nav-cta-demo span {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-cta[href*="demo"]:hover,
.nav-cta-demo:hover {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, #7cffcb 0%, #7cffcb 100%);
  box-shadow: 0 8px 30px rgba(124, 255, 203, 0.75);
  color: #07100c !important;
}

.nav-cta[href*="demo"]:hover span,
.nav-cta-demo:hover span {
  transform: translate(3px, -3px);
}

@keyframes shimmerSweep {
  0% {
    left: -75%;
  }

  35%,
  100% {
    left: 140%;
  }
}

@keyframes demoGlowPulse {

  0%,
  100% {
    box-shadow: 0 0 14px rgba(124, 255, 203, 0.4), 0 0 0 0 rgba(124, 255, 203, 0.4);
  }

  50% {
    box-shadow: 0 0 26px rgba(124, 255, 203, 0.75), 0 0 0 7px rgba(124, 255, 203, 0);
  }
}

.nav-cta:hover,
.btn:hover,
.text-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(124, 255, 203, 0.12);
}

.menu-btn {
  display: none;
  margin-left: auto;
  padding: 8px 10px;
  border: 1px solid rgba(156, 163, 175, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 96px;
  right: 16px;
  width: min(320px, calc(100% - 32px));
  display: none;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(11, 13, 16, 0.96);
  box-shadow: var(--shadow);
  z-index: 90;
}

.mobile-menu.open {
  display: grid;
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(232, 234, 237, 0.88);
  font-size: 0.78rem;
}

.mobile-menu a:hover {
  background: rgba(124, 255, 203, 0.08);
}

.mobile-cta {
  margin-top: 8px;
  padding: 12px 14px !important;
  border: 1px solid rgba(124, 255, 203, 0.22);
  background: rgba(124, 255, 203, 0.06);
  color: var(--white) !important;
}

.hero {
  position: relative;
  min-height: 840px;
  padding: 150px 0 82px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(124, 255, 203, 0.12), transparent 22%),
    radial-gradient(circle at 12% 60%, rgba(146, 153, 164, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, transparent 32%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.eyebrow.dark,
.section-light .eyebrow {
  color: #08785b;
  font-weight: 700;
}

.hero h1,
.platform h2,
.technology h2,
.fusion h2,
.applications h2,
.vision h2,
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #ffffff;
}

.hero h1 em,
.platform h2 em,
.technology h2 em,
.fusion h2 em,
.applications h2 em,
.vision h2 em,
.section-dark h1 em,
.section-dark h2 em,
.section-dark h3 em {
  font-style: normal;
  color: #7cffcb;
}

.problem h2,
.pipeline h2,
.research h2,
.developer h2,
.final-cta h2,
.section-light h1,
.section-light h2,
.section-light h3 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #101216;
}

.problem h2 em,
.pipeline h2 em,
.research h2 em,
.developer h2 em,
.final-cta h2 em,
.section-light h1 em,
.section-light h2 em,
.section-light h3 em {
  font-style: normal;
  color: #08785b;
}

/* Force blue/dark slide headings to match reference image: pure white (#ffffff) & bright mint green (#8af1c6) */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark .section-head h2,
.section-dark .hero h1,
.section-dark .problem h2,
.section-dark .pipeline h2,
.section-dark .technology h2,
.section-dark .fusion h2,
.section-dark .research h2,
.section-dark .applications h2,
.section-dark .developer h2,
.section-dark .vision h2,
.section-dark .final-cta h2,
.section-dark .page-hero h1,
.section-dark .page-section h2,
.section-dark .demo-header h1,
.section-dark .demo-header h2 {
  color: #ffffff !important;
}

.section-dark h1 em,
.section-dark h2 em,
.section-dark h3 em,
.section-dark .section-head h2 em,
.section-dark .hero h1 em,
.section-dark .problem h2 em,
.section-dark .pipeline h2 em,
.section-dark .technology h2 em,
.section-dark .fusion h2 em,
.section-dark .research h2 em,
.section-dark .applications h2 em,
.section-dark .developer h2 em,
.section-dark .vision h2 em,
.section-dark .final-cta h2 em,
.section-dark .page-hero h1 em,
.section-dark .page-section h2 em,
.section-dark .demo-header h2 em {
  color: #7cffcb !important;
  font-style: normal;
}

/* Force light/white slide headings to match reference image: deep dark charcoal (#0c1217) & teal green (#0d9488) */
.section-light h1,
.section-light h2,
.section-light h3,
.section-light .section-head h2,
.section-light .hero h1,
.section-light .problem h2,
.section-light .pipeline h2,
.section-light .technology h2,
.section-light .fusion h2,
.section-light .research h2,
.section-light .applications h2,
.section-light .developer h2,
.section-light .vision h2,
.section-light .final-cta h2,
.section-light .page-hero h1,
.section-light .page-section h2,
.section-light .demo-header h1,
.section-light .demo-header h2,
.section-light.demo-shell .demo-header h1,
.section-light.demo-shell .demo-header h2 {
  color: #101216 !important;
}

.section-light h1 em,
.section-light h2 em,
.section-light h3 em,
.section-light .section-head h2 em,
.section-light .hero h1 em,
.section-light .problem h2 em,
.section-light .pipeline h2 em,
.section-light .technology h2 em,
.section-light .fusion h2 em,
.section-light .research h2 em,
.section-light .applications h2 em,
.section-light .developer h2 em,
.section-light .vision h2 em,
.section-light .final-cta h2 em,
.section-light .page-hero h1 em,
.section-light .page-section h2 em,
.section-light .demo-header h2 em,
.section-light.demo-shell .demo-header h2 em {
  color: #08785b !important;
  font-style: normal;
}

/* Scoped element styles for section-light */
.section-light p,
.section-light .problem-copy p,
.section-light .section-head p,
.section-light .demo-header p,
.section-light.demo-shell .demo-header p {
  color: #505761 !important;
}

.section-light .problem-lead {
  color: #171a1f;
}

.section-light .modality-strip>div,
.section-light .pipe {
  background: #ffffff;
  border: 1px solid rgba(210, 220, 220, 0.8);
  box-shadow: 0 4px 20px rgba(23, 26, 31, 0.04);
  color: #171a1f;
}

.section-light .modality-strip span,
.section-light .number,
.section-light .platform-row .number {
  color: #08785b;
}

.section-light .platform-row {
  background: #ffffff;
  border: 1px solid rgba(210, 220, 220, 0.8);
  box-shadow: 0 4px 20px rgba(23, 26, 31, 0.04);
}

.section-light .platform-row h3 {
  color: #171a1f;
}

.section-light .platform-row p,
.section-light .platform-desc {
  color: #505761;
}

.section-light .chips span {
  background: #f4f5f7;
  border: 1px solid rgba(210, 220, 220, 0.8);
  color: #505761;
}

.section-light .platform-row a {
  color: #08785b;
}

.section-light .modality-strip strong,
.section-light .pipe h4 {
  color: #171a1f;
}

.section-light .modality-strip small,
.section-light .pipe p {
  color: #68727c;
}

.section-light .pipe:hover,
.section-light .pipe.active {
  border-color: #08785b;
  background: rgba(8, 120, 91, 0.06);
}

.section-light .pipeline-detail {
  background: rgba(8, 120, 91, 0.05);
  border: 1px dashed rgba(8, 120, 91, 0.35);
  color: #171a1f;
}

.section-light .research-item {
  background: #ffffff;
  border: 1px solid rgba(210, 220, 220, 0.8);
  box-shadow: 0 4px 20px rgba(23, 26, 31, 0.04);
}

.section-light .research-item:hover {
  border-color: #08785b;
}

.section-light .research-list span {
  color: #08785b;
}

.section-light .research-list strong {
  color: #171a1f;
}

.section-light .research-list p {
  color: #68727c;
}

.section-light .btn-dark {
  background: #171a1f;
  color: #ffffff;
  border-color: #171a1f;
}

.section-light .btn-ghost {
  background: transparent;
  color: #171a1f;
  border-color: rgba(23, 26, 31, 0.25);
}

.section-light .text-link {
  color: #171a1f;
  border-bottom-color: rgba(23, 26, 31, 0.3);
}

.section-light .fusion-map {
  background: #ffffff;
  border: 1px solid rgba(210, 220, 220, 0.8);
  box-shadow: 0 4px 20px rgba(23, 26, 31, 0.04);
}

.section-light .fusion-map .source {
  background: #f4f5f7;
  border: 1px solid rgba(210, 220, 220, 0.8);
}

.section-light .fusion-map .source label {
  color: #08785b;
}

.section-light .fusion-map .source small {
  color: #68727c;
}

.section-light .fusion-map .latent {
  border: 1px solid #08785b;
  background: radial-gradient(circle at center, rgba(8, 120, 91, 0.12), transparent 70%);
  box-shadow: 0 0 30px rgba(8, 120, 91, 0.15);
}

.section-light .fusion-map .latent strong {
  color: #171a1f;
}

.section-light .fusion-map .latent small {
  color: #08785b;
}

.section-light .application-list>div {
  background: #ffffff;
  border: 1px solid rgba(210, 220, 220, 0.8);
  box-shadow: 0 4px 20px rgba(23, 26, 31, 0.04);
}

.section-light .application-list h3 {
  color: #171a1f;
}

.section-light .application-list p {
  color: #505761;
}

.section-light .application-list span {
  color: #08785b;
}

.section-light .vision p {
  color: #505761;
}

.section-light .vision-flow span {
  background: #ffffff;
  border: 1px solid rgba(210, 220, 220, 0.8);
  color: #171a1f;
}

.section-light .vision-flow strong {
  background: rgba(8, 120, 91, 0.1);
  border: 1px solid #08785b;
  color: #08785b;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.55vw, 1.24rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.btn {
  padding: 15px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #07100c;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(124, 255, 203, 0.22);
}

.btn-dark {
  background: linear-gradient(135deg, #171a1f, #0c0f12);
  color: var(--white);
  border-color: rgba(156, 163, 175, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  color: #858c96;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-tags i {
  color: var(--accent);
  font-style: normal;
}

.hero-visual {
  position: relative;
  height: 560px;
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 18, 22, 0.86), rgba(12, 15, 18, 0.96));
  box-shadow: inset 0 0 0 1px rgba(133, 140, 150, 0.08), 0 28px 60px rgba(8, 9, 11, 0.4);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(124, 255, 203, 0.15), transparent 36%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
}

.neumage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.viz-label,
.viz-footer,
.card-head,
.brain-readout,
.viz-controls,
.slice-control,
.tech-no,
.number,
.modality-strip span,
.modality-strip small,
.terminal-bar,
.footer-grid b,
.research-list span,
.application-list span {
  font-family: var(--mono);
}

.top-label {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 3;
  color: rgba(205, 208, 203, 0.72);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.viz-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: 999px;
  background: rgba(16, 18, 22, 0.75);
}

.viz-toggle {
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

.viz-toggle.active {
  background: rgba(124, 255, 203, 0.14);
  color: var(--accent);
  border: 1px solid rgba(124, 255, 203, 0.24);
}

.slice-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.54rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.slice-control input {
  width: 90px;
  accent-color: var(--accent);
}

.brain-viewport {
  position: absolute;
  inset: 80px 30px 70px;
  z-index: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.brain-shell {
  position: relative;
  width: min(40vw, 360px);
  height: min(38vw, 300px);
  filter: drop-shadow(0 0 32px rgba(124, 255, 203, 0.16));
}

.brain-lobe {
  position: absolute;
  top: 16px;
  width: 40%;
  height: 68%;
  border-radius: 50% 42% 52% 48%;
  background: linear-gradient(180deg, rgba(124, 255, 203, 0.22), rgba(146, 153, 164, 0.12));
  border: 1px solid rgba(124, 255, 203, 0.28);
  box-shadow: inset 0 0 18px rgba(124, 255, 203, 0.15);
}

.brain-lobe.left {
  left: 18%;
  transform: rotate(-10deg);
}

.brain-lobe.right {
  right: 18%;
  transform: rotate(10deg);
}

.brain-sulci {
  position: absolute;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 255, 203, 0.7), transparent);
  border-radius: 999px;
}

.s1 {
  top: 28%;
  left: 29%;
}

.s2 {
  top: 42%;
  left: 31%;
}

.s3 {
  top: 56%;
  left: 29%;
}

.brain-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(124, 255, 203, 0.85);
  box-shadow: 0 0 18px rgba(124, 255, 203, 0.8);
}

.n1 {
  top: 32%;
  left: 25%;
}

.n2 {
  top: 28%;
  right: 28%;
}

.n3 {
  top: 58%;
  left: 35%;
}

.n4 {
  top: 52%;
  right: 32%;
}

.brain-axis {
  position: absolute;
  border: 1px dashed rgba(156, 163, 175, 0.18);
}

.axis-x {
  width: 85%;
  height: 1px;
  top: 50%;
}

.axis-y {
  height: 75%;
  width: 1px;
  left: 50%;
}

.brain-readout {
  position: absolute;
  bottom: 12px;
  display: flex;
  gap: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(156, 163, 175, 0.18);
  border-radius: 999px;
  background: rgba(11, 13, 16, 0.75);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.brain-readout span {
  color: var(--accent);
}

.brain-readout b {
  color: rgba(220, 230, 230, 0.85);
  font-weight: 500;
}

.data-card {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: 18px;
  background: rgba(12, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
}

.eeg-card {
  left: 22px;
  top: 120px;
  width: 230px;
}

.mri-card {
  right: 22px;
  top: 180px;
  width: 190px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.card-head span {
  color: var(--accent);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.card-head small {
  color: rgba(168, 173, 182, 0.75);
  font-size: 0.54rem;
}

.wave-wrap {
  height: 60px;
  position: relative;
}

.wave-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.mri-orbit {
  position: relative;
  height: 90px;
  display: grid;
  place-items: center;
}

.mri-slice {
  position: absolute;
  width: 75px;
  height: 75px;
  border: 1px solid rgba(124, 255, 203, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(124, 255, 203, 0.2), transparent 60%);
  transform: rotateX(60deg) rotateZ(-20deg);
  animation: pulse 3s ease-in-out infinite;
}

.slice-2 {
  transform: rotateX(60deg) rotateZ(10deg) translateZ(10px);
  opacity: 0.7;
}

.slice-3 {
  transform: rotateX(60deg) rotateZ(40deg) translateZ(20px);
  opacity: 0.4;
}

.fusion-core {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(124, 255, 203, 0.3);
  border-radius: 999px;
  background: rgba(11, 13, 16, 0.88);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--white);
}

.core-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(124, 255, 203, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.r1 {
  width: 140px;
  height: 140px;
  animation: pulse 4s ease-in-out infinite;
}

.r2 {
  width: 220px;
  height: 220px;
  animation: pulse 4s ease-in-out infinite 1s;
}

.core-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.viz-footer {
  position: absolute;
  bottom: 18px;
  left: 22px;
  right: 22px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(168, 173, 182, 0.75);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
}

.flow-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 1;
  animation: flow 3s ease-in-out infinite;
}

.line-a {
  top: 38%;
  left: 24%;
  width: 25%;
  transform: rotate(15deg);
}

.line-b {
  top: 48%;
  right: 22%;
  width: 26%;
  transform: rotate(-12deg);
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(168, 173, 182, 0.75);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue span {
  display: inline-block;
  color: var(--accent);
  margin-left: 8px;
}

.problem {
  padding: 100px 0;
}

.modality-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.modality-strip>div {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
}

.modality-strip span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}

.modality-strip strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 6px;
}

.modality-strip small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}

.platform {
  padding: 100px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.platform-stack,
.platform-list {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.platform-row {
  display: grid;
  grid-template-columns: 60px 200px 1.2fr 1fr 140px;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.platform-row:hover {
  border-color: rgba(124, 255, 203, 0.35);
  transform: translateY(-2px);
}

.platform-row h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--white);
}

.platform-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.platform-desc {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

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

.chips span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(124, 255, 203, 0.08);
  border: 1px solid rgba(124, 255, 203, 0.2);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.platform-row>a {
  justify-self: end;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.pipeline {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pipeline-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.pipe {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pipe:hover,
.pipe.active {
  border-color: var(--accent);
  background: rgba(124, 255, 203, 0.06);
  transform: translateY(-2px);
}

.number {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.pipe h4 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--white);
}

.pipe p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.pipeline-detail {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px dashed rgba(124, 255, 203, 0.3);
  border-radius: 18px;
  background: rgba(124, 255, 203, 0.03);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
}

.technology {
  padding: 100px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.tech-card {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
}

.tech-no {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
}

.tech-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--white);
}

.tech-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.tech-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tech-card li {
  font-size: 0.78rem;
  color: rgba(220, 230, 230, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fusion {
  padding: 100px 0;
}

.fusion-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.fusion-map {
  position: relative;
  height: 380px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px;
  overflow: hidden;
}

.fusion-map .source {
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(16, 18, 22, 0.85);
  text-align: center;
  z-index: 2;
}

.fusion-map .source label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.fusion-map .source small {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--muted);
}

.fusion-map .latent {
  padding: 24px;
  border: 1px solid rgba(124, 255, 203, 0.4);
  border-radius: 50%;
  width: 170px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, rgba(124, 255, 203, 0.15), transparent 70%);
  box-shadow: 0 0 40px rgba(124, 255, 203, 0.12);
  z-index: 2;
}

.fusion-map .latent strong {
  font-size: 0.85rem;
  line-height: 1.2;
  color: #ffffff;
}

.fusion-map .latent small {
  font-family: var(--mono);
  font-size: 0.54rem;
  color: var(--accent);
  margin-top: 4px;
}

.research {
  padding: 100px 0;
}

.research-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.research-item {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.research-item:hover {
  border-color: rgba(124, 255, 203, 0.35);
  transform: translateY(-2px);
}

.research-list span {
  color: var(--accent);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.research-list strong {
  color: var(--white);
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.research-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.applications {
  padding: 100px 0;
}

.application-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.application-list>div {
  min-height: 200px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.application-list>div:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 255, 203, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.application-list span {
  display: inline-block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.application-list h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--white);
}

.application-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.developer {
  padding: 100px 0;
}

.developer .two-col {
  align-items: center;
}

.developer p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 32px;
}

.section-light .developer p {
  color: #505761;
}

.terminal {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 18, 22, 0.96), rgba(12, 14, 17, 1));
  box-shadow: inset 0 0 0 1px rgba(124, 255, 203, 0.05), 0 28px 60px rgba(8, 9, 11, 0.45);
  overflow: hidden;
  min-height: 300px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(156, 163, 175, 0.14);
  color: rgba(212, 215, 218, 0.8);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.terminal-bar span:nth-child(1) {
  background: #8c929c;
}

.terminal-bar span:nth-child(2) {
  background: #aab2b0;
}

.terminal-bar span:nth-child(3) {
  background: #08785b;
}

.terminal-bar label {
  margin-left: auto;
  color: rgba(210, 220, 220, 0.8);
}

.terminal pre {
  margin: 0;
  padding: 30px 26px 34px;
  color: rgba(220, 230, 230, 0.92);
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.9;
  white-space: pre-wrap;
}

.terminal .muted {
  color: rgba(176, 181, 188, 0.82);
}

.terminal .green {
  color: var(--accent);
}

.vision {
  padding: 100px 0;
}

.vision-inner {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.vision p {
  max-width: 820px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 32px;
}

.vision-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.vision-flow span {
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid rgba(156, 163, 175, 0.22);
  background: rgba(21, 24, 29, 0.82);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(220, 230, 230, 0.9);
}

.vision-flow b {
  color: var(--accent);
  font-size: 1rem;
}

.vision-flow strong {
  padding: 10px 22px;
  border-radius: 14px;
  border: 1px solid rgba(124, 255, 203, 0.35);
  background: rgba(124, 255, 203, 0.08);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.final-cta {
  padding: 100px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  margin-bottom: 24px;
}

.final-cta p {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1.18rem;
  line-height: 1.75;
}

.final-cta .actions {
  margin-top: 32px;
  justify-content: center;
  gap: 18px;
}

.text-link {
  padding: 0 2px;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
}

.footer {
  padding: 50px 0 34px;
  border-top: 1px solid rgba(156, 163, 175, 0.2);
  background: #15181d !important;
  color: var(--text);
}

.footer-top,
.footer-bottom,
.footer-grid {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(156, 163, 175, 0.12);
}

.footer-top p {
  color: var(--muted, #d2dcdc);
  margin: 0;
  font-size: 0.96rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 24px 0 18px;
}

.footer-grid>div {
  display: grid;
  gap: 10px;
}

.footer-grid b {
  color: #ffffff;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-grid a {
  color: var(--muted, #d2dcdc);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--accent, #7cffcb);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(156, 163, 175, 0.15);
  color: var(--muted, #d2dcdc);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

section:not(.hero) {
  opacity: 1;
  transform: none;
}

.in-view {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes flow {
  0% {
    opacity: 0.2;
    transform: scaleX(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.2;
    transform: scaleX(0.7);
  }
}

/* Laptop & Screen Responsiveness System */
.pipeline-track>i {
  display: none !important;
}

@media (max-width: 1280px) {

  .grid,
  .vision-inner {
    width: min(1180px, calc(100% - 40px));
  }

  .platform-row {
    grid-template-columns: 40px 180px 1fr 120px;
    gap: 18px;
    padding: 22px 24px;
  }

  .platform-desc {
    display: none;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .nav-cta:nth-of-type(2) {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .section-head,
  .fusion .two-col,
  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    padding-top: 125px;
    min-height: auto;
  }

  .hero-visual {
    height: 460px;
    max-width: 100%;
  }

  .problem-copy {
    margin-top: 0;
  }

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

  .platform-row {
    grid-template-columns: 40px 1fr auto;
    gap: 14px;
    padding: 20px 20px;
  }

  .chips {
    grid-column: 2 / -1;
  }

  .pipeline-track {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

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

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

  .research-item {
    grid-template-columns: 50px 1fr auto;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .nav {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 0 16px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    padding-top: 115px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-visual {
    height: 380px;
  }

  .eeg-card {
    left: 10px;
    top: 90px;
    width: 180px;
  }

  .mri-card {
    right: 10px;
    top: 150px;
    width: 160px;
  }

  .brain-shell {
    width: 220px;
  }

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

  .platform-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 16px;
  }

  .platform-row>a {
    justify-self: start;
  }

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

  .tech-grid,
  .application-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vision-flow {
    line-height: 1.8;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 480px) {

  .modality-strip,
  .pipeline-track {
    grid-template-columns: 1fr;
  }

  .hero-tags {
    flex-wrap: wrap;
  }
}

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

/* Access Denied Modal Styles */
.access-denied-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.access-denied-card {
  background: #171a1f;
  border: 1px solid rgba(123, 129, 136, 0.45);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(123, 129, 136, 0.2);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-denied-overlay.active .access-denied-card {
  transform: scale(1) translateY(0);
}

.access-denied-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d2dcdc;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.access-denied-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.05);
}

.access-denied-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(123, 129, 136, 0.12);
  border: 1px solid rgba(123, 129, 136, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #7b8188;
  box-shadow: 0 0 24px rgba(123, 129, 136, 0.25);
}

.access-denied-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b8188;
  background: rgba(123, 129, 136, 0.1);
  border: 1px solid rgba(123, 129, 136, 0.3);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.access-denied-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.access-denied-card p {
  color: #d2dcdc;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 24px;
}

.access-denied-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.access-denied-btn-primary {
  background: linear-gradient(135deg, #7b8188, #555d5c);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(123, 129, 136, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.access-denied-btn-primary:hover {
  background: linear-gradient(135deg, #555d5c, #555d5c);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123, 129, 136, 0.45);
  color: #ffffff;
}

.access-denied-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f4f5f7;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.access-denied-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Pipeline Step Modal Popup */
.pipeline-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 12, 15, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pipeline-modal-card {
  position: relative;
  background: #101216;
  border: 1px solid rgba(124, 255, 203, 0.4);
  border-radius: 18px;
  padding: 36px 32px 28px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(124, 255, 203, 0.18);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-modal-overlay.active .pipeline-modal-card {
  transform: translateY(0) scale(1);
}

.pipeline-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pipeline-modal-close:hover {
  background: rgba(123, 129, 136, 0.25);
  border-color: #7b8188;
  color: #ffffff;
}

.pipeline-modal-step {
  display: inline-block;
  font: 11px var(--mono, monospace);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7cffcb;
  background: rgba(124, 255, 203, 0.12);
  border: 1px solid rgba(124, 255, 203, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.pipeline-modal-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  margin: 0 0 6px;
}

.pipeline-modal-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #7cffcb;
  margin-bottom: 16px;
}

.pipeline-modal-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d2dcdc !important;
  margin: 0 0 20px;
}

.pipeline-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pipeline-modal-chips span {
  font: 12px var(--mono, monospace);
  color: #e8eaed;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 20px;
}

.pipeline-modal-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #08785b, #08785b);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(8, 120, 91, 0.3);
}

.pipeline-modal-btn:hover {
  background: linear-gradient(135deg, #08785b, #08785b);
  box-shadow: 0 6px 20px rgba(8, 120, 91, 0.45);
  transform: translateY(-1px);
}