:root {
  --ink: #111317;
  --muted: #5a6470;
  --line: #dce4ea;
  --paper: #f7fbfc;
  --blue: #12a7e8;
  --cyan: #58f0f1;
  --black: #050607;
  --yellow: #d8c581;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7fbfc 0%, #f2fafb 48%, #f7fbfc 100%);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto auto;
  width: 42vw;
  height: 42vw;
  pointer-events: none;
  background: radial-gradient(circle, rgba(88, 240, 241, 0.18), transparent 62%);
  animation: ambientShift 14s ease-in-out infinite alternate;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(17, 19, 23, 0.08);
  background: rgba(247, 251, 252, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  border-radius: 10px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: center;
  padding: 74px 0 76px;
}

.hero-copy h1,
.hero-copy .lead,
.hero-copy .actions,
.hero-copy .note,
.reveal {
  animation: riseIn 720ms ease-out both;
}

.hero-copy h1 {
  animation-delay: 90ms;
}

.hero-copy .lead {
  animation-delay: 170ms;
}

.hero-copy .actions,
.hero-copy .note {
  animation-delay: 250ms;
}

.eyebrow {
  margin: 0 0 16px;
  color: #087ea9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
  font-weight: 950;
  word-break: keep-all;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.12;
  font-weight: 920;
  text-wrap: balance;
}

h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.lead {
  max-width: 430px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--black);
  color: white;
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(17, 19, 23, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button.ghost {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  box-shadow: none;
}

.button.disabled {
  cursor: not-allowed;
  background: linear-gradient(135deg, #111317, #27313a);
}

.button:not(.disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(17, 19, 23, 0.2);
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.product-frame {
  position: relative;
  width: min(560px, 100%);
  padding: 12px;
  border: 1px solid rgba(18, 167, 232, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 6%, rgba(18, 167, 232, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 249, 255, 0.92));
  box-shadow: 0 28px 70px rgba(17, 19, 23, 0.16);
  overflow: hidden;
  animation:
    riseIn 820ms ease-out 140ms both,
    productFloat 6s ease-in-out 1s infinite;
}

.product-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
  transform: translateX(-120%);
  animation: sheen 7s ease-in-out 1.8s infinite;
}

.product-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 653;
  object-fit: cover;
  border-radius: 12px;
}

.metric {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 156px;
  padding: 13px 15px;
  border: 1px solid rgba(18, 167, 232, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(17, 19, 23, 0.12);
  backdrop-filter: blur(14px);
  animation: softPulse 4.8s ease-in-out infinite;
}

.metric-top {
  top: 24px;
  left: 24px;
}

.metric-bottom {
  right: 24px;
  bottom: 24px;
}

.metric span {
  color: #087ea9;
  font-size: 12px;
  font-weight: 900;
}

.metric strong {
  color: var(--ink);
  font-size: 15px;
}

.visual-band,
.features,
.support,
.release {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.visual-band {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.visual-band img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(17, 19, 23, 0.13);
}

.visual-band p,
.features p,
.support p,
.release p {
  color: var(--muted);
  line-height: 1.8;
}

.features {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  display: block;
  margin-bottom: 30px;
}

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

.feature-grid article {
  overflow: hidden;
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-grid article img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f8fa;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 167, 232, 0.42);
  box-shadow: 0 18px 48px rgba(17, 19, 23, 0.08);
}

.feature-grid span {
  color: var(--blue);
  font-weight: 950;
}

.support {
  padding: 8px 0 64px;
}

.support-card {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(18, 167, 232, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 251, 255, 0.92)),
    radial-gradient(circle at 92% 18%, rgba(88, 240, 241, 0.24), transparent 34%);
  box-shadow: 0 22px 60px rgba(17, 19, 23, 0.09);
}

.wechat-box {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 12px;
  background: white;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 23, 0.08);
}

.wechat-box img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
}

.wechat-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.release {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 64px;
  padding: 36px;
  border-radius: 14px;
  background: #111317;
  color: white;
}

.release p {
  color: rgba(255, 255, 255, 0.66);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

.legal-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(34px, 4vw, 50px);
}

.legal-page .updated {
  color: var(--muted);
  font-weight: 700;
}

.legal-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
}

.legal-section p {
  white-space: pre-line;
  color: #303840;
  line-height: 1.9;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    height: auto;
    padding-block: 14px;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .visual-band {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: 0;
    padding-top: 52px;
  }

  h1 {
    max-width: 720px;
  }

  .lead {
    max-width: 680px;
  }

  .product-frame {
    width: min(640px, 100%);
  }

  .metric {
    display: none;
  }

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

  .release,
  .support-card,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-frame {
    border-radius: 14px;
    padding: 6px;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes productFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes sheen {
  0%,
  58% {
    transform: translateX(-120%);
  }
  76%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(88, 240, 241, 0);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(88, 240, 241, 0.42);
  }
}

@keyframes ambientShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-8vw, 12vh, 0) scale(1.16);
  }
}

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