/* Company Introduction */
.royal-company-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: var(--royal-space-lg);
}

.royal-company-text h3 {
  font-size: var(--royal-font-lg);
  margin-bottom: var(--royal-space-md);
  color: var(--royal-text-dark);
  font-weight: 600;
}

.royal-company-text p {
  color: var(--royal-text-light);
  margin-bottom: var(--royal-space-md);
  font-size: var(--royal-font-default);
}

/* Mission Section */
.royal-company-mission {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: var(--royal-space-lg);
}

.royal-mission-item {
  background: white;
  padding: 2rem;
  border-radius: var(--royal-radius-md);
  border-left: 4px solid var(--royal-primary-blue);
  box-shadow: var(--royal-shadow);
}

.royal-mission-item h4 {
  font-size: var(--royal-font-md);
  margin-bottom: 0.8rem;
  color: var(--royal-text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.royal-mission-item h4 i {
  color: var(--royal-primary-blue);
}

.royal-mission-item p {
  color: var(--royal-text-light);
  font-size: var(--royal-font-default);
}

/* Company Image */
.royal-company-image {
  border-radius: var(--royal-radius-md);
  overflow: hidden;
  box-shadow: var(--royal-shadow);
  height: 400px;
}

.royal-company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--royal-transition-slow);
}

.royal-company-image:hover img {
  transform: scale(1.05);
}

/* Statistics Section */
.royal-stats-section {
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.royal-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.royal-stat-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--royal-space-lg);
  gap: 1.5rem;
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-lg);
  box-shadow: var(--royal-shadow-sm);
  border: 1px solid var(--royal-border-light);
}

/* Stat icon colors */
.royal-stats-grid .royal-stat-card:nth-child(1) .royal-stat-icon { background: var(--royal-gradient-primary); }
.royal-stats-grid .royal-stat-card:nth-child(2) .royal-stat-icon { background: var(--royal-gradient-green); }
.royal-stats-grid .royal-stat-card:nth-child(3) .royal-stat-icon { background: var(--royal-gradient-orange); }
.royal-stats-grid .royal-stat-card:nth-child(4) .royal-stat-icon { background: var(--royal-gradient-red); }

.royal-stat-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--royal-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--royal-font-xl);
  color: #fff;
}

.royal-stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.royal-stat-number {
  font-size: var(--royal-font-xl);
  font-weight: 700;
  line-height: 1;
}

.royal-stat-label {
  opacity: 0.9;
  color: var(--royal-text-light);
  font-size: var(--royal-font-default);
}

/* Timeline Section */
.royal-inner-timeline-section {
  margin: var(--royal-space-xxl) 0;
}

.royal-inner-timeline {
  position: relative;
  margin: 0 auto;
}

.royal-inner-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--royal-gradient-primary);
  transform: translateX(-50%);
  border-radius: var(--royal-radius);
}

.royal-inner-timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.royal-inner-timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.royal-inner-timeline-year {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--royal-gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--royal-font-md);
  font-weight: 700;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin: 0 2rem;
  box-shadow: var(--royal-shadow-md);
  transition: var(--royal-transition);
}

.royal-inner-timeline-item:hover .royal-inner-timeline-year {
  transform: scale(1.1);
  box-shadow: var(--royal-shadow-lg);
}

.royal-inner-timeline-content {
  flex: 1;
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  padding: 2rem;
  box-shadow: var(--royal-shadow);
  border: 1px solid var(--royal-border-light);
  position: relative;
  transition: var(--royal-transition);
}

.royal-inner-timeline-item:hover .royal-inner-timeline-content {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-md);
}

/* Timeline arrows */
.royal-inner-timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--royal-bg-white);
  transform: translateY(-50%) rotate(135deg);
  border: 1px solid var(--royal-border-light);
}

.royal-inner-timeline-item:nth-child(even) .royal-inner-timeline-content::before {
  left: -10px;
  border-left: none;
  border-top: none;
}

.royal-inner-timeline-item:nth-child(odd) .royal-inner-timeline-content::before {
  right: -10px;
  border-right: none;
  border-bottom: none;
}

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

.royal-inner-timeline-content p {
  color: var(--royal-text-light);
  line-height: 1.6;
}

/* Company Culture */
.royal-culture-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: var(--royal-space-lg);
}

.royal-culture-visual {
  position: sticky;
  top: 100px;
}

.royal-culture-image {
  border-radius: var(--royal-radius-md);
  overflow: hidden;
  box-shadow: var(--royal-shadow);
  height: 500px;
}

.royal-culture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.royal-culture-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.royal-culture-item {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-md);
  padding: 1.5rem;
  box-shadow: var(--royal-shadow);
  border: 1px solid var(--royal-border-light);
  transition: var(--royal-transition);
}

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

