/* ===== Solutions Section ===== */
.royal-solutions-section {
  background: var(--royal-bg-white);
  padding: var(--royal-space-xxl) 0;
}

.royal-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--royal-space-lg);
}

.royal-solution-card {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-lg);
  padding: var(--royal-space-xl) var(--royal-space-lg);
  box-shadow: var(--royal-shadow);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.royal-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-md);
}

.royal-solution-icon-bg {
  width: 100px;
  height: 100px;
  border-radius: var(--royal-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--royal-space-md);
  position: relative;
  overflow: hidden;
}

/* Multi-color gradient backgrounds */
.royal-solution-card:nth-child(1) .royal-solution-icon-bg { background: var(--royal-gradient-primary); }
.royal-solution-card:nth-child(2) .royal-solution-icon-bg { background: var(--royal-gradient-green); }
.royal-solution-card:nth-child(3) .royal-solution-icon-bg { background: var(--royal-gradient-purple); }
.royal-solution-card:nth-child(4) .royal-solution-icon-bg { background: var(--royal-gradient-orange); }
.royal-solution-card:nth-child(5) .royal-solution-icon-bg { background: var(--royal-gradient-red); }
.royal-solution-card:nth-child(6) .royal-solution-icon-bg { background: var(--royal-gradient-cyan); }

.royal-solution-icon {
  font-size: var(--royal-font-xxl);
  color: white;
}

.royal-solution-card h3 {
  margin-bottom: var(--royal-space-sm);
  color: var(--royal-text-dark);
  font-weight: 600;
}

.royal-solution-card h3 a {
  font-size: var(--royal-font-md);
}

.royal-solution-card p {
  color: var(--royal-text-light);
  line-height: 1.5;
  font-size: var(--royal-font-sm);
}

/* Solutions Page Specific Styles */
.royal-section-pain-points,
.royal-section-core-advantages,
.royal-section-solution-approach,
.royal-solutions-list-section {
  margin-bottom: 4rem;
}

/* Pain Points Grid */
.royal-pain-points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.royal-pain-point-card {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  padding: 2rem;
  box-shadow: var(--royal-shadow);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.royal-pain-point-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-md);
}

.royal-pain-point-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--royal-radius-lg);
  background: var(--royal-gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: var(--royal-font-xl);
}

/* Pain point icon color variations */
.royal-pain-point-card:nth-child(2) .royal-pain-point-icon { background: var(--royal-gradient-orange); }
.royal-pain-point-card:nth-child(3) .royal-pain-point-icon { background: var(--royal-gradient-purple); }
.royal-pain-point-card:nth-child(4) .royal-pain-point-icon { background: var(--royal-gradient-cyan); }

.royal-pain-point-card h3 {
  font-size: var(--royal-font-md);
  margin-bottom: 1rem;
  color: var(--royal-text-dark);
  font-weight: 600;
}

.royal-pain-point-card p {
  color: var(--royal-text-light);
  line-height: 1.6;
  font-size: var(--royal-font-sm);
}

/* Core Advantages Grid */
.royal-advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.royal-advantage-card {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  padding: 2rem;
  box-shadow: var(--royal-shadow);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
  position: relative;
  overflow: hidden;
}

.royal-advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-md);
}

.royal-advantage-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: var(--royal-font-xxl);
  font-weight: 800;
  color: var(--royal-blue-100);
  z-index: 1;
}

/* Advantage number content */
.royal-advantage-card:nth-child(1) .royal-advantage-number::before { content: "01"; }
.royal-advantage-card:nth-child(2) .royal-advantage-number::before { content: "02"; }
.royal-advantage-card:nth-child(3) .royal-advantage-number::before { content: "03"; }
.royal-advantage-card:nth-child(4) .royal-advantage-number::before { content: "04"; }

.royal-advantage-number::before {
  display: block;
  font-size: var(--royal-font-xxl);
  font-weight: bold;
  color: var(--royal-primary);
  margin-bottom: 15px;
}

.royal-advantage-card h3 {
  font-size: var(--royal-font-md);
  margin-bottom: 1rem;
  color: var(--royal-text-dark);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.royal-advantage-card p {
  color: var(--royal-text-light);
  line-height: 1.6;
  font-size: var(--royal-font-default);
  position: relative;
  z-index: 2;
}

/* Solution Approach Steps */
.royal-approach-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.royal-approach-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  padding: 2rem;
  box-shadow: var(--royal-shadow);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
}

