/* ───────────────────────────────────────────────────────
   RESET & BASE
─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  background: #07091A;
  color: #E8ECF8;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 52px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ───────────────────────────────────────────────────────
   BACKGROUND — animated orbs + dot grid
─────────────────────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orb-drift var(--d) ease-in-out infinite alternate;
}

.bg-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #233c94 0%, transparent 70%);
  opacity: .20; top: -240px; left: -200px;
  --d: 11s;
}
.bg-orb-2 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, #08c2f2 0%, transparent 70%);
  opacity: .13; bottom: -180px; right: -160px;
  --d: 14s; animation-delay: -5s;
}
.bg-orb-3 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #8dc63f 0%, transparent 70%);
  opacity: .07; top: 32%; left: 22%;
  --d: 19s; animation-delay: -9s;
}
.bg-orb-4 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #f16522 0%, transparent 70%);
  opacity: .06; bottom: 15%; left: -80px;
  --d: 16s; animation-delay: -3s;
}

@keyframes orb-drift {
  from { transform: translate(0px, 0px); }
  to   { transform: translate(38px, 28px); }
}

.bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.034) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* ───────────────────────────────────────────────────────
   PAGE WRAPPER
─────────────────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 488px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ───────────────────────────────────────────────────────
   CARD — gradient border wrapper
─────────────────────────────────────────────────────── */
.card-outer {
  width: 100%;
  border-radius: 30px;
  padding: 1.5px;
  background: linear-gradient(
    155deg,
    rgba(255,255,255,.16) 0%,
    rgba(255,255,255,.05) 30%,
    rgba(8,194,242,.20) 75%,
    rgba(141,198,63,.14) 100%
  );
  box-shadow:
    0 40px 100px rgba(0,0,0,.75),
    0 0 80px rgba(35,60,148,.10);
}

.card {
  width: 100%;
  border-radius: 28.5px;
  background: rgba(8, 11, 26, 0.93);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  overflow: hidden;
}

/* ───────────────────────────────────────────────────────
   HERO
─────────────────────────────────────────────────────── */
.hero {
  padding: 50px 38px 40px;
  text-align: center;
}

.icon-wrap {
  position: relative;
  width: 108px; height: 108px;
  margin: 0 auto 30px;
}

.icon-glow {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,86,204,.5) 0%, transparent 65%);
  animation: glow-breathe 3.8s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: .45; transform: scale(.92); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

.app-icon {
  display: block;
  width: 108px; height: 108px;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 20px 56px rgba(0,0,0,.7),
    0 0 0 1.5px rgba(255,255,255,.13);
  animation: icon-float 4.6s ease-in-out infinite;
}

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

.app-name {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.0;
  background: linear-gradient(148deg, #FFFFFF 0%, #C6D4FF 50%, #7AAAFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.app-desc {
  font-size: 15px;
  color: #5E698A;
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────
   FEATURE PILLS
─────────────────────────────────────────────────────── */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}

.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pill-live {
  background: rgba(238,64,54,.10);
  border-color: rgba(238,64,54,.22);
  color: #FF7068;
}
.pill-live .pill-dot {
  background: #FF7068;
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0px rgba(255,112,104,.55); }
  50%       { box-shadow: 0 0 0 4px rgba(255,112,104,.0); }
}

.pill-phone {
  background: rgba(141,198,63,.09);
  border-color: rgba(141,198,63,.22);
  color: #AADA52;
}
.pill-phone .pill-dot { background: #AADA52; }

.pill-tv {
  background: rgba(8,194,242,.09);
  border-color: rgba(8,194,242,.22);
  color: #4EDAFC;
}
.pill-tv .pill-dot { background: #4EDAFC; }

/* ───────────────────────────────────────────────────────
   SEPARATOR
─────────────────────────────────────────────────────── */
.sep {
  height: 1px;
  margin: 0 38px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

/* ───────────────────────────────────────────────────────
   DOWNLOAD CTA
─────────────────────────────────────────────────────── */
.dl-section { padding: 30px 38px 32px; }

.dl-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 19px 28px;
  border-radius: 18px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: #fff;
  background: linear-gradient(140deg, #1E3FB0 0%, #3464F5 45%, #5D90FF 100%);
  box-shadow:
    0 6px 30px rgba(30,63,176,.55),
    0 1px 0 rgba(255,255,255,.20) inset;
  transition: transform .15s ease, box-shadow .18s ease;
  overflow: hidden;
}

.dl-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.20) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .55s ease;
}

.dl-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 50px rgba(30,63,176,.70),
    0 1px 0 rgba(255,255,255,.20) inset;
}
.dl-btn:hover::after { left: 140%; }
.dl-btn:active  { transform: translateY(-1px); }

