@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Orbitron:wght@400;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #b9d8ea;
  --teal: #6cfffe;
  --electric: #2061fa;
  --sky: #6b96fc;
  --navy: #03277f;
  --midnight: #011034;
  --night: #000000;
  --line: rgba(108, 255, 254, 0.36);
  --display: 'Trajan Pro', Trajan, Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { background: var(--night); }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% -5%, rgba(32, 97, 250, 0.32), transparent 31rem),
    radial-gradient(circle at 8% 55%, rgba(108, 255, 254, 0.08), transparent 29rem),
    linear-gradient(135deg, rgba(108, 255, 254, 0.05) 25%, transparent 25%) 0 0 / 18px 18px,
    var(--night);
  font-family: 'Open Sans', Arial, sans-serif;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(108, 255, 254, 0.045) 49.8% 50.2%, transparent 50.2%),
    linear-gradient(180deg, transparent 0 49.8%, rgba(32, 97, 250, 0.04) 49.8% 50.2%, transparent 50.2%);
}

main { max-width: 1240px; margin: 0 auto; padding: 28px 34px 74px; }

.topline,
.panel-header,
.feature-list,
.section-label,
footer {
  font-family: 'Orbitron', Arial, sans-serif;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.eyebrow { color: var(--teal); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 7px; height: 7px; border-radius: 100%; background: var(--teal); box-shadow: 0 0 0 4px rgba(108, 255, 254, 0.12); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(355px, 0.97fr);
  align-items: center;
  gap: clamp(52px, 8vw, 132px);
  padding: clamp(76px, 11vw, 146px) 0 clamp(68px, 9vw, 110px);
}

.kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--teal);
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { font-family: 'Orbitron', Arial, sans-serif; font-weight: 600; }

