:root {
  color-scheme: dark;
  font-family: "Outfit", "Noto Sans SC", system-ui, sans-serif;
  background: #05010c;
  color: #fff;
}

* { box-sizing: border-box; }

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

body {
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
  background: #05010c;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 51% 42%, rgba(58, 206, 246, .35), transparent 31%),
    radial-gradient(circle at 25% 22%, rgba(231, 35, 137, .28), transparent 27%),
    radial-gradient(circle at 72% 82%, rgba(146, 46, 221, .27), transparent 27%),
    linear-gradient(135deg, #140616 0%, #0b1022 48%, #07020e 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
              linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

.aurora {
  position: absolute;
  z-index: -2;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
  animation: drift 12s ease-in-out infinite alternate;
}

.aurora-pink { left: -25vw; top: -20vw; background: #e91e8c; }
.aurora-blue { right: -22vw; bottom: -27vw; background: #00d9ff; animation-delay: -4s; }

.stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .52;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle, #ff8cde 0 1px, transparent 1.5px),
    radial-gradient(circle, #54d8ff 0 1px, transparent 1.5px);
  background-size: 251px 211px, 317px 271px, 401px 331px;
  background-position: 11px 29px, 91px 161px, 183px 47px;
}

.content {
  width: min(100% - 32px, 720px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(42px, 7vh, 78px) 0 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.urdu { margin: -12px 0 24px; color: rgba(255,255,255,.7); font-family: "Noto Sans Arabic", system-ui, sans-serif; }

.eyebrow {
  margin: 0 0 20px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
}

.eyebrow span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #5cd5dc;
  box-shadow: 0 0 14px #5cd5dc;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ed4eb5, #86c9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 18px 0 28px;
  color: rgba(255,255,255,.58);
  font-size: clamp(14px, 2vw, 17px);
}

.lead strong { color: rgba(255,255,255,.92); font-weight: 600; }

.phone {
  position: relative;
  width: clamp(205px, 34vw, 278px);
  aspect-ratio: 9 / 18.5;
  padding: 8px;
  border: 7px solid rgba(255,255,255,.45);
  border-radius: 36px;
  background: rgba(255,255,255,.15);
  box-shadow: 0 25px 80px rgba(4, 217, 255, .28), 0 0 0 1px rgba(255,255,255,.18) inset;
}

.phone img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 23px;
  animation: cover-breathe 7s ease-in-out infinite;
}

.phone::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 8px;
  border-radius: 23px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.34) 48%, transparent 68%);
  transform: translateX(-145%);
  animation: cover-shine 7s ease-in-out infinite;
}

.cover-art {
  width: 100%; height: 100%; border-radius: 23px; display: grid;
  place-content: center; gap: 10px; color: #fff;
  background: radial-gradient(circle at 35% 28%, #ff65c7, transparent 25%),
              radial-gradient(circle at 70% 72%, #28d9ff, transparent 30%),
              linear-gradient(145deg, #22062d, #071d3d 56%, #16051f);
  box-shadow: inset 0 0 80px rgba(255,255,255,.08);
}
.cover-art span { font-size: 54px; font-weight: 800; letter-spacing: -.06em; text-shadow: 0 0 26px #ec48bc; }
.cover-art small { font-size: 11px; letter-spacing: .5em; color: rgba(255,255,255,.65); }

.speaker {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 54px;
  height: 15px;
  transform: translateX(-50%);
  border-radius: 0 0 11px 11px;
  background: #080510;
}

.features {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 500px;
}

.features li {
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.spacer { flex: 1; min-height: clamp(70px, 16vh, 180px); }

.download {
  width: min(100%, 365px);
  min-height: 68px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 5px solid rgba(95, 17, 61, .55);
  border-radius: 999px;
  background: linear-gradient(105deg, #c93ce4 5%, #bd43ec 48%, #30bff6 100%);
  box-shadow: 0 0 0 2px rgba(255,255,255,.17) inset, 0 0 30px rgba(240, 50, 175, .48), 0 18px 45px rgba(0,0,0,.35);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}

.download:hover { transform: translateY(-3px) scale(1.015); filter: brightness(1.09); }
.download:active { transform: translateY(0) scale(.99); }
.download:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.download-icon { font-size: 26px; line-height: 1; }

.trust, .platform { margin: 12px 0 0; color: rgba(255,255,255,.42); font-size: 11px; }
.platform { margin-top: 8px; padding-bottom: max(0px, env(safe-area-inset-bottom)); }
.platform span { color: rgba(255,255,255,.52); }

.install-guide { width: min(100% - 32px, 1050px); margin: 0 auto; padding: 70px 0 90px; text-align: center; }
.install-guide h2 { margin: 0; font-size: clamp(30px,5vw,48px); }
.guide-intro { max-width: 760px; margin: 16px auto 26px; color: rgba(255,255,255,.7); line-height: 1.7; }
.compat-note { max-width: 760px; margin: 0 auto 28px; padding: 16px 18px; text-align: left; border: 1px solid rgba(84,216,255,.25); border-radius: 15px; background: rgba(21,115,148,.13); }
.compat-note strong { color: #8fe9ff; }
.compat-note p { margin: 8px 0 0; color: rgba(255,255,255,.72); line-height: 1.55; }
.steps-image { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 28px 80px rgba(0,0,0,.45); }
.guide-list { margin: 32px auto 0; max-width: 760px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 0; list-style-position: inside; text-align: left; }
.guide-list li { padding: 15px; border-radius: 14px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.install-help { max-width: 760px; margin: 22px auto 0; color: rgba(255,255,255,.58); line-height: 1.65; }

.consent[hidden] { display: none; }
.consent { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: auto; padding: 17px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(10,7,20,.96); box-shadow: 0 18px 60px rgba(0,0,0,.55); backdrop-filter: blur(16px); }
.consent strong { color: #fff; }
.consent p { margin: 6px 0 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.45; }
.consent-urdu { font-size: 12px !important; }
.consent-actions { display: flex; gap: 9px; flex: none; }
.consent button { min-height: 42px; padding: 0 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); font-weight: 700; cursor: pointer; }
.consent button:last-child { border: 0; background: linear-gradient(105deg,#c93ce4,#30bff6); }

@keyframes drift {
  to { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
}

@keyframes cover-breathe {
  0%, 100% { filter: brightness(.88) saturate(.95); }
  50% { filter: brightness(1.14) saturate(1.1); }
}

@keyframes cover-shine {
  0%, 22% { transform: translateX(-145%); opacity: 0; }
  45% { opacity: .65; }
  68%, 100% { transform: translateX(145%); opacity: 0; }
}

@media (max-width: 520px) {
  .content { width: min(100% - 24px, 720px); padding-top: 34px; }
  .eyebrow { margin-bottom: 14px; }
  .lead { margin-bottom: 22px; }
  .phone { width: min(56vw, 230px); border-radius: 30px; }
  .features { margin-top: 22px; gap: 8px; }
  .features li { padding: 7px 11px; font-size: 11px; }
  .spacer { min-height: 58px; }
  .download { min-height: 62px; font-size: 16px; }
  .install-guide { width: min(100% - 20px,1050px); padding-top: 50px; }
  .guide-list { grid-template-columns: 1fr; }
  .consent { align-items: stretch; flex-direction: column; }
  .consent-actions button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora { animation: none; }
  .phone img, .phone::after { animation: none; }
  .download { transition: none; }
}
