/* ============================================================
   hhlsq.com — tech.css 技术亮点页专属样式
   布局指纹：H2 分栏错位 Hero ｜B7 Bento｜B2卡片墙｜B1统计带｜B11表格对比｜B4图文交替｜B15 CTA
   签名元素：S4 网格点阵
   ============================================================ */

/* ---------- 1. Hero H2 分栏错位 ---------- */
.tech-hero{ background:var(--gray-100); padding:clamp(48px,6vw,84px) 0 clamp(64px,7vw,96px); position:relative; overflow:hidden; }
.tech-hero__inner{ display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center; position:relative; z-index:1; }
.tech-hero__title{ font-size:clamp(28px,3.8vw,44px); line-height:1.28; margin-bottom:18px; }
.tech-hero__accent{ color:var(--gold); font-family:var(--font-serif); font-style:normal; }
.tech-hero__lead{ color:var(--gray-600); font-size:16px; max-width:520px; margin-bottom:28px; line-height:1.9; }
.tech-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:26px; }
.tech-hero__trust li{ display:flex; align-items:baseline; gap:10px; font-size:14px; color:var(--gray-700); padding:7px 0; }
.tech-hero__trust span{ font-weight:700; color:var(--gold); font-size:12.5px; }

.tech-hero__media{ position:relative; min-height:380px; }
.tech-hero__img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); object-fit:cover; }
.tech-hero__img--main{ width:88%; aspect-ratio:16/10; }
.tech-hero__img--sub{
  width:46%; aspect-ratio:16/10; position:absolute; right:0; bottom:-44px;
  border:5px solid #fff; box-shadow:var(--shadow-lg);
}
.tech-hero__badge{
  position:absolute; top:8px; right:6px; background:var(--navy-900); color:var(--gold);
  font-size:12.5px; line-height:1.6; letter-spacing:.08em; padding:12px 16px;
  border-radius:var(--radius-md); transform:rotate(4deg); box-shadow:var(--shadow-md);
}

