:root {
  --ink: #161116;
  --muted: #696069;
  --line: rgba(22, 17, 22, 0.12);
  --paper: #fffafd;
  --soft: #fff0f6;
  --pink: #e91e68;
  --rose: #ff6ca0;
  --teal: #15b8aa;
  --violet: #6d4df2;
  --night: #120d1f;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(50, 18, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 108, 160, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(21, 184, 170, 0.16), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #fff4f8 46%, #fff 100%);
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 250, 253, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 14px 34px rgba(233, 30, 104, 0.32);
  display: grid;
  place-items: center;
  color: #fff;
}

.brand-mark::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid currentColor;
  margin-left: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #473e47;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink);
  background: rgba(233, 30, 104, 0.08);
}

.download-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 16px 38px rgba(109, 77, 242, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.hero-inner {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 54px;
  padding: 58px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.88;
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.lead {
  max-width: 680px;
  color: #403640;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.68;
}

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

.phone-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.phone {
  width: min(360px, 88vw);
  height: 680px;
  border: 11px solid #17121a;
  border-radius: 36px;
  background: linear-gradient(180deg, #fff 0%, #fff2f7 100%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
}

.phone-top {
  padding: 32px 22px 22px;
  background: linear-gradient(100deg, #fff, #ffe8f1);
}

.phone-title {
  color: var(--pink);
  font-size: 2.5rem;
  font-weight: 950;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 22px;
}

.tile {
  min-height: 94px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #20172a, #3b2359);
  box-shadow: 0 10px 24px rgba(29, 14, 38, 0.12);
  position: relative;
}

.tile:nth-child(2) {
  background: linear-gradient(135deg, #eff8ff, #d7e7ff);
}

.tile:nth-child(3) {
  background: linear-gradient(135deg, #0b1430, #1fb6aa);
}

.tile:nth-child(4) {
  background: linear-gradient(135deg, #f7bed4, #f6e9ff);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.url-card {
  margin: 0 22px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(122, 72, 94, 0.16);
}

.url-row {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 12px;
}

.input-mock {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border: 2px solid #f6d8e4;
  border-radius: 8px;
  color: #a89fa6;
}

.play-mock {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  display: grid;
  place-items: center;
  color: #fff;
}

.play-mock::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
  margin-left: 4px;
}

.bottom-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 26px 16px 18px;
  color: #8c858c;
  font-weight: 800;
  text-align: center;
}

.bottom-tabs span:nth-child(3) {
  color: var(--pink);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.section.slim {
  padding-top: 62px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(50, 18, 42, 0.08);
}

.card.dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(233, 30, 104, 0.28), rgba(21, 184, 170, 0.18)),
    var(--night);
}

.card p,
.legal p,
.legal li,
.support-line {
  color: var(--muted);
  line-height: 1.75;
}

.card.dark p {
  color: rgba(255, 255, 255, 0.74);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.stat strong {
  display: block;
  color: var(--pink);
  font-size: 1.65rem;
}

.page-hero {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0 34px;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.legal,
.support-panel {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto 90px;
  border-radius: 8px;
  padding: clamp(26px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.legal h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal ul {
  padding-left: 22px;
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--pink);
  background: rgba(233, 30, 104, 0.07);
  color: #352b35;
  line-height: 1.7;
}

.support-phone {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  margin: 12px 0 22px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--teal));
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 950;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  text-align: center;
}

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

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

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-links a {
    padding: 9px 8px;
    font-size: 0.86rem;
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone {
    height: 600px;
    transform: none;
  }

  .grid,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }

  .button,
  .download-link {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .phone {
    width: min(330px, 94vw);
    height: 570px;
    border-width: 8px;
  }

  .phone-title {
    font-size: 2rem;
  }

  .media-grid {
    gap: 10px;
    padding: 16px;
  }
}
