:root {
  --bg: #09090b;
  --text: #ffffff;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  padding-bottom: 3.5rem;
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 34rem 18rem at 52% 69%, rgba(255, 145, 0, 0.34), rgba(255, 145, 0, 0.08) 45%, transparent 72%),
    radial-gradient(ellipse 24rem 12rem at 52% 72%, rgba(255, 180, 70, 0.22), transparent 70%);
  filter: blur(8px);
}

.lamp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.robot-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.robot-viewer {
  display: block;
  position: absolute;
  left: 50%;
  top: 49%;
  width: min(64rem, 92vw);
  height: 112vh;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  mix-blend-mode: normal;
  opacity: 1;
  filter: saturate(1.08) contrast(1.08);
}

.lamp-inner {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(58rem, 92vw);
  height: 24rem;
  transform: translateX(-50%) scaleY(1.12);
  isolation: isolate;
}

.lamp-cone {
  position: absolute;
  top: 0;
  width: 30rem;
  height: 14rem;
  opacity: 0.92;
  animation: lampBreath 5s ease-in-out infinite;
}

.lamp-cone-left {
  right: 50%;
  background: conic-gradient(
    from 70deg at center top,
    rgba(34, 211, 238, 0.95),
    rgba(34, 211, 238, 0.05) 38%,
    transparent 66%
  );
  mask-image: linear-gradient(to top, transparent, #000 28%);
  -webkit-mask-image: linear-gradient(to top, transparent, #000 28%);
}

.lamp-cone-right {
  left: 50%;
  background: conic-gradient(
    from 290deg at center top,
    transparent,
    rgba(34, 211, 238, 0.08) 55%,
    rgba(34, 211, 238, 0.95)
  );
  mask-image: linear-gradient(to top, transparent, #000 28%);
  -webkit-mask-image: linear-gradient(to top, transparent, #000 28%);
}

.lamp-blur-bg {
  display: none;
}

spline-viewer::part(logo),
spline-viewer::part(watermark),
spline-viewer::part(badge),
spline-viewer::part(branding),
spline-viewer::part(credit) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.lamp-blur-mid {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 100%;
  height: 12rem;
  transform: translate(-50%, 0);
  background: rgba(34, 211, 238, 0.08);
  backdrop-filter: blur(10px);
}

.lamp-core {
  position: absolute;
  top: 39%;
  left: 50%;
  width: 28rem;
  height: 9rem;
  border-radius: 999px;
  transform: translate(-50%, 0);
  background: rgba(34, 211, 238, 0.52);
  filter: blur(44px);
  animation: lampPulse 3.6s ease-in-out infinite;
}

.lamp-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 29rem;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.95), transparent);
}

.lamp-side {
  display: none;
  position: absolute;
  top: 74%;
  width: 3px;
  height: 16rem;
  transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(145, 250, 255, 1), transparent);
  box-shadow: 0 0 48px rgba(145, 250, 255, 1), 0 0 110px rgba(34, 211, 238, 1);
  opacity: 1;
}

.lamp-side-left {
  left: calc(50% - 49vw);
}

.lamp-side-right {
  right: calc(50% - 49vw);
}

.lamp-side-glow {
  display: none;
  position: absolute;
  top: 74%;
  width: 12rem;
  height: 21rem;
  transform: translateY(-50%);
  pointer-events: none;
  filter: blur(10px);
}

.lamp-side-glow-left {
  left: calc(50% - 49vw - 4rem);
  background: radial-gradient(
    ellipse at center,
    rgba(145, 250, 255, 0.95) 0%,
    rgba(34, 211, 238, 0.75) 38%,
    rgba(34, 211, 238, 0.3) 58%,
    transparent 82%
  );
}

.lamp-side-glow-right {
  right: calc(50% - 49vw - 4rem);
  background: radial-gradient(
    ellipse at center,
    rgba(145, 250, 255, 0.95) 0%,
    rgba(34, 211, 238, 0.75) 38%,
    rgba(34, 211, 238, 0.3) 58%,
    transparent 82%
  );
}

.lamp-top-cut {
  display: none;
}

.container {
  width: min(1240px, 100% - 2rem);
  margin: 0 auto;
  min-height: 100vh;
  padding: clamp(4.8rem, 8vh, 7rem) 0 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  position: relative;
  z-index: 10;
}

