:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef0ff;
  --accent: #8b5cf6;
  --text: #14161f;
  --muted: #6b7280;
  --line: #e8e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-sm: 0 2px 10px rgba(23, 26, 66, 0.05);
  --shadow-md: 0 16px 40px rgba(23, 26, 66, 0.08);
  --shadow-lg: 0 30px 70px rgba(38, 36, 120, 0.18);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, h4, h5, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79, 70, 229, 0.36); }
.btn-soft {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-soft:hover { border-color: #c9cdf5; color: var(--primary); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--primary); border-color: #c9cdf5; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.btn-outline { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(23, 26, 66, 0.05); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  object-fit: contain;
}
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: .2px; }
.brand-name em { font-style: normal; color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px;
  color: #41455c;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: right .25s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 1.6px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 78px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 82% -6%, #e9e6ff 0%, rgba(233,230,255,0) 70%),
    radial-gradient(760px 420px at 4% 8%, #e6f0ff 0%, rgba(230,240,255,0) 70%),
    #fff;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero-glow-1 { width: 420px; height: 420px; right: -80px; top: -60px; background: rgba(139, 92, 246, .18); }
.hero-glow-2 { width: 360px; height: 360px; left: -120px; bottom: -120px; background: rgba(79, 70, 229, .14); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.hero-copy { order: 2; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid #dfe1f5;
  color: #4b4f6b;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}
.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.22;
  letter-spacing: -.5px;
  font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, var(--primary) 0%, var(--accent) 55%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc { color: var(--muted); font-size: 16.5px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  margin-left: -10px;
  background: linear-gradient(135deg, #6d5efc, #a78bfa);
}
.avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #4f46e5, #6366f1); }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #2563eb, #38bdf8); }
.avatars span:nth-child(4) { background: #eef0ff; color: var(--primary); }
.hero-proof p { font-size: 14px; color: var(--muted); }
.hero-proof strong { color: var(--text); }

/* Hero visual */
.hero-visual { order: 1; }
.app-card {
  position: relative;
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(160deg, #241f6b 0%, #3b2f9e 48%, #5b46d6 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-card::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -90px; top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%);
}
.app-card-top { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: .9; }
.app-card-top .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
.app-card-title { font-weight: 600; }
.app-badge {
  margin-left: auto;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
}
.app-orb {
  position: relative;
  width: 168px; height: 168px;
  margin: 26px auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(from 210deg, rgba(255,255,255,.55), rgba(255,255,255,.05) 55%, rgba(255,255,255,.45));
  animation: spin 14s linear infinite;
}
.app-orb::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #2b2480;
}
.app-orb-inner {
  position: relative;
  display: grid; place-items: center;
  gap: 4px;
  animation: spin-rev 14s linear infinite;
}
.app-orb-inner svg { width: 34px; height: 34px; color: #a5b4ff; }
.app-orb-inner span { font-size: 15px; font-weight: 700; letter-spacing: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.app-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.app-meta div { padding: 10px 4px; border-radius: 12px; background: rgba(255,255,255,.08); }
.app-meta strong { display: block; font-size: 18px; font-weight: 700; }
.app-meta strong span { font-size: 11px; font-weight: 500; opacity: .7; margin-left: 2px; }
.app-meta small { font-size: 11.5px; opacity: .65; }
.node-list { margin-top: 16px; display: grid; gap: 8px; }
.node-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
}
.flag {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .5px;
  width: 26px; height: 20px;
  display: grid; place-items: center;
  border-radius: 5px;
  background: rgba(255,255,255,.16);
  font-weight: 700;
}
.node-list em { margin-left: auto; font-style: normal; color: #a5f3c8; font-size: 12px; }

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section-faq { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.3;
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d9dcf7; }
.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 18px;
}
.card-icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card > p { color: var(--muted); font-size: 14.5px; }
.ticks { margin-top: 18px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 22px; font-size: 13.5px; color: #4b4f6b; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary-soft);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 3.5px; top: 8.5px;
  width: 5px; height: 3px;
  border-left: 1.6px solid var(--primary);
  border-bottom: 1.6px solid var(--primary);
  transform: rotate(-45deg);
}

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease;
}
.mini-card:hover { transform: translateY(-3px); border-color: #d9dcf7; }
.mini-icon {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}
.mini-icon svg { width: 20px; height: 20px; }
.mini-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.mini-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats-band {
  padding: 0 0 96px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.5px; }
.stat strong span { font-size: 15px; font-weight: 600; color: var(--primary); margin-left: 2px; }
.stat small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex: 0 0 42px;
}
.avatar-1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.avatar-2 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.avatar-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.review h4 { font-size: 15px; font-weight: 700; }
.review small { font-size: 12.5px; color: var(--muted); }
.review > p { font-size: 14px; color: #4b4f6b; min-height: 88px; }
.stars { color: #f5a524; letter-spacing: 3px; font-size: 15px; margin-top: 8px; }
.star-dim { color: #dfe1ea; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: #d9dcf7; }
.faq-item.open { border-color: #cdd2f8; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.faq-icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px; height: 20px;
  transition: transform .25s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: #7b809a;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 13px; height: 1.8px; }
.faq-icon::after { width: 1.8px; height: 13px; transition: opacity .2s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-item.open .faq-icon::before { background: var(--primary); }
.faq-item.open .faq-icon::after { opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  background:
    radial-gradient(600px 320px at 88% 10%, rgba(255,255,255,.16), rgba(255,255,255,0) 65%),
    linear-gradient(120deg, #3b2f9e 0%, #5237c9 45%, #6d4ee8 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 12.5px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
}
.cta h2 { margin: 20px 0 16px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.28; letter-spacing: -.4px; }
.cta-copy > p { color: rgba(255,255,255,.78); font-size: 15px; max-width: 440px; }
.cta-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.cta-note { margin-top: 20px !important; font-size: 13px !important; color: rgba(255,255,255,.62) !important; }

.cta-panel {
  border-radius: 20px;
  padding: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(18, 10, 70, .3);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.panel-dots { display: flex; gap: 5px; }
.panel-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.panel-stats div { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.1); }
.panel-stats small { font-size: 11px; color: rgba(255,255,255,.66); display: block; }
.panel-stats strong { font-size: 17px; font-weight: 700; }
.panel-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 96px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}
.panel-chart span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(199,190,255,.35));
}
.panel-foot { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.7); }
.panel-foot span { position: relative; padding-left: 12px; }
.panel-foot span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #a5f3c8;
}

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 36px;
}
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--muted); transition: color .2s ease; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer-bottom small { color: #8b90a5; font-size: 13px; }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero { padding: 52px 0 72px; }
  .section { padding: 76px 0; }
  .feature-grid, .mini-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .mini-grid .mini-card:last-child { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    left: 0; right: 0;
    top: 68px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: max-height .3s ease, padding .3s ease;
  }
  .nav.open .nav-links { max-height: 300px; padding: 8px 24px 18px; border-bottom-color: var(--line); box-shadow: 0 18px 30px rgba(23,26,66,.08); }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid #f1f2f8; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }

  .hero h1 { font-size: 30px; }
  .hero-desc { font-size: 15px; }
  .hero-cta .btn { flex: 1; }
  .feature-grid, .mini-grid, .review-grid, .stats-grid { grid-template-columns: 1fr; }
  .mini-grid .mini-card:last-child { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 62px 0; }
  .stats-band { padding-bottom: 62px; }
  .cta { padding: 28px 22px; border-radius: 22px; gap: 32px; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .review > p { min-height: 0; }
  .faq-q { padding: 17px 18px; font-size: 15px; }
  .faq-a p { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .app-orb, .app-orb-inner { animation: none; }
}