.royal-approach-step:hover {
  transform: translateX(5px);
  box-shadow: var(--royal-shadow-md);
}

.royal-step-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--royal-radius-lg);
  background: var(--royal-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--royal-font-md);
  flex-shrink: 0;
}

/* Step icon color variations */
.royal-approach-step:nth-child(2) .royal-step-icon { background: var(--royal-gradient-green); }
.royal-approach-step:nth-child(3) .royal-step-icon { background: var(--royal-gradient-purple); }
.royal-approach-step:nth-child(4) .royal-step-icon { background: var(--royal-gradient-orange); }

.royal-step-content {
  flex: 1;
}

.royal-step-content h3 {
  font-size: var(--royal-font-md);
  margin-bottom: 1rem;
  color: var(--royal-text-dark);
  font-weight: 600;
}

.royal-step-content p {
  color: var(--royal-text-light);
  line-height: 1.6;
  font-size: var(--royal-font-default);
}

/* Solutions Grid Page */
.royal-solutions-grid-page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.royal-solution-card-page {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  overflow: hidden;
  box-shadow: var(--royal-shadow);
  transition: var(--royal-transition);
  border: 1px solid var(--royal-border-light);
  position: relative;
}

.royal-solution-card-page:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-md);
}

.royal-solution-image {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 4:3 aspect ratio */
  overflow: hidden;
  border-radius: var(--royal-radius);
  position: relative;
}

.royal-solution-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--royal-transition-slow);
}

.royal-solution-card-page:hover .royal-solution-image img {
  transform: scale(1.05);
}

.royal-solution-card-content {
  padding: 1.5rem;
}

.royal-solution-card-page h3 {
  font-size: var(--royal-font-md);
  margin-bottom: 1rem;
  color: var(--royal-text-dark);
  font-weight: 600;
  line-height: 1.4;
}

.royal-solution-card-page p {
  color: var(--royal-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: var(--royal-font-sm);
}

/* Solution Meta Information */
.royal-solution-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 1.5rem 0;
  font-size: var(--royal-font-sm);
  flex-wrap: wrap;
}

.royal-solution-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1rem;
  background: var(--royal-bg-light);
  border-radius: 20px;
  border: 1px solid var(--royal-border-light);
  transition: var(--royal-transition);
}

.royal-solution-meta i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Meta icon color variations */
.royal-solution-meta span:nth-child(1) i { background: var(--royal-gradient-primary); }
.royal-solution-meta span:nth-child(2) i { background: var(--royal-gradient-orange); }
.royal-solution-meta span:nth-child(3) i { background: var(--royal-gradient-purple); }

.royal-solution-meta span:hover {
  background: var(--royal-bg-white);
  box-shadow: var(--royal-shadow-sm);
  transform: translateY(-2px);
}

.royal-solution-meta span:hover i {
  transform: scale(1.1);
}

/* Solution Tags */
.royal-solution-tags {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.royal-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 1.5rem 0 0;
}

.royal-tag,
.royal-tag-item {
  background: var(--royal-blue-100);
  color: var(--royal-blue-500);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: var(--royal-font-xs);
  font-weight: 600;
}

/* Solution Actions */
.royal-solution-actions {
  display: flex;
  gap: 1rem;
}

.royal-solution-actions .royal-btn {
  flex: 1;
  text-align: center;
  padding: 0.7rem 1rem;
}
/* ===== Business Layout (业务布局 · 双轮驱动) ===== */
.royal-wheel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--royal-space-md);
  margin-top: var(--royal-space-lg);
}

.royal-wheel-card {
  background: var(--royal-bg-white);
  border: 1px solid var(--royal-border-light);
  border-radius: var(--royal-radius-lg);
  box-shadow: var(--royal-shadow);
  padding: var(--royal-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--royal-space-sm);
  transition: var(--royal-transition);
}

.royal-wheel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-lg);
}

.royal-wheel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--royal-space-sm);
}

.royal-wheel-head h3 {
  font-size: var(--royal-font-lg);
  color: var(--royal-text-dark);
  font-weight: 700;
}

