/* 关于我们：科技青蓝体系，在 style.css 基础上覆写 */
body.page-about {
  --ab-green: #0ea5e9;
  --ab-teal: #06b6d4;
  --ab-orange: #38bdf8;
  --ab-text: #0f172a;
  --ab-muted: #475569;
  --ab-surface: #f8fafc;
  --ab-bg: #e8eef5;
  --ab-line: #c8d6e8;

  color: var(--ab-text);
  background: var(--ab-bg);
}

body.page-about .bg-grid {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 0%, transparent 72%);
}

body.page-about .bg-glow-1,
body.page-about .bg-glow-2 {
  display: none;
}

body.page-about .site-header {
  background: #0a1628;
  border-bottom: 1px solid rgba(14, 165, 233, 0.35);
  backdrop-filter: none;
}

body.page-about .logo {
  color: #fff;
}

body.page-about .logo-accent {
  color: #38bdf8;
}

body.page-about .logo-icon {
  background: #06b6d4;
  box-shadow: none;
}

body.page-about .nav a {
  color: rgba(255, 255, 255, 0.75);
}

body.page-about .nav a:hover,
body.page-about .nav a.nav-current {
  color: #38bdf8;
}

body.page-about a {
  color: var(--ab-teal);
}

body.page-about .site-footer {
  background: #0a1628;
  border-top: 1px solid rgba(14, 165, 233, 0.28);
  color: #94a3b8;
}

body.page-about .site-footer a {
  color: #38bdf8;
}

/* 主区域 */
body.page-about main {
  padding-bottom: 64px;
}

.about-hero {
  padding: 48px 0 36px;
  text-align: center;
}

.about-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--ab-text);
}

.about-hero .about-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--ab-muted);
}

.about-hero .about-brand strong {
  color: var(--ab-green);
  font-weight: 700;
}

/* 区块标题（带小圆标） */
.about-section {
  padding: 40px 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.about-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.about-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  background: var(--ab-green);
  box-shadow: none;
  flex-shrink: 0;
}

.about-section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--ab-text);
}

.about-section-head .about-en {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--ab-green);
  font-weight: 600;
  margin-top: 4px;
}

/* 公司简介双栏 */
.about-profile-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.about-card {
  background: var(--ab-surface);
  border-radius: 2px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-left: 3px solid var(--ab-green);
  box-shadow: none;
  padding: 28px 26px 30px;
}

.about-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--ab-text);
}

.about-card .about-en-title {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--ab-green);
  margin-bottom: 16px;
  display: block;
}

.about-card p {
  margin: 0 0 14px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ab-muted);
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-culture-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-culture-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ab-muted);
}

.about-culture-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ab-teal);
}

.about-culture-list strong {
  color: var(--ab-text);
  font-weight: 600;
}

/* 发展历程时间线 */
.about-timeline-wrap {
  background: var(--ab-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  padding: 28px 20px 36px;
  overflow: hidden;
}

.about-timeline-svg {
  width: 100%;
  height: 72px;
  display: block;
  margin-bottom: 8px;
}

.about-timeline-svg path {
  fill: none;
  stroke: var(--ab-line);
  stroke-width: 2;
}

.about-timeline-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  margin-top: -52px;
  padding-top: 4px;
}

.about-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 210px;
}

.about-milestone.is-top {
  justify-content: flex-start;
}

.about-milestone.is-bottom {
  justify-content: flex-end;
}

.about-milestone .bubble {
  max-width: 140px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #0f172a;
  margin: 0 4px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.about-milestone.is-top .bubble {
  margin-bottom: 10px;
}

.about-milestone.is-bottom .bubble {
  margin-top: 10px;
}

.about-milestone .bubble.b-orange {
  background: #ffe0b2;
}

.about-milestone .bubble.b-teal {
  background: #e0f2f1;
  color: #0f172a;
}

.about-milestone .bubble.b-green {
  background: #d1fae5;
  color: #064e3b;
}

.about-milestone .bubble.b-red {
  background: #ffccbc;
  color: #431407;
}

.about-node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--ab-line);
  flex-shrink: 0;
  z-index: 2;
}

.about-node.n-green {
  background: var(--ab-green);
  box-shadow: 0 0 0 2px var(--ab-line);
}

.about-node.n-orange {
  background: var(--ab-orange);
  box-shadow: 0 0 0 2px var(--ab-line), 0 0 14px rgba(255, 167, 38, 0.45);
}

.about-node.n-teal {
  background: var(--ab-teal);
  box-shadow: 0 0 0 2px var(--ab-line), 0 0 14px rgba(77, 182, 172, 0.5);
}

.about-node.n-red {
  background: #ff7043;
  box-shadow: 0 0 0 2px var(--ab-line), 0 0 14px rgba(255, 112, 67, 0.45);
}

.about-date {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ab-green);
  font-weight: 600;
}

.about-milestone.is-top .about-date {
  margin-top: 8px;
}

.about-milestone.is-bottom .about-date {
  margin-bottom: 8px;
}

.about-ref-img {
  margin-top: 28px;
  text-align: center;
}

.about-ref-img img {
  max-width: min(960px, 100%);
  height: auto;
  border-radius: 2px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: none;
}

.about-ref-caption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--ab-muted);
}

@media (max-width: 960px) {
  .about-profile-grid {
    grid-template-columns: 1fr;
  }

  .about-timeline-row {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .about-milestone {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ab-line);
  }

  .about-milestone:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .about-milestone.is-bottom {
    flex-direction: column;
  }

  .about-milestone .bubble {
    max-width: 100%;
    margin: 10px 0 !important;
    order: 3;
  }

  .about-milestone .about-node {
    order: 2;
    align-self: center;
    margin: 6px 0;
  }

  .about-milestone .about-date {
    order: 1;
    margin: 0 0 4px !important;
    text-align: left;
    align-self: flex-start;
  }

  .about-timeline-svg {
    display: none;
  }
}

@media (max-width: 640px) {
  body.page-about main {
    padding: 0 16px 40px;
  }

  .about-hero {
    padding: 28px 0 20px;
  }

  .about-hero h1 {
    font-size: 1.5rem;
  }

  .about-section {
    padding: 24px 0;
  }

  .about-card {
    padding: 18px 16px 20px;
  }

  .about-timeline-wrap {
    padding: 18px 12px 24px;
  }
}
