:root {
  --bg: #070814;
  --bg-soft: rgba(17, 20, 39, 0.72);
  --panel: rgba(14, 18, 35, 0.9);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f5f7ff;
  --muted: #9ca3c9;
  --pink: #ff4fd8;
  --purple: #8c5cff;
  --blue: #4ac7ff;
  --green: #73ffcb;
  --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", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(140, 92, 255, 0.2), transparent 35%),
    radial-gradient(circle at bottom right, rgba(74, 199, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #06070f 0%, #090b16 100%);
  overflow-x: hidden;
}

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

.aurora,
.grid-glow,
.orb {
  pointer-events: none;
  position: absolute;
}

.aurora {
  filter: blur(35px);
  opacity: 0.7;
  border-radius: 999px;
  animation: drift 12s ease-in-out infinite;
}

.aurora-one {
  top: 8%;
  left: 6%;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 79, 216, 0.26);
}

.aurora-two {
  right: 10%;
  bottom: 6%;
  width: 28rem;
  height: 28rem;
  background: rgba(74, 199, 255, 0.2);
  animation-delay: -4s;
}

.grid-glow {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
  z-index: -1;
}

.hero {
  width: min(1200px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.brand-logo {
  display: block;
  width: min(14rem, 58vw);
  height: auto;
}

h1 {
  margin: 1.25rem 0 1rem;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  font-size: 0.95rem;
}

.muted-pill {
  color: #d5daf7;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px rgba(115, 255, 203, 0.8);
  animation: pulse 1.8s infinite;
}

.feature-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.feature-chip {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #c7cef5;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 42rem;
}

.phone-frame {
  position: relative;
  width: min(24rem, 92vw);
  padding: 1.15rem;
  border-radius: 2.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(10, 12, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-10deg) rotateX(4deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.12), transparent 40%),
    linear-gradient(315deg, rgba(74, 199, 255, 0.14), transparent 45%);
  pointer-events: none;
}

.phone-notch {
  width: 7rem;
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  margin: 0 auto 1rem;
}

.screen-top,
.screen-copy,
.metric-row,
.floating-feed {
  position: relative;
  z-index: 1;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-badge,
.reel-tag,
.mini-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.phone-logo {
  display: block;
  width: 7.75rem;
  height: auto;
}

.live-badge {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-copy {
  margin: 1.25rem 0 1rem;
}

.screen-label {
  margin: 0 0 0.5rem;
  color: #bbc4ef;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.screen-copy h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.15;
}

.reel-card {
  position: relative;
  min-height: 18rem;
  border-radius: 1.8rem;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 79, 216, 0.75), rgba(74, 199, 255, 0.45));
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 15%, rgba(9, 11, 22, 0.12) 55%, rgba(9, 11, 22, 0.72) 100%);
}

.reel-content {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
}

.reel-tag,
.mini-card-label {
  padding: 0.42rem 0.75rem;
  width: fit-content;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 0.8rem;
}

.reel-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
}

.reel-content p,
.mini-card p,
.metric-card span {
  margin: 0;
  color: rgba(245, 247, 255, 0.84);
  line-height: 1.55;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.metric-card,
.mini-card {
  padding: 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.floating-feed {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.mini-card {
  opacity: 0.44;
  transform: translateY(0);
  transition:
    opacity 280ms ease,
    transform 280ms ease,
    border-color 280ms ease,
    background 280ms ease;
}

.mini-card.active {
  opacity: 1;
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.orb {
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  width: 11rem;
  height: 11rem;
  top: 6rem;
  right: 3rem;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.55), transparent 65%);
  animation: float 9s ease-in-out infinite;
}

.orb-two {
  width: 14rem;
  height: 14rem;
  bottom: 6rem;
  left: 1rem;
  background: radial-gradient(circle, rgba(74, 199, 255, 0.4), transparent 65%);
  animation: float 11s ease-in-out infinite reverse;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(16px, -18px, 0) scale(1.08);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.86);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0 4rem;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone-frame {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    width: min(100% - 1.5rem, 1200px);
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .status-row {
    gap: 0.6rem;
  }

  .status-pill {
    font-size: 0.88rem;
  }

  .phone-frame {
    width: 100%;
    border-radius: 2rem;
  }

  .screen-copy h2 {
    font-size: 1.45rem;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
}

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