/* Estilos para ainudeLV.pw */

:root {
  --primary: #9C27B0;     /* Morado */
  --secondary: #4CAF50;   /* Verde */
  --accent: #FFC107;      /* Amarillo ámbar */
  --dark: #212121;
  --medium: #757575;
  --light: #FAFAFA;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --radius: 8px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Tipografía */
h1, h2, h3 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

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

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

.logo {
  width: 160px;
  height: 40px;
}

.logo-icon {
  width: 100%;
  height: 100%;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  font-weight: 500;
  position: relative;
}

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

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

.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(156, 39, 176, 0.1);
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--medium);
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.hero-graphic {
  max-width: 400px;
  height: auto;
}

.wave-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-separator.reverse {
  transform: rotate(0);
}

.wave-separator svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  transform: rotateY(180deg);
}

.wave-separator path {
  fill: #f0f0f0;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

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

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

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

.secondary-button:hover {
  background-color: rgba(156, 39, 176, 0.05);
}

.button.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Features */
.features {
  padding: 5rem 0;
  background-color: #f0f0f0;
}

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

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

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}

.feature-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--medium);
}

/* How It Works */
.how-it-works {
  padding: 5rem 0;
  position: relative;
  background-color: white;
}

.steps {
  max-width: 700px;
  margin: 0 auto 3rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step:last-child {
  margin-bottom: 0;
}

.step-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}

.step-content {
  flex: 1;
}

.step-title {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--medium);
}

.center-cta {
  text-align: center;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: #f0f0f0;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 5rem;
  opacity: 0.1;
  color: var(--primary);
  font-family: serif;
  line-height: 1;
}

.quote {
  margin-bottom: 1.5rem;
}

.author {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.rating {
  color: var(--accent);
}

.star {
  display: inline-block;
  margin-right: 2px;
}

/* FAQ */
.faq {
  padding: 5rem 0;
  background-color: white;
}

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

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

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

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

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

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

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--medium);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Main CTA */
.main-cta {
  padding: 5rem 0;
  background: var(--gradient);
  color: white;
  text-align: center;
}

.main-cta h2 {
  margin-bottom: 1rem;
}

.main-cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.main-cta .button {
  background-color: white;
  color: var(--primary);
  border: none;
}

.main-cta .button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background-color: #212121;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

.footer-logo {
  width: 160px;
  height: 40px;
}

.footer-links h3,
.footer-keywords h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: white;
}

.footer-keywords p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding-top: 6rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    padding: 5rem 2rem 2rem;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nav-list a {
    font-size: 1.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .step {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}