.dl-btn-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  animation: dl-bob 2.3s ease-in-out infinite;
}
@keyframes dl-bob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(5px); }
}

.dl-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 13px;
}

.dl-meta span {
  font-size: 12px;
  color: #36415E;
  padding: 0 10px;
}

.dl-meta span + span {
  border-left: 1px solid rgba(255,255,255,.07);
}

/* ───────────────────────────────────────────────────────
   INSTALL STEPS
─────────────────────────────────────────────────────── */
.steps-section { padding: 6px 38px 32px; }

.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #2A3356;
  margin-bottom: 18px;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; bottom: 14px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(45,86,204,.42) 0%,
    rgba(8,194,242,.22) 100%
  );
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.step-n {
  width: 29px; height: 29px;
  border-radius: 50%;
  background: rgba(45,86,204,.16);
  border: 1px solid rgba(45,86,204,.36);
  color: #6B98FF;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.step-body {
  padding: 4px 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #4E5B7C;
}

.step-body strong { color: #BEC9E8; font-weight: 600; }

/* ───────────────────────────────────────────────────────
   NETWORK NOTICE
─────────────────────────────────────────────────────── */
.notice {
  margin: 0 38px 38px;
  padding: 15px 17px;
  border-radius: 15px;
  background: rgba(8,194,242,.055);
  border: 1px solid rgba(8,194,242,.17);
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.notice-icon {
  color: #1EC9EE;
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
}

.notice p {
  font-size: 13px;
  color: #465070;
  line-height: 1.65;
}

.notice p strong { color: #1EC9EE; font-weight: 600; }

/* ───────────────────────────────────────────────────────
   WATCH ON COMPUTER
─────────────────────────────────────────────────────── */
.web-section { padding: 24px 38px 32px; }

.web-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.web-header-icon { color: #E8803A; flex-shrink: 0; }
.web-header .eyebrow { margin-bottom: 0; }

.web-desc {
  font-size: 14px;
  color: #4E5B7C;
  line-height: 1.65;
  margin-bottom: 14px;
}

.web-url {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(232,128,58,.07);
  border: 1px solid rgba(232,128,58,.20);
  text-decoration: none;
  color: #EE9058;
  font-size: 14.5px;
  font-weight: 700;
  font-family: ui-monospace, "SF Mono", "Fira Code", Consolas, monospace;
  transition: background .14s, border-color .14s;
  margin-bottom: 11px;
  word-break: break-all;
}

.web-url:hover {
  background: rgba(232,128,58,.13);
  border-color: rgba(232,128,58,.32);
}

.web-url svg { flex-shrink: 0; opacity: .65; }

.web-warn {
  font-size: 12.5px;
  color: #3A4262;
  line-height: 1.65;
}

.web-warn strong {
  color: #EE9058;
  font-family: ui-monospace, "SF Mono", "Fira Code", Consolas, monospace;
  font-weight: 600;
}

/* ───────────────────────────────────────────────────────
   FOOTER
─────────────────────────────────────────────────────── */
.footer {
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
  color: #1E2540;
}

.footer a {
  color: #2C3A60;
  text-decoration: none;
  transition: color .14s;
}
.footer a:hover { color: #5468A0; }

/* ───────────────────────────────────────────────────────
   RESPONSIVE — small phones
─────────────────────────────────────────────────────── */
@media (max-width: 440px) {
  body { padding: 22px 12px 40px; }

  .hero            { padding: 38px 26px 32px; }
  .icon-wrap,
  .app-icon        { width: 90px; height: 90px; }
  .app-icon        { border-radius: 23px; }
  .app-name        { font-size: 34px; }

  .sep             { margin: 0 26px; }
  .dl-section      { padding: 24px 26px 26px; }
  .steps-section   { padding: 6px 26px 26px; }
  .notice          { margin: 0 26px 28px; }
  .web-section     { padding: 22px 26px 28px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .app-icon, .icon-glow,
  .pill-live .pill-dot,
  .dl-btn-icon,
  .bg-orb { animation: none !important; }
}
