:root {
  --bg: #080711;
  --bg-soft: #111020;
  --panel: rgba(18, 15, 34, 0.82);
  --panel-strong: rgba(21, 18, 41, 0.96);
  --border: rgba(128, 98, 255, 0.22);
  --border-strong: rgba(116, 86, 255, 0.45);
  --text: #f5f3ff;
  --muted: #b1accf;
  --accent: #7f63ff;
  --accent-2: #5c41ff;
  --green: #12d79a;
  --yellow: #ffbf57;
  --danger: #ff6e7d;
  --shadow: 0 30px 80px rgba(40, 16, 100, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
  background-color: #080711;
  color-scheme: dark;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI Variable Display", "Bahnschrift", "Aptos", sans-serif;
  color: var(--text);
  background-color: #080711;
  background-image:
    radial-gradient(circle at top left, rgba(126, 99, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(20, 215, 154, 0.1), transparent 24%),
    linear-gradient(180deg, #090813 0%, #07060f 100%);
  min-height: 100dvh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
}

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

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

.page-glow,
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  will-change: opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.page-glow {
  z-index: -2;
  filter: blur(90px);
  opacity: 0.6;
  transform: translateZ(0);
}

.page-glow-left {
  background: radial-gradient(circle, rgba(127, 99, 255, 0.28), transparent 55%);
  transform: translate(-28%, -20%);
}

.page-glow-right {
  background: radial-gradient(circle, rgba(18, 215, 154, 0.12), transparent 45%);
  transform: translate(38%, 5%);
}

.noise {
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
  opacity: 0.35;
}

.site-header,
.section,
.site-footer,
.ticker-wrap {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  margin-top: 18px;
  background: rgba(9, 8, 19, 0.65);
  border: 1px solid rgba(151, 127, 255, 0.14);
  backdrop-filter: blur(18px);
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(93, 65, 255, 0.28);
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 1.04rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-link,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-link {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(176, 166, 223, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #e9e3ff;
}

.header-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-link-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 18px 44px rgba(92, 65, 255, 0.38);
}

.header-link:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 18px 44px rgba(92, 65, 255, 0.38);
}

.header-link:hover,
.button:hover {
  transform: translateY(-2px);
}

.section {
  padding: 100px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding-top: 88px;
}

.eyebrow,
.mini-tag,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border-radius: 999px;
}

.eyebrow {
  padding: 10px 16px;
  margin-bottom: 18px;
  background: rgba(129, 101, 255, 0.12);
  border: 1px solid rgba(142, 118, 255, 0.18);
  color: #d8d0ff;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(18, 215, 154, 0.65);
}

.hero h1,
.section-heading h2,
.download-card h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3.3rem, 8vw, 6.4rem);
  max-width: 11ch;
}

.hero h1 span {
  color: #cbbfff;
  text-shadow: 0 0 32px rgba(127, 99, 255, 0.28);
}

.hero-text,
.feature-card p,
.alerts-copy p,
.audience-card p,
.download-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
  margin: 24px 0 0;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(176, 166, 223, 0.16);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 18px 44px rgba(92, 65, 255, 0.38);
}

.button-disabled {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 243, 255, 0.6);
  cursor: not-allowed;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.meta-card,
.feature-card,
.screen-card,
.stat-panel,
.audience-card,
.download-card,
.notification-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.meta-card {
  padding: 20px;
  border-radius: var(--radius-md);
}

.meta-card strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: 6px;
}

.meta-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(127, 99, 255, 0.16);
  animation: spin 24s linear infinite;
}

.hero-orbit-one {
  width: 540px;
  height: 540px;
}

.hero-orbit-two {
  width: 680px;
  height: 680px;
  animation-duration: 34s;
  animation-direction: reverse;
}

.showcase-stack {
  position: relative;
  width: min(100%, 560px);
  height: 680px;
}

.phone-card {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(23, 19, 43, 0.95), rgba(12, 10, 24, 0.96));
  border: 1px solid rgba(137, 112, 255, 0.26);
  box-shadow: 0 30px 90px rgba(16, 10, 44, 0.65);
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card-main {
  inset: 52px 70px 0 90px;
  z-index: 3;
  animation: float 6.2s ease-in-out infinite;
}

.phone-card-left {
  width: 220px;
  left: 0;
  top: 152px;
  z-index: 2;
  transform: rotate(-10deg);
  animation: float 7s ease-in-out infinite;
}

.phone-card-right {
  width: 210px;
  right: 0;
  bottom: 32px;
  z-index: 1;
  transform: rotate(11deg);
  animation: float 7.6s ease-in-out infinite;
}

.phone-header {
  position: absolute;
  inset: 16px 16px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 1;
}

.pill,
.mini-tag {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(18, 15, 36, 0.76);
  border: 1px solid rgba(185, 170, 255, 0.18);
}

.pill-live {
  color: #b7ffe9;
}

.pill-alert {
  color: #ffd2d8;
}

