/* ============================================
   产品列表页 & 详情页样式
   ============================================ */

.page-hero {
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-0), transparent);
  position: relative; overflow: hidden;
}
.page-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.page-hero .breadcrumb {
  font-size: 14px; color: var(--text-low); margin-bottom: 8px;
}
.page-hero .breadcrumb a { color: var(--text-low); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--brand-glow); }
.page-hero .breadcrumb .sep { margin: 0 8px; }
.page-hero .desc { color: var(--text-mid); font-size: 16px; max-width: 680px; }

/* 关于我们页 hero：副标题下方补一排企业数据条，填满右侧空白、提升信息密度 */
.page-hero--about .container { position: relative; }
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 36px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about-stats .hero-stat {
  display: flex; flex-direction: column; gap: 10px;
  padding-left: 20px; border-left: 2px solid var(--brand-dim);
}
.about-stats .hero-stat .num {
  font-size: 32px; font-weight: 800; line-height: 1;
  color: var(--text-hi);
}
.about-stats .hero-stat .label {
  font-size: 14px; color: var(--text-low); margin-top: 0; letter-spacing: .5px;
}
/* 右侧加一圈品牌色光环装饰，弱化大面积空白 */
.page-hero--about::after {
  content: ""; position: absolute; right: -120px; top: 40px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid var(--brand-dim);
  background: radial-gradient(circle, rgba(0,144,128,.10), transparent 70%);
  pointer-events: none;
}

/* 华兴投资页 hero：与关于页一致，右侧补品牌光环 + 底部数据条，填满空白 */
.page-hero--invest::after {
  content: ""; position: absolute; right: -120px; top: 40px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid var(--brand-dim);
  background: radial-gradient(circle, rgba(0,144,128,.10), transparent 70%);
  pointer-events: none;
}
.page-hero--invest .invest-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 40px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.page-hero--invest .invest-hero-stats .stat {
  display: flex; flex-direction: column; gap: 10px;
  padding-left: 20px; border-left: 2px solid var(--brand-dim);
}
.page-hero--invest .invest-hero-stats .stat .num {
  font-size: 32px; font-weight: 800; line-height: 1; color: var(--text-hi);
}
.page-hero--invest .invest-hero-stats .stat .label {
  font-size: 14px; color: var(--text-low); letter-spacing: .5px;
}

/* 分类切换 + 搜索 */
.product-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 32px 0;
}
.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cat-tab {
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font-size: 14px; color: var(--text-mid);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: all .2s;
}
.cat-tab:hover { color: var(--text-hi); border-color: var(--line-strong); }
.cat-tab.active {
  color: #fff; background: var(--brand); border-color: var(--brand);
}
.search-box {
  margin-left: auto; position: relative;
}
.search-box input {
  width: 240px; padding: 10px 16px 10px 38px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text-hi); font-size: 14px;
  outline: none; transition: border-color .2s;
}
.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,144,128,.28);
}
.search-box .search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-low); font-size: 14px;
}

/* 产品网格 */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
/* 产品卡片（与首页一致，因 products.html 未引 home.css，需在此补全） */
.products-grid .product-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--text-hi);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.products-grid .product-card:hover {
  transform: translateY(-6px); border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(0,144,128,.35);
}
.products-grid .product-card .thumb {
  aspect-ratio: 4/3; background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow: hidden;
}
.products-grid .product-card .thumb img {
  max-width: 100%; max-height: 100%; object-fit: contain; display: block;
  transition: transform .4s ease;
}
.products-grid .product-card:hover .thumb img { transform: scale(1.04); }
.products-grid .product-card .info { padding: 18px 20px 22px; }
.products-grid .product-card .info .cat {
  font-size: 12px; color: var(--brand-glow); letter-spacing: 1px; margin-bottom: 6px;
}
.products-grid .product-card .info h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.products-grid .product-card .info p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.empty-tip {
  text-align: center; color: var(--text-low); padding: 60px 0; font-size: 15px;
}

/* ============ 详情页 ============ */
.detail-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  padding: 48px 0;
}
.detail-layout > * { min-width: 0; }
.detail-info { min-width: 0; max-width: 100%; }
.detail-gallery {
  position: sticky; top: 88px;
}
.detail-main-img {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow: hidden; margin-bottom: 14px;
}
.detail-main-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.detail-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.detail-thumbs .thumb {
  width: 76px; height: 76px; flex-shrink: 0; background: #fff;
  border: 2px solid var(--line); border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 6px;
}
.detail-thumbs .thumb.active { border-color: var(--brand); }
.detail-thumbs .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

