/* ===== 公开站点样式（前台主页/内容页/估算页） ===== */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #1f2933; background: #f7f9fc; }
a { color: #1668dc; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* 头部 */
.site-header { background: #0b1f3a; color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo-badge { background: linear-gradient(135deg,#1668dc,#36cfc9); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 1px; padding: 5px 7px; border-radius: 6px; }
.logo-name { font-size: 17px; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: rgba(255,255,255,.82); padding: 8px 14px; border-radius: 6px; font-size: 14px; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.main-nav a.on { color: #fff; background: rgba(255,255,255,.14); }
.main-nav .nav-cta { background: #1668dc; color: #fff; margin-left: 8px; }
.main-nav .nav-cta:hover { background: #3f8cff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

/* 公告条 */
.announce { background: linear-gradient(90deg,#fff7e6,#fff); border-bottom: 1px solid #ffe7ba; color: #ad6800; font-size: 13px; padding: 8px 0; }

/* Hero */
.hero { background: linear-gradient(135deg,#0b1f3a 0%,#123c73 55%,#1668dc 100%); color: #fff; padding: 84px 0 92px; text-align: center; position: relative; overflow: hidden; }
.hero::after { content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px; background: radial-gradient(circle,rgba(54,207,201,.35),transparent 65%); }
.hero::before { content:""; position:absolute; left:-100px; bottom:-160px; width:380px; height:380px; background: radial-gradient(circle,rgba(255,255,255,.12),transparent 65%); }
.hero h1 { font-size: 42px; margin: 0 0 14px; letter-spacing: 1px; position: relative; }
.hero .sub { font-size: 17px; color: rgba(255,255,255,.82); margin: 0 0 34px; position: relative; }
.hero-actions { display: flex; gap: 14px; justify-content: center; position: relative; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 34px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: .15s; }
.btn-primary { background: #fff; color: #0b1f3a; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* 渠道条 */
.channels { background: #fff; border-bottom: 1px solid #eceff4; padding: 20px 0; }
.channels .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.channels-label { color: #8592a5; font-size: 13px; margin-right: 8px; }
.chip { border: 1px solid #e4e9f2; background: #f7f9fc; color: #33415c; border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600; }

/* 统计 */
.stats { padding: 44px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; }
.stat-card { background: #fff; border: 1px solid #eceff4; border-radius: 12px; padding: 22px; text-align: center; }
.stat-num { font-size: 32px; font-weight: 800; color: #0b1f3a; }
.stat-label { color: #8592a5; font-size: 13px; margin-top: 4px; }

/* 卡片区 */
.section { padding: 48px 0; }
.section-title { text-align: center; font-size: 26px; margin: 0 0 6px; color: #0b1f3a; }
.section-sub { text-align: center; color: #8592a5; margin: 0 0 32px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid #eceff4; border-radius: 12px; padding: 26px 22px; display: block; color: inherit; transition: .18s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(11,31,58,.12); border-color: #d6e4ff; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; color: #fff; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 16px; color: #0b1f3a; }
.card p { margin: 0; font-size: 13px; color: #8592a5; line-height: 1.7; }
.card .more { display: inline-block; margin-top: 14px; font-size: 13px; color: #1668dc; }
.c0 { background: linear-gradient(135deg,#1668dc,#69b1ff); }
.c1 { background: linear-gradient(135deg,#722ed1,#b37feb); }
.c2 { background: linear-gradient(135deg,#d4380d,#ff7a45); }
.c3 { background: linear-gradient(135deg,#08979c,#36cfc9); }
.c4 { background: linear-gradient(135deg,#d48806,#ffd666); }
.c5 { background: linear-gradient(135deg,#c41d7f,#ff85c0); }
.c6 { background: linear-gradient(135deg,#237804,#95de64); }
.c7 { background: linear-gradient(135deg,#595959,#bfbfbf); }

/* 页脚 */
.site-footer { background: #0b1f3a; color: rgba(255,255,255,.75); margin-top: 40px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 44px 20px 28px; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-title { font-weight: 600; color: #fff; margin-bottom: 12px; font-size: 14px; }
.site-footer p { margin: 6px 0; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.muted { color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* 内容页 */
.page-hero { background: linear-gradient(135deg,#0b1f3a,#123c73); color: #fff; padding: 48px 0; }
.page-hero h1 { margin: 0; font-size: 30px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.crumbs a { color: rgba(255,255,255,.85); }
.page-body { background: #fff; border: 1px solid #eceff4; border-radius: 12px; padding: 36px 44px; margin: -28px auto 40px; position: relative; max-width: 880px; line-height: 1.9; font-size: 15px; }
.page-body img { max-width: 100%; }

/* 估算页 */
.estimate-box { background: #fff; border: 1px solid #eceff4; border-radius: 12px; padding: 28px; margin: 32px auto; max-width: 860px; }
.est-form { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 14px; align-items: end; }
.est-form label { display: block; font-size: 12px; color: #8592a5; margin-bottom: 5px; }
.est-form select, .est-form input { width: 100%; padding: 10px 12px; border: 1px solid #d0d7e2; border-radius: 8px; font-size: 14px; }
.est-submit { background: #1668dc; color: #fff; border: 0; border-radius: 8px; padding: 11px 28px; font-size: 14px; font-weight: 600; cursor: pointer; }
.est-submit:hover { background: #3f8cff; }
.quote-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.quote-table th, .quote-table td { padding: 12px 14px; border-bottom: 1px solid #eceff4; text-align: left; }
.quote-table th { background: #f7f9fc; color: #8592a5; font-weight: 600; font-size: 12px; }
.quote-table td.price { color: #d4380d; font-weight: 700; font-size: 16px; }
.est-empty { text-align: center; color: #8592a5; padding: 30px 0 10px; }
.est-tip { font-size: 12px; color: #ad6800; background: #fffbe6; border: 1px solid #ffe58f; padding: 8px 12px; border-radius: 6px; margin-top: 16px; }

@media (max-width: 760px) {
  .hero h1 { font-size: 28px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #0b1f3a; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px; }
  body.nav-open .main-nav { display: flex; }
  .main-nav .nav-cta { margin-left: 0; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-body { padding: 24px 20px; margin-left: 12px; margin-right: 12px; }
}
