:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-muted: #f2f0ea;
  --text: #141416;
  --text-secondary: #626269;
  --border: rgba(20, 20, 22, 0.08);
  --accent: #e84c24;
  --green: #30c758;
  --radius: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #19191c;
    --surface-muted: #222226;
    --text: #f5f5f7;
    --text-secondary: #9898a0;
    --border: rgba(255, 255, 255, 0.09);
  }
}

html[data-lang="zh"] .en { display: none !important; }
html[data-lang="en"] .zh { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}
.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  margin: 0 auto 16px;
  max-width: 800px;
  font-size: clamp(34px, 5.6vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.lead {
  margin: 0 auto 30px;
  max-width: 640px;
  font-size: 17.5px;
  color: var(--text-secondary);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { text-decoration: none; opacity: 0.92; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-shot {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .shot-light { display: none; }
  .shot-dark { display: block; }
}

section { padding: 64px 0; }
.section-title {
  font-size: clamp(25px, 3.6vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.section-sub {
  margin: 0 0 36px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 660px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14.5px; color: var(--text-secondary); }

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.media-card img {
  display: block;
  width: 100%;
  height: auto;
}
.media-caption {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.media-caption h3 { margin: 0 0 4px; font-size: 16px; }
.media-caption p { margin: 0; font-size: 13.5px; color: var(--text-secondary); }

.phone-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
}
.phone-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 16px;
  text-align: center;
}
.phone-frame img {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  border-radius: 20px;
}
.phone-frame img.watch-img {
  max-width: 190px;
  padding: 28px 0;
}
.phone-frame p {
  margin: 12px 0 2px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
}
.faq-item summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--text-secondary);
}
.faq-item code, .card code, .prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  background: var(--surface-muted);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--text);
}

.prose {
  max-width: 740px;
  margin: 48px auto 72px;
}
.prose h1 { text-align: left; max-width: none; font-size: 34px; margin-bottom: 12px; }
.prose h2 { margin-top: 32px; font-size: 20px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--text-secondary); font-size: 15.5px; }

footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  color: var(--text-secondary);
  font-size: 13px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
