/* ========================================
   PARTICIPATION ENGAGEMENT SECTION
   ======================================== */

.participation-engagement-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.participation-engagement-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 300px;
  background: radial-gradient(circle at 20% 50%, rgba(123, 58, 237, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.participation-engagement-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.engagement-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}

.engagement-intro {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 16px;
  border: 1px solid rgba(123, 58, 237, 0.1);
  box-shadow: var(--shadow-soft);
}

.engagement-intro p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-main);
  font-size: 16px;
}

.engagement-intro p:last-of-type {
  margin-bottom: 0;
}

.engagement-intro-list {
  list-style: none;
  margin: 25px 0;
  padding: 0;
}

.engagement-intro-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-main);
  line-height: 1.6;
}

.engagement-intro-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  border-radius: 50%;
}

/* Participant Roles Grid */
.participant-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.participant-card {
  background: var(--bg-white);
  border: 1px solid rgba(123, 58, 237, 0.12);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.participant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--accent-glow) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.participant-card:hover {
  border-color: rgba(123, 58, 237, 0.25);
  box-shadow: 0 8px 32px rgba(123, 58, 237, 0.08);
  transform: translateY(-4px);
}

.participant-card:hover::before {
  opacity: 1;
}

.participant-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 58, 237, 0.08);
  border: 1px solid rgba(123, 58, 237, 0.15);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.participant-card:hover .participant-icon-wrapper {
  background: rgba(123, 58, 237, 0.15);
  border-color: rgba(123, 58, 237, 0.3);
}

.citizens-icon {
  background: rgba(123, 58, 237, 0.08);
  color: #7c3aed;
}

.workers-icon {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
}

.influencers-icon {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
}

.leaders-icon {
  background: rgba(236, 72, 153, 0.08);
  color: #ec4899;
}

.participant-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
}

.participant-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 12px;
}

.participant-purpose {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(123, 58, 237, 0.04);
  border-left: 2px solid rgba(123, 58, 237, 0.2);
  border-radius: 4px;
}

.participant-keypoints {
  list-style: none;
  padding: 0;
  margin: 0;
}

.participant-keypoints li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
}

.participant-keypoints i {
  font-size: 6px;
  color: var(--primary-light);
}

/* Signal Formation Section */
.signal-formation-wrapper {
  margin-top: 60px;
  padding: 50px 0;
}

.formation-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 40px;
}

.signal-process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.signal-process-step {
  background: var(--bg-white);
  border: 1.5px solid rgba(123, 58, 237, 0.15);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.signal-process-step:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 24px rgba(123, 58, 237, 0.1);
  transform: translateY(-3px);
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  color: white;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.process-flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  opacity: 0.5;
  min-height: 40px;
}

@media (max-width: 768px) {
  .signal-process-flow {
    grid-template-columns: 1fr;
  }

  .process-flow-connector {
    transform: rotate(90deg);
    margin: 8px 0;
  }
}

/* Participation Communities Section */
.communities-panel {
  margin-top: 60px;
  padding: 40px 0;
}

.communities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}

.community-feature-card {
  background: var(--bg-white);
  border: 1.5px solid rgba(13, 148, 136, 0.12);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.workers-community {
  border-color: rgba(13, 148, 136, 0.2);
}

.citizens-community {
  border-color: rgba(123, 58, 237, 0.2);
}

.community-feature-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.community-feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.community-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 12px;
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.citizens-community .community-feature-icon {
  background: rgba(123, 58, 237, 0.08);
  color: var(--primary);
}

.community-feature-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.community-feature-body {
  margin-bottom: 0;
}

.community-intro {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.6;
}

.community-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.community-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
}

.community-feature-list i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.citizens-community .community-feature-list i {
  color: var(--primary);
}

/* Leaders Insight Card */
.leaders-insight-card {
  background: linear-gradient(45deg, #cbcbcb, #f7f7f7cc);
  border: 1px solid rgba(123, 58, 237, 0.2);
  border-radius: 16px;
  padding: 48px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin: 60px auto 0;
}

.insight-card-content {
  position: relative;
  z-index: 2;
  color: black;
}

.insight-title {
  font-size: 24px;
  font-weight: 700;
  color: #1c2e62;
  margin-bottom: 16px;
}

.insight-intro {
  font-size: 16px;
  color: rgb(26 52 110 / 85%);
  margin-bottom: 28px;
  line-height: 1.6;
}

.insight-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.insight-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgb(15 15 40 / 60%);
  border: 1px solid rgba(123, 58, 237, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.insight-benefit-item:hover {
  background: rgba(123, 58, 237, 0.15);
  border-color: rgba(123, 58, 237, 0.35);
  transform: translateX(4px);
}

.insight-benefit-item i {
  font-size: 20px;
  color: var(--accent-glow);
  margin-top: 2px;
  flex-shrink: 0;
}

.insight-benefit-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* Closing Statement */
.engagement-closing {
  margin-top: 80px;
  padding: 60px 40px;
  background: var(--bg-white);
  border: 1.5px solid rgba(13, 148, 136, 0.15);
  border-radius: 16px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.closing-statement-wrapper {
  position: relative;
}

.closing-statement {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.7;
  margin: 0;
}

.closing-statement::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--accent) 100%);
  margin: 0 auto 20px;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: slideInUp 0.6s ease-out;
  opacity: 0;
  animation-fill-mode: both;
}

.fade-in-up.delay-1 {
  animation-delay: 0.1s;
}

.fade-in-up.delay-2 {
  animation-delay: 0.2s;
}

.fade-in-up.delay-3 {
  animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .participation-engagement-section {
    padding: 60px 0;
  }

  .engagement-intro {
    margin: 30px auto;
    padding: 28px 20px;
  }

  .participant-roles-grid {
    grid-template-columns: 1fr;
  }

  .leaders-insight-card {
    padding: 32px 24px;
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
  }

  .insight-benefits {
    grid-template-columns: 1fr;
  }

  .engagement-closing {
    padding: 40px 24px;
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
    border: none;
    border-top: 1.5px solid rgba(13, 148, 136, 0.15);
    border-bottom: 1.5px solid rgba(13, 148, 136, 0.15);
  }

  .closing-statement {
    font-size: 18px;
  }

  .formation-title {
    font-size: 22px;
  }
}
