:root {
  --bg: #0a0810;
  --bg-soft: #12101a;
  --text: #efeaf7;
  --muted: #a298b5;
  --muted-2: #7a7189;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #b06bff;
  --accent-soft: #d3b0ff;
  --accent-rgb: 176, 107, 255;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.desktop-only { display: none; }

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 65px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(10, 8, 16, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.nav-brand img { border-radius: 7px; }

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.14);
  font-size: 13px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  background: rgba(var(--accent-rgb), 0.26);
  border-color: rgba(var(--accent-rgb), 0.6);
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 65px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(40px, 6vh, 80px) clamp(20px, 5vw, 64px) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 18% 14%, rgba(var(--accent-rgb), 0.18), transparent 60%),
    radial-gradient(900px 540px at 88% 74%, rgba(124, 58, 237, 0.16), transparent 62%),
    linear-gradient(180deg, #0c0913 0%, #0a0810 62%, #0a0810 100%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-brand {
  display: inline-block;
  font-size: clamp(46px, 7.4vw, 108px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.94;
  background: linear-gradient(120deg, #ffffff 0%, #e6d6ff 42%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: clamp(16px, 2.4vh, 26px);
}

.hero-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.16;
  margin-bottom: 18px;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 17px);
  max-width: 460px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #c07cff, #8b36e8);
  color: #fff;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.26);
}

.btn-primary:hover { box-shadow: 0 14px 38px rgba(var(--accent-rgb), 0.36); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.24); }

.btn-full { width: 100%; }

.hero-meta {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.hero-shot {
  position: relative;
  z-index: 1;
  align-self: end;
  margin-bottom: -12%;
  transform: translateY(0);
  will-change: transform;
}

.hero-shot img {
  width: 100%;
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--line-strong);
  border-bottom: none;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(var(--accent-rgb), 0.08);
  mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
}

/* ---------- 声明段 ---------- */

.statement {
  padding: clamp(90px, 14vh, 150px) clamp(20px, 5vw, 64px) clamp(70px, 11vh, 120px);
  max-width: 1120px;
  margin: 0 auto;
}

.statement-text {
  font-size: clamp(30px, 4.6vw, 62px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.24;
}

.statement-text .accent { color: var(--accent-soft); }

.statement-sub {
  margin-top: 26px;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 通用段落头 ---------- */

.sec-head {
  max-width: 1120px;
  margin: 0 auto clamp(40px, 6vh, 64px);
  padding: 0 clamp(20px, 5vw, 0);
}

.sec-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-head h2 {
  font-size: clamp(27px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

/* ---------- 功能 ---------- */

.features { padding: 0 clamp(20px, 5vw, 64px) clamp(80px, 12vh, 130px); }

.feature-row {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vh, 64px) 0;
  border-top: 1px solid var(--line);
}

.feature-row.reverse { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
.feature-row.reverse .feature-copy { order: 2; }

.feature-copy h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 440px;
}

.feature-copy ul {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 9px;
}

.feature-copy li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: #c9c0d9;
}

.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.feature-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* ---------- 浏览器 ---------- */

.browser {
  padding: clamp(70px, 10vh, 110px) clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.browser-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 6vw, 80px);
}

.browser-item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.browser-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.browser-item p { color: var(--muted); font-size: 14px; max-width: 420px; }

/* ---------- 价格 ---------- */

.pricing { padding: clamp(80px, 12vh, 130px) clamp(20px, 5vw, 64px); }

.price-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.price-col {
  padding: 34px clamp(24px, 4vw, 44px);
  border-top: 1px solid var(--line-strong);
}

.price-col + .price-col { border-left: 1px solid var(--line); }

.price-col.featured { background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.07), transparent 70%); }

.price-name {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.price-num { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.price-num span { font-size: clamp(38px, 4.4vw, 54px); font-weight: 600; letter-spacing: -0.04em; }
.price-num em { font-style: normal; color: var(--muted-2); font-size: 13px; }

.price-col ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.price-col li { font-size: 13.5px; color: #cbc3da; padding-left: 16px; position: relative; }
.price-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.price-alt { font-size: 12px; color: var(--muted-2); margin-bottom: 18px; }

.price-note {
  max-width: 900px;
  margin: 26px auto 0;
  padding: 0 clamp(24px, 4vw, 44px);
  font-size: 12px;
  color: var(--muted-2);
}

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

.faq { padding: 0 clamp(20px, 5vw, 64px) clamp(80px, 12vh, 130px); }

.faq-list { max-width: 900px; margin: 0 auto; }

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  color: var(--muted-2);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-list details[open] summary::after { content: "−"; color: var(--accent); }

.faq-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  max-width: 720px;
}

.faq-list p a { color: var(--accent-soft); border-bottom: 1px solid rgba(var(--accent-rgb), 0.35); }

/* ---------- 最终 CTA ---------- */

.cta {
  position: relative;
  padding: clamp(90px, 14vh, 160px) clamp(20px, 5vw, 64px);
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 380px at 50% 0%, rgba(var(--accent-rgb), 0.22), transparent 68%);
  pointer-events: none;
}

.cta-inner { position: relative; max-width: 720px; margin: 0 auto; }

.cta h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.cta p { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.cta .hero-actions { justify-content: center; }

/* ---------- 页脚 ---------- */

.footer { border-top: 1px solid var(--line); padding: 34px clamp(20px, 5vw, 64px) 44px; }

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.footer-brand img { border-radius: 6px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 12.5px; color: var(--muted); margin-left: auto; }
.footer-links a:hover { color: var(--text); }

.footer-copy { width: 100%; font-size: 11.5px; color: var(--muted-2); }

/* ---------- 动效 ---------- */

.reveal {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.in { opacity: 1; transform: none; }

.hero .reveal:nth-child(1) { transition-delay: 0.04s; }
.hero .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.22s; }
.hero .reveal:nth-child(5) { transition-delay: 0.28s; }

.hero-shot.reveal { transition-delay: 0.18s; transition-duration: 0.9s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shot { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */

@media (min-width: 760px) {
  .desktop-only { display: inline; }
}

@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { gap: 12px; }
  .nav-cta { margin-left: auto; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 20px 0;
  }

  .hero-inner { max-width: none; }

  .hero-shot { margin-top: 34px; margin-bottom: -6%; }
  .hero-shot img { width: 100%; border-radius: 14px 14px 0 0; }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feature-row.reverse .feature-copy { order: 0; }

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

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

  .price-col + .price-col { border-left: none; border-top: 1px solid var(--line-strong); }

  .footer-links { margin-left: 0; }
}

@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .cta .hero-actions .btn { flex: 1 1 100%; }
}