.royal-wheel-depth {
  display: block;
  font-size: var(--royal-font-xs);
  letter-spacing: 0.15em;
  color: var(--royal-text-light);
  margin-bottom: 0.3rem;
}

.royal-wheel-role {
  flex-shrink: 0;
  font-size: var(--royal-font-xs);
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: white;
}

.royal-wheel-tech .royal-wheel-role { background: var(--royal-cyan-500); }
.royal-wheel-sea .royal-wheel-role { background: var(--royal-cyan-500); }

.royal-wheel-desc {
  color: var(--royal-text-light);
  line-height: 1.8;
}

.royal-wheel-row {
  padding: 0.8rem 0;
  border-top: 1px solid var(--royal-border-light);
}

.royal-wheel-k {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--royal-text-dark);
  font-size: var(--royal-font-sm);
  margin-bottom: 0.3rem;
}

.royal-wheel-k i {
  color: var(--royal-primary-blue);
  width: 18px;
  text-align: center;
}

.royal-wheel-row p {
  color: var(--royal-text-light);
  font-size: var(--royal-font-sm);
  line-height: 1.8;
}

.royal-wheel-more {
  margin-top: auto;
  align-self: flex-start;
}

/* 战略核心：平衡与协同 */
.royal-synergy-card {
  background: var(--royal-gradient-primary);
  color: white;
  border-radius: var(--royal-radius-lg);
  box-shadow: var(--royal-shadow-lg);
  padding: var(--royal-space-lg) var(--royal-space-xl);
  margin: var(--royal-space-lg) 0;
  text-align: center;
}

.royal-synergy-card h3 {
  font-size: var(--royal-font-lg);
  font-weight: 700;
  margin-bottom: var(--royal-space-sm);
  color: white;
}

.royal-synergy-card p {
  line-height: 2;
  opacity: 0.92;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

/* 子页：角色 Hero */
.royal-biz-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--royal-space-md);
  border-radius: var(--royal-radius-lg);
  padding: var(--royal-space-lg) var(--royal-space-xl);
  margin: var(--royal-space-lg) 0;
  color: white;
  box-shadow: var(--royal-shadow-lg);
  background: var(--royal-gradient-primary);
}

.royal-biz-hero--green { background: var(--royal-gradient-green); }
.royal-biz-hero--orange { background: var(--royal-gradient-orange); }
.royal-biz-hero--cyan { background: var(--royal-cyan-500); }
.royal-biz-hero--purple { background: var(--royal-gradient-purple); }

.royal-biz-hero h2 {
  color: white;
  font-size: var(--royal-font-xl);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.royal-biz-hero p {
  opacity: 0.9;
  line-height: 1.8;
}

.royal-biz-depth {
  display: block;
  font-size: var(--royal-font-xs);
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-bottom: 0.4rem;
}

.royal-biz-role {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: var(--royal-font-sm);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* 要点卡片 */
.royal-biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--royal-space-md);
}

.royal-biz-card {
  background: var(--royal-bg-white);
  border: 1px solid var(--royal-border-light);
  border-radius: var(--royal-radius-lg);
  box-shadow: var(--royal-shadow);
  padding: var(--royal-space-lg);
  transition: var(--royal-transition);
}

.royal-biz-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-lg);
}

.royal-biz-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--royal-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--royal-font-lg);
  background: var(--royal-gradient-primary);
  margin-bottom: var(--royal-space-sm);
}

.royal-biz-card:nth-child(2) .royal-biz-icon { background: var(--royal-gradient-green); }
.royal-biz-card:nth-child(3) .royal-biz-icon { background: var(--royal-gradient-purple); }

.royal-biz-card h3 {
  font-size: var(--royal-font-md);
  font-weight: 600;
  color: var(--royal-text-dark);
  margin-bottom: 0.6rem;
}

.royal-biz-card p {
  color: var(--royal-text-light);
  line-height: 1.8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .royal-wheel-grid,
  .royal-biz-grid {
    grid-template-columns: 1fr;
    gap: var(--royal-space-sm);
  }

  .royal-wheel-card,
  .royal-biz-card {
    padding: var(--royal-space-md);
  }

  .royal-biz-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--royal-space-md);
    margin: var(--royal-space-md) 0;
  }

  .royal-synergy-card {
    padding: var(--royal-space-md);
    margin: var(--royal-space-md) 0;
  }
}