.royal-culture-item h3 {
  font-size: var(--royal-font-md);
  margin-bottom: 1rem;
  color: var(--royal-text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.royal-culture-item h3 i {
  color: var(--royal-primary-blue);
  width: 24px;
}

.royal-culture-item p {
  color: var(--royal-text-light);
  line-height: 1.6;
}

/* Advantages Section */
.royal-inner-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: var(--royal-space-lg);
}

.royal-inner-advantage-card {
  background: var(--royal-bg-white);
  border-radius: var(--royal-radius-lg);
  padding: 2.5rem 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-inner-advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--royal-shadow-lg);
}

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

.royal-inner-advantage-card:hover .royal-inner-advantage-icon {
  transform: scale(1.1);
}

/* Advantage icon color variations */
.royal-inner-advantage-card:nth-child(2n) .royal-inner-advantage-icon { background: var(--royal-gradient-green); }
.royal-inner-advantage-card:nth-child(3n) .royal-inner-advantage-icon { background: var(--royal-gradient-purple); }
.royal-inner-advantage-card:nth-child(4) .royal-inner-advantage-icon { background: var(--royal-gradient-orange); }

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

.royal-inner-advantage-card p {
  color: var(--royal-text-light);
  margin-bottom: var(--royal-space-md);
  line-height: 1.6;
}
/* ===== About Facts (公司概览) ===== */
.royal-about-facts {
  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-sm) var(--royal-space-md);
  align-self: start;
}

.royal-about-fact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--royal-space-sm);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--royal-border-light);
}

.royal-about-fact-row:last-child {
  border-bottom: none;
}

.royal-about-fact-k {
  color: var(--royal-text-light);
  font-size: var(--royal-font-sm);
  padding-top: 2px;
}

.royal-about-fact-v {
  color: var(--royal-text-dark);
  font-weight: 500;
  line-height: 1.7;
}

/* ===== Edge Grid (公司优势) ===== */
.royal-edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--royal-space-md);
  margin-top: var(--royal-space-lg);
}

.royal-edge-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-edge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-lg);
}

.royal-edge-head {
  display: flex;
  align-items: center;
  gap: var(--royal-space-sm);
  margin-bottom: var(--royal-space-sm);
}

.royal-edge-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  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);
}

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

.royal-edge-mark {
  display: block;
  font-size: var(--royal-font-sm);
  color: var(--royal-primary-blue);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.royal-edge-head h3 {
  font-size: var(--royal-font-md);
  color: var(--royal-text-dark);
  font-weight: 600;
}

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

.royal-edge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin-top: var(--royal-space-sm);
}

.royal-edge-chips li {
  font-size: var(--royal-font-xs);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--royal-blue-50);
  color: var(--royal-primary-blue);
  border: 1px solid var(--royal-border-light);
}

/* ===== License Card (资质与合规) ===== */
.royal-license-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--royal-space-lg);
  background: var(--royal-gradient-primary);
  color: white;
  border-radius: var(--royal-radius-lg);
  padding: var(--royal-space-lg) var(--royal-space-xl);
  margin: var(--royal-space-lg) 0;
  box-shadow: var(--royal-shadow-lg);
}

.royal-license-no {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.royal-license-no span {
  display: block;
  font-size: var(--royal-font-xs);
  letter-spacing: 0.2em;
  opacity: 0.8;
  margin-top: 0.5rem;
  font-weight: 400;
}

.royal-license-img {
  text-align: center;
}

.royal-license-img img {
  max-width: 200px;
  max-height: 200px;
  border-radius: var(--royal-radius-md);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem;
  box-shadow: var(--royal-shadow);
}

.royal-license-body h3 {
  font-size: var(--royal-font-lg);
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: white;
}

.royal-license-body p {
  line-height: 1.8;
  opacity: 0.92;
}

.royal-license-note {
  font-size: var(--royal-font-sm);
  opacity: 0.75;
  margin-top: 0.5rem;
}

/* ===== Guard Grid (合规 / 风控 / 透明) ===== */
.royal-guard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--royal-space-md);
}

.royal-guard-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-guard-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--royal-shadow-lg);
}

.royal-guard-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-guard-card:nth-child(2) .royal-guard-icon { background: var(--royal-gradient-green); }
.royal-guard-card:nth-child(3) .royal-guard-icon { background: var(--royal-gradient-purple); }

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

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

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

  .royal-edge-card,
  .royal-guard-card {
    padding: var(--royal-space-md);
  }

  .royal-license-card {
    grid-template-columns: 1fr;
    gap: var(--royal-space-sm);
    padding: var(--royal-space-md);
    margin: var(--royal-space-md) 0;
  }

  .royal-license-no {
    text-align: left;
    font-size: 3.2rem;
  }

  .royal-license-img {
    text-align: left;
  }

  .royal-license-img img {
    max-width: 150px;
    max-height: 150px;
  }

  .royal-about-fact-row {
    grid-template-columns: 90px 1fr;
  }
}
