:root {
  --ink: #13202f;
  --muted: #5f6d7d;
  --paper: #f7fbff;
  --white: #ffffff;
  --line: rgba(19, 32, 47, 0.12);
  --teal: #19b6a4;
  --cyan: #5fbfff;
  --coral: #ff6b62;
  --lemon: #ffc857;
  --violet: #8f5cff;
  --blue: #226bdc;
  --shadow: 0 22px 70px rgba(24, 37, 61, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  background: #172236;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-tint {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-shot {
  position: absolute;
  width: clamp(190px, 20vw, 310px);
  aspect-ratio: 333 / 592;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.hero-shot-a {
  right: 34vw;
  top: 14vh;
  transform: rotate(-12deg);
  opacity: 0.68;
}

.hero-shot-b {
  right: 13vw;
  top: 6vh;
  width: clamp(230px, 25vw, 380px);
  transform: rotate(4deg);
  opacity: 0.98;
}

.hero-shot-c {
  right: -2vw;
  top: 24vh;
  transform: rotate(12deg);
  opacity: 0.72;
}

.hero-shot-d {
  left: 6vw;
  bottom: -18vh;
  transform: rotate(-7deg);
  opacity: 0.28;
}

.hero-tint {
  z-index: -2;
  background:
    radial-gradient(circle at 74% 42%, rgba(255, 200, 87, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(12, 22, 37, 0.94) 0%, rgba(15, 28, 46, 0.84) 38%, rgba(15, 28, 46, 0.28) 100%);
}

.site-header {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img,
.hero-kicker img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.nav-links a {
  min-width: 70px;
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.17);
  color: var(--white);
  outline: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vh, 130px) 0 118px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(48px, 8vw, 98px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero p {
  width: min(620px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2.1vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.store-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 16px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.store-button {
  gap: 12px;
  padding: 10px 22px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.store-button small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.store-button:hover,
.store-button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.play-mark {
  width: 25px;
  height: 28px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background:
    linear-gradient(145deg, var(--teal) 0 32%, var(--cyan) 32% 58%, var(--lemon) 58% 76%, var(--coral) 76%);
}

.ghost-button {
  min-width: 118px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.hero-stats {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(780px, calc(100% - 40px));
  transform: translate(-50%, 50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  min-height: 112px;
  padding: 24px 20px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

main {
  padding-top: 52px;
}

.section-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro {
  padding-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.section-copy,
.screen-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

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

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-copy p,
.screen-copy p,
.download-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.compact {
  width: min(720px, 100%);
  margin-bottom: 30px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(25, 38, 62, 0.08);
}

.step-card {
  min-height: 250px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 48px;
  height: 48px;
  margin-bottom: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f8f5;
  color: #087a6c;
  font-weight: 950;
}

.step-card:nth-child(2) .step-number {
  background: #fff1d4;
  color: #9a5a00;
}

.step-card:nth-child(3) .step-number {
  background: #eef0ff;
  color: #4b38bf;
}

.step-card p,
.feature-card p {
  margin: auto 0 0;
  color: var(--muted);
}

.screens {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
}

.screen-viewer {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(220px, 390px) 52px;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.phone-stage {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 333 / 592;
  margin: 0 auto;
  overflow: hidden;
  border: 12px solid #172236;
  border-radius: 42px;
  background: #172236;
  box-shadow: var(--shadow);
}

.phone-stage::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 10px;
  width: 86px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #172236;
}

.phone-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
  pointer-events: none;
}

.phone-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

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

.phone-slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.viewer-button {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(25, 38, 62, 0.1);
  cursor: pointer;
}

.viewer-button span {
  display: block;
  width: 13px;
  height: 13px;
  margin: auto;
  border-top: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}

.viewer-button.prev span {
  transform: rotate(-135deg);
}

.viewer-button.next span {
  transform: rotate(45deg);
}

.viewer-button:hover,
.viewer-button:focus-visible {
  border-color: rgba(34, 107, 220, 0.45);
  outline: none;
}

.viewer-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(19, 32, 47, 0.24);
  cursor: pointer;
}

.dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--blue);
}

.features {
  padding-top: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 42px;
  border-radius: 18px;
  position: relative;
}

.icon-tubes {
  background: #e7fbf8;
}

.icon-tubes::before,
.icon-tubes::after,
.icon-levels::before,
.icon-levels::after,
.icon-offline::before,
.icon-calm::before {
  content: "";
  position: absolute;
}

.icon-tubes::before {
  left: 14px;
  top: 13px;
  width: 9px;
  height: 30px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(var(--coral) 0 34%, var(--lemon) 34% 68%, var(--teal) 68%);
}

.icon-tubes::after {
  right: 14px;
  top: 13px;
  width: 9px;
  height: 30px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(var(--cyan) 0 45%, var(--violet) 45%);
}

.icon-levels {
  background: #fff4de;
}

.icon-levels::before {
  inset: 14px;
  background:
    linear-gradient(var(--lemon), var(--lemon)) left top / 12px 12px no-repeat,
    linear-gradient(var(--coral), var(--coral)) right top / 12px 12px no-repeat,
    linear-gradient(var(--teal), var(--teal)) left bottom / 12px 12px no-repeat,
    linear-gradient(var(--blue), var(--blue)) right bottom / 12px 12px no-repeat;
  border-radius: 4px;
}

.icon-offline {
  background: #edf1ff;
}

.icon-offline::before {
  left: 15px;
  top: 17px;
  width: 27px;
  height: 22px;
  border-radius: 7px;
  background: var(--violet);
}

.icon-offline::after {
  left: 22px;
  top: 10px;
  width: 12px;
  height: 14px;
  border: 4px solid var(--violet);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.icon-calm {
  background: #e9f5ff;
}

.icon-calm::before {
  inset: 15px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--white) 0 16%, transparent 17%),
    conic-gradient(var(--cyan), var(--teal), var(--lemon), var(--coral), var(--cyan));
}

.download {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  padding: clamp(42px, 7vw, 72px);
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(25, 182, 164, 0.18), rgba(34, 107, 220, 0.14)),
    var(--white);
  box-shadow: var(--shadow);
}

.download-media {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 22px;
  align-items: center;
}

.download-media img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(25, 38, 62, 0.16);
}

.mini-tubes {
  display: flex;
  gap: 12px;
  align-items: end;
  height: 118px;
}

.tube {
  width: 34px;
  height: 104px;
  border: 4px solid rgba(19, 32, 47, 0.22);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: var(--white);
}

.tube-a {
  background: linear-gradient(to top, var(--teal) 0 33%, var(--lemon) 33% 66%, var(--coral) 66%);
}

.tube-b {
  height: 92px;
  background: linear-gradient(to top, var(--blue) 0 50%, var(--cyan) 50%);
}

.tube-c {
  height: 108px;
  background: linear-gradient(to top, var(--violet) 0 33%, var(--coral) 33% 66%, var(--lemon) 66%);
}

.download h2 {
  margin-bottom: 16px;
}

.store-button.dark {
  margin-top: 28px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(19, 32, 47, 0.22);
}

.store-button.dark small {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero-shot-a {
    right: 42vw;
  }

  .hero-shot-b {
    right: -4vw;
  }

  .hero-shot-c {
    display: none;
  }

  .intro,
  .screens,
  .download {
    grid-template-columns: 1fr;
  }

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

  .download-media {
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: max(680px, 86svh);
  }

  .site-header {
    width: min(calc(100% - 28px), 1180px);
    padding-top: 16px;
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 2px;
    padding: 4px;
  }

  .nav-links a {
    min-width: 50px;
    padding: 8px 9px;
    font-size: 13px;
  }

  .hero-content {
    width: min(calc(100% - 28px), 1180px);
    padding-top: 46px;
    padding-bottom: 158px;
  }

  .hero h1 {
    width: 100%;
    font-size: clamp(38px, 10.8vw, 58px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .store-button,
  .ghost-button {
    width: 100%;
  }

  .hero-shot {
    border-radius: 24px;
  }

  .hero-shot-a {
    left: -60px;
    right: auto;
    top: 52vh;
    width: 170px;
    opacity: 0.24;
  }

  .hero-shot-b {
    right: -78px;
    top: 24vh;
    width: 250px;
    opacity: 0.42;
  }

  .hero-shot-d {
    display: none;
  }

  .hero-tint {
    background:
      linear-gradient(180deg, rgba(12, 22, 37, 0.94) 0%, rgba(12, 22, 37, 0.86) 68%, rgba(12, 22, 37, 0.72) 100%),
      radial-gradient(circle at 92% 44%, rgba(95, 191, 255, 0.2), transparent 28%);
  }

  .hero-stats {
    width: calc(100% - 28px);
    grid-template-columns: repeat(3, 1fr);
    transform: translate(-50%, 50%);
    border-radius: 18px;
  }

  .hero-stats div {
    min-height: 86px;
    padding: 14px 8px;
  }

  .hero-stats div + div {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  main {
    padding-top: 56px;
  }

  .section-band,
  .download,
  .site-footer {
    width: min(calc(100% - 28px), 1180px);
  }

  .section-band {
    padding: 64px 0;
  }

  .intro {
    padding-top: 48px;
  }

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

  .step-card,
  .feature-card {
    min-height: 220px;
  }

  .screen-viewer {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .viewer-button {
    width: 44px;
    height: 44px;
  }

  .phone-stage {
    border-width: 9px;
    border-radius: 34px;
  }

  .download {
    padding: 36px 24px;
    border-radius: 22px;
  }

  .download-media {
    grid-template-columns: 86px 1fr;
    gap: 18px;
  }

  .download-media img {
    width: 86px;
    height: 86px;
    border-radius: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .hero-kicker {
    font-size: 13px;
  }

  .brand img,
  .hero-kicker img {
    width: 34px;
    height: 34px;
  }

  .screen-viewer {
    grid-template-columns: 1fr 1fr;
  }

  .phone-stage {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(270px, 100%);
  }

  .viewer-button {
    grid-row: 2;
    justify-self: center;
  }

  .viewer-button.prev {
    grid-column: 1;
  }

  .viewer-button.next {
    grid-column: 2;
  }

  .viewer-dots {
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
