:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --fg: #111217;
  --muted: #666b7a;
  --soft: #eef1f7;
  --card: #ffffff;
  --accent: #087cff;
  --accent-strong: #0057d9;
  --gold: #d6a900;
  --lime: #9add32;
  --line: #dde2ec;
  --shadow: 0 20px 60px rgba(18, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 8% 2%, rgba(8, 124, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 92% 14%, rgba(154, 221, 50, 0.12), transparent 28rem),
    var(--bg);
  color: var(--fg);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 226, 236, 0.75);
  background: rgba(246, 247, 251, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 850;
  letter-spacing: 0;
}

.logo {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 122, 255, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav-links a {
  color: #303545;
}

html {
  scroll-behavior: smooth;
}

.doc-card h1[id] {
  scroll-margin-top: 84px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.lang-switch a {
  color: #8a90a0;
}

.lang-switch a.active {
  color: var(--fg);
  font-weight: 800;
}

.lang-switch .sep {
  color: #c2c7d2;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 22px 30px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 76px);
  padding: 26px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #384056;
  font-size: 14px;
  font-weight: 750;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  font-size: clamp(44px, 6vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--fg);
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(17, 18, 23, 0.18);
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.pill {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #3b4252;
  font-size: 14px;
  font-weight: 750;
}

.device-stage {
  position: relative;
  min-height: 620px;
}

.tablet-frame,
.phone-frame {
  overflow: hidden;
  border: 8px solid #17191f;
  background: #17191f;
  box-shadow: var(--shadow);
}

.tablet-frame {
  position: absolute;
  right: 0;
  top: 18px;
  width: min(100%, 660px);
  border-radius: 30px;
}

.phone-frame {
  position: absolute;
  left: 4%;
  bottom: 0;
  width: min(43%, 260px);
  border-radius: 32px;
}

.device-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.shine-card {
  position: absolute;
  right: 4%;
  bottom: 42px;
  width: min(48%, 330px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 22px;
  background: rgba(17, 18, 23, 0.76);
  color: white;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.shine-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.shine-card span {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

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

.feature,
.support-card,
.doc-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(25, 32, 48, 0.06);
}

.feature {
  padding: 24px;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--accent);
  font-size: 22px;
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.showcase-panel {
  min-height: 310px;
  padding: 28px;
  border-radius: 24px;
  color: white;
  background: #090a0d;
  overflow: hidden;
  position: relative;
}

.showcase-panel.flash {
  background: linear-gradient(135deg, #ff3131, #ff9800 36%, #ffe000 61%, #21c95b 82%, #05bde8);
}

.showcase-panel.sync {
  background: linear-gradient(135deg, #07111f, #003c89 44%, #087cff);
}

.showcase-panel h3 {
  font-size: 30px;
}

.showcase-panel p {
  max-width: 430px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.marquee {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 34px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #030303;
  color: var(--gold);
  overflow: hidden;
}

.marquee span {
  display: inline-block;
  min-width: max-content;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 900;
  line-height: 1.08;
  white-space: nowrap;
  animation: marquee-scroll 9s linear infinite;
  will-change: transform;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.sync-grid {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 62px);
  gap: 10px;
}

.sync-grid span {
  height: 82px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.support-strip {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.support-card {
  padding: 28px;
}

.support-card p {
  margin-top: 12px;
  color: var(--muted);
}

.doc-links {
  display: grid;
  gap: 12px;
}

.doc-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--fg);
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 22px 46px;
  color: var(--muted);
  font-size: 14px;
}

.doc-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 54px 22px;
}

.doc-card {
  padding: clamp(26px, 5vw, 52px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
}

.doc-card h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.doc-card h2 {
  margin-top: 34px;
  font-size: 22px;
}

.doc-card p,
.doc-card li {
  color: var(--muted);
}

.doc-card p {
  margin-top: 14px;
}

.doc-card ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.divider {
  border-top: 1px solid var(--line);
  margin: 38px 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101116;
    --fg: #f5f7fb;
    --muted: #a6adbb;
    --soft: #202633;
    --card: #181b22;
    --line: #2b3342;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  }

  .site-header {
    background: rgba(16, 17, 22, 0.86);
    border-bottom-color: rgba(43, 51, 66, 0.78);
  }

  .nav-links a,
  .pill {
    color: #d9deea;
  }

  .lang-switch a {
    color: #8a90a0;
  }

  .lang-switch .sep {
    color: #4a5160;
  }

  .eyebrow,
  .pill,
  .button.secondary,
  .feature,
  .support-card,
  .doc-card,
  .doc-links a {
    background: rgba(24, 27, 34, 0.84);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee span {
    animation: none;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .hero,
  .showcase,
  .support-strip {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-shell {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

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

  .device-stage {
    min-height: 490px;
  }

  .tablet-frame {
    border-width: 6px;
    border-radius: 22px;
  }

  .phone-frame {
    width: 42%;
    border-width: 6px;
    border-radius: 24px;
  }

  .shine-card {
    width: 58%;
    right: 0;
    bottom: 22px;
    padding: 16px;
  }

  .section {
    padding: 52px 0;
  }
}
