:root {
  color-scheme: light dark;
  --bg: #f3f5f9;
  --panel: #ffffff;
  --panel2: #fbfcfe;
  --text: #0e1116;
  --muted: #667085;
  --faint: #98a2b3;
  --line: rgba(16, 24, 40, .07);
  --line2: rgba(16, 24, 40, .10);
  --hover: rgba(16, 24, 40, .05);
  --accent: #4f7cff;
  --accent2: #8b5cf6;
  --accent-text: #3d63e8;
  --button-start: #3d63e8;
  --button-end: #7448d8;
  --on-button: #ffffff;
  --success: #12b76a;
  --success-bg: rgba(18, 183, 106, .10);
  --warn: #b45309;
  --glow1: rgba(79, 124, 255, .14);
  --glow2: rgba(139, 92, 246, .12);
  --header-bg: rgba(243, 245, 249, .78);
  --shadow: 0 24px 70px rgba(16, 24, 40, .12);
  --shadow-soft: 0 10px 30px rgba(16, 24, 40, .06);
  --radius: 18px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0f;
    --panel: #101116;
    --panel2: #0c0d12;
    --text: #f5f7fa;
    --muted: #9aa3b2;
    --faint: #6b7280;
    --line: rgba(255, 255, 255, .07);
    --line2: rgba(255, 255, 255, .10);
    --hover: rgba(255, 255, 255, .06);
    --accent: #8b5cf6;
    --accent2: #22d3ee;
    --accent-text: #c4b5fd;
    --button-start: #8b5cf6;
    --button-end: #22d3ee;
    --on-button: #0a0b0f;
    --success: #34d399;
    --success-bg: rgba(52, 211, 153, .12);
    --warn: #fbbf24;
    --glow1: rgba(139, 92, 246, .18);
    --glow2: rgba(34, 211, 238, .10);
    --header-bg: rgba(10, 11, 15, .78);
    --shadow: 0 24px 70px rgba(0, 0, 0, .45);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, .30);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 8% -10%, var(--glow1), transparent 70%),
    radial-gradient(820px 520px at 96% 0%, var(--glow2), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}

.site-header .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .16);
}
.brand span {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.active { color: var(--text); font-weight: 600; }

.lang {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: var(--panel);
}
.lang:hover { color: var(--text); text-decoration: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: var(--on-button);
  background: linear-gradient(135deg, var(--button-start), var(--button-end));
  box-shadow: 0 10px 24px rgba(61, 99, 232, .24);
}
.btn-primary:hover { filter: brightness(1.05); }

.btn-ghost {
  color: var(--text);
  background: var(--panel);
  border-color: var(--line2);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { background: var(--hover); }

.btn-small { height: 36px; padding: 0 14px; font-size: 12.5px; border-radius: 9px; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 44px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 58px;
}

.hero-copy { min-width: 0; }

.hero-visual { position: relative; min-width: 0; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 2% -8% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow2), transparent 68%);
  filter: blur(20px);
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}

h1, h2, h3 { margin: 0; letter-spacing: -.02em; }

.hero h1 {
  margin: 18px 0 20px;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.04;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
}
.trust-inline li { display: flex; align-items: center; gap: 6px; }
.trust-inline li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

/* ---------- Hero carousel ---------- */

.hero-carousel {
  position: relative;
  outline: none;
}

.carousel-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: var(--text);
  font: 22px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s ease, background .2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.carousel-arrow:hover { background: var(--panel); }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.hero-carousel:hover .carousel-arrow,
.hero-carousel:focus-within .carousel-arrow { opacity: 1; }

.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 11px;
  min-height: 18px;
}

.carousel-caption {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0;
  flex: none;
}

.carousel-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.carousel-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--line2);
  transform: translate(-50%, -50%);
  transition: width .25s ease, background .25s ease;
}
.carousel-dot:hover::before { background: var(--faint); }
.carousel-dot.is-active::before {
  width: 20px;
  background: linear-gradient(90deg, var(--button-start), var(--button-end));
}

