:root {
  --bg: #06070b;
  --panel: rgba(8, 12, 18, 0.56);
  --panel-strong: rgba(10, 15, 23, 0.84);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #b3bfd2;
  --accent: #ff2b2b;
  --cyan: #67e7ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at left top, rgba(255, 43, 43, 0.14), transparent 24%),
    radial-gradient(circle at right center, rgba(103, 231, 255, 0.12), transparent 26%),
    linear-gradient(135deg, #05060a 0%, #0a1018 55%, #040508 100%);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.ambient,
.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient {
  filter: blur(36px);
  opacity: 0.7;
}

.ambient-left {
  background: radial-gradient(circle, rgba(255, 43, 43, 0.2), transparent 62%);
  width: 26rem;
  height: 26rem;
  top: -6rem;
  left: -6rem;
  animation: drift 16s ease-in-out infinite;
}

.ambient-right {
  background: radial-gradient(circle, rgba(103, 231, 255, 0.18), transparent 60%);
  width: 30rem;
  height: 30rem;
  right: -8rem;
  bottom: -8rem;
  left: auto;
  top: auto;
  animation: drift 20s ease-in-out infinite reverse;
}

.scanlines {
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 6px;
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero-stage {
  position: relative;
  width: min(1400px, 100%);
  height: min(760px, calc(100vh - 2rem));
  min-height: 640px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at left center, rgba(103, 231, 255, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(4, 7, 12, 0.98), rgba(7, 12, 18, 0.92));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 0.95fr);
}

.hero-copy {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.98) 0%, rgba(5, 8, 12, 0.92) 72%, rgba(5, 8, 12, 0.56) 100%);
}

.hero-content {
  width: min(640px, 100%);
  padding: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.brand-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}

.brand-pill {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4eaf3;
  font-size: 0.85rem;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 6.4rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.subtitle {
  margin: 1rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.1vw, 1.02rem);
  line-height: 1.55;
}

.product-stage {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 1.25rem 1.25rem 1.25rem 0.5rem;
}

.product-frame {
  position: relative;
  flex: 1;
  border-radius: 30px;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.85), rgba(6, 8, 13, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(9, 13, 20, 0.92), rgba(6, 8, 13, 0.98));
}

.product-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  z-index: 2;
  background: none;
}

.product-image,
.product-overlay,
.product-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-image {
  object-fit: cover;
  object-position: left center;
  top: 50%;
  left: 0;
  width: 114%;
  height: 75%;
  vertical-align: middle;
  clip-path: inset(2px 14% 2px 2px);
  transform: translateY(-50%) scale(0.94);
  filter: saturate(1.02) contrast(1.04) brightness(0.92);
  animation: slowZoom 14s ease-in-out infinite;
}

.product-overlay {
  background:
    linear-gradient(90deg, rgba(6, 9, 13, 0.03) 0%, rgba(6, 9, 13, 0.02) 38%, rgba(6, 9, 13, 0.04) 72%, rgba(6, 9, 13, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 9, 13, 0.08), rgba(6, 9, 13, 0.18));
}

.product-glow {
  background:
    radial-gradient(circle at 64% 50%, rgba(255, 72, 42, 0.16), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(103, 231, 255, 0.08), transparent 20%);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.primary-chip,
.secondary-chip,
.feature-card,
.floating-tag {
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.primary-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2b2b, #ff5f2f);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(255, 43, 43, 0.32);
}

.secondary-chip {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #edf2fb;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(900px, 100%);
  margin-top: 0.8rem;
}

.feature-card {
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(7, 11, 18, 0.58);
}

.feature-title {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-card strong {
  font-size: 0.88rem;
  line-height: 1.3;
}

.floating-tag {
  position: absolute;
  z-index: 3;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(18, 24, 34, 0.52);
  color: #eef2f8;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.floating-top {
  top: 1rem;
  right: 1rem;
  animation: floatTag 6s ease-in-out infinite;
}

.floating-bottom {
  right: 1rem;
  bottom: 1rem;
  animation: floatTag 7s ease-in-out infinite reverse;
}

.reveal,
.reveal-delay,
.reveal-delay-2 {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-delay {
  animation-delay: 0.18s;
}

.reveal-delay-2 {
  animation-delay: 0.35s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.4rem, 1.1rem, 0) scale(1.07);
  }
}

@keyframes floatTag {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slowZoom {
  0%, 100% {
    transform: translateY(-50%) scale(0.94);
  }
  50% {
    transform: translateY(-50%) translateX(-0.5%) scale(0.97);
  }
}

@media (max-width: 1100px) {
  .hero {
    padding: 0.85rem;
  }

  .hero-stage,
  .hero-content,
  .product-frame {
    min-height: auto;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
    border-radius: 28px;
  }

  .hero-copy {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, 0.98), rgba(5, 8, 12, 0.92));
  }

  .hero-content {
    justify-content: flex-end;
    width: 100%;
    min-height: auto;
    padding: 1.4rem 1.2rem 1.5rem;
  }

  .product-stage {
    padding: 0 1.2rem 1.2rem;
  }

  .product-frame {
    min-height: 340px;
  }

  .product-image {
    width: 108%;
    height: 74%;
    clip-path: inset(2px 10% 2px 2px);
    transform: translateY(-50%) scale(0.93);
  }

  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-bottom {
    right: 1.2rem;
    bottom: 1.2rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    overflow: visible;
  }

  .hero {
    min-height: auto;
    padding: 0.75rem;
  }

  h1 {
    font-size: clamp(2.5rem, 15vw, 3.8rem);
    line-height: 0.92;
  }

  .hero-stage {
    height: auto;
    min-height: auto;
    border-radius: 22px;
  }

  .hero-content {
    padding: 1.15rem 1rem 1rem;
  }

  .brand-row {
    gap: 0.65rem;
    margin-bottom: 0.9rem;
  }

  .brand-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .brand-pill {
    padding: 0.55rem 0.8rem;
    font-size: 0.76rem;
  }

  .subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .cta-row {
    gap: 0.7rem;
    margin-top: 1.1rem;
  }

  .primary-chip,
  .secondary-chip {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    font-size: 0.94rem;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 0.7rem;
  }

  .product-stage {
    padding: 0 1rem 1rem;
  }

  .product-frame {
    min-height: 190px;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
  }

  .product-image {
    top: 50%;
    left: 50%;
    width: 116%;
    height: calc(100% - 0.8rem);
    object-fit: cover;
    object-position: left center;
    clip-path: inset(2px 16% 2px 2px);
    transform: translate(-50%, -50%) scale(0.88);
  }

  .floating-tag {
    font-size: 0.62rem;
    padding: 0.45rem 0.65rem;
    max-width: calc(100% - 1rem);
  }

  .floating-top {
    top: 0.55rem;
    right: 0.55rem;
  }

  .floating-bottom {
    right: 0.55rem;
    bottom: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
