/* 净证百倚家政SaaS平台 - 样式 */
:root {
  --brand: #F5A623;
  --brand-dark: #D4851A;
  --brand-light: #FFF3D6;
  --ink: #1A1A1A;
  --gray: #6B6B6B;
  --line: #EEE;
  --bg: #FDFBF7;
  --radius: 16rpx;
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }

/* 按钮 */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 8px 24px rgba(245,166,35,.3); }
.btn-ghost { background: #fff; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn:active { transform: translateY(0); }

/* 头部 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand-logo { border-radius: 10px; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: var(--gray); font-weight: 600; font-size: 15px; padding: 6px 0; position: relative; }
.site-nav a:hover, .site-nav a.active { color: var(--brand-dark); }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--brand); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { background: linear-gradient(135deg, #FFF3D6 0%, #FDE9C8 100%); padding: 64px 0; }
.hero-sm { padding: 48px 0; }
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero-badge { display: inline-block; background: #fff; color: var(--brand-dark); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 30px; margin-bottom: 18px; }
.hero-title { font-size: 42px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.hero-subtitle { font-size: 18px; color: var(--gray); margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-visual img { width: 100%; max-width: 420px; border-radius: 24px; box-shadow: 0 20px 50px rgba(212,133,26,.18); }

/* 统计 */
.stats { background: #fff; padding: 36px 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--brand-dark); }
.stat-label { font-size: 14px; color: var(--gray); margin-top: 4px; }

/* 区块 */
.section { padding: 64px 0; }
.section-alt { background: #fff; }
.section-title { font-size: 30px; font-weight: 800; text-align: center; margin-bottom: 40px; position: relative; }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--brand); margin: 14px auto 0; }

/* 卡片 */
.card-grid { display: grid; gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.07); }
.card-icon { font-size: 38px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; }
.tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--brand-light); color: var(--brand-dark); font-size: 12px; padding: 4px 12px; border-radius: 20px; }
.tag-lg { font-size: 15px; padding: 8px 18px; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; position: relative; }
.step-n { font-size: 40px; font-weight: 800; color: var(--brand-light); line-height: 1; }
.step h3 { margin: 12px 0 8px; font-size: 19px; }
.step p { color: var(--gray); font-size: 15px; }

/* 平台区块 */
.block-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.block { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.block h3 { font-size: 21px; color: var(--brand-dark); margin-bottom: 12px; }
.block p { color: var(--gray); margin-bottom: 12px; }
.block-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.block-points li { padding-left: 22px; position: relative; color: var(--ink); }
.block-points li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; list-style: none; position: relative; padding-right: 40px; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brand); }
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 22px 18px; color: var(--gray); }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 28px; margin-bottom: 6px; }
.cta-inner p { opacity: .92; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* 关于 */
.about-statement { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.statement { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.statement h3 { color: var(--brand-dark); margin-bottom: 12px; }
.statement p { color: var(--gray); font-size: 17px; }

/* 时间线 */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tl-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; border-top: 5px solid var(--brand); }
.tl-year { font-size: 28px; font-weight: 800; color: var(--brand); }
.tl-item h4 { margin: 8px 0; font-size: 19px; }
.tl-item p { color: var(--gray); }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.info-label { font-size: 13px; color: var(--gray); }
.info-value { font-size: 18px; font-weight: 700; color: var(--brand-dark); }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); }
.form-note { font-size: 13px; color: var(--gray); }
.form-desc { color: var(--gray); margin-bottom: 10px; }

/* 资讯 */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .18s, box-shadow .18s; display: block; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.07); }
.ac-cat { display: inline-block; background: var(--brand-light); color: var(--brand-dark); font-size: 12px; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.article-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.4; }
.article-card p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.ac-date { font-size: 13px; color: #aaa; }

/* 文章页 */
.breadcrumb { padding: 20px 0 0; font-size: 14px; color: var(--gray); }
.breadcrumb a:hover { color: var(--brand-dark); }
.article-container { max-width: 820px; }
.article-head { text-align: center; margin-bottom: 30px; }
.article-cat { background: var(--brand-light); color: var(--brand-dark); font-size: 13px; padding: 5px 14px; border-radius: 20px; }
.article-title { font-size: 32px; margin: 16px 0 10px; }
.article-meta { color: #aaa; font-size: 14px; }
.article-body p { margin-bottom: 18px; font-size: 17px; color: #333; }
.article-back { margin-top: 36px; text-align: center; }

/* 页脚 */
.site-footer { background: #2B2B2B; color: #cfcfcf; padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.3fr; gap: 30px; }
.footer-brand .brand-logo { border-radius: 10px; margin-bottom: 12px; }
.footer-slogan { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-company { font-size: 14px; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #444; margin-top: 30px; padding-top: 20px; font-size: 13px; color: #999; }

/* 响应式 */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-title { font-size: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .timeline, .article-list, .block-list, .about-statement, .contact-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stats-grid, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
}