h1 {
  max-width: 710px;
  margin-bottom: 25px;
  font-size: clamp(3.25rem, 6.7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.052em;
  text-transform: uppercase;
}

h1 em { color: var(--teal); font-style: normal; }
.lede { max-width: 590px; color: #c1dbe9; font-size: clamp(1.03rem, 1.4vw, 1.18rem); line-height: 1.62; }

.feature-list { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 31px; color: var(--ink); }
.feature-list span { display: inline-flex; align-items: center; gap: 9px; }
.feature-list span::before { content: ''; width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg); }

.hero-panel {
  position: relative;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--teal);
  background: linear-gradient(145deg, rgba(3, 39, 127, 0.95), rgba(1, 16, 52, 0.98));
  box-shadow: 16px 16px 0 rgba(32, 97, 250, 0.42);
}
.hero-panel::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  opacity: 0.65;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(108, 255, 254, 0.035) 3px 4px);
}
.hero-panel > * { position: relative; z-index: 1; }
.panel-header { display: flex; justify-content: space-between; padding: 2px 2px 19px; color: #cae6f8; }
.widget-stage { min-height: 176px; }
.panel-note { margin: 16px 2px 0; color: #c1dbe9; font-size: 0.83rem; line-height: 1.45; }

.history-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(340px, 1.16fr);
  align-items: start;
  gap: clamp(46px, 8vw, 118px);
  padding: clamp(62px, 10vw, 114px) 0;
  border-top: 1px solid var(--line);
}
.history-copy { padding-top: 13px; }
.history-copy h2 {
  max-width: 490px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(2.45rem, 4.4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0.018em;
  text-transform: uppercase;
}
.history-copy p:last-child { max-width: 450px; margin-bottom: 0; color: #c1dbe9; font-size: 1.07rem; line-height: 1.58; }
.history-stage { position: relative; max-width: 600px; width: 100%; justify-self: end; }

.install-section { display: grid; grid-template-columns: 0.7fr 1.4fr; gap: 36px 80px; padding-top: 68px; border-top: 1px solid var(--line); }
.install-copy h2 { max-width: 680px; margin-bottom: 17px; font-size: clamp(2.2rem, 4vw, 3.9rem); line-height: 1; letter-spacing: 0.018em; text-transform: uppercase; }
.install-copy p { max-width: 650px; margin-bottom: 0; color: #c1dbe9; font-size: 1.08rem; line-height: 1.58; }

.app-downloads { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.store-badges { width: 100%; display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  min-height: 64px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(108, 255, 254, 0.24);
  border-radius: 14px;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(145deg, #050505, #111827);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 22px rgba(1, 16, 52, 0.32);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.store-badge--apple { order: 1; }
.store-badge--google { order: 2; }
.store-badge--alexa { order: 3; }
.store-badge--apple,
.store-badge--google,
.store-badge--alexa { min-height: 57px; height: 57px; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 20px; border-color: rgba(255, 255, 255, 0.2); border-radius: 12px; }
.store-badge--apple { width: 180px; padding-right: 30px; }
.store-badge--google { width: 180px; }
.store-badge--alexa { width: 180px; }
.store-badge:hover { transform: translateY(-2px); border-color: var(--teal); background: linear-gradient(145deg, #071d53, #03277f); box-shadow: inset 0 0 0 1px rgba(108, 255, 254, 0.22), 0 12px 26px rgba(32, 97, 250, 0.26); }
.store-badge--apple:hover,
.store-badge--google:hover,
.store-badge--alexa:hover { background: #000000; border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 17px rgba(108, 255, 254, 0.18); }
.store-badge:focus-visible, .qr-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.store-badge__icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--teal); }
.store-badge__icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.store-badge--apple .store-badge__icon { color: #ffffff; }
.store-badge--apple .store-badge__icon svg { fill: currentColor; stroke: none; }
.store-badge--apple .store-badge__icon,
.store-badge--google .store-badge__icon,
.store-badge--alexa .store-badge__icon { width: 28px; height: 28px; }
.store-badge--apple .store-badge__icon svg { width: 28px; height: 28px; }
.store-badge--alexa .store-badge__icon { color: var(--teal); }
.store-badge--alexa .store-badge__icon svg { width: 28px; height: 28px; stroke-width: 2; }
.google-play-icon { width: 28px; height: 28px; display: block; object-fit: contain; }
.store-badge__copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.store-badge__eyebrow { color: #cce8f6; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.05; white-space: nowrap; }
.store-badge__title { margin-top: 3px; color: #ffffff; font-family: 'Open Sans', Arial, sans-serif; font-size: clamp(0.82rem, 1.2vw, 0.98rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; white-space: nowrap; }
.store-badge--apple .store-badge__eyebrow,
.store-badge--google .store-badge__eyebrow,
.store-badge--alexa .store-badge__eyebrow { font-size: 10px; }
.store-badge--apple .store-badge__title,
.store-badge--google .store-badge__title { margin-top: 2px; font-size: 17px; font-weight: 600; line-height: 1; }
.store-badge--alexa .store-badge__title { margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1; }
.qr-card {
  width: min(100%, 390px);
  min-height: 160px;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 17px;
  border: 1px solid rgba(108, 255, 254, 0.22);
  border-radius: 17px;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(6, 17, 45, 0.96), rgba(0, 0, 0, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 12px 30px rgba(1, 16, 52, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.qr-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(32, 97, 250, 0.34); }
.qr-card__image { display: grid; place-items: center; padding: 8px; border-radius: 10px; background: #ffffff; box-shadow: 0 0 0 1px rgba(108, 255, 254, 0.24); }
.qr-card__image img { width: 100%; height: auto; display: block; }
.qr-card__copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.qr-card__eyebrow { color: var(--teal); font-family: 'Orbitron', Arial, sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.11em; line-height: 1.2; }
.qr-card__title { margin-top: 7px; color: #ffffff; font-family: 'Open Sans', Arial, sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.qr-card__detail { margin-top: 9px; color: #9dbfd7; font-size: 0.72rem; font-weight: 500; line-height: 1.45; }

footer { display: flex; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 26px 34px 152px; color: var(--muted); border-top: 1px solid var(--line); }
footer span:first-child { color: var(--teal); }

@media (max-width: 820px) {
  main { padding: 22px 20px 54px; }
  .hero { grid-template-columns: 1fr; gap: 54px; padding: 76px 0 72px; }
  h1 { font-size: clamp(3rem, 13vw, 5.1rem); }
  .history-section, .install-section { grid-template-columns: 1fr; gap: 20px; padding-top: 54px; }
  .history-stage { justify-self: stretch; max-width: none; margin-top: 22px; }
  .app-downloads { margin-top: 14px; }
  footer { padding: 24px 20px 144px; }
}

@media (max-width: 640px) {
  .store-badge--alexa { max-width: none; }
  .qr-card { width: 100%; }
}

@media (max-width: 480px) {
  .topline { align-items: flex-start; gap: 12px; flex-direction: column; }
  .hero-panel { padding: 13px; }
  .panel-header { font-size: 0.62rem; }
  .history-copy h2 { font-size: clamp(2.35rem, 12vw, 3.45rem); }
  .store-badge { padding: 17px; }
  .qr-card { grid-template-columns: 94px minmax(0, 1fr); gap: 13px; padding: 13px; }
  .feature-list { gap: 12px; font-size: 0.65rem; }
  footer { font-size: 0.62rem; }
}
