@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --mx-primary: #1f63c9;
  --mx-primary-dark: #154a98;
  --mx-accent: #f59e0b;
  --mx-dark: #111827;
  --mx-soft: #f4f7fc;
  --mx-text: #1f2937;
  --mx-muted: #6b7280;
  --mx-border: #e5eaf1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--mx-text);
  background: #ffffff;
  padding-top: 60px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  z-index: 3000;
  background: #0d6efd;
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
}

.skip-link:focus {
  top: 8px;
}

.navbar-brand span {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-header {
  background:
    radial-gradient(circle at 95% 8%, rgba(245, 158, 11, 0.2), transparent 38%),
    linear-gradient(150deg, #111827 4%, #1c2d47 52%, #1f3e72 100%);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.24;
  max-width: 14ch;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  max-width: 54ch;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64rem;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--mx-accent);
}

.hero-side-card {
  border-left: 4px solid rgba(245, 158, 11, 0.55);
}

#hero-side-points {
  margin: 0;
  padding-left: 1rem;
}

#hero-side-points li {
  margin-bottom: 0.35rem;
}

.showcase-head {
  background: linear-gradient(180deg, #fcfdff 0%, #f7faff 100%);
}

#heroCarousel .carousel-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

#heroCarousel .carousel-caption {
  background: rgba(0, 0, 0, 0.54);
  border-radius: 8px;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.75rem;
  text-align: left;
  padding: 0.5rem 0.75rem;
}

#heroCarousel .carousel-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
}

#showcase-partners {
  margin: 0;
  padding-left: 1rem;
}

#showcase-partners li {
  margin-bottom: 0.45rem;
}

.showcase-metric-item {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--mx-border);
}

.showcase-metric-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.showcase-metric-value {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--mx-primary);
  line-height: 1.25;
}

.showcase-metric-label {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--mx-muted);
}

.card {
  border-radius: 0.88rem;
}

.card-title {
  letter-spacing: 0.01em;
}

.capability-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd, #1550af);
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.72rem;
}

.capability-card .card-title,
.service-card .card-title,
.advantage-card .card-title,
.job-card .card-title {
  font-size: 0.99rem;
  font-weight: 700;
}

.service-card .service-index {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.12);
  margin-bottom: 0.52rem;
}

.advantage-card .metric-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.12);
  margin-bottom: 0.5rem;
}

.flow-item {
  height: 100%;
  border: 1px solid var(--mx-border);
  border-radius: 0.8rem;
  padding: 0.95rem 0.95rem 1rem;
  background: #ffffff;
}

.flow-step {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 99, 201, 0.14);
  color: var(--mx-primary);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.job-meta {
  display: block;
  color: #6c757d;
  font-size: 0.8rem;
}

.job-focus {
  color: #374151;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
}

.job-section {
  margin-bottom: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--mx-border);
}

.job-section h4 {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
}

.job-list {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
}

.job-list li {
  font-size: 0.84rem;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

#business-contact p,
#hr-contact p {
  margin-bottom: 0.45rem;
  color: #4b5563;
  font-size: 0.88rem;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 210ms ease, transform 210ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-title {
    max-width: none;
  }

  .hero-subtitle {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 15px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .btn.btn-lg {
    font-size: 0.96rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