.left-col {
  padding-top: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  backdrop-filter: blur(16px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.badge:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.badge-text {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #d4d4d8;
}

.star {
  color: #facc15;
  font-size: 0.95rem;
}

.title {
  margin: 1.45rem 0 1.3rem;
  font-size: clamp(1.575rem, 5.04vw, 3.906rem);
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: -0.045em;
  mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
}

.title-gradient {
  background: linear-gradient(145deg, #ffffff 0%, #fff7e5 45%, #ffcd75 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-boost {
  font-size: 1.15em;
}

.title-nowrap {
  white-space: nowrap;
}

.desc {
  max-width: 39rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.14vw, 1.0925rem);
  line-height: 1.55;
  margin: 0;
}

.cta-note {
  position: absolute;
  left: 50%;
  bottom: calc(0.85rem + 5vh);
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.14vw, 1.0925rem);
  line-height: 1.55;
  white-space: nowrap;
  z-index: 14;
  pointer-events: none;
}

.cta-note .note-check {
  color: rgb(34, 211, 238);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.45);
}

.desc-nowrap {
  white-space: nowrap;
}

.cta-wrap {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn-primary {
  background: #fff;
  color: #111113;
  min-width: 17rem;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  background: #e8e8eb;
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-glass {
  border: 1px solid var(--line);
  color: #fff;
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-generate {
  --highlight-hue: 190deg;
  --highlight: hsl(var(--highlight-hue) 100% 72%);
  --highlight-40: hsl(var(--highlight-hue) 100% 72% / 0.4);
  --highlight-20: hsl(var(--highlight-hue) 100% 72% / 0.2);
  --highlight-75: hsl(var(--highlight-hue) 100% 72% / 0.75);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding-inline: 1.65rem;
  border-color: rgba(148, 235, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 2px 6px rgba(255, 255, 255, 0.07),
    0 10px 20px rgba(0, 0, 0, 0.24);
  min-width: 19rem;
}

.btn-generate::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  pointer-events: none;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.58));
  z-index: -1;
  transition: box-shadow 0.4s ease;
  box-shadow:
    0 -8px 8px -6px rgba(255, 255, 255, 0) inset,
    0 -16px 16px -8px rgba(0, 0, 0, 0) inset,
    1px 1px 1px rgba(255, 255, 255, 0.1),
    -1px -1px 1px rgba(0, 0, 0, 0.12);
}

.btn-generate::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: linear-gradient(0deg, #fff, var(--highlight), var(--highlight-40), 12%, transparent);
  opacity: 0;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.btn-generate:hover {
  border-color: rgba(148, 235, 255, 0.45);
}

.btn-generate:hover::before {
  box-shadow:
    0 -10px 14px -6px rgba(255, 255, 255, 0.26) inset,
    0 -18px 18px -10px var(--highlight-20) inset,
    1px 1px 1px rgba(255, 255, 255, 0.2),
    -1px -1px 1px rgba(0, 0, 0, 0.1);
}

.btn-generate:hover::after {
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(0deg, #fff, transparent);
  mask-image: linear-gradient(0deg, #fff, transparent);
}

.btn-generate:active {
  border-color: rgba(148, 235, 255, 0.72);
  background-color: rgba(40, 120, 140, 0.28);
}

.btn-generate:active::after {
  opacity: 1;
  filter: brightness(1.2);
}

.btn-generate-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  fill: #e8e8e8;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
  animation: btnGenerateFlicker 2s linear infinite;
}

.btn-generate:hover .btn-generate-icon {
  fill: #fff;
  filter: drop-shadow(0 0 3px var(--highlight)) drop-shadow(0 -4px 6px rgba(0, 0, 0, 0.55));
  animation: none;
}

.btn-generate-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 16.8em;
  min-height: 1.3em;
}

.btn-generate-line {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  line-height: 1;
  transition: opacity 0.35s ease;
}

.btn-generate-line-active {
  opacity: 0;
}

.btn-generate.is-generating .btn-generate-line-idle,
.btn-generate:focus-visible .btn-generate-line-idle {
  opacity: 0;
}

.btn-generate.is-generating .btn-generate-line-active,
.btn-generate:focus-visible .btn-generate-line-active {
  opacity: 1;
}

.btn-generate-letter {
  display: inline-block;
  color: rgba(255, 255, 255, 0.56);
  animation: btnGenerateLetter 2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.08s);
  transition: color 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.btn-generate:hover .btn-generate-letter {
  color: rgba(255, 255, 255, 0.88);
}

.btn-generate.is-generating .btn-generate-letter,
.btn-generate:focus-visible .btn-generate-letter {
  animation: btnGenerateFocus 1s ease-in-out forwards, btnGenerateLetter 1.2s ease-in-out infinite 1s;
}

@keyframes btnGenerateLetter {
  50% {
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.55);
    color: #fff;
  }
}

@keyframes btnGenerateFlicker {
  50% {
    opacity: 0.35;
  }
}

@keyframes btnGenerateFocus {
  0%,
  100% {
    filter: blur(0);
    transform: scale(1);
  }
  50% {
    transform: scale(1.55);
    filter: blur(4px) brightness(1.3) drop-shadow(-16px 5px 8px var(--highlight));
  }
}

.right-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 32rem;
  justify-self: end;
  margin-left: 0;
  transform: none;
  position: relative;
  z-index: 12;
}

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.25rem;
  background: var(--glass);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.card-glow {
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(48px);
}

