/* ============ 官网首页 · 蓝白企业风格 ============ */
:root {
  --b: #2563eb;          /* 品牌蓝 */
  --b-deep: #1d4ed8;
  --b-soft: rgba(37,99,235,.08);
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
}
.home-body { background: #fff; color: var(--ink); overflow-x: hidden; }
.home-body i[class^="ri-"] { vertical-align: -2px; }
.home-body a { text-decoration: none; }

/* 导航 */
.home-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #eef2f7;
}
.home-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; gap: 26px; height: 62px;
}
.home-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.home-logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.home-logo b { font-size: 16.5px; font-weight: 800; letter-spacing: .3px; }
.home-menu { display: flex; gap: 22px; flex: 1; }
.home-menu a { color: var(--ink-2); font-size: 14px; font-weight: 500; transition: color .15s; }
.home-menu a:hover { color: var(--b); }
.home-nav-actions { display: flex; gap: 9px; }
.home-cta-chat { box-shadow: none; }
.home-burger {
  display: none; margin-left: auto; width: 38px; height: 38px; border: none;
  background: var(--b-soft); border-radius: 10px; font-size: 20px; color: var(--b);
  cursor: pointer; transition: background .15s, transform .15s;
  align-items: center; justify-content: center;
}
.home-burger:hover { background: rgba(37,99,235,.16); }
.home-burger.open { transform: rotate(90deg); }

/* Hero */
.home-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(37,99,235,.13), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(79,70,229,.08), transparent 55%),
    linear-gradient(180deg, #f8faff 0%, #fff 100%);
  padding: 74px 0 90px;
}
.home-hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; gap: 50px;
}
.home-hero-text { flex: 1 1 52%; }
.home-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--b-soft); color: var(--b); font-size: 12.5px; font-weight: 600;
  padding: 5px 13px; border-radius: 100px; margin-bottom: 20px;
  border: 1px solid rgba(37,99,235,.14);
}
.home-hero h1 { font-size: 42px; line-height: 1.28; font-weight: 800; letter-spacing: 1px; }
.home-hero h1 em {
  font-style: normal; background: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero-text p { color: var(--ink-2); font-size: 15.5px; line-height: 1.9; margin: 18px 0 28px; max-width: 500px; }
.home-hero-btns { display: flex; gap: 12px; }
.home-hero-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.home-hero-meta span { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.home-hero-meta i { color: var(--b); }

/* Hero 聊天卡片 */
.home-hero-visual { flex: 1 1 48%; display: flex; justify-content: center; }
.hero-chat-card {
  width: 100%; max-width: 430px; background: #fff; border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15,23,42,.12), 0 4px 16px rgba(15,23,42,.05);
  border: 1px solid #eef2f7; overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .35s ease;
}
.hero-chat-card:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-chat-head {
  display: flex; align-items: center; gap: 6px; padding: 13px 16px;
  background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; font-size: 13px;
}
.hero-chat-head b { margin-left: 4px; font-weight: 600; letter-spacing: .3px; }
.hc-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); }
.hc-dot-1 { background: #fca5a5; } .hc-dot-2 { background: #fcd34d; } .hc-dot-3 { background: #86efac; }
.hero-chat-body { padding: 18px 16px 8px; display: grid; gap: 12px; min-height: 210px; }
.hc-msg { display: flex; gap: 8px; align-items: flex-end; }
.hc-msg p {
  background: #f1f5f9; border-radius: 14px 14px 14px 5px; padding: 9px 13px;
  font-size: 13px; line-height: 1.6; color: var(--ink); max-width: 78%;
}
.hc-msg.hc-out { justify-content: flex-end; }
.hc-msg.hc-out p {
  background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff;
  border-radius: 14px 14px 5px 14px;
}
.hc-ava {
  width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.hero-chat-input {
  margin: 10px 16px 16px; height: 40px; border-radius: 12px; background: #f1f5f9;
  display: flex; align-items: center; padding: 0 14px; gap: 8px;
}
.hero-chat-input span { flex: 1; }
.hero-chat-input i { color: var(--b); font-size: 17px; }

/* 通用区块 */
.home-section { padding: 80px 0; }
.home-section:nth-child(odd) { background: #fbfdff; }
.home-inner { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.home-section-head { text-align: center; margin-bottom: 44px; }
.home-section-head h2 { font-size: 28px; font-weight: 800; letter-spacing: .5px; }
.home-section-head p { color: var(--ink-2); margin-top: 10px; font-size: 14.5px; }

/* 功能卡片 */
.home-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-feat-card {
  background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 26px 24px;
  transition: transform .2s, box-shadow .2s;
}
.home-feat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,23,42,.08); }
.hf-ico {
  width: 48px; height: 48px; border-radius: 13px; font-size: 22px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.home-feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.home-feat-card p { color: var(--ink-2); font-size: 13.5px; line-height: 1.75; }

/* 套餐 */
.home-plans { background: linear-gradient(180deg, #f8faff, #fff) !important; }
.home-plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.home-plan-card {
  position: relative; background: #fff; border: 1px solid #eef2f7; border-radius: 18px;
  padding: 26px 22px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s, box-shadow .2s;
}
.home-plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.09); }
.home-plan-card.hot {
  border: 1.5px solid var(--b); box-shadow: 0 12px 34px rgba(37,99,235,.16);
}
.hp-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 13px; border-radius: 100px;
  box-shadow: 0 4px 10px rgba(37,99,235,.35); white-space: nowrap;
}
.home-plan-card h3 { font-size: 15px; color: var(--ink-2); font-weight: 600; }
.home-plan-card .hp-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 14px; }
.home-plan-card .hp-price b { font-size: 30px; font-weight: 800; color: var(--b); }
.home-plan-card .hp-price small { color: var(--ink-3); font-size: 13px; }
.home-plan-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; flex: 1; }
.home-plan-card li { font-size: 13px; color: var(--ink-2); display: flex; gap: 7px; align-items: center; }
.home-plan-card li i { color: var(--b); font-weight: 700; }
.home-plan-note { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 26px; }

