/* ==========================================================================
   World Star - home.css
   首页专属样式：Hero / 能力卡片 / 步骤 / 优势 / 评价 / 合作
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 30%, rgba(214, 34, 47, 0.2), transparent 50%),
    radial-gradient(circle at 5% 85%, rgba(56, 84, 150, 0.4), transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding: 92px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 16px;
  background: rgba(214, 34, 47, 0.16);
  border: 1px solid rgba(214, 34, 47, 0.5);
  border-radius: 30px;
  color: #ff8f97;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 10px;
}
.hero-sub {
  display: block;
  margin-bottom: 22px;
  color: #e8edf7;
  font-size: 21px;
  font-weight: 600;
}
.hero-sub em { color: #ff6b76; font-style: normal; font-weight: 700; }
.hero-text {
  max-width: 540px;
  color: #b9c6de;
  font-size: 15px;
  margin-bottom: 34px;
}

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.hero-media::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 180px;
  height: 180px;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  border-radius: 0 0 10px 0;
  z-index: -1;
}

/* ---------- Hero Slideshow（首页全屏幻灯） ---------- */
.hero-slideshow::before { z-index: 1; }
.hero-bg {
  position: relative;
  z-index: 0;
}
.hero-bg a { display: block; }
.hero-bg img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(16, 27, 51, 0.9) 0%, rgba(16, 27, 51, 0.62) 52%, rgba(16, 27, 51, 0.28) 100%);
}
.hero-slide { position: relative; }
.hero-caption {
  position: relative;
  z-index: 3;
  padding: 92px 0;
}
.hero-prev,
.hero-next { z-index: 4; }
.hero-pagination { z-index: 4; bottom: 22px; }
.hero-pagination .swiper-pagination-bullet {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: all 0.3s ease;
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 40px;
  background: var(--red);
}

/* ---------- About ---------- */
.about-row h2 { font-size: 30px; }

/* ---------- Highlight (id=10): PC 左图固定大尺寸 ---------- */
.about-row--bigimg { grid-template-columns: 500px 1fr; gap: 48px; align-items: center; }
.about-row--bigimg .media-img { width: 500px; }
.about-row--bigimg .media-img img {
  width: 500px;
  height: auto;
}
@media (max-width: 991px) {
  .about-row--bigimg { grid-template-columns: 1fr; }
  .about-row--bigimg .media-img,
  .about-row--bigimg .media-img img { width: 100%; }
}

/* ---------- Stats icon bar ---------- */
.stats-grid--icon .stat {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  border-left-color: rgba(214, 34, 47, 0.45);
}
.stat-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  color: #fff;
}
.stat-icon svg { width: 100%; height: 100%; }
.stat-text {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
}

/* ---------- Capabilities ---------- */
.cap-list {
  display: flex;
  flex-direction: column;
}
.cap-row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-border);
}
.cap-row:last-child { border-bottom: none; padding-bottom: 0; }
.cap-row:first-child { padding-top: 0; }
.cap-row--rev { flex-direction: row-reverse; }
.cap-media {
  flex: 0 0 350px;
  width: 350px;
  display: block;
  color: inherit;
  overflow: hidden;
  border-radius: var(--radius);
}
.cap-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cap-row:hover .cap-media img { transform: scale(1.04); }
.cap-body { flex: 1; }
.cap-body h3 { font-size: 24px; margin-bottom: 12px; }
.cap-body h3 a { color: var(--heading); }
.cap-body h3 a:hover { color: var(--red); }
.cap-body p { font-size: 15px; margin-bottom: 16px; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step-card {
  position: relative;
  padding: 34px 26px 30px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  transition: all 0.25s ease;
}
.step-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  background: var(--navy);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  border-radius: 6px;
  transition: background 0.25s ease;
}
.step-card:hover .step-num { background: var(--red); }
.step-card h3 { font-size: 17px; margin-bottom: 10px; }
.step-card p { font-size: 14px; margin: 0; }

/* ---------- What Sets Us Apart ---------- */
.apart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.apart-item {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--gray-border);
}
.apart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.apart-item:first-child { padding-top: 0; }

.hex-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 66px;
  width: 66px;
  height: 72px;
  background: var(--navy);
  color: #fff;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: background 0.25s ease;
}
.apart-item:hover .hex-icon { background: var(--red); }
.hex-icon svg { width: 28px; height: 28px; }
.apart-item h3 { font-size: 18px; margin-bottom: 8px; }
.apart-item p { font-size: 14px; margin: 0; }

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.review-stars { color: #f5a623; font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.review-text {
  flex: 1;
  font-size: 14.5px;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 22px;
}
.review-user { display: flex; align-items: center; gap: 14px; }
.review-user img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}
.review-name { display: block; font-size: 16px; font-weight: 700; color: var(--heading); }
.review-role {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Partner ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.partner-grid h2 { font-size: 30px; }
.partner-map img { width: 100%; }

.join-block {
  margin-top: 34px;
  padding: 28px 30px;
  background: var(--navy);
  border-radius: var(--radius);
}
.join-block h3 { color: #fff; margin-bottom: 8px; }
.join-block p { color: #b9c6de; font-size: 14px; margin-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0; gap: 44px; }
  .hero h1 { font-size: 40px; }
  .hero-caption { padding: 64px 0; }

  .cap-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 32px 0;
  }
  .cap-row--rev { flex-direction: column; }
  .cap-media { flex-basis: auto; width: 100%; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  .apart-grid { grid-template-columns: 1fr; gap: 36px; }

  .review-grid { grid-template-columns: 1fr; }

  .partner-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 575px) {
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .hero-media::after { display: none; }
  .hero-caption { padding: 48px 0; }
  .hero-pagination { bottom: 14px; }
  .hero-prev,
  .hero-next { display: none; }

  .cap-body h3 { font-size: 20px; }

  .steps-grid { grid-template-columns: 1fr; }

  .apart-item { gap: 16px; }
  .hex-icon { flex-basis: 56px; width: 56px; height: 62px; }
}
