:root {
  --red: #dc2626;
  --red-bright: #ef4444;
  --red-deep: #991b1b;
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --navy-soft: #334155;
  --snow: #f8fafc;
  --muted: #94a3b8;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --font-display: "Outfit", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--snow);
  background: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(220, 38, 38, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 30%, rgba(201, 162, 39, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(30, 41, 59, 0.9), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, var(--navy) 40%, #0a101c 100%);
}

.bg-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 1;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang {
  appearance: none;
  background: rgba(30, 41, 59, 0.9);
  color: var(--snow);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1.9rem 0.4rem 0.85rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  cursor: pointer;
}

.nav-cta {
  display: none;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.25s var(--ease), background 0.2s;
}

.nav-cta:hover {
  background: var(--red-bright);
  transform: translateY(-1px);
}

@media (min-width: 720px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* —— Hero —— */
.hero {
  min-height: min(100svh, 920px);
  display: grid;
  align-items: center;
  padding: clamp(2rem, 6vh, 4rem) var(--pad) 3rem;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding-top: 2rem;
  }
}

.hero-copy {
  max-width: min(38rem, 100%);
  min-width: 0;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 5.8vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 1.1rem;
  overflow: visible;
}

.hero-brand span {
  display: inline;
  background: linear-gradient(120deg, var(--snow) 15%, var(--gold-light) 55%, var(--red-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 32ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s;
}

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

.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.35);
}

.btn-primary:hover {
  background: var(--red-bright);
}

.btn-ghost {
  background: rgba(248, 250, 252, 0.06);
  border-color: rgba(248, 250, 252, 0.18);
  color: var(--snow);
}

.btn-ghost:hover {
  border-color: rgba(248, 250, 252, 0.35);
  background: rgba(248, 250, 252, 0.1);
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--navy-soft);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.hero-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1.05;
}

.card-fan,
.booster-float {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  will-change: transform;
}

.card-fan {
  width: 38%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border: 2px solid rgba(248, 250, 252, 0.12);
  animation: floatY 7s var(--ease) infinite;
}

.card-fan.c1 {
  left: 2%;
  top: 22%;
  transform: rotate(-18deg);
  z-index: 2;
  width: 34%;
  animation-delay: 0s;
}

.card-fan.c2 {
  left: 22%;
  top: 10%;
  transform: rotate(-6deg);
  z-index: 3;
  width: 36%;
  animation-delay: 0.25s;
}

.card-fan.c3 {
  left: 42%;
  top: 6%;
  transform: rotate(3deg);
  z-index: 4;
  width: 40%;
  animation-delay: 0.5s;
}

.card-fan.c4 {
  right: 2%;
  top: 16%;
  transform: rotate(15deg);
  z-index: 3;
  width: 35%;
  animation-delay: 0.75s;
}

.booster-float {
  width: 34%;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  border-radius: 18px;
  animation: floatY 6s var(--ease) infinite reverse;
  filter: drop-shadow(0 18px 28px rgba(220, 38, 38, 0.35));
}

.hero-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.18);
  animation: pulseRing 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatY {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes pulseRing {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

/* Sections */
section {
  padding: clamp(3.5rem, 8vh, 6rem) var(--pad);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.section-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .split.reverse .split-media {
    order: -1;
  }
}

.feature-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.feature-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.media-stack {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
}

.media-stack img {
  width: min(70%, 260px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.media-stack .back {
  position: absolute;
  width: min(48%, 180px);
  opacity: 0.85;
  transform: rotate(-12deg) translate(-40%, 10%);
}

.media-stack .front {
  position: relative;
  z-index: 2;
  transform: rotate(4deg);
}

.booster-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.booster-row img {
  width: min(28vw, 120px);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.4));
  transition: transform 0.35s var(--ease);
}

.booster-row img:hover {
  transform: translateY(-8px) scale(1.03);
}

/* Why Android */
.why {
  background: linear-gradient(180deg, transparent, rgba(220, 38, 38, 0.06), transparent);
}

.pill-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .pill-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pill {
  padding: 1.25rem 1.3rem;
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.pill h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.pill p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Download */
.download {
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.download-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(220, 38, 38, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(248, 250, 252, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.download-panel .section-title {
  max-width: none;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  align-items: center;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.15rem 0.55rem 0.75rem;
  border-radius: 10px;
  background: #000;
  border: 1px solid #a1a1a1;
  color: #fff;
  min-height: 54px;
  min-width: 168px;
  box-shadow: none;
  transition: transform 0.25s var(--ease), border-color 0.2s, background 0.2s;
}

.play-badge:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background: #111;
}

.play-badge .play-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.play-badge .play-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  line-height: 1;
}

.play-badge small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.play-badge strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.download-hint {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.footer {
  padding: 2rem var(--pad) 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-links a:hover {
  color: var(--snow);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card-fan,
  .booster-float,
  .hero-ring {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
