:root{
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --card: #ffffff;
  --text: #111318;
  --muted: #5a6270;
  --primary: #6d5efc;
  --primary-2: #4f80ff;
  --accent: #00b3ff;
  --success: #16a085;
  --danger: #ff5a5f;
  --border: #e6e8ee;
  --shadow: 0 10px 24px rgba(17,19,24,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 70% -10%, rgba(109,94,252,.12), transparent 60%), var(--bg);
  line-height: 1.6;
}

/* Containers */
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700;
}
.brand-icon { width: 64px; }
.brand-text { letter-spacing: .2px; }

.nav-menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--muted); text-decoration: none; padding: 10px 6px; border-radius: 6px; }
.nav-menu a:hover { color: var(--text); background: rgba(109,94,252,.12); }

.nav-toggle {
  display: none; background: transparent; border: none; cursor: pointer; padding: 6px; border-radius: 6px;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0;
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-inner { padding: 80px 0 56px; text-align: center; }
.hero-badge {
  display: inline-block; padding: 6px 10px; border: 1px solid var(--border); background: rgba(20,20,36,.6);
  border-radius: 999px; color: var(--muted); font-size: 12px; margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(26px, 4vw, 44px);
  margin: 0 0 12px;
  line-height: 1.2;
  background: linear-gradient(180deg, #fff, #d4d4ff 60%, #a9a9ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle {
  color: var(--muted); max-width: 720px; margin: 0 auto 22px;
}
.hero-form {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  width: min(760px, 100%); margin: 0 auto;
}
.download-form {
  grid-template-columns: 1fr 1fr auto;
}
.input {
  background: var(--card); color: var(--text); border: 1px solid var(--border);
  padding: 14px 14px; border-radius: 10px; outline: none;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109,94,252,.18); }
.btn {
  border: none; cursor: pointer; padding: 14px 18px; border-radius: 10px;
  text-decoration: none !important;   /* 去掉下划线 */
  font-weight: 700; letter-spacing: .2px;
}
.btn-primary {
  color: #fff; background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 18px rgba(79,128,255,.20);
}
.btn-primary:hover { filter: brightness(1.05); }

.hero-hints { margin-top: 16px; color: var(--muted); display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero-hints .dot { width: 4px; height: 4px; background: var(--border); border-radius: 50%; display: inline-block; }

.hero-bg {
  position: absolute; inset: -20% -20% auto -20%; height: 320px; z-index: -1;
  background: radial-gradient(600px 240px at 50% 0%, rgba(79,128,255,.20), transparent 60%),
              radial-gradient(600px 240px at 20% 0%, rgba(0,179,255,.12), transparent 60%);
  filter: blur(28px);
}
.hero-title {
  /* 深色渐变改为更适合浅色背景的标题渐变 */
  background: linear-gradient(180deg, #1d2230, #3a3f55 60%, #59608a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle {
  color: var(--muted); max-width: 720px; margin: 0 auto 22px;
}
.hero-form {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  width: min(760px, 100%); margin: 0 auto;
}
.download-form {
  display: flex; justify-content: center;
}
/* 下拉容器与菜单样式 */
.download-dropdown {
  position: relative; display: inline-block;
}
.download-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0; transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 10;
}
.download-dropdown:hover .download-menu,
.download-dropdown:focus-within .download-menu {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.menu-item {
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; color: var(--text);
  padding: 10px 12px; border-radius: 8px;
}
.menu-item:hover {
  background: rgba(109,94,252,.10);
}
.menu-item .tag {
  color: var(--muted); font-size: 12px; border: 1px solid var(--border); padding: 2px 6px; border-radius: 999px;
}
/* 小屏保持良好点击区 */
.input {
  background: var(--card); color: var(--text); border: 1px solid var(--border);
  padding: 14px 14px; border-radius: 10px; outline: none;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109,94,252,.18); }
.btn {
  border: none; cursor: pointer; padding: 14px 18px; border-radius: 10px;
  font-weight: 700; letter-spacing: .2px;
}
.btn-primary {
  color: #fff; background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 18px rgba(92,108,255,.25);
}
.btn-primary:hover { filter: brightness(1.05); }

.hero-hints { margin-top: 16px; color: var(--muted); display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero-hints .dot { width: 4px; height: 4px; background: var(--border); border-radius: 50%; display: inline-block; }

.hero-bg {
  position: absolute; inset: -20% -20% auto -20%; height: 360px; z-index: -1;
  background: radial-gradient(600px 240px at 50% 0%, rgba(92,108,255,.35), transparent 60%),
              radial-gradient(600px 240px at 20% 0%, rgba(0,212,255,.18), transparent 60%);
  filter: blur(30px);
}

/* Sections */
.section { padding: 60px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 28px; margin: 0 0 10px; }
.section-subtitle { color: var(--muted); margin: 0 0 24px; }

/* How */
.how-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.how-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow);
}
.how-step {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #0b0b12; margin-bottom: 6px;
}

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; min-height: 150px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(124,77,255,.5); }
.feature-icon { font-size: 22px; margin-bottom: 8px; }

