/* ===== 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;
}