/* 活力国隐 · 与全站 tokens 对齐：酒红 #d93751 / 海军蓝 #0f345b */
.spirit-page--tech {
  background: var(--bg-base);
  --tech-bg: var(--navy, #0f345b);
  --tech-surface: #143a63;
  --tech-border: rgba(217, 55, 81, 0.22);
  --tech-accent: var(--accent, #d93751);
  --tech-accent-soft: var(--accent-soft, #f43a58);
  --tech-magenta: var(--accent-magenta, #bf3a85);
  --tech-glow: rgba(217, 55, 81, 0.18);
}

/* ── Hero：与产品/方案顶栏同色（浅蓝灰 #edf3f9 + #cae5ff）── */
.spirit-page--tech .hero {
  position: relative;
  padding: calc(var(--header-h, 90px) + 72px) 0 96px;
  overflow: hidden;
  background: var(--grad-hero, linear-gradient(135deg, #edf3f9 0%, #cae5ff 42%, #eef2f9 100%));
  color: var(--navy, #0f345b);
}

.spirit-page--tech .hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 52, 91, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 52, 91, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.spirit-page--tech .hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(217, 55, 81, 0.16) 0%, rgba(202, 229, 255, 0.45) 42%, transparent 70%);
  pointer-events: none;
}

.spirit-page--tech .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.spirit-page--tech .hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--tech-accent);
  font-family: 'Consolas', 'Courier New', monospace;
}

.spirit-page--tech .hero__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tech-accent);
  box-shadow: 0 0 8px var(--tech-accent);
  animation: tech-blink 2s ease-in-out infinite;
}

@keyframes tech-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.spirit-page--tech .hero__title {
  margin: 0 0 20px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy, #0f345b);
}

.spirit-page--tech .hero__lead {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--text-secondary, #666);
  max-width: 520px;
}

.spirit-page--tech .hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spirit-page--tech .chip {
  padding: 5px 14px;
  border-radius: 4px;
  border: 1px solid rgba(15, 52, 91, 0.12);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--navy, #0f345b);
  letter-spacing: 0.04em;
}

/* Hero highlights */
.spirit-page--tech .hero__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
}

.spirit-page--tech .highlight {
  padding: 18px 16px;
  border-radius: 10px;
  border: 1px solid var(--line, #e0e7ef);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.spirit-page--tech .highlight:hover {
  border-color: rgba(217, 55, 81, 0.45);
  box-shadow: 0 8px 28px rgba(217, 55, 81, 0.12);
  transform: translateY(-2px);
}

.spirit-page--tech .highlight__num {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Consolas', 'Courier New', monospace;
  letter-spacing: 0.12em;
  color: var(--tech-accent);
  opacity: 0.85;
}

.spirit-page--tech .highlight h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy, #0f345b);
}

.spirit-page--tech .highlight p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-secondary, #666);
}

/* ── Metrics ── */
.spirit-page--tech .metrics {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.spirit-page--tech .metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--tech-border);
  border: 1px solid var(--tech-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 26, 46, 0.15);
}

.spirit-page--tech .metric {
  padding: 28px 24px;
  background: #fff;
  text-align: center;
}

.spirit-page--tech .metric strong {
  display: block;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--accent, #d93751);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.spirit-page--tech .metric span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Open office ── */
.spirit-page--tech .office {
  padding: 64px 0;
  background: var(--bg-section);
}

.spirit-page--tech .office__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.spirit-page--tech .office__map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr auto;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--tech-border);
  background: var(--tech-bg);
  min-height: 320px;
}

.spirit-page--tech .office__zone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 20px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spirit-page--tech .office__zone:hover {
  border-color: rgba(217, 55, 81, 0.4);
  box-shadow: 0 0 20px var(--tech-glow);
}

.spirit-page--tech .office__zone--rd { background: rgba(20, 123, 209, 0.22); }
.spirit-page--tech .office__zone--qa { background: rgba(217, 55, 81, 0.2); }
.spirit-page--tech .office__zone--sales { background: rgba(191, 58, 133, 0.22); }
.spirit-page--tech .office__zone--biz { background: rgba(38, 83, 127, 0.45); }