.hero-carousel:focus-visible .carousel-viewport {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  .carousel-arrow { background: rgba(16, 17, 22, .82); }
  .carousel-arrow:hover { background: var(--panel); }
}

@media (hover: none) {
  .carousel-arrow { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
  .carousel-dot::before { transition: none; }
}

/* ---------- Sections ---------- */

.section { padding-top: 84px; padding-bottom: 10px; }
.section-head { max-width: 700px; margin-bottom: 30px; }
.section-head h2 {
  margin: 14px 0 12px;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  font-weight: 600;
}
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fact-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--success-bg);
  color: var(--accent-text);
}
.fact-icon svg { width: 19px; height: 19px; }
.fact h3 { font-size: 14px; margin-bottom: 3px; }
.fact p { margin: 0; color: var(--muted); font-size: 13px; }

.feature { display: flex; flex-direction: column; gap: 10px; }
.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--hover);
  color: var(--accent-text);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- Flow ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 22px 20px 20px;
  border-top: 1px solid var(--line2);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  color: var(--accent-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .08em;
}
.step h3 { font-size: 15px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Audience ---------- */

.audience-card { padding: 20px; }
.audience-card .kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.audience-card h3 { margin: 8px 0 4px; font-size: 15px; }
.audience-card p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.plan.pro {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line2));
  box-shadow: 0 20px 60px rgba(79, 124, 255, .14);
}
.plan .badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--button-start), var(--button-end));
  color: var(--on-button);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.plan h3 { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan .price {
  margin: 8px 0 2px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .note { margin: 0 0 18px; color: var(--muted); font-size: 12.5px; }
.plan ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13.5px;
}
.plan li { display: flex; gap: 8px; padding: 4px 0; }
.plan li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}
.plan .btn { margin-top: auto; width: 100%; }
.pricing-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Download ---------- */

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 0% 0%, var(--glow1), transparent 70%),
    var(--panel);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
}
.download-card h2 {
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  margin-bottom: 10px;
}
.download-card p { margin: 0; color: var(--muted); }
.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq details {
  border-top: 1px solid var(--line2);
  padding: 16px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line2); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }

/* ---------- Page hero ---------- */

.page-hero {
  padding-top: 70px;
  padding-bottom: 34px;
  max-width: 780px;
}
.page-hero h1 {
  margin: 14px 0 14px;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 600;
}
.page-hero .lead { font-size: 16px; }

/* ---------- Buy page ---------- */

.buy-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.buy-card .price {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.buy-card .price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.buy-card .note { color: var(--muted); font-size: 13px; }
.buy-card .btn { width: 100%; margin-top: 20px; }
.buy-steps { margin: 24px 0 0; padding-left: 20px; color: var(--muted); font-size: 13.5px; }
.buy-steps li + li { margin-top: 5px; }
.buy-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Content page ---------- */

.content { max-width: 760px; padding-bottom: 40px; }
.content h2 { margin: 32px 0 10px; font-size: 20px; }
.content h3 { margin: 22px 0 6px; font-size: 15px; }
.content p, .content li { color: var(--muted); font-size: 14px; }
.content ul { padding-left: 20px; }
.content li + li { margin-top: 4px; }
.content .callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  background: var(--panel2);
}
.site-footer .wrap { padding-top: 42px; padding-bottom: 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { margin: 0; color: var(--muted); font-size: 13px; max-width: 300px; }
.footer-col h3 {
  margin: 2px 0 10px;
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 6px; }
.footer-col a { color: var(--muted); font-size: 13px; }
.footer-col a:hover { color: var(--text); }
.copy {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11.5px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 54px; }
  .hero-visual { max-width: 680px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .download-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .site-header .wrap { height: 58px; }
  .hero h1 { font-size: clamp(40px, 11vw, 58px); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .step { border-top: 1px solid var(--line2); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .buy-card { padding: 24px; }
  .download-card { padding: 26px; }
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
