.hero-v2 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
  align-items: center;
  min-height: 720px;
  padding: 92px clamp(24px, 7vw, 112px) 82px;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 42%, rgba(0, 169, 255, .18), transparent 31%),
    radial-gradient(circle at 12% 75%, rgba(0, 227, 220, .06), transparent 26%),
    linear-gradient(120deg, #020912 0%, #061a2d 58%, #03101e 100%);
}

.hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .42;
  pointer-events: none;
  background-image: linear-gradient(rgba(83, 202, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(83, 202, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, #000 66%, transparent 100%);
}

.hero-v2::after {
  content: '01 / 04';
  position: absolute;
  right: clamp(24px, 7vw, 112px);
  bottom: 30px;
  color: #5f8baa;
  font: 700 10px/1 'DM Sans', sans-serif;
  letter-spacing: 2px;
}

.hero-v2-copy,
.hero-code-shell {
  position: relative;
  z-index: 1;
}

.hero-v2-copy {
  max-width: 590px;
}

.hero-v2-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #5de1ee;
  font: 700 10px/1 'DM Sans', sans-serif;
  letter-spacing: 2.1px;
}

.hero-v2-kicker::before {
  content: '';
  width: 34px;
  height: 1px;
  background: #22c8ff;
  box-shadow: 0 0 12px #22c8ff;
}

.hero-v2 h1 {
  max-width: 650px;
  margin: 0;
  color: #f7fbff;
  font: 600 clamp(52px, 5.5vw, 88px)/.93 'Space Grotesk', sans-serif;
  letter-spacing: -3.6px;
}

.hero-v2 h1 em {
  color: #27b8ff;
  font-style: normal;
  text-shadow: 0 0 28px rgba(27, 182, 255, .2);
}

.hero-v2-description {
  max-width: 480px;
  margin: 26px 0 30px;
  color: #9bb0c4;
  font-size: 15px;
  line-height: 1.7;
}

.hero-v2-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-v2-actions .hero-button {
  box-shadow: 0 12px 32px rgba(0, 135, 255, .22);
}

.hero-v2-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  color: #7896ac;
  font-size: 11px;
}

.hero-v2-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4be2b1;
  box-shadow: 0 0 12px #4be2b1;
}

.hero-v2-signal {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  margin-top: 25px;
  padding: 11px 13px;
  border: 1px solid rgba(86, 213, 236, .2);
  border-radius: 4px;
  background: rgba(4, 18, 31, .62);
  box-shadow: inset 0 0 18px rgba(28, 185, 255, .05);
  color: #668ba2;
  font: 700 9px/1 'DM Sans', sans-serif;
  letter-spacing: .8px;
}

.hero-v2-signal > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5de1ee;
}

.hero-v2-signal > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4be2b1;
  box-shadow: 0 0 10px #4be2b1;
  animation: signal-pulse 1.8s ease-in-out infinite;
}

.hero-v2-signal strong {
  color: #d3e9f1;
  font-weight: 600;
}

.hero-v2-signal em {
  color: #26baff;
  font-size: 14px;
  font-style: normal;
}

@keyframes signal-pulse {
  50% { opacity: .45; transform: scale(.7); }
}

.hero-code-shell {
  width: min(650px, 100%);
  justify-self: end;
  padding: 15px;
  border: 1px solid rgba(95, 200, 255, .26);
  border-radius: 10px;
  background: rgba(3, 13, 25, .7);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34), 0 0 50px rgba(0, 149, 255, .1);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease, border-color .4s ease;
}

.hero-code-shell:hover {
  border-color: rgba(95, 220, 255, .55);
  transform: perspective(1200px) rotateY(-1deg) rotateX(0deg) translateY(-4px);
}

.hero-code-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  background: #061321;
}

.hero-code-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #081a2b;
}

.hero-code-topbar > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff716a;
}

.hero-code-topbar > i:nth-child(2) { background: #f6c85f; }
.hero-code-topbar > i:nth-child(3) { background: #4be2b1; }

.hero-code-file {
  margin-left: 12px;
  color: #89a7bd;
  font: 600 10px/1 'DM Sans', sans-serif;
  letter-spacing: 1.2px;
}

.hero-code-live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #55e3b4;
  font: 700 9px/1 'DM Sans', sans-serif;
  letter-spacing: 1px;
}

.hero-code-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55e3b4;
  box-shadow: 0 0 10px #55e3b4;
}

