/* ════════════════════════════════════════
   zhuti. 首页页面样式（专属）
   公共样式见 common.css
   ════════════════════════════════════════ */

section { scroll-margin-top:80px; }

/* ── 通用 section ── */
.section { padding:72px 0; }
.section-alt { background:var(--bg); }
.section-head { text-align:center; max-width:680px; margin:0 auto 44px; }
.section-head.row { display:flex; align-items:flex-end; justify-content:space-between; max-width:none; text-align:left; flex-wrap:wrap; gap:18px; }
.eyebrow { font-size:12px; font-weight:800; letter-spacing:3px; color:var(--blue); text-transform:uppercase; margin-bottom:12px; }
.section-head h2 { font-size:32px; font-weight:900; letter-spacing:-.5px; }
.section-head p { color:var(--text-muted); margin-top:10px; font-size:15px; }

/* ── Hero（浅色网格 + 玻璃质感 · 新风格） ── */
.hero { position:relative; overflow:hidden; padding:80px 0 92px; background:linear-gradient(180deg,#fbfdff 0%, #f3f7ff 100%); color:var(--text); }
.hero-bg { position:absolute; inset:0; z-index:0; pointer-events:none; }
.orb { position:absolute; border-radius:50%; filter:blur(60px); opacity:.5; }
.orb-1 { width:520px; height:520px; left:-120px; top:-170px; background:radial-gradient(circle,#93c5fd,transparent 70%); }
.orb-2 { width:480px; height:480px; right:-130px; top:-90px; background:radial-gradient(circle,#c4b5fd,transparent 70%); }
.orb-3 { width:440px; height:440px; right:16%; bottom:-220px; background:radial-gradient(circle,#7dd3fc,transparent 70%); opacity:.4; }
.hero-grid { position:absolute; inset:0; background-image:radial-gradient(rgba(37,99,235,.10) 1px, transparent 1px); background-size:26px 26px; -webkit-mask-image:linear-gradient(180deg,#000,transparent); mask-image:linear-gradient(180deg,#000,transparent); }
.hero-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center; }
.hero-tag { display:inline-flex; align-items:center; gap:7px; background:rgba(37,99,235,.08); border:1px solid rgba(37,99,235,.18); color:var(--blue); font-size:13px; font-weight:700; padding:6px 14px; border-radius:999px; margin-bottom:22px; }
.hero h1 { font-size:48px; font-weight:900; line-height:1.16; letter-spacing:-1px; color:var(--navy); }
.hero h1 em { font-style:normal; background:linear-gradient(120deg,var(--blue),#7c3aed); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero-sub { font-size:17px; color:var(--text-muted); margin:20px 0 26px; max-width:560px; }
.hero-highlights { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0 0 26px; max-width:580px; padding:0; }
.hero-highlights li { display:flex; gap:12px; align-items:flex-start; background:#fff; border:1px solid var(--border); border-radius:14px; padding:13px 15px; box-shadow:0 4px 16px rgba(15,23,42,.04); transition:transform var(--transition), box-shadow var(--transition); }
.hero-highlights li:hover { transform:translateY(-3px); box-shadow:0 10px 26px rgba(37,99,235,.12); }
.hero-highlights .hk { flex:none; width:32px; height:32px; border-radius:10px; background:linear-gradient(135deg,var(--blue),#1e40af); color:#fff; display:flex; align-items:center; justify-content:center; font-size:15px; }
.hero-highlights b { display:block; font-size:14.5px; color:var(--text); font-weight:700; }
.hero-highlights span { font-size:12.5px; color:var(--text-muted); }
.hero-tags { font-size:14px; color:var(--text-muted); display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 22px; }
.hero-tags span { color:var(--text-2); font-weight:600; }
.hero-tags a { color:var(--blue); background:rgba(37,99,235,.07); border:1px solid rgba(37,99,235,.14); padding:5px 13px; border-radius:999px; transition:all var(--transition); }
.hero-tags a:hover { background:var(--blue); color:#fff; border-color:var(--blue); }
.hero-trust { display:flex; flex-wrap:wrap; gap:10px 22px; padding-top:18px; border-top:1px solid var(--border); }
.hero-trust .t { display:flex; align-items:center; gap:7px; font-size:13.5px; color:var(--text-2); font-weight:600; }
.hero-trust .t svg { width:16px; height:16px; stroke:var(--green); stroke-width:2.6; fill:none; flex:none; }

/* ── 视觉：浏览器预览 + 浮动玻璃卡 ── */
.hero-visual { position:relative; }
.mock-win { position:relative; background:#fff; border:1px solid var(--border); border-radius:18px; box-shadow:0 30px 70px rgba(37,99,235,.18); overflow:hidden; animation:floatY 6s ease-in-out infinite; }
.mock-topbar { display:flex; align-items:center; gap:7px; padding:12px 16px; background:#f8fafc; border-bottom:1px solid var(--border); }
.mock-topbar .dot { width:11px; height:11px; border-radius:50%; }
.mock-topbar .dot.r{background:#ff5f57}.mock-topbar .dot.y{background:#febc2e}.mock-topbar .dot.g{background:#28c840}
.mock-url { margin-left:10px; font-size:12px; color:var(--text-muted); background:#fff; border:1px solid var(--border); padding:3px 12px; border-radius:999px; }
.mock-canvas { padding:20px; background:linear-gradient(180deg,#fff,#fbfdff); }
.mock-nav { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.mock-nav span { height:8px; border-radius:4px; background:#e2e8f0; flex:none; }
.mock-nav span:nth-child(1){width:46px;background:var(--blue);}
.mock-nav span:nth-child(2){width:30px}.mock-nav span:nth-child(3){width:30px}
.mock-nav .ml { margin-left:auto; width:60px; height:22px; border-radius:7px; background:linear-gradient(135deg,var(--blue),#1e40af); }
.mock-heroblock { background:linear-gradient(120deg,#eff6ff,#eef2ff); border-radius:12px; padding:22px; margin-bottom:18px; display:flex; flex-direction:column; gap:10px; }
.mock-heroblock .m-line { height:10px; border-radius:5px; background:#c7d2fe; }
.mock-heroblock .w70{width:70%}.mock-heroblock .w50{width:50%}
.mock-heroblock .m-btn { width:90px; height:26px; border-radius:8px; background:var(--blue); margin-top:4px; }
.mock-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.m-card { aspect-ratio:1/1; border-radius:10px; background:linear-gradient(135deg,#dbeafe,#ede9fe); }
.m-card:nth-child(2){background:linear-gradient(135deg,#dcfce7,#ecfccb);}
.m-card:nth-child(3){background:linear-gradient(135deg,#fae8ff,#ffe4e6);}
.float-chip { position:absolute; z-index:2; display:flex; align-items:center; gap:9px; background:rgba(255,255,255,.86); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.7); box-shadow:0 12px 30px rgba(15,23,42,.14); border-radius:14px; padding:10px 14px; }
.float-chip b { font-size:16px; font-weight:900; color:var(--navy); }
.float-chip span { font-size:12px; color:var(--text-muted); }
.chip-rate { top:24px; right:-18px; animation:floatY 5s ease-in-out infinite .6s; }
.chip-rate b { color:#f59e0b; }
.chip-price { bottom:30px; left:-18px; animation:floatY 5.6s ease-in-out infinite 1.1s; }
.chip-price b { color:var(--blue); }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ── Hero 入场动画 ── */
.hero-text > * { animation:fadeUp .7s ease both; }
.hero-text .hero-tag{animation-delay:.05s}
.hero-text h1{animation-delay:.12s}
.hero-text .hero-sub{animation-delay:.2s}
.hero-text .hero-highlights{animation-delay:.28s}
.hero-text .hero-tags{animation-delay:.36s}
.hero-text .hero-trust{animation-delay:.44s}
.hero-visual{animation:fadeUp .8s ease both .3s}
@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}

@media (prefers-reduced-motion:reduce){
  .mock-win,.float-chip,.hero-text>*,.hero-visual{animation:none!important}
}

/* ── 分类导航（已弱化 / 缩小） ── */
.cats { padding:40px 0; }                 /* 比其它 section 更紧凑 */
.cats .section-head { margin-bottom:26px; }
.cat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.cat-card {
  background:transparent;                  /* 弱化：去掉白卡底，仅留文字+图标 */
  border:1px solid transparent;
  border-radius:10px;
  padding:14px 12px;
  display:flex; align-items:center; gap:10px;
  transition:background var(--transition), border-color var(--transition);
}
.cat-card:hover { background:#fff; border-color:var(--border); box-shadow:var(--shadow); }
.cat-ico { width:36px; height:36px; border-radius:10px; display:grid; place-items:center; font-size:18px; background:color-mix(in srgb, var(--c) 12%, #fff); flex:none; }
.cat-card b { font-size:14px; font-weight:600; }
.cat-card i { font-style:normal; font-size:11.5px; color:var(--text-muted); margin-left:auto; }

/* ── 筛选 tab ── */
.filter-tabs { display:flex; flex-wrap:wrap; gap:8px; }
.filter-tabs button { border:1px solid var(--border); background:#fff; color:var(--text-muted); font-size:14px; font-weight:600; padding:8px 16px; border-radius:999px; cursor:pointer; transition:all var(--transition); }
.filter-tabs button:hover { color:var(--blue); border-color:var(--blue-bg); }
.filter-tabs button.active { background:var(--blue); color:#fff; border-color:var(--blue); }

/* ── 在售主题（图片放大：3 列 + 更高缩略图） ── */
.theme-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.theme-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; transition:transform var(--transition), box-shadow var(--transition); }
.theme-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.theme-thumb { position:relative; aspect-ratio:3 / 2; overflow:hidden; background:var(--bg); }   /* 图片更高更大 */
.theme-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.theme-card:hover .theme-thumb img { transform:scale(1.05); }
.theme-thumb .overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,.6)); opacity:0; transition:opacity var(--transition); display:flex; align-items:flex-end; justify-content:center; padding:14px; gap:10px; }
.theme-card:hover .theme-thumb .overlay { opacity:1; }
.theme-thumb .overlay a { font-size:13px; font-weight:600; padding:8px 16px; border-radius:8px; background:#fff; color:var(--blue); }
.theme-thumb .overlay a.demo { background:var(--blue); color:#fff; }
.theme-badge { position:absolute; top:10px; left:10px; font-size:12px; font-weight:700; padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.92); color:var(--blue); backdrop-filter:blur(4px); }
.theme-badge.hot { background:var(--blue); color:#fff; }
.theme-body { padding:16px 18px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.theme-title { font-size:17px; font-weight:700; }
.theme-meta { display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--text-muted); }
.theme-meta .rate { color:var(--gold); font-weight:700; }
.theme-meta .sales { margin-left:auto; }
.theme-foot { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:10px; border-top:1px solid var(--border); }
.theme-price { font-size:19px; font-weight:900; color:var(--blue); }
.theme-price small { font-size:12px; font-weight:600; color:var(--text-muted); }
.theme-price .old { font-size:13px; font-weight:500; color:#94a3b8; text-decoration:line-through; margin-right:6px; }
.theme-buy { font-size:13px; font-weight:600; padding:8px 18px; border-radius:8px; background:var(--blue-light); color:var(--blue); transition:background var(--transition), color var(--transition); }
.theme-buy:hover { background:var(--blue); color:#fff; }
.center-more { text-align:center; margin-top:40px; }

/* ── 简单案例 ── */
.case-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.case-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; transition:transform var(--transition), box-shadow var(--transition); }
.case-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.case-thumb { height:138px; display:grid; place-items:center; font-size:46px; background:color-mix(in srgb, var(--c) 12%, #fff); border-bottom:1px solid var(--border); }
.case-body { padding:18px 20px 20px; display:flex; flex-direction:column; gap:9px; }
.case-cat { font-size:12px; font-weight:700; color:var(--blue); letter-spacing:.5px; }
.case-body b { font-size:17px; color:var(--text); line-height:1.4; }
.case-body p { font-size:14px; color:var(--text-muted); }
.case-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:2px; }
.case-tags span { font-size:12px; color:var(--text-2); background:var(--bg); border:1px solid var(--border); padding:3px 10px; border-radius:999px; }

/* ── 首页：定制服务介绍（无类别 / 无价格） ── */
.cust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:34px; }
.cust-item { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:24px 22px; transition:transform var(--transition), box-shadow var(--transition); }
.cust-item:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.cust-ico { width:48px; height:48px; border-radius:13px; display:grid; place-items:center; font-size:24px; background:var(--blue-light); margin-bottom:14px; }
.cust-item b { display:block; font-size:16px; color:var(--text); margin-bottom:7px; }
.cust-item p { font-size:13.5px; color:var(--text-muted); line-height:1.6; }
.cust-cta { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ── 为什么选我们 ── */
.feat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feat-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:24px 22px; transition:transform var(--transition), box-shadow var(--transition); }
.feat-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.feat-ico { font-size:26px; margin-bottom:10px; }
.feat-card b { font-size:16px; display:block; margin-bottom:6px; }
.feat-card p { font-size:14px; color:var(--text-muted); }

/* ── 折扣 banner ── */
.promo-banner { background:linear-gradient(120deg, #1e3a5f, var(--blue)); color:#fff; }
.promo-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:40px 24px; flex-wrap:wrap; }
.promo-eyebrow { font-size:12px; font-weight:800; letter-spacing:3px; color:#bfdbfe; text-transform:uppercase; margin-bottom:8px; }
.promo-banner h2 { font-size:26px; font-weight:900; }
.promo-banner p { color:#dbeafe; margin-top:6px; font-size:15px; }

/* ── 首页文章板块：两列标题列表，每列 5 篇 ── */
.home-article-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 60px; }
.home-article-col { display:flex; flex-direction:column; }
.home-article-row {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:17px 6px; border-bottom:1px solid var(--border);
  font-size:15.5px; font-weight:600; color:var(--text);
  transition:color var(--transition), padding-left var(--transition);
}
.home-article-row::after { content:"→"; color:var(--blue); opacity:0; transform:translateX(-6px); transition:opacity var(--transition), transform var(--transition); }
.home-article-row:hover { color:var(--blue); padding-left:12px; }
.home-article-row:hover::after { opacity:1; transform:translateX(0); }

@media (max-width:680px) {
  .home-article-grid { grid-template-columns:1fr; }
}

/* ── 页面响应式 ── */
@media (max-width:1000px) {
  .cat-grid { grid-template-columns:repeat(4,1fr); }
  .theme-grid { grid-template-columns:repeat(3,1fr); }
  .feat-grid { grid-template-columns:repeat(2,1fr); }
  .case-grid { grid-template-columns:repeat(2,1fr); }
  .cust-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .hero h1 { font-size:34px; }
  .hero-trust { gap:14px 18px; }
  .cat-grid, .theme-grid, .feat-grid { grid-template-columns:repeat(2,1fr); }
  .section-head.row { flex-direction:column; align-items:flex-start; }
}
@media (max-width:520px) {
  .cat-grid, .theme-grid, .feat-grid, .case-grid, .cust-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:28px; }
  .section-head h2 { font-size:26px; }
}