/* FAQ */
.home-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-faq-item {
  background: #fff; border: 1px solid #eef2f7; border-radius: 14px; padding: 20px 22px;
}
.home-faq-item h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.home-faq-item h3 i { color: var(--b); }
.home-faq-item p { color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }

/* 页脚 */
.home-footer { background: #0f172a; color: #94a3b8; padding: 34px 0; margin-top: 20px; }
.home-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.home-footer .home-logo { color: #fff; }
.home-footer .muted { color: #64748b; }
.home-footer-links { display: flex; gap: 18px; }
.home-footer-links a { color: #cbd5e1; font-size: 13.5px; }
.home-footer-links a:hover { color: #fff; }

/* 移动端 */
@media (max-width: 860px) {
  .home-menu {
    display: none; position: fixed; top: 62px; left: 0; right: 0; z-index: 55;
    background: #fff; border-bottom: 1px solid #eef2f7;
    flex-direction: column; padding: 14px 22px; gap: 4px;
    box-shadow: 0 18px 30px rgba(15,23,42,.08);
  }
  .home-menu.open { display: flex; }
  .home-menu a { padding: 10px 0; font-size: 15px; }
  .home-burger { display: inline-flex; align-items: center; justify-content: center; }
  .home-cta-chat { display: none; }
  .home-hero { padding: 50px 0 60px; }
  .home-hero-inner { flex-direction: column; gap: 40px; }
  .home-hero-text { text-align: center; }
  .home-hero-text p { margin-left: auto; margin-right: auto; }
  .home-hero-btns { justify-content: center; }
  .home-hero-meta { justify-content: center; }
  .home-hero h1 { font-size: 30px; }
  .hero-chat-card { max-width: 340px; transform: none; }
  .home-feats { grid-template-columns: 1fr 1fr; }
  .home-plan-grid { grid-template-columns: 1fr 1fr; }
  .home-faq { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .home-feats { grid-template-columns: 1fr; }
  .home-plan-grid { grid-template-columns: 1fr; }
  .home-nav-actions .btn:first-child { display: none; }
}