.hero-code-body {
  position: relative;
  display: grid;
  grid-template-columns: 43px 1fr;
  min-height: 390px;
  padding: 24px 0 22px;
  background: linear-gradient(135deg, #071827, #04101d);
  transition: opacity .7s cubic-bezier(.22,.8,.22,1), filter .7s ease;
}

.hero-mini-site {
  position: absolute;
  z-index: 1;
  top: 46px;
  right: 0;
  left: 0;
  min-height: 390px;
  box-sizing: border-box;
  padding: 18px 20px 14px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  color: #162a32;
  background: #e9f3ed;
  pointer-events: none;
  transform: translateY(8px) scale(.985);
  transition: opacity .8s cubic-bezier(.22,.8,.22,1), transform .8s cubic-bezier(.22,.8,.22,1), visibility .8s;
}

.hero-code-window.is-building .hero-code-body,
.hero-code-window.is-preview .hero-code-body {
  opacity: 0;
  filter: blur(3px);
}

.hero-code-window.is-building .hero-mini-site,
.hero-code-window.is-preview .hero-mini-site {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-code-window.is-building .hero-mini-nav,
.hero-code-window.is-building .hero-mini-hero,
.hero-code-window.is-building .hero-mini-proof,
.hero-code-window.is-building .hero-mini-cards,
.hero-code-window.is-building .hero-mini-stats,
.hero-code-window.is-building .hero-mini-bottom {
  opacity: 0;
  transform: translateY(-16px);
}

.hero-code-window.is-building .hero-mini-nav.is-built,
.hero-code-window.is-building .hero-mini-hero.is-built,
.hero-code-window.is-building .hero-mini-proof.is-built,
.hero-code-window.is-building .hero-mini-cards.is-built,
.hero-code-window.is-building .hero-mini-stats.is-built,
.hero-code-window.is-building .hero-mini-bottom.is-built {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}

.hero-mini-cards.is-built article {
  animation: mini-card-reveal .65s cubic-bezier(.22,.8,.22,1) both;
}

.hero-mini-cards.is-built article:nth-child(2) { animation-delay: .1s; }
.hero-mini-cards.is-built article:nth-child(3) { animation-delay: .2s; }

.hero-mini-site [data-type].is-typing::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: .8em;
  margin-left: 3px;
  vertical-align: -.08em;
  background: #e16f47;
  animation: mini-type-cursor .75s steps(2, jump-none) infinite;
}

.hero-mini-nav,
.hero-mini-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-mini-nav,
.hero-mini-hero,
.hero-mini-proof,
.hero-mini-cards,
.hero-mini-stats,
.hero-mini-bottom {
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}

.hero-mini-nav {
  color: #61756f;
  font: 700 7px/1 'DM Sans', sans-serif;
  letter-spacing: .7px;
}

.hero-mini-nav strong {
  color: #162a32;
  font: 700 17px/1 'Space Grotesk', sans-serif;
  letter-spacing: -1px;
}

.hero-mini-nav strong span { color: #e16f47; }

.hero-mini-nav div {
  display: flex;
  gap: 16px;
  margin-left: 28px;
}

.hero-mini-nav b {
  padding: 8px 10px;
  border-radius: 3px;
  background: #153a3a;
  color: #e9f3ed;
  font-size: 7px;
}

.hero-mini-nav b i {
  margin-left: 5px;
  color: #78e0c0;
  font-style: normal;
}

.hero-mini-hero {
  padding: 34px 0 24px;
  border-bottom: 1px solid #bfd3c8;
}

.hero-mini-hero small,
.hero-mini-cards span {
  color: #e16f47;
  font: 700 7px/1 'DM Sans', sans-serif;
  letter-spacing: 1.1px;
}

.hero-mini-hero h3 {
  margin: 9px 0 8px;
  color: #153337;
  font: 600 33px/.9 'Space Grotesk', sans-serif;
  letter-spacing: -1.9px;
}

.hero-mini-hero h3 em {
  color: #258b83;
  font-style: normal;
}

.hero-mini-hero p {
  max-width: 250px;
  margin: 0 0 13px;
  color: #6a827b;
  font: 9px/1.45 'DM Sans', sans-serif;
}

.hero-mini-hero a {
  color: #153a3a;
  font: 700 8px/1 'DM Sans', sans-serif;
}

.hero-mini-hero a span { margin-left: 6px; color: #e16f47; }

.hero-mini-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0 10px;
  border-bottom: 1px solid #bfd3c8;
  color: #82958c;
  font: 700 7px/1 'DM Sans', sans-serif;
  letter-spacing: .7px;
}

.hero-mini-proof div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #53756b;
  font: 700 9px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.4px;
}

.hero-mini-proof b:nth-child(2) { color: #258b83; }
.hero-mini-proof b:nth-child(3) { color: #e16f47; }

.hero-mini-cards {
  padding: 13px 0 12px;
}

.hero-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 17px 0 18px;
}

.hero-mini-cards article {
  position: relative;
  min-height: 68px;
  padding: 10px;
  border: 1px solid #c6d8ce;
  border-radius: 3px;
  background: rgba(255, 255, 255, .3);
}

.hero-mini-cards strong {
  display: block;
  margin-top: 8px;
  color: #17363a;
  font: 600 12px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.4px;
}

.hero-mini-cards i {
  position: absolute;
  right: 9px;
  bottom: 9px;
  color: #258b83;
  font: normal 12px/1 'DM Sans', sans-serif;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 0 13px;
}

.hero-mini-stats div {
  padding: 9px 10px;
  border-radius: 3px;
  background: #dbeae1;
}

.hero-mini-stats strong {
  display: block;
  color: #17363a;
  font: 600 17px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.8px;
}

.hero-mini-stats strong span {
  color: #258b83;
  font-size: 10px;
}

.hero-mini-stats div > span {
  display: block;
  margin-top: 5px;
  color: #718a80;
  font: 700 7px/1 'DM Sans', sans-serif;
  letter-spacing: .2px;
}

.hero-mini-bottom {
  color: #80978e;
  font: 700 7px/1 'DM Sans', sans-serif;
  letter-spacing: .7px;
}

.hero-mini-bottom b { color: #e16f47; }

@keyframes mini-site-reveal {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mini-card-reveal {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes mini-type-cursor {
  50% { opacity: 0; }
}

.hero-code-lines {
  display: grid;
  align-content: start;
  gap: 9px;
  padding-right: 12px;
  color: #3b6a87;
  font: 11px/1.2 'Space Grotesk', monospace;
  text-align: right;
  user-select: none;
}

.hero-code-content {
  display: grid;
  align-content: start;
  gap: 9px;
  padding-left: 17px;
  border-left: 1px solid rgba(117, 187, 220, .13);
  color: #c6e3ee;
  font: 11px/1.2 'Space Grotesk', monospace;
  white-space: nowrap;
}

.hero-code-content .indent { padding-left: 20px; }
.hero-code-content .indent-more { padding-left: 40px; }
.hero-code-content .cyan { color: #5de1ee; }
.hero-code-content .blue { color: #5eabff; }
.hero-code-content .green { color: #58dfaf; }
.hero-code-content .muted { color: #52788f; }
.hero-code-content .orange { color: #ffca72; }

.hero-code-cursor {
  display: inline-block;
  width: 6px;
  height: 13px;
  margin-left: 4px;
  vertical-align: -2px;
  background: #44d5ff;
  animation: hero-cursor 1.1s steps(2, jump-none) infinite;
}

.hero-code-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #071a2b;
}

.hero-code-footer span {
  color: #7194aa;
  font: 700 9px/1 'DM Sans', sans-serif;
  letter-spacing: 1.2px;
}

.hero-code-footer strong {
  color: #5be0b4;
  font: 700 10px/1 'DM Sans', sans-serif;
  letter-spacing: .8px;
}

.hero-build-console {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  margin-top: 12px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(88, 216, 255, .26);
  border-radius: 5px;
  background: #04111e;
  box-shadow: inset 0 0 20px rgba(0, 139, 255, .06);
}

.hero-build-prompt {
  color: #4be2b1;
  font: 700 13px/1 'Space Grotesk', monospace;
}

.hero-build-console input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dff8ff;
  font: 11px/1 'Space Grotesk', monospace;
}

.hero-build-console input::placeholder {
  color: #60849b;
}

.hero-build-console button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #25c9ff66;
  border-radius: 4px;
  background: #0b3554;
  color: #5de1ee;
  cursor: pointer;
  font-size: 15px;
}

.hero-build-console button:hover {
  border-color: #5de1ee;
  background: #0d5277;
}

.hero-build-progress {
  margin-top: 13px;
  padding: 13px 14px 12px;
  border: 1px solid rgba(95, 200, 255, .14);
  background: rgba(5, 20, 34, .72);
}

.hero-build-progress-head,
.hero-build-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-build-progress-head {
  color: #7897ab;
  font: 700 9px/1 'DM Sans', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-build-progress-head strong {
  color: #58dfaf;
  font-size: 10px;
}

.hero-build-track {
  height: 4px;
  margin: 11px 0 12px;
  overflow: hidden;
  border-radius: 4px;
  background: #102d42;
}

.hero-build-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #159eff, #53e3cb);
  box-shadow: 0 0 12px #21cfff;
  transition: width .35s ease;
}

.hero-build-steps span {
  color: #466b82;
  font: 700 8px/1 'DM Sans', sans-serif;
  letter-spacing: .8px;
  transition: color .25s ease, text-shadow .25s ease;
}

.hero-build-steps span.is-active {
  color: #5de1ee;
  text-shadow: 0 0 10px rgba(66, 216, 255, .6);
}

.hero-build-steps span.is-done {
  color: #56dfaf;
}

.hero-build-progress.is-complete .hero-build-progress-head span {
  color: #5de1ee;
}

.hero-v2-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(95, 200, 255, .16);
  background: rgba(95, 200, 255, .16);
}

.hero-v2-metrics > div {
  min-height: 76px;
  padding: 13px 14px;
  background: #071827;
}

.hero-v2-metrics span,
.hero-v2-metrics small {
  display: block;
  color: #6289a0;
  font: 700 8px/1 'DM Sans', sans-serif;
  letter-spacing: 1px;
}

.hero-v2-metrics strong {
  display: block;
  margin: 8px 0 5px;
  color: #effaff;
  font: 600 20px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.5px;
}

.hero-v2-metrics small {
  color: #4bdcae;
  font-size: 8px;
  letter-spacing: .2px;
  font-weight: 500;
}

.hero-code-chip {
  position: absolute;
  z-index: 2;
  padding: 10px 13px;
  border: 1px solid rgba(87, 209, 255, .3);
  border-radius: 5px;
  background: #081c2de8;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .28);
  color: #9ac8df;
  font: 700 9px/1 'DM Sans', sans-serif;
  letter-spacing: 1.1px;
}

.hero-code-chip strong {
  display: block;
  margin-top: 6px;
  color: #f1fbff;
  font: 600 14px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.3px;
}

.hero-code-chip--top { top: -24px; right: 30px; }
.hero-code-chip--bottom { bottom: -24px; left: 25px; }

@keyframes hero-cursor {
  50% { opacity: 0; }
}

@media (max-width: 1050px) {
  .hero-v2 { grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr); padding-inline: 5vw; }
  .hero-v2 h1 { font-size: clamp(48px, 5vw, 72px); }
  .hero-code-shell { transform: none; }
  .hero-code-chip--top { right: 10px; }
}

@media (max-width: 760px) {
  .hero-v2 {
    display: block;
    min-height: auto;
    padding: 82px 24px 75px;
  }

  .hero-v2 h1 { font-size: clamp(47px, 13vw, 70px); letter-spacing: -2.5px; }
  .hero-v2-description { font-size: 13px; }
  .hero-v2-actions { flex-wrap: wrap; }
  .hero-v2-note { margin-top: 25px; }
  .hero-v2-signal { flex-wrap: wrap; gap: 8px 11px; margin-top: 19px; }
  .hero-code-shell { width: 100%; margin-top: 70px; padding: 9px; }
  .hero-code-body { min-height: 350px; }
  .hero-mini-site { top: 46px; min-height: 350px; padding: 14px 13px 11px; }
  .hero-mini-nav div { gap: 8px; margin-left: 8px; }
  .hero-mini-nav b { padding: 6px 7px; }
  .hero-mini-hero { padding: 25px 0 17px; }
  .hero-mini-hero h3 { font-size: 27px; }
  .hero-mini-cards { gap: 5px; padding: 12px 0 14px; }
  .hero-mini-cards article { padding: 7px; min-height: 58px; }
  .hero-mini-cards strong { font-size: 9px; }
  .hero-mini-proof { font-size: 6px; }
  .hero-mini-proof div { gap: 6px; font-size: 7px; }
  .hero-mini-stats { gap: 4px; }
  .hero-mini-stats div { padding: 7px; }
  .hero-mini-stats strong { font-size: 14px; }
  .hero-build-console { margin-top: 10px; }
  .hero-build-progress { padding-inline: 10px; }
  .hero-v2-metrics > div { padding: 11px 9px; }
  .hero-v2-metrics strong { font-size: 17px; }
  .hero-code-content { overflow: hidden; font-size: 9px; }
  .hero-code-lines { font-size: 9px; }
  .hero-code-chip--top { top: -18px; right: 12px; }
  .hero-code-chip--bottom { bottom: -18px; left: 12px; }
  .hero-v2::after { right: 24px; bottom: 27px; }
}
