/* Variables y reset */
:root {
  --primary: #25D366;
  --primary-dark: #128C7E;
  --secondary: #34B7F1;
  --dark: #333333;
  --light: #f8f9fa;
  --gray: #6c757d;
  --success: #28a745;
  --warning: #FFC107;
  --danger: #FF5252;
  --font-main: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Componentes generales */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

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

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

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  margin-bottom: 50px;
  text-align: center;
  color: var(--gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.header-container a {
  text-decoration: none;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--dark);
}

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

.header-btn {
  padding: 10px 25px;
  font-size: 15px;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--gray);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
  padding: 15px 25px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  min-width: 200px;
}

.metric-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.metric-label {
  color: var(--gray);
  font-size: 15px;
}

.timer-container {
  background-color: var(--primary-dark);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 40px;
}

.timer-label {
  margin-right: 15px;
  font-weight: 600;
}

.timer-digits {
  display: flex;
  gap: 10px;
}

.timer-unit {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.timer-number {
  font-size: 20px;
  font-weight: 700;
}

.timer-text {
  font-size: 12px;
  opacity: 0.8;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Demo Video Section */
.demo-section {
  background-color: white;
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--light);
}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background-color: var(--primary-dark);
  transform: translate(-50%, -50%) scale(1.1);
}

/* How It Works Section */
.how-it-works {
  background-color: var(--light);
  text-align: center;
}

.steps-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}

.step-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
}

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

.step-icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.step-description {
  color: var(--gray);
  font-size: 15px;
}

/* Benefits Section */
.benefits-section {
  background-color: white;
}

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

.benefit-card {
  background-color: var(--light);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-description {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 20px;
}

.benefit-metric {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light);
  text-align: center;
}

.testimonials-container {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  margin-top: 50px;
}

.testimonial-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 400px;
  min-width: 300px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  flex: 0 0 auto;
}

.testimonial-stars {
  color: var(--warning);
  font-size: 18px;
  margin-bottom: 20px;
}

.testimonial-text {
  color: var(--dark);
  font-size: 16px;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.testimonial-text:before {
  content: '"';
  font-size: 50px;
  color: rgba(37, 211, 102, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-details h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.author-details p {
  color: var(--gray);
  font-size: 14px;
}

.testimonial-metric {
  background-color: rgba(37, 211, 102, 0.1);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 30px;
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  margin-top: 15px;
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

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

.faq-item {
  background-color: var(--light);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(37, 211, 102, 0.05);
}

.faq-question i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

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

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

.faq-answer.active {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--gray);
}

/* Pricing Section */
.pricing-section {
  background-color: var(--light);
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  background-color: rgba(37, 211, 102, 0.1);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
}

.pricing-title {
  font-size: 42px;
  margin-bottom: 15px;
}

.pricing-description {
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px;
  max-width: 500px;
  margin: 12px auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.price-label {
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.price-original {
  color: var(--gray);
  font-size: 22px;
  margin-bottom: 10px;
}

.price-current {
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.price-period {
  font-size: 18px;
  color: var(--gray);
}

.pricing-features {
  list-style-type: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  color: var(--gray);
}

.pricing-features li i {
  color: var(--primary);
  margin-right: 15px;
  font-size: 18px;
}

.pricing-note {
  font-size: 14px;
  color: var(--gray);
  margin-top: 30px;
}

/* Sign up Section */
.sign-up-section {
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 160px 0 80px;
}

/* Contact Section */
.contact-section {
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.contact-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-description {
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-method:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.contact-method i {
  font-size: 24px;
  margin-right: 10px;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.form-title {
  color: var(--dark);
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.input-details {
  margin: 12px 0;
  text-align: center;
  color: var(--gray);
}

.checkbox-group {
  color: var(--dark);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input.error {
  border-color: var(--danger);
}

.form-button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-button:hover:not(:disabled) {
  background-color: var(--primary-dark);
}

.form-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--dark);
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  color: #aaa;
  font-size: 14px;
}

/* Whatsapp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--primary-dark);
}

/* Legal pages */
.terms,
.privacy {
  padding: 120px 0 100px;
}

.privacy h1 {
  margin: 24px 0;
  text-align: center;
}

.terms h1 {
  margin: 24px 0;
  text-align: center;
}

.terms ::marker {
  font-size: 20px;
  font-weight: bold;
}

.privacy ::marker {
  font-size: 20px;
  font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.5s;
}

.delay-4 {
  animation-delay: 0.7s;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 1.5s infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .terms,
  .hero,
  .privacy {
    padding: 150px 0 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .metric {
    width: 100%;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    width: 100%;
  }

  .testimonials-container {
    padding: 10px;
  }

  .testimonial-card {
    min-width: 280px;
  }

  .sign-up-section {
    padding: 100px 0 80px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-method {
    width: 100%;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}