/* ── Hero Layout 自上而下分层 ───────────────── */

/* Hero 容器 - 居中纵向布局 */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 1100px;
  padding-top: 0;
  padding-bottom: 24px;
}

/* 第一层：品牌口号 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: #0d9488;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d9488;
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.6);
  animation: heroDotPulse 1.6s ease-in-out infinite;
}

@keyframes heroDotPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

/* 第二层：核心价值主张 */
.hero-headline {
  font-size: 46px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: 0 0 32px;
  max-width: 880px;
  min-height: 112px;
  text-rendering: optimizeSpeed;
  contain: layout paint;
}

.hero-headline .gradient-text {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.hero-headline .gradient-text-warm {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.hero-quote-mark {
  font-family: Georgia, serif;
  color: #94a3b8;
  font-weight: 400;
  margin: 0 1px;
}

.hero-spark {
  display: inline-block;
  font-size: 0.4em;
  color: #f59e0b;
  margin-left: 12px;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
  animation: heroSpark 3s ease-in-out infinite;
  vertical-align: super;
}

@keyframes heroSpark {
  0%, 100% { opacity: 0.6; transform: scale(0.9) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.15) rotate(180deg); }
}

/* 第三层：信任标签 */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-tag svg {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

.trust-tag:hover {
  border-color: rgba(13, 148, 136, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
}

/* 第四层：关键能力速览（三列） */
.hero-capabilities {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin-bottom: 0;
  padding: 28px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.cap-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 28px;
}

.cap-item:first-child { padding-left: 0; }
.cap-item:last-child { padding-right: 0; }

.cap-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(13, 148, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cap-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.cap-item:hover .cap-icon-wrap {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.15);
}

.cap-content {
  flex: 1;
  min-width: 0;
}

.cap-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 4px 0 4px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.cap-content p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.cap-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.25), transparent);
}

/* 第五层：行动按钮（继承全局 hero-actions 但主轴居左） */
.hero-inner > .hero-actions {
  margin-bottom: 0;
  justify-content: flex-start;
}

/* ── 响应式 ─────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    padding-top: 96px;
  }

  .hero-headline {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .hero-capabilities {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .cap-item {
    padding: 0;
  }

  .cap-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.25), transparent);
  }
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: 28px;
  }

  .hero-trust-row {
    gap: 8px;
  }

  .trust-tag {
    padding: 7px 14px;
    font-size: 13px;
  }

  .cap-content h3 { font-size: 15px; }
  .cap-content p { font-size: 13px; }
}

/* ── 导航栏字体加大 + 字间距 ── */
.nav-links > a,
.nav-dropdown-trigger {
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
}
