/*
 * AINudeGeneratorCO.pw - Estilos CSS
 * Tema: Inspirado en los colores de la bandera colombiana
 * Última actualización: 21 de agosto de 2025
 */

:root {
  /* Colores de la bandera colombiana */
  --amarillo: #FCD116;
  --azul: #003893;
  --rojo: #CE1043;
  --blanco: #FFFFFF;
  --negro: #333333;
  --gris-claro: #F5F5F5;
  --gris-medio: #E0E0E0;
  --gris-oscuro: #777777;
  --sombra-suave: 0 4px 10px rgba(0, 0, 0, 0.08);
  --sombra-media: 0 8px 15px rgba(0, 0, 0, 0.12);
  --sombra-fuerte: 0 12px 25px rgba(0, 0, 0, 0.15);
  --radio: 10px;
  --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y estilos base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--negro);
  background-color: var(--blanco);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--negro);
}

p {
  margin-bottom: 1rem;
  color: var(--gris-oscuro);
}

a {
  text-decoration: none;
  color: var(--azul);
  transition: var(--transicion);
}

a:hover {
  color: var(--amarillo);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 90px 0;
}

/* Títulos de sección */
.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 20px;
}

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

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radio);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transicion);
  font-size: 1rem;
  margin: 10px 10px 10px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transicion);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amarillo), var(--rojo));
  color: var(--blanco);
  border: none;
  box-shadow: var(--sombra-suave);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra-media);
}

.btn-secondary {
  background: transparent;
  color: var(--azul);
  border: 2px solid var(--azul);
}

.btn-secondary:hover {
  color: var(--blanco);
  background-color: var(--azul);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 38px;
  font-size: 1.1rem;
  min-width: 200px;
}

/* Header y Navegación */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--blanco);
  box-shadow: var(--sombra-suave);
  padding: 15px 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header.scrolled {
  padding: 10px 0;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 12px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--azul);
}

.domain {
  color: var(--amarillo);
}

.navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: var(--negro);
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--amarillo), var(--rojo));
  transition: var(--transicion);
  border-radius: 3px;
}

.nav-menu a:hover {
  color: var(--rojo);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--azul);
  border-radius: 3px;
  transition: var(--transicion);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 170px 0 90px;
  background: radial-gradient(circle at top right, rgba(252, 209, 22, 0.1), rgba(206, 16, 67, 0.05));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 209, 22, 0.2), transparent 70%);
  z-index: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--azul), var(--rojo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.15rem;
  margin-bottom: 25px;
}

.adult-notice {
  display: inline-flex;
  align-items: center;
  background: rgba(206, 16, 67, 0.08);
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 25px;
}

.adult-notice svg {
  margin-right: 8px;
}

.adult-notice span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rojo);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Features Section */
.features {
  background-color: var(--gris-claro);
  position: relative;
  overflow: hidden;
}

.features::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 56, 147, 0.1), transparent 70%);
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.feature-box {
  background-color: var(--blanco);
  border-radius: var(--radio);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--amarillo), var(--azul), var(--rojo));
  transition: var(--transicion);
  z-index: -1;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--sombra-media);
}

.feature-box:hover::before {
  height: 100%;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* How It Works */
.how-it-works {
  background-color: var(--blanco);
  position: relative;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--amarillo), var(--rojo));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blanco);
  margin-right: 30px;
  box-shadow: var(--sombra-suave);
  position: relative;
  z-index: 2;
}

.step-content {
  padding-top: 10px;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 30px;
  height: calc(100% + 30px);
  width: 2px;
  background: linear-gradient(to bottom, var(--amarillo), var(--azul), var(--rojo));
}

.step h3 {
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, var(--azul) 0%, var(--rojo) 100%);
  color: var(--blanco);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before,
.testimonials::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.testimonials::before {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  top: -100px;
  right: -50px;
}

.testimonials::after {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  bottom: -150px;
  left: -100px;
}

.testimonials .section-title {
  color: var(--blanco);
}

.testimonials .section-title::after {
  background: var(--blanco);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radio);
  padding: 30px;
  backdrop-filter: blur(5px);
  transition: var(--transicion);
  border-left: 3px solid var(--amarillo);
}

.testimonial:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  color: var(--blanco);
  font-style: italic;
  opacity: 0.9;
}

.testimonial-author {
  font-weight: 600;
  color: var(--amarillo);
  font-size: 0.95rem;
}

/* FAQ Section */
.faq {
  background-color: var(--gris-claro);
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--blanco);
  border-radius: var(--radio);
  margin-bottom: 15px;
  box-shadow: var(--sombra-suave);
  overflow: hidden;
  transition: var(--transicion);
}

.faq-item:hover {
  box-shadow: var(--sombra-media);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transicion);
}

.faq-question h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
  padding-right: 30px;
}

.faq-toggle {
  font-size: 1.8rem;
  color: var(--amarillo);
  transition: var(--transicion);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transicion);
  padding: 0 25px;
}

.faq-item.active .faq-question {
  background-color: rgba(252, 209, 22, 0.05);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--rojo);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 25px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, rgba(252, 209, 22, 0.95) 0%, rgba(206, 16, 67, 0.95) 100%), url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48Y2lyY2xlIGN4PSIyMCIgY3k9IjIwIiByPSI2IiBzdHJva2U9IiNGRkZGRkYyMCIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIi8+PC9zdmc+");
  text-align: center;
  padding: 90px 0;
  color: var(--blanco);
}

.cta h2 {
  color: var(--blanco);
  font-size: 2.4rem;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta p {
  color: var(--blanco);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta .btn {
  background: var(--blanco);
  color: var(--rojo);
  border: none;
}

.cta .btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-fuerte);
}

.disclaimer {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  background-color: var(--negro);
  color: var(--blanco);
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-branding {
  max-width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo svg {
  margin-right: 15px;
}

.footer-logo h3 {
  color: var(--blanco);
  margin-bottom: 0;
  font-size: 1.6rem;
}

.footer-branding p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-column {
  flex: 1;
}

.footer-column h4 {
  color: var(--blanco);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--amarillo);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transicion);
}

.footer-column a:hover {
  color: var(--amarillo);
  padding-left: 5px;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.keywords {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 700px;
  margin: 0 auto 10px;
}

.adult-only {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  section {
    padding: 70px 0;
  }
  
  h1, .hero h1 {
    font-size: 2.3rem;
  }
  
  h2, .section-title, .cta h2 {
    font-size: 1.9rem;
  }
  
  .hero-container {
    flex-direction: column-reverse;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .adult-notice {
    margin: 0 auto 25px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media screen and (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--blanco);
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .navigation.active {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 25px;
  }
  
  .nav-menu a {
    font-size: 1.2rem;
    display: block;
    text-align: center;
  }
  
  .feature-box {
    padding: 30px 20px;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    margin-bottom: 50px;
  }
  
  .step-number {
    margin: 0 auto 20px;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  
  .btn {
    padding: 12px 24px;
  }
}

@media screen and (max-width: 576px) {
  .hero {
    padding: 150px 0 70px;
  }
  
  h1, .hero h1 {
    font-size: 2rem;
  }
  
  h2, .section-title, .cta h2 {
    font-size: 1.7rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    margin: 10px 0;
    width: 100%;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
}
