.android-hero {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 92svh;
  padding: 0;
  overflow: hidden;
  background: #020611;
}

.android-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 6, 17, .9) 0%, transparent 29%, transparent 72%, rgba(2, 6, 17, .82) 100%),
    linear-gradient(180deg, rgba(2, 6, 17, .16) 0%, transparent 58%, rgba(2, 6, 17, .72) 100%);
}

.android-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .3;
  background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(130, 226, 255, .035) 6px);
  mix-blend-mode: screen;
}

.android-hero .hero-copy {
  position: absolute;
  inset: 0;
  z-index: 4;
  max-width: none;
  padding: 0 clamp(24px, 4vw, 68px);
  pointer-events: none;
}

.android-hero .hero-copy > * {
  opacity: 1;
  transform: none;
}

.android-hero.android-intro-complete .hero-copy > * {
  opacity: 1;
  transform: none;
}

.android-hero.android-intro-complete .hero-copy h1 { transition-delay: .08s; }
.android-hero.android-intro-complete .hero-copy .lead { transition-delay: .18s; }
.android-hero.android-intro-complete .hero-actions { transition-delay: .28s; }

.android-hero .eyebrow {
  position: absolute;
  top: clamp(120px, 17vh, 180px);
  left: clamp(24px, 4vw, 68px);
  margin: 0;
  color: rgba(227, 247, 255, .72);
}

.android-hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: #64e4ff;
  box-shadow: 0 0 14px rgba(100, 228, 255, .62);
}

.android-hero .hero-copy h1 {
  position: absolute;
  left: clamp(24px, 4vw, 68px);
  bottom: clamp(92px, 12vh, 142px);
  width: min(7.4ch, 34vw);
  max-width: none;
  margin: 0;
  font-size: clamp(3rem, 5.1vw, 6.25rem);
  line-height: .88;
  text-wrap: balance;
}

.android-hero .lead {
  position: absolute;
  right: clamp(24px, 4vw, 68px);
  bottom: clamp(180px, 24vh, 260px);
  width: min(360px, 25vw);
  margin: 0;
  color: rgba(229, 244, 255, .72);
  font-size: clamp(.94rem, 1.08vw, 1.12rem);
  line-height: 1.58;
}

.android-hero .hero-actions {
  position: absolute;
  right: clamp(24px, 4vw, 68px);
  bottom: clamp(86px, 11vh, 128px);
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(360px, 25vw);
  margin: 0;
  pointer-events: auto;
}

.android-hero .hero-actions .btn {
  min-width: 0;
  padding-inline: 16px;
  font-size: .82rem;
}

.android-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.android-stage::before {
  content: "";
  position: absolute;
  inset: 11% 50% auto;
  z-index: 2;
  width: min(72vw, 980px);
  height: min(72vw, 980px);
  border: 1px solid rgba(97, 226, 255, .16);
  border-radius: 50%;
  pointer-events: none;
  transform: translateX(-50%);
  box-shadow: inset 0 0 90px rgba(65, 217, 255, .04), 0 0 80px rgba(65, 217, 255, .04);
}

.android-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1.5%;
  z-index: 1;
  width: min(58vw, 820px);
  height: 14%;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(57, 218, 255, .23), rgba(255, 55, 78, .08) 38%, transparent 70%);
  transform: translateX(-50%);
  filter: blur(18px);
}

.android-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  cursor: crosshair;
  transition: opacity .35s ease;
}

.android-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 1;
  pointer-events: none;
  transition: opacity .35s ease;
}

.android-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.android-hero.android-live .android-canvas {
  opacity: 1;
}

.android-hero.android-live .android-poster {
  opacity: 0;
}

.android-scanline {
  position: absolute;
  inset: -50% 0 auto;
  z-index: 2;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(89, 225, 255, .04) 43%, rgba(89, 225, 255, .18) 50%, rgba(89, 225, 255, .04) 57%, transparent);
  animation: androidScan 7s linear infinite;
  mix-blend-mode: screen;
}

.android-readout {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(225, 246, 255, .5);
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  pointer-events: none;
}

.android-readout-top { top: clamp(118px, 17vh, 178px); right: clamp(24px, 4vw, 68px); }
.android-readout-top strong { color: #7ee7ff; font-size: .67rem; }
.android-readout-bottom { left: 50%; bottom: 5.5%; transform: translateX(-50%); }
.android-readout-bottom i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74f7c7;
  box-shadow: 0 0 16px #74f7c7;
  animation: androidPulse 1.8s ease-in-out infinite;
}
.android-readout-bottom small { color: rgba(225, 246, 255, .28); font-size: .57rem; }

.android-hero + .marquee {
  position: relative;
  z-index: 5;
  box-shadow: 0 -18px 48px rgba(2, 8, 18, .72);
}

@keyframes androidScan { to { transform: translateY(440%); } }
@keyframes androidPulse { 50% { opacity: .38; transform: scale(.72); } }

@media (max-width: 980px) {
  .android-hero .hero-copy h1 { width: 8ch; font-size: clamp(3rem, 6.7vw, 5rem); }
  .android-hero .lead,
  .android-hero .hero-actions { width: min(310px, 31vw); }
}

@media (max-width: 760px) {
  .android-hero { min-height: 100svh; }

  .android-hero::before {
    background: linear-gradient(180deg, rgba(2, 6, 17, .08) 0%, transparent 37%, rgba(2, 6, 17, .86) 66%, #020611 88%);
  }

  .android-hero .hero-copy { padding: 0 20px; }
  .android-hero .eyebrow { top: 94px; left: 20px; }
  .android-readout-top { top: 94px; right: 20px; }
  .android-readout-top span { display: none; }

  .android-hero .hero-copy h1 {
    left: 20px;
    right: 20px;
    bottom: 270px;
    width: min(8.7ch, calc(100vw - 40px));
    font-size: clamp(3.1rem, 14vw, 4.4rem);
  }

  .android-hero .lead {
    right: 20px;
    bottom: 150px;
    width: calc(100vw - 40px);
    max-width: 520px;
    font-size: .95rem;
  }

  .android-hero .hero-actions {
    right: 20px;
    bottom: 86px;
    grid-template-columns: minmax(0, 1fr) minmax(0, .74fr);
    width: calc(100vw - 40px);
  }

  .android-hero .mobile-hero-status { display: none; }
  .android-stage::before { top: 14%; width: 132vw; height: 132vw; }
  .android-readout-bottom { bottom: 38%; }
}

@media (max-width: 420px) {
  .android-hero { min-height: 100svh; }
  .android-hero .hero-copy h1 { bottom: 270px; }
  .android-hero .lead { bottom: 150px; }
  .android-hero .hero-actions { bottom: 86px; }
  .android-readout-bottom { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .android-scanline,
  .android-readout-bottom i { animation: none; }
  .android-hero .hero-copy > * { transition: none; }
}
