﻿/* =======================================
   子页面共用样式 - page.css
   ======================================= */

/* Page Hero */
.page-hero {
  position: relative;
  text-align: center;
}
.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}
.page-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--text-h);
  line-height: 1.2;
  margin: 16px 0 20px;
  letter-spacing: -1px;
}
.page-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section Padding */
.section-pad {
  padding: 100px 0;
}

/* Company Stats */
.company-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.company-stat {
  text-align: center;
}
.company-stat .stat-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.company-stat .stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.value-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 16px;
  margin: 0 auto 20px;
}
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 12px;
}
.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent3));
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-marker {
  position: absolute;
  left: -46px;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
}
.timeline-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.timeline-year {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Solution Grid */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.solution-grid.reverse {
  direction: rtl;
}
.solution-grid.reverse > * {
  direction: ltr;
}
.solution-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.solution-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-h);
  line-height: 1.25;
  margin-bottom: 20px;
}
.solution-desc {
  font-size: 16px;
  color: var(--text-b);
  line-height: 1.8;
  margin-bottom: 28px;
}
.solution-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.solution-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-b);
}
.feature-check {
  width: 22px;
  height: 22px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.solution-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.solution-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Cases Grid */
.cases-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.case-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.case-card:hover .case-img img {
  transform: scale(1.08);
}
.case-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}
.case-category {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}
.case-content {
  padding: 24px;
}
.case-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 10px;
  word-break: keep-all;
}
.case-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.case-tags span {
  background: var(--bg-soft);
  color: var(--text-b);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 50px;
}
.case-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.case-link:hover {
  letter-spacing: 0.5px;
}

/* Pagination */
.cases-pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 48px;
}
.pagination-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-b);
  transition: var(--transition);
  cursor: pointer;
}
.pagination-btn:hover,
.pagination-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Honors Grid */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.honor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.honor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.honor-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  margin: 0 auto 16px;
}
.honor-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 8px;
}
.honor-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* News List */
.news-list {
  max-width: 900px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.news-item:hover {
  padding-left: 12px;
}
.news-thumb {
  width: 280px;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.news-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 12px;
  transition: var(--transition);
}
.news-item:hover .news-thumb img {
  transform: scale(1.06);
}

.news-item:hover .news-title {
  color: var(--primary);
}
.news-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.news-tags {
  display: flex;
  gap: 10px;
}
.news-tag {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 50px;
}

/* Responsive */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: 1fr; gap: 40px; }
  .solution-grid.reverse { direction: ltr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .honors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .company-stats { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .honors-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
  .news-thumb { width: 100%; height: 200px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .company-stats { grid-template-columns: repeat(2, 1fr); }
}