.phone-header-text {
  font-size: 0.85rem;
  color: #d9d3ff;
}

.ticker-wrap {
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 6px;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 18px 0;
  color: #d8d2ff;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 18px;
}

.ticker-track span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(18, 215, 154, 0.85);
  box-shadow: 0 0 16px rgba(18, 215, 154, 0.62);
}

.section-heading {
  max-width: 760px;
}

.mini-tag {
  margin-bottom: 16px;
  color: #d7ceff;
}

.section-heading h2,
.download-card h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.stats-grid,
.feature-grid,
.screen-grid,
.audience-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.stat-panel,
.feature-card,
.audience-card {
  border-radius: var(--radius-lg);
}

.stat-panel {
  padding: 28px;
}

.stat-panel strong {
  display: block;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 10px;
  color: #d6cbff;
}

.stat-panel span {
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(127, 99, 255, 0.24), rgba(18, 215, 154, 0.15));
  color: #ddd5ff;
  font-weight: 800;
}

.feature-card h3,
.audience-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.screen-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  gap: 22px;
}

.screen-card {
  appearance: none;
  width: 100%;
  padding: 18px;
  border-radius: 30px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.screen-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 36px 88px rgba(40, 16, 100, 0.48);
}

.screen-card:focus-visible,
.lightbox-close:focus-visible {
  outline: 2px solid rgba(173, 156, 255, 0.95);
  outline-offset: 4px;
}

.screen-card-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.screen-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(185, 170, 255, 0.14);
  color: #ddd6ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.screen-frame {
  display: block;
  padding: 14px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(16, 14, 30, 0.96), rgba(10, 9, 19, 0.96));
  border: 1px solid rgba(154, 131, 255, 0.12);
}

.screen-card img {
  width: 100%;
  aspect-ratio: 1 / 2.06;
  object-fit: contain;
  border-radius: 22px;
  background: #090813;
}

.screen-copy {
  display: block;
  padding: 20px 6px 6px;
}

.screen-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.screen-copy span {
  color: var(--muted);
  line-height: 1.6;
}

.alerts {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.alert-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.alert-list li {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(178, 166, 229, 0.14);
  color: #ddd9f9;
}

.notification-panel {
  padding: 24px;
  border-radius: 34px;
}

.notification-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.notification-header img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.notification-header strong,
.notification-header span {
  display: block;
}

.notification-header span {
  color: var(--muted);
}

.notification-image {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(171, 156, 255, 0.14);
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.audience-card {
  padding: 28px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(127, 99, 255, 0.2), transparent 35%),
    rgba(15, 12, 28, 0.88);
}

.download-badges {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-left: auto;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.store-badge img {
  width: 160px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.4));
}

.store-badge-disabled {
  opacity: 0.94;
  cursor: default;
}

.store-badge-apple {
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.store-badge-apple:hover {
  transform: translateY(-3px);
  opacity: 0.88;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 0 42px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer a {
  color: #ddd2ff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 10, 0.82);
  backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.28fr);
  gap: 22px;
  padding: 22px;
  border-radius: 34px;
  background: rgba(12, 10, 23, 0.96);
  border: 1px solid rgba(151, 127, 255, 0.22);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox-media {
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(16, 14, 30, 0.98), rgba(9, 8, 17, 0.98));
  border: 1px solid rgba(154, 131, 255, 0.14);
}

.lightbox-media img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 20px;
  background: #090813;
}

.lightbox-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px 14px 14px 4px;
}

.lightbox-copy strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.lightbox-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(var(--tilt, 0deg));
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.phone-card-left {
  --tilt: -10deg;
}

.phone-card-right {
  --tilt: 11deg;
}

@media (max-width: 1100px) {
  .hero,
  .alerts {
    grid-template-columns: 1fr;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-badges {
    align-items: flex-start;
    margin-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
  }

  .lightbox-copy {
    padding: 0 6px 6px;
  }
}

@media (max-width: 820px) {
  .site-header {
    border-radius: 28px;
    padding: 16px;
  }

  .site-nav,
  .header-links,
  .brand span {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-meta,
  .stats-grid,
  .feature-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .showcase-stack {
    height: 520px;
  }

  .phone-card-main {
    inset: 18px 18px 0 18px;
  }

  .phone-card-left,
  .phone-card-right {
    display: none;
  }

  .download-card,
  .notification-panel {
    padding: 24px;
  }

  .store-badge img {
    height: 52px;
  }

  .download-badges {
    align-items: center;
    width: 100%;
    margin-left: 0;
  }

  .store-badge {
    width: 100%;
    max-width: 220px;
  }

  .store-badge img {
    width: 100%;
    height: auto;
    max-height: 52px;
    object-fit: contain;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-dialog {
    padding: 16px;
    border-radius: 24px;
  }

  .lightbox-media {
    padding: 12px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .download-badges {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-left: 0;
  }

  .download-card {
    align-items: center;
    text-align: center;
  }

  .download-copy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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