:root {
  --bg: #040503;
  --panel: rgba(10, 12, 8, 0.92);
  --panel-soft: rgba(16, 18, 12, 0.78);
  --line: rgba(172, 255, 0, 0.14);
  --line-strong: rgba(201, 255, 22, 0.28);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.62);
  --text-dim: rgba(255, 255, 255, 0.38);
  --lime: #d9ff00;
  --lime-soft: #a8c214;
  --glow: 0 0 28px rgba(213, 255, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 63% 26%, rgba(180, 255, 0, 0.18), transparent 22%),
    radial-gradient(circle at 40% 88%, rgba(60, 90, 15, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(20, 24, 10, 0.24), rgba(0, 0, 0, 0.16)),
    #040503;
  color: var(--text);
  font-family: "Noto Sans SC", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(90deg, rgba(178, 255, 0, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(178, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 180px 180px;
  opacity: 0.24;
}

body::after {
  background:
    radial-gradient(circle at 50% 15%, rgba(157, 255, 0, 0.12), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(9, 14, 4, 0), rgba(4, 5, 3, 0.86) 72%);
  z-index: -1;
}

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

button {
  font: inherit;
  color: inherit;
}

.shell {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 0 34px;
  border-right: 1px solid rgba(187, 255, 0, 0.16);
  background:
    linear-gradient(180deg, rgba(6, 8, 5, 0.86), rgba(5, 6, 4, 0.96)),
    rgba(5, 7, 4, 0.96);
  box-shadow: inset -1px 0 0 rgba(205, 255, 0, 0.08);
}

.sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(213, 255, 0, 0.6), transparent);
  opacity: 0.5;
}

.brand img {
  width: 30px;
  filter: drop-shadow(0 0 12px rgba(210, 255, 0, 0.45));
}

.side-nav {
  display: flex;
  flex: 1;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 80px;
}

.nav-item {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 700;
}

.nav-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 16px;
}

.nav-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item.active {
  color: var(--lime);
}

.nav-item.active .nav-icon {
  border-color: rgba(198, 255, 0, 0.4);
  background: linear-gradient(180deg, rgba(140, 184, 0, 0.18), rgba(28, 31, 8, 0.88));
  box-shadow:
    inset 0 0 0 1px rgba(236, 255, 116, 0.15),
    0 0 24px rgba(208, 255, 0, 0.2);
}

.profile {
  margin-top: 18px;
}

.profile img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(125, 52, 255, 0.35);
}

.page {
  max-width: 1920px;
  margin: 0 auto;
  padding: 16px 20px 20px 40px;
  overflow-x: hidden;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
  padding-right: 2px;
}

.search-box,
.insight-btn {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.92);
}

.search-box {
  display: flex;
  width: 430px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 14px;
  font-weight: 700;
}

.search-box svg,
.insight-btn svg {
  width: 20px;
  height: 20px;
  opacity: 0.75;
}

.insight-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  color: var(--lime);
  font-weight: 800;
  border-color: rgba(201, 255, 22, 0.16);
}

.insight-btn svg {
  fill: currentColor;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(500px, 0.98fr) 446px;
  grid-template-rows: max-content 1fr;
  column-gap: 18px;
  row-gap: 10px;
  margin-top: 20px;
  align-items: start;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  padding-top: 50px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(188, 255, 0, 0.22);
  border-radius: 999px;
  background: rgba(95, 124, 0, 0.08);
  color: #b9de17;
  font-family: "Antonio", sans-serif;
  font-size: 12px;
  letter-spacing: 1.2px;
  box-shadow: inset 0 0 0 1px rgba(212, 255, 0, 0.05);
}

