/*
 * undressingES.love - Estilos principales
 * Paleta de colores cálidos (rojo, naranja, amarillo)
 */

:root {
  --primary: #e63946;
  --secondary: #ffb703;
  --accent: #fb8500;
  --dark: #1d3557;
  --light: #f1faee;
  --gray: #6c757d;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

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

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

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

ul {
  list-style: none;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h1 span {
  color: var(--primary);
  display: inline;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  color: var(--primary);
}

p {
  margin-bottom: 1rem;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

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

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

.menu {
  display: flex;
  gap: 2rem;
}

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

.menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(255, 183, 3, 0.1));
  z-index: 0;
}

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

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tag {
  background-color: rgba(255, 183, 3, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
}

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

.features::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--white));
}

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

.feature {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

/* How Works Section */
.how-works {
  background-color: var(--white);
  padding: 5rem 0;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.cta {
  text-align: center;
  margin-top: 3rem;
}

/* FAQ Section */
.faq {
  background-color: var(--light);
  padding: 5rem 0;
}

.faq-items {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  margin-bottom: 0.75rem;
  color: var(--dark);
}

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

.footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo p {
  color: var(--gray);
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

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

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--gray);
}

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

.copyright {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .footer .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 100;
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  
  .menu.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero::before {
    width: 300px;
    height: 300px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .tags {
    flex-direction: column;
    align-items: flex-start;
  }
}
