/**
 * PornAI.best - Estilos para secciones específicas
 */

/* Features Section - Estilo indio */
.features {
  padding: 100px 0;
  background-color: #FFFDF9;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, rgba(255, 153, 51, 0) 70%);
}

.features::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 136, 8, 0.1) 0%, rgba(19, 136, 8, 0) 70%);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-dark);
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--color-gray);
}

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

.feature-card {
  background-color: #FFF;
  border-radius: var(--border-radius-md);
  padding: 40px 25px;
  text-align: center;
  box-shadow: var(--shadow-main);
  transition: var(--transition-main);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(255, 153, 51, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-dark);
  font-family: var(--font-heading);
}

.feature-description {
  color: var(--color-gray);
  font-size: 1rem;
}

/* How it Works Section */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.03) 0%, rgba(19, 136, 8, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

/* Patrón de mandala decorativo */
.mandala-pattern {
  position: absolute;
  width: 300px;
  height: 300px;
  opacity: 0.05;
  z-index: 0;
}

.mandala-top-right {
  top: -100px;
  right: -100px;
}

.mandala-bottom-left {
  bottom: -100px;
  left: -100px;
}

.steps-container {
  position: relative;
  z-index: 1;
  margin-top: 50px;
}

.step-card {
  background: #FFF;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-main);
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  box-shadow: var(--shadow-hover);
}

.step-number {
  background: linear-gradient(135deg, var(--color-primary), #FF8C00);
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 25px;
  flex-shrink: 0;
}

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

.step-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--color-dark);
  font-family: var(--font-heading);
}

.step-description {
  color: var(--color-gray);
  font-size: 1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: #FFF;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(rgba(255, 153, 51, 0.1) 3px, transparent 3px);
  background-size: 30px 30px;
  opacity: 0.3;
  z-index: 0;
}

.testimonials-container {
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: #FFF;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-main);
  padding: 30px;
  margin: 15px;
  position: relative;
}

.testimonial-quote {
  font-size: 1.2rem;
  color: var(--color-gray);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
}

.testimonial-quote::before {
  content: """;
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info {
  margin-left: 15px;
}

.author-name {
  font-weight: bold;
  color: var(--color-dark);
  margin-bottom: 5px;
}

.author-location {
  font-size: 0.9rem;
  color: var(--color-gray);
}

.testimonial-rating {
  display: flex;
  margin-top: 10px;
}

.star {
  color: #FFD700;
  margin-right: 3px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary), #FF8C00);
  color: var(--color-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,30 A20,20 0 0,1 70,50 A20,20 0 0,1 50,70 A20,20 0 0,1 30,50 A20,20 0 0,1 50,30 Z' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 100px 100px;
  opacity: 0.1;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-cta {
  background-color: var(--color-light);
  color: var(--color-primary);
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-cta:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  background-color: #18202B;
  color: #B8B8B8;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.footer-logo span {
  color: #FFF;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--font-heading);
}

.footer-description {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  transition: var(--transition-main);
}

.footer-social a:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-heading {
  color: #FFF;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
  font-family: var(--font-heading);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #B8B8B8;
  transition: var(--transition-main);
}

.footer-links a:hover {
  color: #FFF;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .step-card {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .header-content {
    position: relative;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFF;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-main);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: space-around;
  }
  
  .stat-item {
    margin: 10px;
  }
  
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}