.metric-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.metric-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.progress-row strong {
  color: #fff;
}

.progress-track {
  width: 100%;
  height: 0.55rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(39, 39, 42, 0.7);
}

.progress-fill {
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, #a1a1aa);
}

.divider {
  margin: 1.7rem 0;
  height: 1px;
  background: var(--line);
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0.3rem;
}

.stat-item {
  text-align: center;
  display: grid;
  gap: 0.15rem;
  align-content: center;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-line {
  width: 1px;
  height: 100%;
  background: var(--line);
}

.tags {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 0.3rem 0.7rem;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  color: #d4d4d8;
  font-weight: 700;
}

.dot-wrap {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
}

.dot,
.dot-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.dot {
  background: #22c55e;
}

.dot-pulse {
  background: #4ade80;
  opacity: 0.65;
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.marquee-card {
  padding-block: 1.25rem;
}

.marquee-card h3 {
  margin: 0 0 1.2rem;
  padding-inline: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.8rem;
  padding: 0 1rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.marquee-track span:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateY(-1px) scale(1.03);
}

.fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes lampPulse {
  0%,
  100% {
    opacity: 0.44;
    transform: translate(-50%, 0) scale(0.95);
  }
  50% {
    opacity: 0.62;
    transform: translate(-50%, 0) scale(1.02);
  }
}

@keyframes lampBreath {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .right-col {
    width: 100%;
    max-width: none;
    transform: none;
    justify-self: stretch;
  }

  .robot-viewer {
    top: 56%;
    width: min(44rem, 92vw);
    height: min(38rem, 66vh);
  }

  .lamp-inner {
    top: 0;
    width: min(50rem, 95vw);
    height: 20rem;
  }

  .lamp-cone {
    width: 25rem;
    height: 12rem;
  }

  .lamp-core {
    width: 23rem;
  }

  .lamp-line {
    width: 24rem;
    top: 0;
  }

  .lamp-side {
    height: 12.5rem;
  }

  .lamp-side-glow {
    height: 13.5rem;
    width: 7rem;
  }

  .container {
    grid-template-columns: 1fr;
    width: min(980px, 100% - 2rem);
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 1.6rem;
    align-items: start;
  }

  .cta-wrap {
    flex-wrap: wrap;
  }

  .cta-note {
    position: static;
    transform: none;
    width: min(980px, 100% - 2rem);
    margin: 0.75rem auto 0;
    white-space: normal;
    pointer-events: auto;
  }

  .left-col {
    padding-top: 0;
  }

  .right-col {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .robot-viewer {
    top: 52%;
    width: min(22rem, 96vw);
    height: 24rem;
    opacity: 0.82;
  }

  .lamp-inner {
    top: 0;
    height: 16rem;
  }

  .lamp-cone {
    width: 17rem;
    height: 9.5rem;
  }

  .lamp-blur-bg {
    height: 8.5rem;
  }

  .lamp-blur-mid {
    height: 8.5rem;
  }

  .lamp-core {
    width: 15rem;
    height: 5.8rem;
    top: 40%;
  }

  .lamp-line {
    width: 16rem;
    top: 0;
  }

  .lamp-side {
    height: 8.2rem;
  }

  .lamp-side-glow {
    height: 8.6rem;
    width: 4.8rem;
  }

  .container {
    padding-top: 2.75rem;
    padding-bottom: 1.4rem;
    width: min(100% - 1.25rem, 100%);
  }

  .title {
    margin-top: 1.1rem;
  }

  .title-nowrap {
    white-space: normal;
  }

  .badge-text {
    font-size: 0.61rem;
  }

  .desc-nowrap {
    white-space: normal;
  }

  .cta-note {
    position: static;
    transform: none;
    width: min(100% - 1.25rem, 100%);
    margin: 0.75rem auto 0;
    white-space: normal;
  }

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

  .btn {
    width: 100%;
  }

  .glass-card,
  .marquee-card h3 {
    padding-inline: 1.15rem;
  }

  .glass-card {
    padding-block: 1.3rem;
    border-radius: 1.2rem;
  }

  .metric-value {
    font-size: 1.7rem;
  }

  .marquee-track {
    gap: 1.8rem;
  }

  .marquee-track span {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
