/* 毛孩悄悄话 官网样式 */
:root {
  --primary: #ff7a59;
  --primary-dark: #e85a3b;
  --secondary: #6c63ff;
  --accent: #ffd166;
  --dark: #1f2937;
  --gray: #6b7280;
  --light: #f9fafb;
  --border: #e5e7eb;
  --success: #10b981;
  --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ====== 顶部导航 ====== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--dark); }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 20px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--dark); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 8px 18px; border-radius: 999px; font-size: 14px;
}
.nav-cta:hover { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* ====== 通用区块 ====== */
.section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-title { font-size: 34px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--gray); max-width: 680px; margin: 0 auto 50px; font-size: 16px; }

/* ====== Hero ====== */
.hero {
  position: relative; padding: 80px 0 100px; overflow: hidden;
  background: radial-gradient(1200px 500px at 20% 0%, #fff3ee 0%, transparent 60%),
              radial-gradient(900px 500px at 90% 10%, #eef0ff 0%, transparent 60%),
              #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-tag {
  display: inline-block; background: #fff; border: 1px solid var(--border);
  color: var(--primary); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; margin-bottom: 18px; font-weight: 500;
}
.hero h1 { font-size: 48px; line-height: 1.2; font-weight: 800; margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 18px; color: var(--gray); margin-bottom: 32px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: all .2s; border: 0; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--dark); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.hero-mock {
  position: relative; aspect-ratio: 4/5; max-width: 380px; margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 32px; padding: 18px;
  box-shadow: var(--shadow);
}
.hero-mock-screen {
  width: 100%; height: 100%; background: #fff; border-radius: 22px;
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.chat-bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 14px;
}
.chat-bubble.bot { background: #fff3ee; color: #6b3a2a; border-top-left-radius: 4px; }
.chat-bubble.user { background: var(--secondary); color: #fff; align-self: flex-end; border-top-right-radius: 4px; }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; }
.hero-stats .item .num { font-size: 28px; font-weight: 800; color: var(--primary); }
.hero-stats .item .lbl { color: var(--gray); font-size: 13px; }

/* ====== 特性卡片 ====== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: all .25s; position: relative; overflow: hidden;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #fff3ee, #ffe5d8); color: var(--primary); font-size: 24px;
  margin-bottom: 18px;
}
.feat-card h3 { font-size: 19px; margin-bottom: 10px; }
.feat-card p { color: var(--gray); font-size: 15px; }

/* ====== 角色解决方案 ====== */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card {
  border-radius: 18px; padding: 36px 28px; color: #fff; position: relative; overflow: hidden;
  min-height: 280px; display: flex; flex-direction: column;
}
.role-c { background: linear-gradient(135deg, #ff8a7a, #ff5e3a); }
.role-m { background: linear-gradient(135deg, #6c63ff, #4a3ee0); }
.role-a { background: linear-gradient(135deg, #11998e, #38ef7d); }
.role-card .tag { font-size: 13px; opacity: .85; margin-bottom: 10px; }
.role-card h3 { font-size: 26px; margin-bottom: 16px; }
.role-card ul { list-style: none; flex: 1; }
.role-card li { padding: 4px 0; opacity: .95; font-size: 14px; }
.role-card li::before { content: "✓ "; opacity: .8; }
.role-card .role-link {
  margin-top: 18px; align-self: flex-start;
  background: rgba(255, 255, 255, .2); color: #fff;
  padding: 8px 18px; border-radius: 999px; font-size: 14px;
}
.role-card .role-link:hover { background: rgba(255, 255, 255, .3); color: #fff; }

/* ====== 价格 ====== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: #fff; border: 2px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; text-align: center; position: relative;
}
.price-card.featured { border-color: var(--primary); transform: scale(1.03); box-shadow: var(--shadow); }
.price-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.price-card h3 { font-size: 20px; margin-bottom: 10px; }
.price-card .price { font-size: 38px; font-weight: 800; color: var(--primary); margin: 14px 0; }
.price-card .price small { font-size: 15px; color: var(--gray); font-weight: 400; }
.price-card ul { list-style: none; text-align: left; margin-top: 18px; }
.price-card li { padding: 8px 0; font-size: 15px; border-bottom: 1px dashed var(--border); }
.price-card li:last-child { border: 0; }

/* ====== 流程时间线 ====== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.timeline-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; position: relative; counter-increment: step;
}
.timeline-item::before {
  content: counter(step, decimal-leading-zero);
  font-size: 38px; font-weight: 800; color: var(--primary);
  opacity: .25; position: absolute; top: 14px; right: 18px;
}
.timeline-item h4 { font-size: 17px; margin-bottom: 8px; }
.timeline-item p { color: var(--gray); font-size: 14px; }

/* ====== FAQ ====== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--gray); }

/* ====== CTA 横幅 ====== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; padding: 60px 40px; border-radius: 24px; text-align: center;
  margin: 60px auto;
}
.cta-banner h2 { font-size: 32px; margin-bottom: 14px; }
.cta-banner p { opacity: .9; margin-bottom: 26px; font-size: 17px; }
.cta-banner .btn-primary { background: #fff; color: var(--primary); }
.cta-banner .btn-primary:hover { background: var(--accent); color: var(--dark); }

/* ====== 页脚 ====== */
.footer {
  background: #1a1f2e; color: #c2c8d4; padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer li { padding: 4px 0; font-size: 14px; }
.footer a { color: #c2c8d4; }
.footer a:hover { color: var(--primary); }
.footer-brand p { font-size: 14px; opacity: .8; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid #2d3548; margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #8892a6; font-size: 13px;
}

/* ====== 子页 Hero ====== */
.subhero {
  padding: 70px 0 60px; text-align: center;
  background: linear-gradient(135deg, #fff3ee 0%, #eef0ff 100%);
}
.subhero h1 { font-size: 40px; margin-bottom: 14px; }
.subhero p { color: var(--gray); font-size: 17px; max-width: 720px; margin: 0 auto; }

/* ====== 表格 ====== */
.table-wrap { overflow-x: auto; }
table.compare {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
table.compare th, table.compare td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px;
}
table.compare thead { background: var(--light); }
table.compare th { font-weight: 600; }
table.compare tr:last-child td { border: 0; }

/* ====== 响应式 ====== */
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 34px; }
  .feat-grid, .role-grid, .price-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
}
