/* =============================================
   about.css - 关于我们页面专属样式（建站行业科技蓝主题）
   ============================================= */

/* ===== 主题变量覆盖 ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --accent: #2563eb;
  --bg-gray: #f5f7fb;
  --bg-alt: #eef2f8;
  --title-color: #0f172a;
  --body-color: #64748b;
  --border-light: #e2e8f0;
}
.container, .baichong-container { max-width: 1600px; }

/* ===== 滚动触发动画（配合 about.js） ===== */
.anim-item {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.anim-item.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .anim-item { opacity: 1; transform: none; transition: none; }
}

/* ===== Hero Banner ===== */
.ab-hero {
  position: relative; padding: 170px 0 100px; text-align: center; overflow: hidden;
  background-color: #0f1724;
  background-image: linear-gradient(135deg, #0f1724 0%, #1e3a5f 50%, #2563eb 100%);
}
.ab-hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.ab-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(9,19,42,.72) 0%, rgba(30,58,95,.55) 100%);
}
.ab-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,.35) 0%, transparent 50%),
              radial-gradient(ellipse at 75% 80%, rgba(37,99,235,.25) 0%, transparent 50%);
}
.ab-hero-pattern {
  position: absolute; inset: 0; z-index: 1; opacity: .12; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 26px 26px;
}
.ab-hero-inner { position: relative; z-index: 2; color: #fff; }
.ab-hero-label {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: 4px;
  color: #93c5fd; background: rgba(59,130,246,.16); border: 1px solid rgba(59,130,246,.3);
  padding: 6px 20px; border-radius: 50px; margin-bottom: 22px;
}
.ab-hero-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.25; margin: 0 0 16px; }
.ab-hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.78); line-height: 1.8; margin: 0 auto; max-width: 640px; }
.ab-hero .hero-actions { margin-top: 28px; }

/* ===== 区块基础 ===== */
.about-intro-section, .about-services-section, .about-advantages-section, .about-flow-section { padding: 90px 0; }
.about-services-section, .about-flow-section { background: var(--bg-gray); }
.about-section-header { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.about-section-header h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--title-color);
  margin: 0 0 14px;
}
.about-section-header h2::after {
  content: ''; display: block; width: 48px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin: 16px auto 0;
}
.about-section-header p { font-size: .98rem; color: var(--body-color); line-height: 1.8; margin: 0; }

/* ===== 模块1：企业介绍 ===== */
.about-intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.about-intro-text h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--title-color);
  margin: 0 0 22px; padding-bottom: 14px; position: relative;
}
.about-intro-text h2::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.about-intro-text p { font-size: .98rem; color: #555; line-height: 1.9; margin: 0 0 14px; }
.about-intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.about-intro-stat {
  background: #fff; border: 1px solid var(--border-light); border-radius: 14px;
  padding: 22px 12px; text-align: center; transition: all .3s ease;
}
.about-intro-stat:hover {
  transform: translateY(-4px); box-shadow: 0 10px 28px rgba(37,99,235,.1);
  border-color: rgba(37,99,235,.25);
}
.about-intro-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.about-intro-label { display: block; font-size: .82rem; color: var(--body-color); margin-top: 6px; }
.about-intro-image { position: relative; }
.about-intro-img {
  position: relative; z-index: 2; display: block; width: 100%;
  border-radius: 18px; box-shadow: 0 20px 50px rgba(15,23,42,.18);
}
.about-intro-image-deco {
  position: absolute; z-index: 1; top: -18px; right: -18px;
  width: 160px; height: 160px; border-radius: 18px;
  border: 3px solid rgba(37,99,235,.35);
}
.about-intro-image-deco::after {
  content: ''; position: absolute; left: -18px; bottom: -18px;
  width: 120px; height: 120px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.12), transparent);
}

