/* ============================================================
   网站样式 —— 想换配色，只改下面 :root 里的几个颜色变量
   ============================================================ */

:root {
  --primary: #0f766e;        /* 主色（按钮、链接、强调） */
  --primary-dark: #115e59;   /* 主色深色 */
  --dark: #0b1f2a;           /* 深色区块背景 */
  --dark-2: #12303d;
  --text: #1f2937;           /* 正文文字 */
  --text-light: #5b6b82;     /* 次要文字 */
  --bg: #ffffff;
  --bg-alt: #f0f7f6;         /* 浅色区块背景 */
  --border: #dbe7e5;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 60, 50, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 760px; }
section[id] { scroll-margin-top: 76px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { font-size: 20px; font-weight: 800; color: var(--dark); letter-spacing: 1px; }
.brand::before { content: "🤖 "; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text); font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.cta {
  background: var(--primary); color: #fff;
  padding: 8px 18px; border-radius: 999px; font-weight: 600;
}
.nav-links a.cta:hover { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark); }

/* ---------- 首屏 ---------- */
.hero {
  background: linear-gradient(160deg, #0b1f2a 0%, #12303d 55%, #0f766e 135%);
  color: #fff; padding: 96px 0 84px; text-align: center;
}
.hero-tag {
  display: inline-block; font-size: 14px; letter-spacing: 2px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 6px 18px; margin-bottom: 26px; color: #c8ebe4;
}
.hero h1 { font-size: 42px; line-height: 1.35; max-width: 860px; margin: 0 auto 22px; font-weight: 800; text-wrap: balance; }
.hero h1 .nowrap { white-space: nowrap; }
.hero-sub { font-size: 18px; color: #c6dcd8; max-width: 720px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.hero-points { list-style: none; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; color: #a8c7c2; font-size: 14px; }
.hero-points li::before { content: "✓ "; color: #5eead4; font-weight: 700; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(15,118,110,.35); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #fff; }
.sec-title { font-size: 32px; text-align: center; margin-bottom: 14px; font-weight: 800; }
.sec-sub { text-align: center; color: var(--text-light); max-width: 680px; margin: 0 auto 48px; font-size: 16px; }
.section-dark .sec-sub { color: #a8c7c2; }
.note { margin-top: 30px; font-size: 13px; color: var(--text-light); text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------- 网格卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(15,60,50,.13); }
.card .icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-light); }
.card .metric { margin-top: 12px; font-size: 13px; color: var(--primary); }
.card .metric::before { content: "📈 "; }

/* ---------- 报价卡 ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card.highlight { border: 2px solid var(--primary); position: relative; }
.price-card.highlight::after {
  content: "最受欢迎"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; padding: 3px 14px; border-radius: 999px;
}
.price-card .level {
  display: inline-block; background: var(--bg-alt); color: var(--primary);
  font-weight: 800; font-size: 13px; padding: 3px 12px; border-radius: 6px; margin-bottom: 10px;
}
.price-card .price { font-size: 22px; font-weight: 800; color: var(--dark); margin: 10px 0 2px; }
.price-card .price-note { font-size: 12px; color: var(--text-light); margin-bottom: 16px; }
.price-card ul { list-style: none; }
.price-card li { font-size: 14px; color: var(--text-light); padding: 6px 0 6px 22px; position: relative; border-top: 1px dashed var(--border); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ---------- 时间线 ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: step; }
.timeline li {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 14px; text-align: center; position: relative; counter-increment: step;
  box-shadow: var(--shadow);
}
.timeline li::before {
  content: counter(step); display: block; width: 34px; height: 34px; line-height: 34px;
  margin: 0 auto 10px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800;
}
.timeline h3 { font-size: 15px; margin-bottom: 6px; }
.timeline p { font-size: 12px; color: var(--text-light); }

/* ---------- 关于我们 ---------- */
#about-body p { margin-bottom: 16px; color: var(--text-light); font-size: 16px; }

/* ---------- 常见问题 ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 0 20px; box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 17px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; color: var(--text-light); font-size: 14px; }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff; color: var(--text); border-radius: 18px;
  padding: 38px 34px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.form-step-title { font-size: 14px; color: var(--primary); font-weight: 700; margin-bottom: 24px; }
.form-progress { display: flex; gap: 8px; margin-bottom: 28px; }
.form-progress span { flex: 1; height: 5px; border-radius: 99px; background: var(--border); }
.form-progress span.active { background: var(--primary); }

.q { margin-bottom: 26px; }
.q-label { display: block; font-weight: 700; margin-bottom: 12px; }
.q-label .req { color: #e11d48; margin-left: 4px; }
.q-label .opt { color: var(--text-light); font-weight: 400; font-size: 13px; margin-left: 6px; }
.q-options { display: flex; flex-wrap: wrap; gap: 10px; }
.q-options label {
  border: 1.5px solid var(--border); border-radius: 999px; padding: 9px 18px;
  font-size: 14px; cursor: pointer; transition: all .15s ease; user-select: none;
}
.q-options label:hover { border-color: var(--primary); color: var(--primary); }
.q-options input { display: none; }
.q-options label.checked { background: var(--primary); border-color: var(--primary); color: #fff; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--text);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,118,110,.12); }
.field textarea { min-height: 96px; resize: vertical; }

.privacy-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-light); margin: 22px 0; }
.privacy-row input { margin-top: 4px; }
.form-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 8px; }
.form-error { color: #e11d48; font-size: 14px; margin-bottom: 14px; display: none; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .big { font-size: 46px; margin-bottom: 14px; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--text-light); font-size: 14px; }
.form-success .local-note { font-size: 12px; color: #8fa19d; margin-top: 16px; }
.tencent-embed { width: 100%; min-height: 900px; border: none; border-radius: 18px; background: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark-2); color: #a8c7c2; padding: 46px 0 34px; text-align: center; }
.footer-slogan { font-size: 16px; color: #fff; margin-bottom: 14px; font-weight: 600; }
.footer-contact { font-size: 14px; margin-bottom: 16px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-legal { font-size: 13px; color: #7f9e99; }
.footer-legal span { margin: 0 8px; }
.footer-legal a { color: #7f9e99; text-decoration: underline; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; background: rgba(5,25,25,.6); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 16px; max-width: 620px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 34px; }
.modal-box h3 { margin-bottom: 16px; }
.modal-box p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.modal-box .modal-meta { font-size: 12px; color: #7f8f8b; margin-bottom: 18px; }
.modal-box .btn { margin-top: 10px; }

/* ---------- 隐私政策独立页 ---------- */
.legal-page { max-width: 820px; margin: 0 auto; padding: 64px 22px 90px; }
.legal-page h1 { font-size: 30px; margin-bottom: 8px; color: var(--dark); }
.legal-page .legal-meta { font-size: 13px; color: var(--text-light); margin-bottom: 30px; }
.legal-page p { font-size: 15px; color: var(--text-light); margin-bottom: 14px; }
.legal-page .legal-back { display: inline-block; margin-bottom: 28px; font-size: 14px; }
.legal-page .legal-footer { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-light); }
.legal-page .legal-footer a { margin-left: 10px; }

/* ============================================================
   手机 / 平板适配（响应式）
   ============================================================ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 22px; gap: 16px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 56px 0; }
  .sec-title { font-size: 24px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 26px 20px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
}
