:root {
  --bg: #08111f;
  --bg-soft: #0d1830;
  --panel: rgba(8, 17, 31, 0.72);
  --panel-strong: rgba(11, 23, 42, 0.88);
  --line: rgba(137, 168, 207, 0.18);
  --text: #edf3ff;
  --muted: #a8b6cf;
  --accent: #7ef0c9;
  --accent-2: #67a7ff;
  --accent-3: #ffb26b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --hero-x: 50%;
  --hero-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(103, 167, 255, 0.18), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(126, 240, 201, 0.14), transparent 20%),
    linear-gradient(180deg, #050b15 0%, var(--bg) 45%, #091528 100%);
  font-family: "Avenir Next", "IBM Plex Sans", "Segoe UI", sans-serif;
  min-height: 100vh;
}

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

.site-shell {
  width: min(1220px, calc(100vw - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.brand-logo {
  display: block;
  width: auto;
  height: 56px;
}

.nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.hero,
.section {
  padding-top: 42px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

.eyebrow,
.mini-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  color: var(--accent);
}

.hero h1,
.section-head h2,
.contact-card h2,
.platform-card h3,
.compare-card h3,
.panel h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.hero h1 {
  margin: 16px 0 0;
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.95;
}

.lede {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.solid {
  color: #06101e;
  background: linear-gradient(135deg, var(--accent), #b8ffe9);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-notes > div,
.panel,
.platform-card,
.compare-card,
.contact-card,
.signal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-notes > div,
.panel,
.platform-card,
.compare-card,
.contact-card {
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.hero-notes > div {
  padding: 16px 18px;
}

.note-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-3);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-notes p,
.panel p,
.platform-card p,
.compare-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(126, 240, 201, 0.12);
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(126, 240, 201, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(13, 24, 48, 0.94), rgba(8, 17, 31, 0.92));
}

.field-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 167, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 167, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 92%);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.8;
}

.glow-a {
  width: 180px;
  height: 180px;
  top: 12%;
  left: 12%;
  background: rgba(126, 240, 201, 0.14);
  animation: driftA 8s ease-in-out infinite;
}

.glow-b {
  width: 220px;
  height: 220px;
  right: 10%;
  bottom: 10%;
  background: rgba(103, 167, 255, 0.16);
  animation: driftB 11s ease-in-out infinite;
}

.litho-stage {
  position: absolute;
  inset: 0;
}

.source-head,
.projection-column,
.beam-lane,
.wafer-module,
.pulse-bars {
  position: absolute;
}

.source-head {
  top: 12%;
  left: 18%;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(28, 47, 82, 0.96), rgba(10, 19, 33, 0.92));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.source-head::before,
.source-head::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126, 240, 201, 0.2), rgba(103, 167, 255, 0.5));
}

.source-head::before {
  top: 26px;
}

.source-head::after {
  bottom: 26px;
}

.source-core {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 1) 0 12%, rgba(255, 178, 107, 0.88) 20%, rgba(103, 167, 255, 0.25) 54%, transparent 72%),
    radial-gradient(circle at 50% 50%, rgba(240, 81, 214, 0.7), rgba(240, 81, 214, 0.08) 60%, transparent 75%);
  box-shadow: 0 0 34px rgba(240, 81, 214, 0.34);
  animation: pulseCore 3.2s ease-in-out infinite;
}

.projection-column {
  top: 31%;
  left: 41%;
  width: 18%;
  height: 9%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(32, 57, 102, 0.96), rgba(14, 28, 47, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.beam-lane {
  top: 20%;
  left: 28%;
  width: 44%;
  height: 38%;
  transform: rotate(14deg);
  transform-origin: left center;
}

.beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  border-radius: 999px;
  transform-origin: left center;
}

.beam-primary {
  top: 44%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98) 12%, rgba(240, 81, 214, 0.88) 44%, rgba(255, 178, 107, 0) 100%);
  filter: blur(0.4px);
  animation: sweepBeam 2.7s linear infinite;
}

.beam-secondary {
  top: 46%;
  height: 18px;
  background: linear-gradient(90deg, rgba(103, 167, 255, 0), rgba(103, 167, 255, 0.35) 22%, rgba(240, 81, 214, 0.28) 50%, rgba(255, 178, 107, 0) 100%);
  filter: blur(8px);
  opacity: 0.9;
  animation: sweepBeam 2.7s linear infinite reverse;
}

.wafer-module {
  right: 10%;
  bottom: 13%;
  width: 260px;
  height: 260px;
}

.wafer-halo {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(103, 167, 255, 0.18), rgba(126, 240, 201, 0.08) 48%, transparent 72%);
  filter: blur(18px);
}

.wafer {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(10, 18, 31, 0.96), rgba(12, 26, 48, 0.92) 70%, rgba(7, 14, 25, 0.98) 100%);
  box-shadow:
    inset 0 0 24px rgba(103, 167, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.wafer::before,
.wafer::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wafer::after {
  inset: 26%;
}

.scan-line {
  position: absolute;
  left: -18%;
  right: -18%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(126, 240, 201, 0.82) 40%, rgba(103, 167, 255, 0.2) 72%, rgba(255, 255, 255, 0));
  filter: blur(2px);
}