.spirit-page--tech .office__zone-label {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.spirit-page--tech .office__zone-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.spirit-page--tech .office__hub {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  border: 1px dashed rgba(217, 55, 81, 0.35);
  background: rgba(217, 55, 81, 0.08);
  text-align: center;
}

.spirit-page--tech .office__hub span {
  font-size: 14px;
  font-weight: 600;
  color: var(--tech-accent-soft);
}

.spirit-page--tech .office__hub em {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-style: normal;
}

.spirit-page--tech .office__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spirit-page--tech .office__perks li {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.spirit-page--tech .office__perks strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--navy);
}

.spirit-page--tech .office__perks span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Teams ── */
.spirit-page--tech .teams {
  padding: 0 0 56px;
}

.spirit-page--tech .teams__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.spirit-page--tech .teams__card {
  padding: 22px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spirit-page--tech .teams__card:hover {
  border-color: var(--tech-border);
  box-shadow: 0 6px 24px var(--tech-glow);
}

.spirit-page--tech .teams__dept {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(15, 52, 91, 0.06);
  font-size: 10px;
  font-weight: 700;
  font-family: 'Consolas', 'Courier New', monospace;
  letter-spacing: 0.1em;
  color: var(--accent, #d93751);
}

.spirit-page--tech .teams__card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
}

.spirit-page--tech .teams__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Culture ── */
.spirit-page--tech .culture {
  padding: 64px 0;
}

.spirit-page--tech .culture__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spirit-page--tech .culture__item {
  padding: 28px 22px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spirit-page--tech .culture__item:hover {
  border-color: var(--tech-border);
  box-shadow: 0 8px 32px var(--tech-glow);
}

.spirit-page--tech .culture__icon {
  display: flex;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--accent, #d93751);
}

.spirit-page--tech .culture__icon svg {
  width: 100%;
  height: 100%;
}

.spirit-page--tech .culture__item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
}

.spirit-page--tech .culture__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ── Sections ── */
.spirit-page--tech .section {
  padding: 72px 0;
}

.spirit-page--tech .section--dark {
  background: var(--tech-bg);
}

.spirit-page--tech .sec-head {
  margin-bottom: 48px;
}

.spirit-page--tech .sec-head--light .section-label {
  color: var(--tech-accent-soft);
}

.spirit-page--tech .sec-head--light .section-title {
  color: #fff;
}

.spirit-page--tech .sec-head--light .section-desc {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Timeline ── */
.spirit-page--tech .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.spirit-page--tech .timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--tech-accent), rgba(217, 55, 81, 0.12));
}

.spirit-page--tech .timeline__item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 28px;
}

.spirit-page--tech .timeline__item:last-child {
  margin-bottom: 0;
}

.spirit-page--tech .timeline__marker {
  position: absolute;
  left: 0;
  top: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spirit-page--tech .timeline__marker span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tech-bg);
  border: 2px solid var(--tech-accent);
  box-shadow: 0 0 12px var(--tech-glow);
}

.spirit-page--tech .timeline__card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-radius: 10px;
  border: 1px solid var(--tech-border);
  background: var(--tech-surface);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spirit-page--tech .timeline__card:hover {
  border-color: rgba(217, 55, 81, 0.4);
  box-shadow: 0 8px 32px rgba(15, 52, 91, 0.28);
}

.spirit-page--tech .timeline__cover {
  min-height: 140px;
  overflow: hidden;
}

.spirit-page--tech .timeline__cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  object-position: center;
}

.spirit-page--tech .timeline__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spirit-page--tech .timeline__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.spirit-page--tech .timeline__meta time {
  font-size: 12px;
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--tech-accent-soft);
  letter-spacing: 0.04em;
}

.spirit-page--tech .tag {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.spirit-page--tech .tag--tech {
  background: rgba(217, 55, 81, 0.18);
  color: var(--tech-accent-soft);
}

.spirit-page--tech .tag--talk {
  background: rgba(191, 58, 133, 0.2);
  color: #f0a3c8;
}

.spirit-page--tech .tag--team {
  background: rgba(20, 123, 209, 0.18);
  color: #7eb8ea;
}

.spirit-page--tech .tag--life {
  background: rgba(244, 58, 88, 0.16);
  color: #f58a9a;
}

.spirit-page--tech .tag--biz {
  background: rgba(38, 83, 127, 0.45);
  color: #9bb8d4;
}

.spirit-page--tech .tag--qa {
  background: rgba(15, 52, 91, 0.35);
  color: #c5d4e4;
}

.spirit-page--tech .timeline__body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  color: #fff;
}

