/* 
 * undressaiES.pw - Main Stylesheet
 * Unique design for Spanish audience
 */

:root {
  --primary: #6A11CB;
  --secondary: #2575FC;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #FFFFFF;
  --bg-dark: #0D1117;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 25px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
}

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

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

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

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

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

/* Text Styling */
.text-gradient {
  background-image: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-image: var(--gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-large {
  padding: 15px 32px;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

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

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

.brand-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.highlight {
  color: var(--primary);
}

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

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  height: 24px;
  width: 30px;
  position: relative;
  z-index: 1001;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 3px;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  position: relative;
  background-color: #f8f9fd;
  overflow: hidden;
}

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

.hero-content {
  max-width: 550px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
}

.hero-visual {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-element {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero-illustration {
  width: 100%;
  height: auto;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  direction: ltr;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
}

.wave-divider.inverted {
  transform: rotate(180deg);
  top: 0;
  bottom: auto;
}

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-light);
}

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

.feature-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background: var(--gradient);
  color: white;
  position: relative;
}

.how-it-works .section-title,
.how-it-works .section-subtitle {
  color: white;
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0 40px;
}

.step {
  flex: 1;
  text-align: center;
  max-width: 250px;
}

.step-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-icon svg {
  width: 40px;
  height: 40px;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-color: white;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-connector {
  flex: 0 0 50px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
}

.step-connector::before,
.step-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: white;
}

.step-connector::before {
  left: 0;
}

.step-connector::after {
  right: 0;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.action-container {
  text-align: center;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background-color: white;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.vertical-line, .horizontal-line {
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.vertical-line {
  width: 2px;
  height: 24px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.horizontal-line {
  width: 24px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item.active .vertical-line {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

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

.faq-item.active .faq-answer {
  height: auto;
  padding: 0 20px 20px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: #f8f9fd;
  text-align: center;
}

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

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 60px 0 30px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.footer-brand .brand-text {
  margin-bottom: 15px;
}

.footer-brand .tagline {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.link-group h4 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.1rem;
}

.link-group h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-image: var(--gradient);
}

.link-group a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  transition: var(--transition);
}

.link-group a:hover {
  color: white;
  transform: translateX(5px);
}

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

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .step-connector {
    width: 2px;
    height: 30px;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-top: 30px;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .link-group h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .link-group a:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 0;
    transition: height 0.3s;
    box-shadow: var(--shadow-md);
    opacity: 0;
  }
  
  .nav-menu.active {
    height: auto;
    padding: 20px 0;
    opacity: 1;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}

/* Menu Toggle Animation */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -8px);
}
