/* Estilos para undressingES.pw - Sitio de AI undressing español */

:root {
  --primary: #C1121F;
  --secondary: #003F88;
  --accent: #FFC857;
  --dark: #0A0908;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --gray: #6C757D;
  --light-gray: #DEE2E6;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
}

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

html {
  scroll-behavior: smooth;
}

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

.wrapper {
  width: 100%;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: color 0.3s;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Estilos de Header */
.header {
  background-color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.logo span.accent {
  color: var(--primary);
}

.logo span.country {
  color: var(--secondary);
  font-size: 0.8em;
  margin-left: 2px;
}

.nav {
  display: flex;
}

.nav-list {
  display: flex;
}

.nav-list li {
  margin-left: 2rem;
}

.nav-list a {
  color: var(--dark);
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-list a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--gradient);
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

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

/* Estilos de Botones */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(193, 18, 31, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(193, 18, 31, 0.4);
  color: white;
  background: #d81f2f;
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: #004fad;
  color: white;
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background: #ffd36f;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 8px;
}

/* Sección Hero */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(193,18,31,0.05) 0%, rgba(255,200,87,0.05) 50%, rgba(0,63,136,0.05) 100%);
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero__content {
  flex: 1;
}

.hero__tag {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.25rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero__description {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
}

.hero__image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Estilos de Sección */
.section {
  padding: 5rem 0;
}

.section-primary {
  background-color: var(--primary);
  color: white;
}

.section-secondary {
  background-color: var(--secondary);
  color: white;
}

.section-light {
  background-color: var(--light);
}

.section-accent {
  background-color: rgba(255, 200, 87, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-primary .section-header h2,
.section-primary .section-header p,
.section-secondary .section-header h2,
.section-secondary .section-header p {
  color: white;
}

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

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.section-primary .feature-card,
.section-secondary .feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: 15px;
}

.section-primary .feature-card .feature-icon {
  background: rgba(255, 200, 87, 0.2);
  color: var(--accent);
}

.section-secondary .feature-card .feature-icon {
  background: rgba(255, 200, 87, 0.2);
  color: var(--accent);
}

.section-light .feature-card .feature-icon {
  background: var(--primary);
  color: white;
}

.section-accent .feature-card .feature-icon {
  background: var(--secondary);
  color: white;
}

/* Cómo Funciona */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 35px;
  top: 65px;
  width: 2px;
  height: calc(100% - 30px);
  background: var(--gradient);
}

.step__number {
  position: relative;
  min-width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  counter-increment: step;
  z-index: 1;
}

.step__number::before {
  content: counter(step);
}

.step__content {
  flex: 1;
}

/* Sección FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.section-primary .faq-item,
.section-secondary .faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* Sección CTA */
.cta {
  background: var(--gradient);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -100px;
  left: -100px;
}

.cta::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  bottom: -50px;
  right: -50px;
}

.cta h2 {
  color: white;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-button {
  position: relative;
  z-index: 1;
}

.btn-cta {
  background: white;
  color: var(--primary);
  font-weight: 700;
  border-radius: 8px;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer__column h4 {
  color: white;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.footer__logo-image {
  margin-right: 10px;
}

.footer__description {
  color: var(--light-gray);
  margin-bottom: 1rem;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  color: var(--light-gray);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: var(--light-gray);
}

/* Menú Móvil */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.3s;
}

/* Clases de Animación */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Estilos Responsivos */
@media (max-width: 992px) {
  .hero__inner {
    flex-direction: column-reverse;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
  }
  
  .nav-list li {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-list a {
    display: block;
    padding: 1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 9px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -9px);
  }
  
  .hero {
    padding-top: 7rem;
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
  
  .footer__content {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
}