.spirit-page--tech .timeline__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
}

/* Tech gradient presets */
.spirit-page--tech .bg-tech-a {
  background: linear-gradient(135deg, #0f345b 0%, #147bd1 55%, #3386c4 100%);
}

.spirit-page--tech .bg-tech-b {
  background: linear-gradient(160deg, #0f345b 0%, #bf3a85 55%, #d93751 100%);
}

.spirit-page--tech .bg-tech-c {
  background: linear-gradient(135deg, #0f345b 0%, #26537f 50%, #147bd1 100%);
}

.spirit-page--tech .bg-tech-d {
  background: linear-gradient(135deg, #10355b 0%, #d93751 50%, #f43a58 100%);
}

.spirit-page--tech .bg-tech-e {
  background: linear-gradient(135deg, #0f345b 0%, #1d619c 55%, #147bd1 100%);
}

.spirit-page--tech .bg-tech-f {
  background: linear-gradient(160deg, #f43a58 10%, #bf3a85 80%);
}

/* ── Bento gallery ── */
.spirit-page--tech .bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}

.spirit-page--tech .bento__cell {
  position: relative;
  margin: 0;
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--tech-surface);
}

.spirit-page--tech .bento__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
  overflow: hidden;
  background: var(--tech-surface);
}

.spirit-page--tech .bento__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.spirit-page--tech .bento__cell:hover .bento__bg {
  transform: scale(1.05);
}

.spirit-page--tech .bento__cell figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 26, 46, 0.82) 100%);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* ── CTA ── */
.spirit-page--tech .cta {
  padding: 64px 0 80px;
}

.spirit-page--tech .cta__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  border-radius: 12px;
  border: 1px solid var(--tech-border);
  background: var(--tech-bg);
  color: #fff;
  overflow: hidden;
}

.spirit-page--tech .cta__glow {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 55, 81, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.spirit-page--tech .cta__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--tech-accent-soft);
  font-family: 'Consolas', 'Courier New', monospace;
}

.spirit-page--tech .cta__text h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 28px);
}

.spirit-page--tech .cta__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
}

.spirit-page--tech .cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 50px;
  border: none;
  background: var(--grad-cta, linear-gradient(160deg, #f43a58 10%, #bf3a85 80%));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.spirit-page--tech .cta__btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.spirit-page--tech .cta__btn:hover {
  background: var(--grad-cta-hover, linear-gradient(160deg, #f43a58 10%, #ec193b 80%));
  box-shadow: 0 0 20px rgba(111, 111, 111, 0.45);
  color: #fff;
}

.spirit-page--tech .cta__btn:hover svg {
  transform: translateX(3px);
}

/* ── Reveal ── */
.spirit-page--tech [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.spirit-page--tech [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .spirit-page--tech .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .spirit-page--tech .hero__highlights {
    max-width: 480px;
    margin: 0 auto;
  }

  .spirit-page--tech .office__layout {
    grid-template-columns: 1fr;
  }

  .spirit-page--tech .culture__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spirit-page--tech .teams__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spirit-page--tech .timeline__card {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 768px) {
  .spirit-page--tech .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spirit-page--tech .culture__grid {
    grid-template-columns: 1fr;
  }

  .spirit-page--tech .teams__grid {
    grid-template-columns: 1fr;
  }

  .spirit-page--tech .timeline::before {
    left: 15px;
  }

  .spirit-page--tech .timeline__item {
    padding-left: 44px;
  }

  .spirit-page--tech .timeline__marker {
    width: 32px;
  }

  .spirit-page--tech .timeline__card {
    grid-template-columns: 1fr;
  }

  .spirit-page--tech .timeline__cover {
    min-height: 120px;
  }

  .spirit-page--tech .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .spirit-page--tech .bento__cell {
    min-height: 150px;
  }

  .spirit-page--tech .cta__box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .spirit-page--tech .metrics__grid {
    grid-template-columns: 1fr 1fr;
  }

  .spirit-page--tech .bento {
    grid-auto-rows: 120px;
  }

  .spirit-page--tech .bento__cell {
    min-height: 120px;
  }
}
