:root {
  --bg: #07111f;
  --panel: rgba(8, 16, 29, 0.78);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #eef4ff;
  --muted: #9cb0cc;
  --accent: #70e1ff;
  --accent-2: #9b8cff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(112, 225, 255, 0.1), transparent 28%),
    radial-gradient(circle at right, rgba(155, 140, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #050b14 0%, #08111d 100%);
  color: var(--text);
  overflow: hidden;
}

.background {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
}

.shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: blur(0.2px);
}

.shape-a {
  width: 420px;
  height: 420px;
  top: -140px;
  right: 10%;
  border-radius: 28% 72% 56% 44% / 44% 39% 61% 56%;
  background: radial-gradient(circle, rgba(112, 225, 255, 0.09), transparent 70%);
}

.shape-b {
  width: 280px;
  height: 280px;
  left: 8%;
  bottom: 12%;
  transform: rotate(24deg);
  background: radial-gradient(circle, rgba(155, 140, 255, 0.08), transparent 72%);
}

.shape-c {
  width: 180px;
  height: 180px;
  right: 18%;
  bottom: 18%;
  transform: rotate(45deg);
  border-radius: 24px;
}

.shell {
  position: relative;
  width: min(920px, calc(100% - 2rem));
  margin: 7vh auto;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.shell__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot--red { background: #ff6c6c; }
.dot--yellow { background: #ffd56c; }
.dot--green { background: #6cff9c; }

.shell__title {
  margin-left: 0.4rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
}

.hero {
  padding: 3.5rem clamp(1.4rem, 3vw, 4rem) 4rem;
}

.prompt-line {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.98rem;
}

.prompt {
  margin-right: 0.55rem;
  color: #7df9aa;
}

.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(112, 225, 255, 0.75);
  width: 0;
  animation: typing 2.4s steps(24, end) forwards, blink 0.9s step-end infinite;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: linear-gradient(180deg, var(--accent), #ffffff);
  animation: pulse 1.15s infinite;
}

.lead {
  max-width: 700px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  line-height: 1.72;
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.meta__item {
  padding: 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.meta__label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.meta__value {
  display: block;
  font-weight: 600;
  line-height: 1.5;
}

@keyframes typing {
  from { width: 0; }
  to { width: 37ch; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes pulse {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .shell {
    margin: 1rem auto;
  }

  .meta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .typewriter {
    white-space: normal;
    width: auto;
    border-right: 0;
    animation: none;
  }
}