/* Testimonials */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.testimonial {
  margin: 0; padding: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 14px;
}
.testimonial blockquote { margin: 0 0 10px; color: var(--text); }
.testimonial figcaption { color: var(--muted); font-size: 14px; }

/* Promo / Pricing */
.promo {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  background: linear-gradient(135deg, rgba(124,77,255,.15), rgba(92,108,255,.12));
  border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow);
}
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; justify-content: flex-end; }
.price-current { font-size: 30px; font-weight: 800; background: linear-gradient(180deg, #fff, #cfd2ff); -webkit-background-clip: text; color: transparent; }
.price-note { color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px;
}
.faq-item > summary {
  cursor: pointer; list-style: none; font-weight: 700; position: relative; padding: 6px 0;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item[open] { border-color: rgba(124,77,255,.5); box-shadow: inset 0 0 0 1px rgba(124,77,255,.15); }
.faq-item p { color: var(--muted); margin: 6px 0 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #ffffff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 20px 0; }
.footer-brand { color: var(--muted); }
.footer-links { justify-self: center; display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { text-align: right; color: var(--muted); }

/* Utilities */
.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; }

/* Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { padding: 64px 0 40px; }
  .how-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .promo { grid-template-columns: 1fr; text-align: center; }
  .price { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .nav-toggle { display: inline-block; }
  .nav-menu {
    position: absolute; right: 4%; top: 64px;
    display: none; flex-direction: column; gap: 8px;
    background: var(--card); border: 1px solid var(--border); padding: 10px; border-radius: 10px; width: 200px;
  }
  .logo-marquee { margin-top: 14px; }
  .plans-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* 平台 Logo 轮动 */
.logo-marquee {
  margin: 18px auto 0; width: min(920px, 100%); overflow: hidden;
  border: 1px solid var(--border); border-radius: 12px; background: var(--card);
}
.logo-track {
  display: flex; gap: 24px; align-items: center; padding: 10px 16px;
  animation: marquee-left 24s linear infinite;
  width: max-content;
}
.logo-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted);
  background: #fff; box-shadow: 0 4px 12px rgba(17,19,24,.06);
}
.logo-dot { font-size: 16px; line-height: 1; }
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Pricing Plans - base styles */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.plan-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.plan-recommend {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: #3b82f6;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
}

.plan-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #111827;
}

.plan-price {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.plan-price .currency {
  font-size: 16px;
  vertical-align: top;
  margin-right: 2px;
}

.plan-price .period {
  font-size: 14px;
  color: #6b7280;
  margin-left: 4px;
}

.plan-features {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
  color: #111827;
}

.plan-features li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0;
}

.plan-cta {
  margin-top: auto;
  text-align: center;
}
/* Feature 列表排版优化 */
.feature-card .feature-list {
  margin: 8px 0 0;
  padding-left: 1.1em;
  color: #374151; /* slate-700 */
}
.feature-card .feature-list li {
  margin: 6px 0;
  line-height: 1.6;
}
