:root {
  --brand: #ff3155;
  --brand-dark: #e91f45;
  --brand-soft: #fff0f3;
  --orange: #ff8a2a;
  --ink: #221f20;
  --muted: #706a6d;
  --line: #f0e6e8;
  --bg: #fff8f9;
  --panel: #ffffff;
  --shadow: 0 24px 70px rgba(255, 49, 85, 0.14);
  --radius: 24px;
  color: var(--ink);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 138, 42, 0.14), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(255, 49, 85, 0.14), transparent 26rem),
    var(--bg);
}

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

button {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 49, 85, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(255, 49, 85, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  margin-bottom: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(255, 49, 85, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b4548;
  font-size: 0.95rem;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  min-height: calc(100dvh - 86px);
  padding: 62px 0 40px;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero h1,
.download-hero h1,
.legal h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-slogan {
  margin: 18px 0 0;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.08;
}

.hero-text,
.download-panel p,
.download-hero p,
.legal p,
.footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 590px;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--orange));
  box-shadow: 0 18px 36px rgba(255, 49, 85, 0.26);
}

.button.secondary {
  color: var(--brand-dark);
  border: 1px solid rgba(255, 49, 85, 0.2);
  background: #ffffff;
}

.trust-note {
  margin: 18px 0 0;
  color: #8d7e83;
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  min-height: 720px;
  transform: translateY(92px);
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 10px solid #171417;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(45, 25, 30, 0.2);
}

.phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 6px;
  border-radius: 999px;
  background: #171417;
  transform: translateX(-50%);
}

.phone-main {
  right: 80px;
  bottom: 0;
  width: 280px;
}

.phone-side {
  right: 0;
  top: 18px;
  width: 205px;
  opacity: 0.94;
  transform: rotate(6deg);
}

.quick-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 0 56px;
}

.quick-features article,
.platform-grid article,
.flow-grid article,
.download-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quick-features article {
  padding: 24px;
}

.quick-features strong,
.quick-features span {
  display: block;
}

.quick-features strong {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.quick-features span {
  color: var(--muted);
  line-height: 1.65;
}

.platforms,
.flow {
  padding: 54px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.06;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.platform-grid article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(70, 34, 42, 0.06);
}

.platform-grid img {
  width: 50px;
  height: 50px;
}

.platform-grid span {
  font-size: 1.08rem;
  font-weight: 900;
}

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

.flow-grid article {
  padding: 26px;
  box-shadow: 0 18px 44px rgba(70, 34, 42, 0.06);
}

.flow-grid article > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 900;
}

.flow-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.scene-band {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 34px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 49, 85, 0.96), rgba(255, 138, 42, 0.9)),
    var(--brand);
  box-shadow: 0 26px 64px rgba(255, 49, 85, 0.2);
}

.scene-band .eyebrow,
.scene-band p {
  color: rgba(255, 255, 255, 0.88);
}

.scene-band h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.06;
}

.scene-band p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.download,
.record {
  padding: 54px 0;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 49, 85, 0.96), rgba(255, 138, 42, 0.92)),
    var(--brand);
}

.download-panel .eyebrow,
.download-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.download-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.06;
}

.download-panel .button.primary {
  flex: 0 0 auto;
  color: var(--brand-dark);
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(130, 10, 30, 0.18);
}

.footer {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 34px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover,
.back-link:hover {
  color: var(--brand-dark);
}

.footer p {
  max-width: 760px;
  margin: 0;
}

.download-page {
  padding-bottom: 56px;
}

.download-hero {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 72px 0;
}

.download-hero > img {
  width: 128px;
  height: 128px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.download-hero h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.download-hero p {
  max-width: 620px;
}

.download-hero .button {
  margin-top: 18px;
}

.legal-page {
  background: var(--bg);
}

.legal {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.legal h1 {
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
}

.legal h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
}

.legal ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 1.3rem;
  color: var(--muted);
  line-height: 1.75;
}

.legal-meta {
  color: var(--brand-dark) !important;
  font-weight: 800;
}

.back-link {
  color: var(--brand-dark);
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 46px;
  }

  .hero-media {
    min-height: 520px;
    transform: none;
  }

  .phone-main {
    right: 50%;
    transform: translateX(50%);
  }

  .phone-side {
    right: 8%;
  }

  .quick-features {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .flow-grid,
  .scene-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .section,
  .site-header,
  .footer {
    width: calc(100% - 24px);
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    border-radius: 24px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }

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

  .hero {
    padding: 38px 0 22px;
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 19vw, 5.6rem);
  }

  .hero-slogan {
    font-size: clamp(1.7rem, 9vw, 2.5rem);
  }

  .hero-text,
  .download-panel p,
  .download-hero p,
  .footer p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 410px;
  }

  .phone {
    border-width: 8px;
    border-radius: 30px;
  }

  .phone-main {
    right: 0;
    width: min(240px, 66vw);
    transform: none;
  }

  .phone-side {
    left: 0;
    right: auto;
    width: min(172px, 48vw);
  }

  .quick-features {
    padding-bottom: 34px;
  }

  .download,
  .platforms,
  .flow {
    padding: 38px 0;
  }

  .download-panel {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .platform-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .platform-grid article {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .scene-band {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .download-hero {
    grid-template-columns: 1fr;
    padding: 44px 0;
  }

  .download-hero > img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }
}

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