.detail-info h2 { font-size: 30px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.detail-info .model {
  display: inline-block; font-size: 14px; color: var(--brand-glow);
  background: var(--brand-dim); padding: 4px 12px; border-radius: 6px;
  margin-bottom: 16px;
}
.detail-info .summary { color: var(--text-mid); font-size: 16px; margin-bottom: 24px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

/* 详情内容块 */
.detail-section { margin-bottom: 36px; }
.detail-section h2 {
  font-size: 20px; font-weight: 700; margin-bottom: 16px;
  padding-left: 14px; border-left: 3px solid var(--brand);
}
.detail-section p { color: var(--text-mid); margin-bottom: 12px; line-height: 1.8; }

/* 参数表 */
.spec-table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-2);
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 100%; }
.spec-table th, .spec-table td {
  padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line);
  color: var(--text-mid); white-space: nowrap;
}
.spec-table th {
  background: var(--bg-3); color: var(--text-hi); font-weight: 600;
  white-space: nowrap;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--text-hi); font-weight: 500; }

/* 特性列表 */
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li {
  padding: 12px 16px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; font-size: 15px; color: var(--text-mid);
}
.feature-list li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

/* 资料下载 */
.download-list { display: flex; flex-direction: column; gap: 10px; }
.download-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; transition: border-color .2s, transform .2s;
}
.download-item:hover { border-color: var(--brand); transform: translateX(3px); }
.dl-name { flex: 1; color: var(--text-hi); font-size: 15px; }
.dl-ext {
  padding: 2px 8px; background: var(--brand); color: #fff;
  border-radius: 4px; font-size: 12px; font-weight: 600;
}
.dl-arrow { color: var(--brand); font-size: 14px; white-space: nowrap; }

/* 视频弹窗 */
.video-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .3s; padding: 24px;
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal .modal-inner {
  position: relative; width: min(900px, 100%); aspect-ratio: 16/9;
  background: #000; border-radius: 12px; overflow: hidden;
}
.video-modal video { width: 100%; height: 100%; }
.video-modal .close {
  position: absolute; top: -40px; right: 0; background: none; border: none;
  color: #fff; font-size: 30px; cursor: pointer; line-height: 1;
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .detail-gallery { position: static; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 48px; }
  .page-hero h1 { font-size: 30px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .detail-info h2 { font-size: 24px; }
}

/* ============ 新闻中心 ============ */
/* 粒子标题 */
.page-hero--particle .particle-title-wrap {
  position: relative; height: 120px; margin: 8px 0 12px;
}
.page-hero--particle .title-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.particle-title-fallback {
  position: absolute; inset: 0; display: flex; align-items: center;
  font-size: 48px; font-weight: 800; color: transparent; pointer-events: none;
  margin: 0;
}
.page-hero .desc-en {
  color: var(--text-low); font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase; margin-top: 4px;
}

.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.news-filter .cat-tab { cursor: pointer; }
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 12px; border-bottom: 1px solid var(--line);
  border-radius: 12px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.news-item:hover { background: var(--brand-dim); transform: translateX(4px); }
html[dir="rtl"] .news-item:hover { transform: translateX(-4px); }
.news-item .news-date {
  flex: none; width: 88px; text-align: center; padding-top: 4px;
}
.news-item .news-date .d { font-size: 30px; font-weight: 800; color: var(--brand-glow); line-height: 1; }
.news-item .news-date .y { font-size: 12px; color: var(--text-low); margin-top: 6px; letter-spacing: 1px; }
.news-item .news-body { flex: 1; min-width: 0; }
.news-item .news-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.news-item .news-body h3 .cat { font-size: 12px; color: var(--brand-glow); font-weight: 600; margin-right: 8px; }
.news-item .news-body h3 .pinned { color: #ff9f43; }
.news-item .news-body p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.news-item .news-body .more { color: var(--brand-glow); font-size: 13px; margin-top: 8px; }

/* 新闻详情弹层 */
.news-detail-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,7,12,.82);
  display: none; align-items: flex-start; justify-content: center;
  padding: 60px 20px; overflow-y: auto; backdrop-filter: blur(6px);
}
.news-detail-overlay.open { display: flex; }
.news-detail-box {
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 40px; width: 100%; max-width: 760px; position: relative;
}
.news-detail-box .close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  color: var(--text-low); font-size: 26px; cursor: pointer; line-height: 1;
}
.news-detail-box .close:hover { color: var(--text-hi); }
.news-detail-box .nd-title { font-size: 24px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.news-detail-box .nd-meta { font-size: 13px; color: var(--text-low); margin-bottom: 24px; }
.news-detail-box .nd-body { font-size: 16px; color: var(--text-mid); line-height: 1.9; white-space: pre-wrap; }

/* ============ 人才发展 ============ */
.talent-intro { max-width: 720px; margin-bottom: 40px; }
.talent-intro p { color: var(--text-mid); font-size: 16px; line-height: 1.9; margin-bottom: 12px; }
.job-list { display: flex; flex-direction: column; gap: 20px; }
.job-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, transform .2s;
}
.job-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.job-card .job-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.job-card .job-head h3 { font-size: 19px; font-weight: 600; flex: 1; min-width: 200px; }
.job-card .job-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.job-card .job-tag {
  font-size: 13px; color: var(--text-mid); background: var(--bg-3);
  padding: 4px 12px; border-radius: 999px;
}
.job-card .job-sec { margin-bottom: 14px; }
.job-card .job-sec .sec-title { font-size: 14px; font-weight: 600; color: var(--brand-glow); margin-bottom: 6px; }
.job-card .job-sec p { font-size: 14px; color: var(--text-mid); line-height: 1.8; }
.job-card .job-apply { margin-top: 6px; }

