/**
 * Seção de Features - Rede Social Evangélica
 * Design moderno e atrativo para mostrar todas as funcionalidades
 */

.features-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%235f249f" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%237c3aed" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%235f249f" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%237c3aed" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #5f249f 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(124, 58, 237, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #5f249f 0%, #7c3aed 100%);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.feature-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-highlight {
  background: linear-gradient(135deg, #5f249f 0%, #7c3aed 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
}

/* Seção de Conversa com IA */
.ai-conversation-section {
  background: linear-gradient(135deg, #5f249f 0%, #7c3aed 100%);
  color: white;
  padding: 60px 0;
  margin: 60px 0;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.ai-conversation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ai-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="10" cy="10" r="1" fill="white" opacity="0.05"/><circle cx="40" cy="40" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23ai-pattern)"/></svg>');
  opacity: 0.3;
}

.ai-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.ai-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.ai-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.conversation-example {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin: 40px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.conversation-bubble {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 15px 20px;
  margin: 10px 0;
  text-align: left;
  max-width: 80%;
}

.conversation-bubble.user {
  background: rgba(255, 255, 255, 0.3);
  margin-left: auto;
  text-align: right;
}

.conversation-bubble.ai {
  background: rgba(255, 255, 255, 0.15);
  margin-right: auto;
}

/* Seção de Gamificação */
.gamification-section {
  background: white;
  padding: 60px 0;
  border-radius: 30px;
  margin: 40px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gamification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gamification-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  transition: all 0.3s ease;
}

.gamification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(124, 58, 237, 0.2);
}

.gamification-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.gamification-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.gamification-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Seção de Planos */
.plans-section {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 60px 0;
  border-radius: 30px;
  margin: 40px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.plan-card.featured {
  background: linear-gradient(135deg, #5f249f 0%, #7c3aed 100%);
  border: 2px solid #7c3aed;
  transform: scale(1.05);
}

.plan-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #10b981;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-features li:last-child {
  border-bottom: none;
}

/* Seção de Missão Social */
.mission-section {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 60px 0;
  border-radius: 30px;
  margin: 40px 0;
  text-align: center;
}

.mission-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.mission-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.mission-description {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsividade */
@media (max-width: 768px) {
  .features-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .ai-title {
    font-size: 2rem;
  }
  
  .gamification-grid {
    grid-template-columns: 1fr;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .plan-card.featured {
    transform: none;
  }
}