.title-wrap {
  position: relative;
  margin-top: 20px;
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 82px;
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -3.2px;
  font-style: italic;
  transform: skewX(-8deg);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-title.accent {
  margin-top: 8px;
  color: var(--lime);
}

.orbit {
  position: absolute;
  top: 16px;
  left: 252px;
  width: 230px;
  height: 132px;
  border: 3px solid var(--lime);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(17deg);
  filter: drop-shadow(0 0 10px rgba(205, 255, 0, 0.25));
  opacity: 0.9;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(218, 255, 0, 0.95);
}

.orbit::before {
  top: -7px;
  right: 3px;
  width: 14px;
  height: 14px;
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}

.orbit::after {
  right: -7px;
  bottom: 13px;
  width: 7px;
  height: 7px;
}

.hero-text {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 0 22px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #e3ff1f, #d5ff00);
  color: #101700;
  font-size: 15px;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 28px rgba(215, 255, 0, 0.34);
}

.cta .bolt,
.cta .chevrons {
  font-size: 18px;
}

.quick-entry {
  grid-column: 1 / 3;
  grid-row: 2;
  margin-top: 20px;
  padding-right: 8px;
}

.section-mark {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-width: 680px;
}

.quick-card {
  display: flex;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 5px;
  clip-path: polygon(12% 0, 88% 0, 100% 14%, 100% 86%, 88% 100%, 12% 100%, 0 86%, 0 14%);
  background:
    linear-gradient(180deg, rgba(77, 98, 0, 0.3), rgba(20, 22, 11, 0.88)),
    rgba(10, 12, 8, 0.92);
  border: 1px solid rgba(187, 255, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(183, 255, 0, 0.08);
  color: #eff5ea;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.quick-icon {
  color: var(--lime);
}

.quick-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-art {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  min-height: 520px;
  min-width: 0;
}

.hero-rings,
.hero-art::before,
.hero-art::after {
  position: absolute;
  border-radius: 50%;
}

.hero-rings {
  inset: 8px auto auto -30px;
  width: 580px;
  height: 580px;
  background:
    radial-gradient(circle, transparent 36%, rgba(188, 255, 0, 0.06) 36.5%, transparent 37.5%),
    radial-gradient(circle, transparent 47%, rgba(188, 255, 0, 0.08) 47.5%, transparent 48.4%),
    radial-gradient(circle, transparent 58%, rgba(188, 255, 0, 0.06) 58.5%, transparent 59.4%),
    radial-gradient(circle, transparent 68%, rgba(188, 255, 0, 0.06) 68.5%, transparent 69.2%);
  filter: blur(0.2px);
  opacity: 0.8;
}

.hero-art::before {
  content: "";
  inset: 64px auto auto 52px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 255, 0, 0.16), transparent 62%);
  filter: blur(28px);
}

.hero-art::after {
  content: "";
  left: 56px;
  bottom: 32px;
  width: 380px;
  height: 82px;
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 255, 0, 0.7), rgba(214, 255, 0, 0.02) 68%),
    linear-gradient(180deg, rgba(214, 255, 0, 0.18), rgba(214, 255, 0, 0));
  filter: blur(16px);
}

.hero-art img {
  position: absolute;
  top: 18px;
  left: -40px;
  width: 600px;
  max-width: none;
  filter: drop-shadow(0 0 26px rgba(204, 255, 0, 0.18));
}

.workflow {
  grid-column: 3;
  grid-row: 1 / 3;
  padding-top: 20px;
  padding-left: 0;
  margin-left: -30px;
  min-width: 0;
}

.workflow-head span,
.gallery-head span {
  color: #c4ea1a;
  font-family: "Antonio", sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
}

.workflow-head h3,
.gallery-head h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.workflow-card,
.lab-card {
  display: grid;
  grid-template-columns: 64px 1fr 22px;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(199, 255, 0, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(24, 27, 13, 0.84), rgba(10, 11, 7, 0.94)),
    rgba(10, 11, 7, 0.92);
  box-shadow: inset 0 0 0 1px rgba(184, 255, 0, 0.04);
  min-width: 0;
}

.workflow-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(159, 206, 0, 0.08);
}

