/* ===== 内页专用样式（关于、联系、及各类独立页面） ===== */

/* 关于页 */
.about-hero {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, #0f1724 0%, #1a2f4e 50%, #1e3a5f 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,.08) 0%, transparent 60%);
}
.about-hero-badge {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: 3px;
  color: #93c5fd; background: rgba(59,130,246,.15);
  padding: 6px 20px; border-radius: 50px; border: 1px solid rgba(59,130,246,.25);
  margin-bottom: 20px; position: relative;
}
.about-hero h1 {
  font-size: 2.8rem; font-weight: 800; margin-bottom: 14px; position: relative;
}
.about-hero p {
  color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 650px; margin: 0 auto; position: relative;
}

/* ===== 通用 section tag ===== */
.section-tag {
  display: inline-block; font-size: 1.5rem; font-weight: 800; letter-spacing: 2px;
  color: #2563eb; background: #eff6ff;
  padding: 8px 24px; border-radius: 50px; margin-bottom: 20px;
}
.section-subtitle { font-size: 1.1rem; color: #64748b; max-width: 640px; margin: 0 auto 0; line-height: 1.7; font-weight: 400; }
.section-alt { background: #f8fafc; }

/* ===== 沃姆介绍 ===== */
.about-intro .intro-content { display: flex; gap: 48px; align-items: flex-start; }
.about-intro .intro-text { flex: 1; }
.about-intro .intro-text p { color: #475569; line-height: 1.9; font-size: 1rem; margin-bottom: 16px; text-align: justify; }
.about-intro .intro-text strong { color: #1e293b; font-weight: 700; }
.about-intro .intro-cards { flex: 0 0 260px; display: flex; flex-direction: column; gap: 16px; }
.about-intro .intro-card {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 20px 22px; text-align: center; transition: all .25s;
}
.about-intro .intro-card:hover { border-color: #2563eb; box-shadow: 0 4px 20px rgba(37,99,235,.1); transform: translateY(-2px); }
.about-intro .intro-card-icon { margin-bottom: 10px; }
.about-intro .intro-card h4 { font-size: .95rem; font-weight: 700; color: #1e293b; margin: 0 0 4px; }
.about-intro .intro-card p { font-size: .85rem; color: #94a3b8; margin: 0; }
.about-intro .intro-business { margin-top: 40px; padding: 32px; background: #f8fafc; border-radius: 16px; border-left: 4px solid #2563eb; }
.about-intro .intro-business p { color: #475569; line-height: 1.9; font-size: .95rem; margin-bottom: 14px; }
.about-intro .intro-business strong { color: #1e293b; font-weight: 700; }
.about-intro .intro-motto { font-style: italic; color: #64748b; }

/* ===== 企业愿景（卡片式） ===== */
.vision-section { background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); }
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.vision-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 36px 28px; text-align: center; transition: all .3s;
  position: relative; overflow: hidden;
}
.vision-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, #2563eb, #3b82f6);
  opacity: 0; transition: opacity .3s;
}
.vision-card:hover { border-color: #2563eb; box-shadow: 0 12px 35px rgba(37,99,235,.12); transform: translateY(-4px); }
.vision-card:hover::before { opacity: 1; }
.vision-card h3 {
  font-size: 1.25rem; font-weight: 800; color: #1e293b; margin: 0 0 14px;
  position: relative; display: inline-block;
}
.vision-card h3::after {
  content: ''; display: block; width: 30px; height: 3px; background: #2563eb;
  margin: 10px auto 0; border-radius: 2px;
}
.vision-card p { color: #64748b; font-size: .92rem; line-height: 1.8; margin: 0; text-align: justify; }

/* ===== 企业使命 ===== */
.mission-section { background: linear-gradient(135deg, #151E2D 0%, #1e3a5f 100%); padding: 80px 0; }
.mission-wrap { text-align: center; max-width: 720px; margin: 0 auto; }
.mission-icon { color: rgba(255,255,255,.15); margin-bottom: 16px; }
.mission-wrap .section-tag { background: rgba(59,130,246,.2); color: #93c5fd; }
.mission-wrap .section-subtitle { color: rgba(255,255,255,.85); font-weight: 500; }
.mission-quote {
  border: none; margin: 28px 0 20px; padding: 0;
  font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.4;
}
.mission-quote p { margin: 0; }
.mission-text p { color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.9; margin: 0; }

/* ===== 核心价值观 ===== */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 10px; }
.value-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 32px; transition: all .3s; position: relative;
}
.value-card:hover { border-color: #2563eb; box-shadow: 0 8px 30px rgba(37,99,235,.1); transform: translateY(-3px); }
.value-card-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card-title { font-size: 1.15rem; font-weight: 800; color: #1e293b; margin: 0 0 12px; }
.value-card-text { color: #64748b; font-size: .9rem; line-height: 1.8; margin: 0; text-align: justify; }

/* ===== 企业精神 ===== */
.spirit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
.spirit-card {
  border-radius: 16px; padding: 40px 32px; color: #fff;
  position: relative; overflow: hidden; transition: transform .3s;
}
.spirit-card:hover { transform: translateY(-4px); }
.spirit-card-dare { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); }
.spirit-card-grasp { background: linear-gradient(135deg, #0f1724 0%, #1e3a5f 100%); }
.spirit-card-label {
  font-size: 1.4rem; font-weight: 800; margin-bottom: 16px;
  position: relative; display: inline-block;
}
.spirit-card-label::after {
  content: ''; display: block; width: 36px; height: 3px;
  background: rgba(255,255,255,.5); margin-top: 8px; border-radius: 2px;
}
.spirit-card p { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.9; margin: 0; }

/* ===== 资质与认证 ===== */
.cert-section { background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); }
.cert-content { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.cert-content p { color: #475569; font-size: .95rem; line-height: 1.9; }
.cert-content strong { color: #1e293b; }
.cert-badges { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cert-badge {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 18px 24px; font-size: .9rem; font-weight: 600; color: #1e293b;
  transition: all .25s; min-width: 160px; justify-content: center;
}
.cert-badge svg { color: #2563eb; flex-shrink: 0; }
.cert-badge:hover { border-color: #2563eb; box-shadow: 0 4px 16px rgba(37,99,235,.1); transform: translateY(-2px); }

@media(max-width:768px){
  .about-hero { padding: 120px 0 40px; }
  .about-hero h1 { font-size: 1.8rem; }
  .about-hero p { font-size: .9rem; }
  .about-intro .intro-content { flex-direction: column; gap: 24px; }
  .about-intro .intro-cards { flex: none; flex-direction: row; flex-wrap: wrap; }
  .about-intro .intro-card { flex: 1; min-width: 120px; }
  .about-intro .intro-business { padding: 20px; }
  .vision-grid { grid-template-columns: 1fr; gap: 16px; }
  .mission-section { padding: 50px 0; }
  .mission-quote { font-size: 1.2rem; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .spirit-grid { grid-template-columns: 1fr; gap: 16px; }
  .spirit-card { padding: 28px 20px; }
  .cert-badges { gap: 12px; }
  .cert-badge { min-width: auto; flex: 1; padding: 14px 16px; }
}
@media(max-width:480px){
  .about-intro .intro-cards { flex-direction: column; }
  .section-tag { font-size: 1.2rem; padding: 6px 18px; }
}

/* 联系页 */
.contact-hero {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, #151E2D 0%, #1e3a5f 100%);
  color: #fff;
  text-align: center;
}
.contact-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-hero p {
  color: rgba(255,255,255,.7);
  max-width: 700px;
  margin: 0 auto;
}
.contact-section { padding: 60px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}
.contact-card .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: #64748b; font-size: .9rem; line-height: 1.6; }
@media(max-width:768px){
  .contact-grid { grid-template-columns: 1fr; }
}

/* 详情页通用 */
.detail-hero {
  padding: 130px 0 40px;
  background: linear-gradient(135deg, #151E2D 0%, #1e3a5f 100%);
  color: #fff;
  text-align: center;
}
.detail-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.detail-hero .hero-subtitle { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.detail-hero .hero-meta { margin-top: 12px; }
.detail-hero .hero-meta span { color: rgba(255,255,255,.6); font-size: .9rem; }

/* 错误/空白页 */
.list-empty {
  padding: 120px 20px;
  text-align: center;
}
.list-empty .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.list-empty p { color: #64748b; margin-bottom: 8px; }
.list-empty .back-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.list-empty .back-btn:hover { background: #1d4ed8; }

/* ===== 产品/案例分类导航 + 列表 ===== */
.class-nav { display:flex; flex-wrap:wrap; gap:12px; margin:30px 0; }
.class-nav a { display:inline-block; padding:10px 24px; background:#f1f5f9; border-radius:8px; color:#334155; text-decoration:none; font-size:14px; transition:all .2s; }
.class-nav a:hover { background:#2563eb; color:#fff; }
.class-nav a.active { background:#2563eb; color:#fff; }

.cat-intro { background:#f8fafc; border-radius:12px; padding:30px; margin-bottom:30px; }
.cat-intro h2 { font-size:20px; margin-bottom:12px; color:#1e293b; }
.cat-intro p { color:#64748b; line-height:1.8; }

.content-modules { margin:40px 0; }
.col-section { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:40px; margin-bottom:24px; }
.col-section .section-header { margin-bottom:24px; }
.col-section .section-header h2 { font-size:18px; color:#1e293b; }
.col-section .section-image { margin-bottom:24px; text-align:center; }
.col-section .section-image img { max-width:100%; border-radius:8px; }
.col-section .section-body { color:#334155; line-height:1.8; }
.col-section .section-body p { margin-bottom:12px; }

.section-title-18 { font-size:18px; margin-bottom:16px; color:#1e293b; }
.section-title-mt30 { font-size:18px; margin:30px 0 16px; color:#1e293b; }

.product-list { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:24px; margin-top:30px; }
.product-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px; overflow:hidden; transition:box-shadow .2s; text-decoration:none; color:inherit; }
.product-card:hover { box-shadow:0 8px 30px rgba(0,0,0,.08); }
.product-card .thumb { height:180px; background:#f1f5f9; display:flex; align-items:center; justify-content:center; }
.product-card .thumb img { max-width:100%; max-height:100%; object-fit:cover; }
.product-card .info { padding:20px; }
.product-card .info h3 { font-size:16px; margin-bottom:8px; color:#1e293b; }
.product-card .info p { font-size:13px; color:#64748b; line-height:1.6; margin-bottom:12px; }
.product-card .info .more { color:#2563eb; font-size:13px; font-weight:500; }

/* ===== 文章列表两侧布局 ===== */
.two-col-section { padding: 50px 0; }
.two-col-wrap { display: flex; gap: 40px; align-items: flex-start; }
.two-col-sidebar { flex: 0 0 240px; min-width: 0; position: sticky; top: 90px; }
.two-col-main { flex: 1; min-width: 0; }

.sidebar-block { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.sidebar-title {
  font-size: 1.5rem; font-weight: 800; color: #1e293b;
  padding: 18px 20px; border-bottom: 2px solid #f1f5f9; letter-spacing: .5px;
}
.sidebar-item {
  display: flex; align-items: center; height: 70px;
  padding: 0 20px; text-decoration: none; color: #475569;
  font-size: 1rem; font-weight: 500; border-bottom: 1px solid #f8fafc;
  transition: all .18s; position: relative;
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item:hover { background: #f8fafc; color: #2563eb; padding-left: 24px; }
.sidebar-item-active { background: #eff6ff; color: #1d4ed8; font-weight: 700; }
.sidebar-item-active::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: #2563eb; border-radius: 0 3px 3px 0;
}
.sidebar-item-featured { font-weight: 700; }

/* 文章行列表 */
.list-row {
  display: flex; gap: 20px; padding: 20px 0; text-decoration: none; color: inherit;
  border-bottom: 1px solid #f1f5f9; transition: all .2s;
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { padding-left: 6px; }
.list-row:hover .list-row-title { color: #2563eb; }
.list-row-img {
  flex: 0 0 160px; height: 110px; border-radius: 8px; overflow: hidden;
  background: #f1f5f9; flex-shrink: 0;
}
.list-row-img img { width: 100%; height: 100%; object-fit: cover; }
.list-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.list-row-title {
  font-size: 1.05rem; font-weight: 700; color: #1e293b; line-height: 1.4;
  margin: 0 0 8px; transition: color .2s;
}
.list-row-summary {
  font-size: .85rem; line-height: 1.6; color: #64748b; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.list-row-date { font-size: .78rem; color: #94a3b8; }

@media(max-width:768px) {
  .two-col-wrap { flex-direction: column; }
  .two-col-sidebar { flex: none; width: 100%; position: static; }
  .sidebar-block { display: flex; flex-wrap: wrap; border: none; background: none; gap: 8px; }
  .sidebar-title { display: none; }
  .sidebar-item {
    border: 1px solid #e2e8f0; border-radius: 50px; padding: 6px 18px;
    font-size: .85rem; flex-shrink: 0; height: auto;
  }
  .sidebar-item-active { border-color: #2563eb; }
  .sidebar-item-active::before { display: none; }
  .list-row { flex-direction: column; gap: 12px; }
  .list-row-img { flex: none; width: 100%; height: 180px; }
}

/* ===== 面包屑导航（与产品详情一致） ===== */
.breadcrumb-bar {
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}
.breadcrumb-inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  font-size: .85rem; color: #94a3b8;
}
.breadcrumb-inner a {
  display: inline-flex; align-items: center; gap: 4px;
  color: #94a3b8; text-decoration: none;
  padding: 2px 8px; border-radius: 6px; transition: all .2s;
}
.breadcrumb-inner a:hover { color: #2563eb; background: #fff; }
.breadcrumb-sep { color: #cbd5e1; display: inline-flex; align-items: center; }
.breadcrumb-current {
  color: #1e293b; font-weight: 600;
  padding: 2px 8px; background: #fff; border-radius: 6px;
}

/* ===== 文章详情 ===== */
.article-detail-container {
  margin: 0 auto;
}
.article-detail-header {
  text-align: center; margin-bottom: 40px;
}
.article-detail-title {
  font-size: 1.875rem; font-weight: 800; color: #1e293b;
  line-height: 1.35; margin: 0 0 16px;
}
.article-detail-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.article-detail-date {
  font-size: .88rem; color: #94a3b8;
}
.article-detail-tags {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.article-detail-tag {
  display: inline-block; font-size: .78rem; color: #64748b;
  background: #f1f5f9; padding: 3px 12px; border-radius: 50px;
}

/* ===== 相关产品（引用 product.css 样式） ===== */
.related-products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.related-products-grid .product-card {
  border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit; transition: box-shadow .2s;
  background: #fff;
}
.related-products-grid .product-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,.08); }
.related-products-grid .product-card-img { width: 100%; height: 180px; overflow: hidden; background: #f8fafc; }
.related-products-grid .product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.related-products-grid .product-card:hover .product-card-img img { transform: scale(1.05); }
.related-products-grid .product-card-body { padding: 20px; }
.related-products-grid .product-card-body h3 { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0 0 8px; }
.related-products-grid .product-card-body p { font-size: .82rem; color: #64748b; line-height: 1.6; margin: 0 0 14px; }
.related-products-grid .product-card-body .btn-sm {
  display: inline-block; font-size: .8rem; font-weight: 600; color: #2563eb; transition: all .2s;
}
.related-products-grid .product-card-body .btn-sm:hover { color: #1d4ed8; }

/* ===== 相关文章 ===== */
.related-articles-list { display: flex; flex-direction: column; gap: 16px; }
.related-article-item {
  display: flex; gap: 20px; padding: 20px 24px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  text-decoration: none; color: inherit; transition: all .2s;
}
.related-article-item:hover { border-color: #2563eb; box-shadow: 0 4px 15px rgba(37,99,235,.1); }
.related-article-title { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin: 0 0 6px; }
.related-article-summary { font-size: .9rem; color: #64748b; line-height: 1.7; margin: 0 0 10px; }
.related-article-meta { display: flex; align-items: center; gap: 16px; font-size: .85rem; }
.related-article-date { color: #94a3b8; }
.related-article-link { color: #2563eb; font-weight: 600; transition: all .2s; }
.related-article-item:hover .related-article-link { color: #1d4ed8; }

/* ===== 上一条 / 下一条 ===== */
.article-prev-next {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.article-prev-next .pn-link {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: #1e293b; font-size: .95rem; font-weight: 500;
  max-width: 45%; transition: all .2s; line-height: 1.4;
}
.article-prev-next .pn-link svg { flex-shrink: 0; color: #2563eb; }
.article-prev-next .pn-link:hover { color: #2563eb; }

@media(max-width:768px) {
  .related-products-grid { grid-template-columns: repeat(2,1fr); }
  .article-detail-title { font-size: 1rem; }
  .article-detail-header { margin-bottom: 24px; }
  .article-prev-next { flex-direction: column; gap: 12px; }
  .article-prev-next .pn-link { max-width: 100%; width: 100%; }
  .article-prev-next .pn-prev { order: 2; }
  .article-prev-next .pn-next { order: 1; }
}

@media(max-width:480px) {
  .related-products-grid { grid-template-columns: 1fr; }
}

.pagination { text-align: center; padding: 30px 0 0; grid-column: 1 / -1; }
