/* 
 * aiclothingremoverES.pw - Estilos CSS
 * Diseño único para el mercado español
 * Completamente responsive para móvil y escritorio
 */

:root {
  --primary-color: #f1bf00;    /* Amarillo de la bandera española */
  --secondary-color: #c60b1e;  /* Rojo de la bandera española */
  --accent-color: #00247d;     /* Azul acento para contraste */
  --light-color: #ffffff;      /* Blanco */
  --dark-color: #333333;       /* Negro para texto */
  --bg-color: #f9f9f9;         /* Fondo claro */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

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

h2 {
  font-size: 2.3rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 16px;
}

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

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

/* Botones */
.btn {
  display: inline-block;
  padding: 13px 30px;
  background: var(--secondary-color);
  color: var(--light-color);
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.95rem;
  box-shadow: var(--box-shadow);
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--accent-color);
  color: var(--light-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.btn-outline:hover {
  background: var(--secondary-color);
  color: var(--light-color);
}

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

.btn-primary:hover {
  background: #daa520;
}

/* Header */
.header {
  background: var(--light-color);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 18px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.97);
}

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

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

.logo-ai {
  color: var(--secondary-color);
}

.logo-es {
  color: var(--light-color);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 1.2rem;
}

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

.nav a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
}

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

.nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

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

.mobile-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark-color);
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 180px 0 120px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  text-align: center;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 0h15v15H0V0zm15 15h15v15H15V15zm15 0h15v15H30V15zm15 0h15v15H45V15zm0-15h15v15H45V0zm-15 0h15v15H30V0zm-15 0h15v15H15V0z' fill='%23ffffff'/%3E%3C/svg%3E");
}

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

.hero h1 {
  color: var(--light-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hero-decoration {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 200px;
  height: 200px;
  opacity: 0.1;
  z-index: 2;
}

/* Features Section */
.features {
  padding: 100px 0 80px;
  background: var(--light-color);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  text-align: center;
  border-bottom: 4px solid transparent;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-bottom: 4px solid var(--primary-color);
}

.feature-icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* How It Works */
.how-it-works {
  padding: 100px 0 120px;
  background-color: var(--bg-color);
  position: relative;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--light-color) 20%, transparent);
  z-index: 2;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  background: var(--primary-color);
  z-index: 1;
  opacity: 0.3;
}

.step-box {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 60px 30px 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--box-shadow);
  z-index: 5;
}

.step-number {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid var(--light-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-title {
  margin: 20px 0 15px;
  color: var(--secondary-color);
}

/* About Section */
.about {
  padding: 120px 0;
  background: var(--light-color);
  position: relative;
  overflow: hidden;
}

.about-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  opacity: 0.05;
  transform: rotate(45deg);
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-content {
  flex: 1;
}

.about-visual {
  flex: 1;
  position: relative;
  text-align: center;
}

.rating {
  margin: 30px 0;
}

.star {
  color: var(--primary-color);
  font-size: 26px;
  margin-right: 5px;
}

/* CTA Section */
.cta {
  padding: 90px 0;
  background: linear-gradient(145deg, var(--primary-color), #f39c12);
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 0h50v50H0V0zm50 50h50v50H50V50z' fill='%23000000' fill-opacity='0.05'/%3E%3C/svg%3E");
}

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

.cta-title {
  color: var(--dark-color);
  margin-bottom: 25px;
}

.cta-text {
  margin-bottom: 35px;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.cta-btn {
  background: var(--secondary-color);
  color: var(--light-color);
  font-size: 1.1rem;
  padding: 15px 40px;
}

/* Footer */
.footer {
  background: #222222;
  color: #999999;
  padding: 100px 0 30px;
}

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

.footer-column h3 {
  color: var(--light-color);
  font-size: 1.5rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

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

.footer-text {
  margin-bottom: 25px;
  line-height: 1.8;
}

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

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

.footer-links a {
  color: #999;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-color);
  padding-left: 8px;
}

.footer-logo {
  margin-top: 25px;
  display: inline-block;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--dark-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 160px 0 100px;
  }
}

@media (max-width: 992px) {
  .features-grid,
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .steps-container::before {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 75px);
    background: var(--light-color);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: all 0.4s ease;
    z-index: 99;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav li {
    margin: 15px 0;
  }
  
  .about-flex {
    flex-direction: column;
  }
  
  .hero-btns {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .features-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
}