.workflow-card strong,
.lab-card strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.workflow-card span,
.lab-card span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.workflow-card i {
  color: var(--lime);
  font-style: normal;
  font-size: 20px;
  font-weight: 900;
}

.lab-card {
  grid-template-columns: 1fr 72px;
  min-height: 102px;
  margin-top: 14px;
  padding-right: 14px;
}

.lab-card img {
  justify-self: end;
  width: 60px;
  filter: drop-shadow(0 0 20px rgba(212, 255, 0, 0.35));
}

.lab-card button {
  margin-top: 12px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(190, 255, 0, 0.1);
  border-radius: 8px;
  background: rgba(164, 201, 0, 0.1);
  color: #c8ee1b;
  font-size: 12px;
  font-weight: 800;
}

.gallery-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(189, 255, 0, 0.09);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.gallery-head a {
  color: var(--lime);
  font-size: 15px;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin-top: 12px;
}

.gallery-card {
  position: relative;
  height: 138px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(17, 18, 13, 0.9);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 23, 32, 0.65);
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1360px) {
  .hero-grid {
    grid-template-columns: minmax(420px, 1fr) minmax(380px, 0.9fr) 360px;
    column-gap: 16px;
  }

  .hero-title {
    font-size: 80px;
  }

  .orbit {
    left: 248px;
    width: 226px;
    height: 136px;
  }

  .hero-art {
    min-height: 560px;
  }

  .hero-rings {
    left: 6px;
    width: 520px;
    height: 520px;
  }

  .hero-art::before {
    left: 86px;
    width: 360px;
    height: 360px;
  }

  .hero-art::after {
    left: 88px;
    width: 350px;
  }

  .hero-art img {
    left: -12px;
    width: 560px;
  }

  .quick-grid {
    gap: 10px;
  }

  .quick-card {
    min-height: 94px;
    font-size: 13px;
  }
}

@media (max-width: 1280px) {
  .shell {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .page {
    padding: 20px 20px 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 24px;
  }

  .hero-copy,
  .hero-art,
  .workflow,
  .quick-entry {
    grid-column: auto;
    grid-row: auto;
  }

  .workflow {
    padding-top: 0;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .hero-art {
    min-height: 560px;
  }

  .hero-art img {
    left: 50%;
    width: min(620px, 88vw);
    transform: translateX(-50%);
  }

  .hero-rings {
    inset: 8px auto auto 50%;
    width: min(540px, 88vw);
    height: min(540px, 88vw);
    transform: translateX(-50%);
  }

  .hero-art::before {
    inset: 50px auto auto 50%;
    width: min(360px, 64vw);
    height: min(360px, 64vw);
    transform: translateX(-50%);
  }

  .hero-art::after {
    left: 50%;
    width: min(360px, 62vw);
    transform: translateX(-50%);
  }

  .quick-entry {
    grid-column: auto;
    margin-top: 0;
    padding-right: 0;
  }

  .quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

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

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

  .sidebar {
    flex-direction: row;
    justify-content: space-between;
    padding: 18px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(187, 255, 0, 0.16);
  }

  .sidebar::after {
    display: none;
  }

  .side-nav {
    flex: 0;
    width: auto;
    flex-direction: row;
    gap: 10px;
    margin-top: 0;
  }

  .nav-item {
    width: auto;
    gap: 6px;
    font-size: 12px;
  }

  .nav-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

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

  .profile img {
    width: 44px;
    height: 44px;
  }

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

  .search-box {
    width: 100%;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-text {
    font-size: 18px;
  }

  .cta {
    height: 62px;
    font-size: 20px;
  }

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

  .hero-art {
    min-height: 420px;
  }

  .workflow-card,
  .lab-card {
    grid-template-columns: 72px 1fr 20px;
    padding: 20px;
  }

  .lab-card {
    grid-template-columns: 1fr 72px;
  }

  .workflow-card strong,
  .lab-card strong {
    font-size: 20px;
  }

  .orbit {
    left: 180px;
    width: 220px;
    height: 130px;
  }
}