/* ===== 模块2：我们提供的服务 ===== */
.about-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.about-service-card {
  position: relative; background: #fff; border: 1px solid var(--border-light);
  border-radius: 16px; padding: 34px 26px 26px; overflow: hidden; transition: all .35s ease;
}
.about-service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.about-service-card:hover {
  transform: translateY(-8px); box-shadow: 0 16px 40px rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.3);
}
.about-service-card:hover::before { transform: scaleX(1); }
.about-service-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe); color: var(--primary);
  display: flex; align-items: center; justify-content: center; transition: all .35s ease;
}
.about-service-icon svg { width: 26px; height: 26px; }
.about-service-card:hover .about-service-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.about-service-title { font-size: 1.1rem; font-weight: 700; color: var(--title-color); margin: 0 0 14px; }
.about-service-list { list-style: none; margin: 0 0 22px; padding: 0; }
.about-service-list li {
  position: relative; font-size: .88rem; color: var(--body-color);
  line-height: 1.7; padding: 5px 0 5px 20px;
}
.about-service-list li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary-light);
}
.about-service-btn {
  display: inline-block; font-size: .85rem; font-weight: 600; color: var(--primary);
  background: #eff6ff; border: 1px solid #dbeafe;
  padding: 8px 20px; border-radius: 24px; text-decoration: none; transition: all .3s ease;
}
.about-service-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.about-service-num {
  position: absolute; right: 14px; bottom: 6px; z-index: 0; pointer-events: none;
  font-size: 3.4rem; font-weight: 800; color: #f1f5f9; line-height: 1;
}

/* ===== 模块3：为什么选择我们 ===== */
.about-advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-advantage-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
  padding: 30px 26px; text-align: center; transition: all .35s ease;
}
.about-advantage-card:hover {
  transform: translateY(-6px); box-shadow: 0 14px 36px rgba(15,23,42,.08);
  border-color: rgba(37,99,235,.25);
}
.about-advantage-icon {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #dbeafe); color: var(--primary);
  display: flex; align-items: center; justify-content: center; transition: all .35s ease;
}
.about-advantage-icon svg { width: 26px; height: 26px; }
.about-advantage-card:hover .about-advantage-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; transform: scale(1.06);
}
.about-advantage-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--title-color); margin: 0 0 10px; }
.about-advantage-card p { font-size: .88rem; color: var(--body-color); line-height: 1.75; margin: 0; }
.about-advantage-link {
  display: inline-block; margin-top: 16px; font-size: .82rem; font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.about-advantage-link:hover { text-decoration: underline; }

/* ===== 模块4：服务流程 ===== */
.about-flow-steps { display: flex; flex-direction: column; gap: 26px; }
.about-flow-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.about-flow-step {
  position: relative; background: #fff; border: 1px solid var(--border-light);
  border-radius: 14px; padding: 24px 16px; text-align: center; transition: all .3s ease;
}
.about-flow-step:hover {
  transform: translateY(-5px); box-shadow: 0 12px 30px rgba(37,99,235,.1);
  border-color: rgba(37,99,235,.25);
}
.about-flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 1rem; font-weight: 800;
}
.about-flow-content h4 { font-size: .98rem; font-weight: 700; color: var(--title-color); margin: 0; }
.about-flow-step-arrow {
  position: absolute; top: 50%; right: -13px; transform: translateY(-50%); z-index: 2;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.about-flow-step-arrow svg { width: 13px; height: 13px; }

/* ===== 响应式 ===== */
@media(max-width:1200px) {
  .about-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:992px) {
  .ab-hero { padding: 150px 0 80px; }
  .about-intro-section, .about-services-section, .about-advantages-section, .about-flow-section { padding: 64px 0; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .about-flow-row { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:640px) {
  .ab-hero { padding: 130px 0 60px; }
  .about-intro-section, .about-services-section, .about-advantages-section, .about-flow-section { padding: 48px 0; }
  .about-section-header { margin-bottom: 34px; }
  .about-intro-stats { gap: 10px; }
  .about-intro-num { font-size: 1.4rem; }
  .about-intro-image-deco { display: none; }
  .about-services-grid { grid-template-columns: 1fr; }
  .about-advantages-grid { grid-template-columns: 1fr; }
  .about-flow-row { grid-template-columns: repeat(2, 1fr); }
  .about-flow-steps { gap: 18px; }
}