/* S4 网格点阵：角落 3×3 小圆点 */
.tech-dots{
  position:absolute; width:84px; height:84px; pointer-events:none;
  background-image:radial-gradient(var(--navy-500) 2.6px, transparent 2.8px);
  background-size:28px 28px; opacity:.5;
}
.tech-dots--hero{ right:4%; bottom:-30px; }
.tech-dots--cta{ left:-30px; bottom:-30px; opacity:.35; background-image:radial-gradient(#fff 2.6px, transparent 2.8px); }

/* ---------- 2. B7 Bento 技术网格 ---------- */
.tech-bento__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.tech-bento__cell{
  background:var(--gray-100); border-radius:var(--radius-lg);
  padding:28px 24px; display:flex; flex-direction:column; justify-content:center;
  transition:transform .3s ease, box-shadow .3s ease;
}
.tech-bento__cell:hover{ transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.tech-bento__cell--big{ grid-column:span 2; grid-row:span 2; background:var(--navy-900); padding:36px 34px; }
.tech-bento__cell--navy{ background:var(--navy-800); color:#E8EEF5; }
.tech-bento__name{ font-size:clamp(22px,2.6vw,30px); font-weight:600; color:#fff; margin-bottom:14px; line-height:1.4; }
.tech-bento__desc{ font-size:14px; color:rgba(232,238,245,.78); line-height:1.9; margin:0; }
.tech-bento__num{ font-size:clamp(30px,3.4vw,42px); font-weight:700; color:var(--navy-700); line-height:1.1; }
.tech-bento__num em{ font-style:normal; color:var(--gold); }
.tech-bento__cell--navy .tech-bento__num{ color:#fff; }
.tech-bento__label{ font-size:13.5px; color:var(--gray-500); margin-top:10px; }
.tech-bento__cell--navy .tech-bento__label{ color:rgba(232,238,245,.7); }

/* ---------- 3. B2 错位卡片墙 ---------- */
.tech-cards__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.tech-cards__card{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:30px 26px;
  transition:transform .3s ease, box-shadow .3s ease;
}
.tech-cards__card:nth-child(odd){ transform:translateY(14px); }
.tech-cards__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.tech-cards__card:nth-child(odd):hover{ transform:translateY(8px); }
.tech-cards__card svg{ width:34px; height:34px; color:var(--navy-600); stroke-width:1.4; margin-bottom:16px; transition:color .3s ease; }
.tech-cards__card:hover svg{ color:var(--gold); }
.tech-cards__card h3{ font-size:17.5px; margin-bottom:10px; }
.tech-cards__card p{ font-size:14px; color:var(--gray-600); line-height:1.75; margin:0; }
.tech-cards__card a{ font-weight:600; }

/* ---------- 4. B1 数据带（深蓝） ---------- */
.tech-stats{ background:linear-gradient(135deg,var(--navy-900),var(--navy-800)); }
.tech-stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.tech-stat{ position:relative; padding:8px 0; }
.tech-stat + .tech-stat::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:1px; height:46px; background:rgba(232,238,245,.16);
}
.tech-stat .stat-num{ color:#fff; }
.tech-stat .stat-note{ color:rgba(232,238,245,.66); }

/* ---------- 5. B11 表格对比 ---------- */
.tech-table__wrap{
  background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-md);
  padding:clamp(24px,3vw,40px); overflow-x:auto;
}
.tech-table__table{ width:100%; border-collapse:collapse; min-width:600px; }
.tech-table__table thead th{
  background:var(--navy-900); color:#fff; text-align:left;
  padding:15px 18px; font-size:14px; font-weight:600;
}
.tech-table__table thead th:first-child{ border-radius:var(--radius-sm) 0 0 0; width:22%; }
.tech-table__table thead th:nth-child(2){ color:var(--gold); }
.tech-table__table thead th:last-child{ border-radius:0 var(--radius-sm) 0 0; }
.tech-table__table tbody td{ padding:14px 18px; font-size:14px; color:var(--gray-700); border-bottom:1px solid var(--gray-200); }
.tech-table__table tbody td:first-child{ font-weight:600; color:var(--navy-800); white-space:nowrap; }
.tech-table__table tbody tr:nth-child(even){ background:var(--gray-50); }
.tech-table__table tbody tr:last-child td:first-child{ border-radius:0 0 0 var(--radius-sm); }
.tech-table__table tbody tr:last-child td:last-child{ border-radius:0 0 var(--radius-sm) 0; }

/* ---------- 6. B4 图文交替流 ---------- */
.tech-flow__wrap{ display:flex; flex-direction:column; gap:clamp(40px,6vw,64px); }
.tech-pair{ display:grid; grid-template-columns:1fr 1.1fr; gap:48px; align-items:center; }
.tech-pair--reverse .tech-pair__media{ order:2; }
.tech-pair__media img{ width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.tech-pair__num{
  font-size:46px; font-weight:700; color:transparent;
  -webkit-text-stroke:1.5px var(--gold); line-height:1; display:block; margin-bottom:12px;
}
.tech-pair__body h3{ font-size:21px; margin-bottom:12px; }
.tech-pair__body p{ color:var(--gray-600); font-size:14.5px; margin:0 0 10px; line-height:1.85; }
.tech-pair__body a{ font-weight:600; }
.tech-related{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:clamp(36px,5vw,56px); }

/* ---------- 7. B15 CTA ---------- */
.tech-cta{ padding-bottom:clamp(70px,8vw,110px); }
.cta-banner{
  background:linear-gradient(135deg,var(--navy-800),var(--navy-700) 55%,var(--navy-600));
  border-radius:28px; padding:clamp(44px,5vw,72px) clamp(24px,4vw,56px);
  text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-lg);
}
.cta-banner__inner{ position:relative; z-index:1; }
.cta-banner__title{ color:#fff; font-size:clamp(22px,3vw,32px); margin-bottom:12px; }
.cta-banner__sub{ color:rgba(232,238,245,.78); font-size:15px; margin-bottom:28px; }
.cta-banner__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cta-banner__ghost{ border-color:rgba(255,255,255,.5); color:#fff; }
.cta-banner__ghost:hover{ background:#fff; color:var(--navy-700); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .tech-hero__inner{ grid-template-columns:1fr; gap:40px; }
  .tech-bento__grid{ grid-template-columns:repeat(2,1fr); }
  .tech-bento__cell--big{ grid-column:span 2; grid-row:span 1; }
  .tech-cards__grid{ grid-template-columns:repeat(2,1fr); }
  .tech-cards__card:nth-child(odd){ transform:none; }
  .tech-cards__card:hover{ transform:translateY(-6px); }
  .tech-stats__grid{ grid-template-columns:repeat(2,1fr); gap:18px; }
  .tech-stat:nth-child(3)::before{ display:none; }
  .tech-pair{ grid-template-columns:1fr; gap:26px; }
  .tech-pair--reverse .tech-pair__media{ order:0; }
}
@media (max-width: 640px){
  .tech-hero__media{ min-height:0; }
  .tech-hero__img--sub{ position:static; width:70%; margin-top:-30px; margin-left:auto; }
  .tech-hero__badge{ display:none; }
  .tech-hero__actions .btn{ width:100%; }
  .tech-bento__grid{ grid-template-columns:1fr; }
  .tech-bento__cell--big{ grid-column:span 1; }
  .tech-cards__grid{ grid-template-columns:1fr; }
  .tech-stats__grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .tech-related .tag{ width:100%; justify-content:center; }
  .cta-banner__actions .btn{ width:100%; }
}