.scan-line-a {
  top: 34%;
  animation: scanWafer 4.2s ease-in-out infinite;
}

.scan-line-b {
  top: 58%;
  opacity: 0.72;
  animation: scanWafer 4.2s ease-in-out infinite 1.2s;
}

.die {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(126, 240, 201, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(126, 240, 201, 0.09), rgba(103, 167, 255, 0.04)),
    linear-gradient(90deg, rgba(103, 167, 255, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(103, 167, 255, 0.15) 1px, transparent 1px);
  background-size: auto, 10px 10px, 10px 10px;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.03);
  opacity: 0.62;
  animation: dieGlow 4.8s ease-in-out infinite;
}

.die-1 { top: 22%; left: 20%; animation-delay: 0.2s; }
.die-2 { top: 22%; right: 20%; animation-delay: 1.1s; }
.die-3 { top: 42%; left: 36%; animation-delay: 1.8s; }
.die-4 { top: 58%; left: 18%; animation-delay: 2.5s; }
.die-5 { top: 58%; right: 18%; animation-delay: 3.1s; }
.die-6 { bottom: 14%; left: 38%; animation-delay: 3.8s; }

.pulse-bars {
  left: 10%;
  bottom: 10%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
}

.pulse-bars span {
  width: 8px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(126, 240, 201, 1), rgba(103, 167, 255, 0.44));
  box-shadow: 0 0 14px rgba(126, 240, 201, 0.24);
  animation: pulseBars 1.6s ease-in-out infinite;
}

.pulse-bars span:nth-child(2) { animation-delay: 0.16s; }
.pulse-bars span:nth-child(3) { animation-delay: 0.32s; }
.pulse-bars span:nth-child(4) { animation-delay: 0.48s; }
.pulse-bars span:nth-child(5) { animation-delay: 0.64s; }
.pulse-bars span:nth-child(6) { animation-delay: 0.8s; }

.panel-stack {
  position: absolute;
  inset: 0;
}

.signal-card {
  position: absolute;
  width: min(280px, calc(100% - 40px));
  padding: 18px 18px 16px;
  background: var(--panel-strong);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease;
}

.hero-visual:hover .signal-card {
  transform: translate3d(calc((var(--hero-x) - 50%) * -0.04), calc((var(--hero-y) - 50%) * -0.04), 0);
}

.card-a {
  top: 11%;
  right: 9%;
}

.card-b {
  left: 9%;
  bottom: 18%;
}

.card-c {
  right: 18%;
  bottom: 6%;
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.signal-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.grid.three,
.platform-grid,
.compare-grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.panel,
.platform-card,
.compare-card,
.contact-card {
  padding: 22px;
}

.panel h3,
.platform-card h3,
.compare-card h3 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
}

.alt .platform-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.platform-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.compare-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.compare-card.before {
  background: linear-gradient(180deg, rgba(63, 53, 35, 0.35), rgba(13, 24, 48, 0.7));
}

.compare-card.after {
  background: linear-gradient(180deg, rgba(16, 44, 62, 0.5), rgba(13, 24, 48, 0.7));
}

.contact {
  padding-bottom: 24px;
}

.contact-card {
  max-width: 780px;
  background:
    radial-gradient(circle at top right, rgba(126, 240, 201, 0.12), transparent 24%),
    var(--panel-strong);
}

.contact-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 700;
}

@keyframes driftA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(22px, -18px, 0);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-18px, 20px, 0);
  }
}

@keyframes pulseCore {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes sweepBeam {
  0% {
    transform: translateX(-8%) scaleX(0.72);
    opacity: 0.55;
  }
  50% {
    transform: translateX(6%) scaleX(1);
    opacity: 1;
  }
  100% {
    transform: translateX(12%) scaleX(0.78);
    opacity: 0.62;
  }
}

@keyframes scanWafer {
  0%,
  100% {
    transform: translateY(-22px);
    opacity: 0.22;
  }
  45% {
    transform: translateY(18px);
    opacity: 0.95;
  }
  55% {
    transform: translateY(24px);
    opacity: 0.65;
  }
}

@keyframes dieGlow {
  0%,
  100% {
    opacity: 0.38;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.03);
  }
  35% {
    opacity: 0.86;
    box-shadow:
      inset 0 0 12px rgba(255, 255, 255, 0.06),
      0 0 18px rgba(126, 240, 201, 0.12);
  }
}

@keyframes pulseBars {
  0%,
  100% {
    height: 18px;
    opacity: 0.48;
  }
  50% {
    height: 66px;
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100vw - 24px, 1220px);
  }

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

  .nav {
    gap: 12px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .wafer-module {
    right: 6%;
    bottom: 16%;
    width: 220px;
    height: 220px;
  }

  .source-head {
    top: 10%;
    left: 10%;
    width: 92px;
    height: 92px;
  }

  .projection-column {
    left: 34%;
    width: 24%;
  }

  .card-a,
  .card-b,
  .card-c {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .card-a {
    top: 18px;
  }

  .card-b {
    bottom: 168px;
  }

  .card-c {
    bottom: 18px;
  }
}

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

  .glow,
  .source-core,
  .beam,
  .scan-line,
  .die,
  .pulse-bars span,
  .signal-card,
  .button {
    animation: none !important;
    transition: none !important;
  }
}
