/* 
   AINudeGeneratorES.pw - Estilos principales
   Paleta de colores inspirada en España: rojo (#E60026), amarillo (#FCDD09), azul acento (#5899E2)
*/

:root {
  --primary: #E60026;     /* Rojo de la bandera española */
  --secondary: #FCDD09;   /* Amarillo de la bandera española */
  --accent: #5899E2;      /* Azul como acento */
  --dark: #333333;
  --light: #FFFFFF;
  --gray: #6C757D;
  --light-gray: #F8F9FA;
  --gradient: linear-gradient(135deg, var(--primary) 0%, #9E0000 100%);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

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

a:hover {
  color: #9E0000;
}

/* Botones */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(230, 0, 38, 0.3);
  text-align: center;
}

.btn:hover {
  background-color: #C10021;
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(193, 0, 33, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 10px rgba(252, 221, 9, 0.3);
}

.btn-secondary:hover {
  background-color: #E1C508;
  color: var(--dark);
  box-shadow: 0 6px 15px rgba(225, 197, 8, 0.4);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

/* Header y Navegación */
header {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.logo svg {
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

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

.nav-link:hover {
  color: var(--primary);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
}

/* Sección Hero */
.hero {
  background: var(--gradient);
  padding: 120px 0 100px;
  color: var(--light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  top: -150px;
  right: -100px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  bottom: -200px;
  left: -150px;
}

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

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 16px;
  opacity: 0.9;
}

/* Sección de Características */
.features {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 80px;
  background-color: var(--primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--light);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(230, 0, 38, 0.1);
  border-radius: 50%;
  margin: 0 auto 25px;
}

.feature-title {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-desc {
  color: var(--gray);
  font-size: 15px;
}

/* Sección Cómo Funciona */
.how-it-works {
  padding: 100px 0;
  background-color: var(--light);
}

.steps-container {
  margin-top: 60px;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.step {
  background-color: var(--light);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 25px;
}

.step-title {
  font-size: 22px;
  margin-bottom: 15px;
  text-align: center;
}

.step-desc {
  color: var(--gray);
  font-size: 15px;
  text-align: center;
}

/* Sección Acerca De */
.about {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 25px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
}

.about-image {
  text-align: center;
}

.about-image svg {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sección CTA */
.cta {
  padding: 100px 0;
  background: var(--gradient);
  color: var(--light);
  text-align: center;
}

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

.cta h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta .btn {
  background-color: var(--secondary);
  color: var(--dark);
  font-weight: 600;
}

.cta .btn:hover {
  background-color: #E1C508;
}

/* Footer */
footer {
  background-color: #222222;
  color: var(--light);
  padding: 80px 0 30px;
}

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

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 10px;
}

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

.footer-col p {
  margin-bottom: 20px;
  color: #aaa;
  font-size: 15px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #aaa;
}

.footer-links a:hover {
  color: var(--light);
}

.footer-favicon {
  display: inline-block;
  margin-top: 20px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #777;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 42px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--light);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
}
