:root {
  --bg: #1b0e2f;
  --panel: rgba(34, 17, 56, 0.78);
  --text: #f8f3ff;
  --muted: #c7bdd9;

  --gradient: linear-gradient(120deg, #6effff 0%, #ff7ccc 52%, #ffc6a6 100%);
  --glow: 0 0 24px rgba(255, 124, 204, 0.35), 0 0 36px rgba(110, 255, 255, 0.15);

  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Avenir Next", "Nunito", "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 15%, #33204f 0%, transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 124, 204, 0.2) 0%, transparent 38%),
    radial-gradient(circle at 80% 90%, rgba(110, 255, 255, 0.14) 0%, transparent 42%), var(--bg);
  display: flex;
  flex-direction: column;
}

.background-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.82);
}

.page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 4rem 1.25rem 2rem;
  display: grid;
  gap: 1.5rem;
}

.card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), var(--glow);
  backdrop-filter: blur(8px);
}

.hero {
  text-align: center;
  padding: 2.8rem 2rem 2.2rem;
}

.top-row {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  align-items: center;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 151, 210, 0.28));
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.25rem;
}

h3 {
  font-size: 1.06rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.section {
  display: grid;
  gap: 1rem;
}

.section-head {
  display: grid;
  gap: 0.35rem;
}

.tagline {
  margin: 1.1rem auto 1.35rem;
  max-width: 42ch;
  font-size: 1.12rem;
}

.subnote {
  margin: 0.9rem auto 0;
  max-width: 58ch;
  font-size: 0.98rem;
  opacity: 0.95;
}

.actions,
.platform-links,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn,
.pill {
  text-decoration: none;
  color: var(--text);
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease,
    border-color 0.2s ease, background 0.2s ease;
  user-select: none;
}

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

.btn:active,
.pill:active {
  transform: translateY(0px);
  opacity: 0.95;
}

.btn-primary {
  background-image: var(--gradient);
  color: #1b0e2f;
  box-shadow: var(--glow);
}

.btn-secondary,
.pill {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover,
.pill:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.steps {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1.05rem 1rem;
  display: grid;
  gap: 0.55rem;
  text-align: left;
}

.icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background-image: var(--gradient);
  color: #1b0e2f;
  font-size: 1.05rem;
  box-shadow: var(--glow);
}

.listen p {
  margin-bottom: 0.25rem;
}

.lang {
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.footer {
  text-align: center;
  padding: 1rem 1rem 2rem;
  display: grid;
  gap: 0.3rem;
}

.footer a {
  color: #ffd5ed;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .page {
    padding-top: 2.5rem;
  }

  .card {
    padding: 1.35rem;
    border-radius: 1.1rem;
  }

  .hero {
    padding: 2.2rem 1.35rem 1.8rem;
  }

  .brand-mark {
    width: min(420px, 100%);
  }

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

  .step {
    text-align: left;
  }
}
