@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;600;700&display=swap);
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 22% 18%, rgba(0, 245, 255, 0.18), transparent 28rem), radial-gradient(circle at 82% 82%, rgba(0, 98, 255, 0.16), transparent 34rem), linear-gradient(135deg, #01030a 0%, #02070d 48%, #000 100%);
  color: #dffcff;
  font-family: "IBM Plex Mono", monospace;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 245, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 245, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

.grid-floor {
  position: fixed;
  right: -15vw;
  bottom: -25vh;
  left: -15vw;
  height: 58vh;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 245, 255, 0.14) 2px, transparent 2px), linear-gradient(90deg, rgba(0, 245, 255, 0.14) 2px, transparent 2px);
  background-size: 70px 70px;
  transform: perspective(620px) rotateX(62deg);
  transform-origin: center bottom;
  box-shadow: 0 -40px 80px rgba(0, 245, 255, 0.12);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1.5px), radial-gradient(circle at 72% 44%, rgba(0, 245, 255, 0.18) 0 1px, transparent 1.6px), radial-gradient(circle at 38% 82%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.4px), repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 4px);
  background-size: 173px 127px, 211px 181px, 149px 197px, auto;
  mix-blend-mode: screen;
  opacity: 0.3;
  animation: signal-noise 460ms steps(2, end) infinite;
}

@keyframes signal-noise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.24;
  }
  25% {
    transform: translate3d(-1.5%, 1%, 0);
    opacity: 0.34;
  }
  50% {
    transform: translate3d(1%, -1.5%, 0);
    opacity: 0.27;
  }
  75% {
    transform: translate3d(-0.5%, -1%, 0);
    opacity: 0.38;
  }
  100% {
    transform: translate3d(1.5%, 0.5%, 0);
    opacity: 0.24;
  }
}
.site-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
  place-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
  width: min(1180px, 100%);
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(0, 245, 255, 0.32);
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.06) 1px, transparent 1px), linear-gradient(rgba(0, 245, 255, 0.045) 1px, transparent 1px), linear-gradient(135deg, rgba(2, 10, 18, 0.92), rgba(0, 20, 32, 0.62));
  background-size: 18px 18px, 18px 18px, auto;
  box-shadow: 0 0 22px rgba(0, 245, 255, 0.24), inset 0 0 44px rgba(0, 245, 255, 0.08);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.terminal-panel {
  position: relative;
  border: 1px solid rgba(0, 245, 255, 0.34);
  background: rgba(0, 8, 14, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), inset 0 0 36px rgba(0, 245, 255, 0.08), 0 0 16px rgba(0, 245, 255, 0.16);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 245, 255, 0.28);
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.18), rgba(0, 245, 255, 0.035));
  color: rgba(223, 252, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border: 1px solid #00f5ff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.85);
}

.terminal-path {
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-copy {
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
}

.eyebrow,
.role {
  color: #00f5ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(0, 245, 255, 0.8);
}

.prompt {
  display: inline-block;
  margin-right: 8px;
  color: #fff;
  animation: cursor-pulse 1s steps(2, end) infinite;
}

@keyframes cursor-pulse {
  50% {
    opacity: 0.25;
  }
}
.eyebrow {
  margin: 0 0 18px;
  font-size: clamp(0.72rem, 1.5vw, 0.92rem);
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 5.8vw, 5.7rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-shadow: 0 0 8px #fff, 0 0 24px #00f5ff, 0 0 60px rgba(0, 245, 255, 0.72);
}

.role {
  margin: 20px 0 0;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 700;
}

.intro {
  max-width: 44rem;
  margin: 28px 0 26px;
  color: rgba(223, 252, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.8;
}

.copy-grid {
  display: grid;
  gap: 10px;
  max-width: 34rem;
  margin: 0 0 34px;
}
.copy-grid p {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 9px 12px;
  border-left: 2px solid rgba(0, 245, 255, 0.58);
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.11), transparent);
  color: rgba(234, 255, 255, 0.84);
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.copy-grid span {
  color: #00f5ff;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.8);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 245, 255, 0.52);
  background: rgba(0, 245, 255, 0.06);
  color: #eaffff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(0, 245, 255, 0.08);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.social-links a:hover, .social-links a:focus {
  background: rgba(0, 245, 255, 0.2);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.45), inset 0 0 20px rgba(0, 245, 255, 0.18);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.logo-stage {
  position: relative;
  min-height: clamp(360px, 44vw, 560px);
  background: radial-gradient(circle, rgba(0, 245, 255, 0.16), transparent 58%), linear-gradient(180deg, rgba(0, 245, 255, 0.06), rgba(0, 0, 0, 0.18));
  overflow: hidden;
}

.logo-stage::before,
.logo-stage::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 245, 255, 0.2);
  pointer-events: none;
}

.logo-stage::after {
  inset: auto 10% 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00f5ff, transparent);
  box-shadow: 0 0 24px #00f5ff;
}

.three-logo,
.three-logo canvas,
.ascii-logo {
  position: absolute;
  inset: 0;
}

.three-logo {
  display: block;
  opacity: 1;
  filter: drop-shadow(0 0 16px #00f5ff) drop-shadow(0 0 34px rgba(0, 245, 255, 0.65));
  animation: logo-interference 2.8s steps(4, end) infinite;
}

@keyframes logo-interference {
  0%, 100% {
    opacity: 1;
    transform: translateX(0);
  }
  48% {
    opacity: 0.96;
    transform: translateX(0);
  }
  50% {
    opacity: 0.82;
    transform: translateX(1px);
  }
  52% {
    opacity: 1;
    transform: translateX(-1px);
  }
}
.three-logo canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.ascii-logo {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(12px, 3vw, 32px);
  color: #00f5ff;
  font-size: clamp(6px, 1.02vw, 12px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.12em;
  text-align: center;
  white-space: pre;
  text-shadow: 0 0 8px #00f5ff, 0 0 18px rgba(0, 245, 255, 0.72), 0 0 42px rgba(0, 245, 255, 0.52);
  transform: translateZ(0);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .logo-stage {
    min-height: 340px;
  }
}
