:root {
  --ink: #222331;
  --muted: #6f7080;
  --line: #ebe7ef;
  --paper: #fffdfb;
  --soft: #fbf6ff;
  --primary: #7b39dc;
  --primary-dark: #5b20b7;
  --pink: #e94c9c;
  --orange: #ff8f5a;
  --green: #58b996;
  --shadow: 0 18px 55px rgba(75, 42, 102, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 10px 16px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 251, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(235, 231, 239, .8);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; letter-spacing: -.5px; white-space: nowrap; }
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 42px;
  overflow: hidden;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--primary), var(--pink));
  box-shadow: 0 10px 28px rgba(123, 57, 220, .2);
  font-size: 0;
}
.brand-mark::before {
  content: none;
}
.brand-mark::after {
  content: "π";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-2px) scaleX(1.08);
}
.nav-links { display: flex; align-items: center; justify-content: center; gap: 30px; margin-left: auto; }
.nav-links a { color: #50515d; font-size: 15px; font-weight: 600; transition: .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; color: #fff; font-weight: 700; border-radius: 999px; background: linear-gradient(120deg, var(--primary), var(--pink)); box-shadow: 0 10px 28px rgba(123, 57, 220, .2); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: #f3edf8; color: var(--ink); cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: 92px 0 84px; background: linear-gradient(145deg, #fbf5ff 0%, #fff8f2 65%, #fffdfb 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(.2px); pointer-events: none; }
.hero::before { width: 390px; height: 390px; right: -115px; top: -160px; background: rgba(159, 102, 231, .14); }
.hero::after { width: 220px; height: 220px; left: -80px; bottom: -85px; background: rgba(245, 109, 156, .11); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 72px; }
.eyebrow, .section-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-dark); font-size: 14px; font-weight: 800; letter-spacing: .03em; }
.eyebrow { padding: 7px 13px; border-radius: 999px; background: rgba(123, 57, 220, .09); }
.hero h1 { max-width: 760px; margin: 20px 0 18px; font-size: clamp(40px, 5vw, 66px); line-height: 1.15; letter-spacing: -.045em; }
.gradient-text { color: transparent; background: linear-gradient(110deg, var(--primary) 10%, var(--pink) 65%, var(--orange)); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(120deg, var(--primary), var(--pink)); box-shadow: 0 14px 32px rgba(123, 57, 220, .23); }
.btn-outline { border-color: #dcd4e4; background: rgba(255,255,255,.62); }
.hero-stats { display: flex; align-items: center; gap: 22px; margin-top: 38px; }
.hero-stats strong { display: block; color: var(--primary); font-size: 26px; line-height: 1.2; }
.hero-stats span { color: var(--muted); font-size: 13px; }
.stat-divider { width: 1px; height: 40px; background: #ded7e5; }

.code-visual { position: relative; min-height: 450px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(123, 57, 220, .15); border-radius: 50%; }
.orbit.one { width: 380px; height: 380px; }
.orbit.two { width: 290px; height: 290px; border-style: dashed; animation: rotate 28s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.dashboard {
  position: relative; z-index: 2; width: min(430px, 90%); padding: 22px;
  border: 1px solid rgba(255,255,255,.9); border-radius: 28px;
  background: rgba(255,255,255,.78); box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.dash-top { display: flex; align-items: center; gap: 7px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #f0c1dc; }
.dot:nth-child(2) { background: #f1c896; } .dot:nth-child(3) { background: #9ed7c2; }
.dash-main { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding-top: 20px; }
.dash-side { display: grid; align-content: start; gap: 12px; }
.dash-side i, .dash-line, .dash-card { display: block; border-radius: 10px; background: #f1eafa; }
.dash-side i { height: 11px; }
.dash-content { display: grid; gap: 13px; }
.dash-title { width: 60%; height: 17px; border-radius: 8px; background: #7b39dc; opacity: .82; }
.dash-line { height: 10px; } .dash-line.short { width: 72%; }
.dash-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 6px; }
.dash-card { height: 88px; background: linear-gradient(145deg, #f8ecff, #fff3ea); border: 1px solid #f0e4f5; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-radius: 16px; box-shadow: 0 14px 35px rgba(63, 38, 83, .12); font-size: 14px; font-weight: 700; }
.float-card.a { top: 40px; right: 12px; } .float-card.b { left: 4px; bottom: 54px; }
.float-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #f4eaff; }

.section { padding: 92px 0; }
.section.alt { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head h2 { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.25; letter-spacing: -.035em; }
.section-head p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 22px; }
.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 { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(68, 42, 86, .05); }
.card h3 { margin: 15px 0 9px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--primary-dark); background: linear-gradient(145deg, #f1e4ff, #fff0e7); font-size: 23px; }
.pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; color: var(--primary-dark); background: #f0e7fa; font-size: 12px; font-weight: 800; }
.list { padding: 0; margin: 18px 0 0; list-style: none; }
.list li { position: relative; margin: 9px 0; padding-left: 24px; color: var(--muted); }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.page-hero { position: relative; overflow: hidden; padding: 80px 0 72px; text-align: center; background: linear-gradient(145deg, #fbf4ff, #fff8f2); }
.page-hero::after { content:""; position:absolute; width:280px; height:280px; right:-90px; top:-140px; border-radius:50%; background:rgba(123,57,220,.12); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin: 14px auto; max-width: 880px; font-size: clamp(38px, 5vw, 58px); line-height: 1.18; letter-spacing: -.04em; }
.page-hero h1 .gradient-text { display: inline-block; }
.page-hero p { max-width: 790px; margin: auto; color: var(--muted); font-size: 18px; }
.breadcrumb { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--primary); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 22px; }
.price-card { position: relative; padding: 32px 27px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.price-card.featured { border-color: rgba(123,57,220,.4); box-shadow: var(--shadow); transform: translateY(-8px); }
.price-card .recommend { position:absolute; top:14px; right:14px; }
.price-card h2 { margin: 7px 0 4px; font-size: 25px; }
.price-card .audience { color: var(--muted); }
.price { margin: 20px 0; font-size: 15px; }
.price strong { font-size: 39px; color: var(--primary); }
.compare { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.compare th, .compare td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { background: #f9f4fc; }
.compare td:first-child { width: 24%; font-weight: 800; }
.compare td { color: var(--muted); }

.feature-detail { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
.feature-nav { position: sticky; top: 100px; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.feature-nav a { padding: 10px 14px; border-radius: 12px; color: var(--muted); font-size: 14px; }
.feature-nav a:hover { color: var(--primary); background: #f7effd; }
.detail-sections { display: grid; gap: 20px; }
.detail-card { scroll-margin-top: 105px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.detail-card h2 { margin: 0 0 14px; font-size: 24px; }
.detail-card p { color: var(--muted); }

.steps { counter-reset: steps; }
.step { position: relative; padding-left: 76px; }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--pink)); font-size: 20px; font-weight: 900; }
.cta-band { padding: 48px; border-radius: 32px; background: linear-gradient(120deg, #6d2ccd, #df4b9a); color: #fff; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { margin: 0 0 9px; font-size: 34px; }
.cta-band p { margin: 0 0 24px; opacity: .82; }
.cta-band .btn { background: #fff; color: var(--primary-dark); }

.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { padding: 19px 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 12px 0 2px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.contact-item h2, .contact-item h3 { margin: 0; font-size: 17px; }
.contact-item p { margin: 2px 0 0; color: var(--muted); }
.form-card { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 7px; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid #ddd5e3; border-radius: 12px; background: #fdfbfe; outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123,57,220,.1); }
.form-note { color: var(--muted); font-size: 13px; }

.site-footer { padding: 62px 0 24px; color: #dad7e2; background: #282531; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 44px; }
.footer-brand p { max-width: 330px; color: #aaa5b3; }
.footer-title { margin: 2px 0 15px; color: #fff; font-size: 16px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact { color: #aaa5b3; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #88838f; font-size: 13px; }

@media (max-width: 960px) {
  .nav-links { position: absolute; left: 20px; right: 20px; top: 70px; display: none; align-items: stretch; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-cta { display: none; }
  .menu-button { display: grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .code-visual { min-height: 390px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .feature-detail { grid-template-columns: 1fr; }
  .feature-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { padding: 62px 0 56px; }
  .hero h1 { font-size: 40px; }
  .hero-stats { gap: 14px; }
  .hero-stats strong { font-size: 21px; }
  .code-visual { min-height: 340px; }
  .orbit.one { width: 300px; height: 300px; } .orbit.two { width: 230px; height: 230px; }
  .float-card { font-size: 12px; padding: 9px 11px; }
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-nav { grid-template-columns: repeat(2, 1fr); }
  .compare { display: block; overflow-x: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

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