@media (max-width: 768px) {
  .news-item { flex-direction: column; gap: 12px; }
  .news-item .news-date { width: auto; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .news-item .news-date .d { font-size: 22px; }
  .news-detail-box { padding: 28px 20px; }
}

/* ============ 技术力量 ============ */
.tech-showcase { padding: 40px 0 80px; }
.tech-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.tech-banner img { width: 100%; height: 380px; object-fit: cover; display: block; }
.tech-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,7,12,.85) 0%, rgba(5,7,12,.45) 45%, rgba(5,7,12,.1) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 48px;
}
.tech-banner-tag {
  display: inline-block; align-self: flex-start;
  font-size: 13px; letter-spacing: 2px; color: #fff;
  background: var(--brand); padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
}
.tech-banner-overlay h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: 1px; }
.tech-banner-overlay p { font-size: 16px; color: rgba(255,255,255,.85); max-width: 520px; line-height: 1.7; }

.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tech-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.tech-card:hover {
  border-color: var(--brand); transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.tech-card .tech-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.tech-card .tech-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.tech-card:hover .tech-img img { transform: scale(1.05); }
.tech-card .tech-body { padding: 24px; }
.tech-card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-dim); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--brand-glow);
}
.tech-card .icon svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.tech-card h3 { font-size: 18px; margin-bottom: 10px; }
.tech-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* 企业文化板块：4列大卡片，补齐内边距、放大图标与文字，消除留白 */
#culture .tech-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
#culture .tech-card { padding: 32px 28px; }
#culture .tech-card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  margin-bottom: 22px;
}
#culture .tech-card .icon svg { width: 26px; height: 26px; }
#culture .tech-card h3 { font-size: 22px; margin-bottom: 14px; letter-spacing: .5px; }
#culture .tech-card p { font-size: 16px; line-height: 1.8; }
#culture .tech-card::after {
  content: ""; display: block; margin-top: 22px;
  width: 36px; height: 2px; background: var(--brand);
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  #culture .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-banner img { height: 300px; }
}
@media (max-width: 768px) {
  .tech-grid { grid-template-columns: 1fr; }
  #culture .tech-grid { grid-template-columns: 1fr; }
  .tech-banner img { height: 220px; }
  .tech-banner-overlay { padding: 24px; }
  .tech-banner-overlay h2 { font-size: 22px; }
}

/* ============ 厂区展示：横向轮播 ============ */
.factory-carousel {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--bg-2); box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.fc-track {
  display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.fc-slide { flex: 0 0 100%; min-width: 100%; }
.fc-slide img {
  width: 100%; height: 440px; object-fit: cover; display: block;
  user-select: none; -webkit-user-drag: none;
}
.fc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(5,7,12,.55); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background .2s, transform .2s;
  z-index: 2;
}
.fc-arrow:hover { background: var(--brand); border-color: var(--brand); }
.fc-prev { left: 20px; }
.fc-next { right: 20px; }
.fc-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.fc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .25s, width .25s;
}
.fc-dot.active { background: var(--brand-glow); width: 22px; border-radius: 999px; }

@media (max-width: 768px) {
  .fc-slide img { height: 240px; }
  .fc-arrow { width: 36px; height: 36px; }
  .fc-prev { left: 10px; }
  .fc-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .tech-card, .news-item, .product-card .thumb img, .tech-card .tech-img img {
    transition: none;
  }
  .product-card:hover, .tech-card:hover, .news-item:hover,
  .product-card:hover .thumb img, .tech-card:hover .tech-img img {
    transform: none;
  }
}
