/* Landing Page Styles */

:root {
  --primary-color: #1e6fc4;
  --secondary-color: #f97316;
  --accent-color: #f59e0b;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: all 0.3s;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-brand i {
  font-size: 32px;
  color: var(--accent-color);
}

.nav-logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.btn-nav {
  padding: 8px 20px;
  background: var(--primary-color);
  color: var(--white) !important;
  border-radius: 25px;
  transition: transform 0.3s;
}

.btn-nav:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  margin-top: 70px;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-illustration {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-illustration i {
  font-size: 150px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-success {
  background: var(--accent-color);
  color: var(--white);
}

.btn-success:hover {
  background: #1ea952;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
}

/* Features Section */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
}

/* WhatsApp Generator Section */
.wa-generator {
  background: var(--bg-light);
}

.wa-generator-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.wa-generator-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.wa-icon-circle {
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.wa-icon-circle i {
  font-size: 80px;
  color: var(--white);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.wa-people {
  position: absolute;
  width: 100%;
  height: 100%;
}

.person {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}

.person-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0.5s;
}

.person-2 {
  bottom: 20%;
  right: 10%;
  animation-delay: 1s;
}

.form-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.form-header i {
  font-size: 32px;
  color: var(--accent-color);
}

.form-header h3 {
  font-size: 24px;
  color: var(--accent-color);
}

.form-description {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

.badge-optional {
  background: var(--accent-color);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 5px;
}

.form-help {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

.generated-link {
  margin-top: 20px;
  padding: 20px;
  background: #f0f9f4;
  border-radius: 10px;
  border: 2px solid var(--accent-color);
}

.generated-link label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--accent-color);
}

.link-display {
  display: flex;
  gap: 10px;
}

.link-display input {
  flex: 1;
}

.btn-copy {
  padding: 12px 20px;
  background: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-copy:hover {
  background: #1ea952;
}

/* Plans Section */
.plans {
  background: var(--white);
}

/* Toggle de moneda */
.currency-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.currency-label {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

.currency-btn {
  padding: 8px 22px;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  background: transparent;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.currency-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.currency-btn.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(30, 111, 196, 0.35);
}

.currency-note {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
}

/* Precio en los planes */
.price-currency {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 400;
}

.price-free {
  font-size: 40px;
  color: var(--primary-color);
  font-weight: 700;
}

.plan-description {
  font-size: 14px;
  color: var(--text-light);
  margin: 10px 0 20px;
  line-height: 1.5;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.plan-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  text-align: center;
  border: 3px solid transparent;
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.plan-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.plan-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.plan-price {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.plan-price span {
  font-size: 20px;
  color: var(--text-light);
}

.plan-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.plan-features i {
  color: var(--accent-color);
  margin-right: 10px;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: bold;
}

.testimonial-info h4 {
  margin-bottom: 5px;
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 14px;
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.8;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #1a202c;
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
}

.footer-brand i {
  font-size: 32px;
  color: var(--accent-color);
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   SERVICIO GESTIONADO (Done For You)
   ============================================ */

.managed-services {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.managed-services::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,111,196,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section-tag {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

/* Pasos del proceso */
.managed-process {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 55px;
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 20px;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 22px;
  color: var(--primary-color);
  font-size: 22px;
  font-weight: bold;
  opacity: 0.4;
}

.process-number {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(30,111,196,0.3);
}

.process-step strong {
  display: block;
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Grilla de paquetes */
.managed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.managed-card {
  background: var(--white);
  border-radius: 22px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 3px solid transparent;
  position: relative;
}

.managed-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.managed-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

.managed-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.managed-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 5px 22px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.managed-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 6px;
  text-align: center;
}

.managed-tagline {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
  margin-bottom: 25px;
}

.managed-setup {
  text-align: center;
  margin-bottom: 12px;
}

.setup-label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.setup-price {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1;
}

.setup-price span {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 500;
}

.managed-monthly {
  text-align: center;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 9px 15px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-light);
  border: 1px solid #e8e8e8;
}

.managed-monthly strong {
  color: var(--primary-color);
}

.managed-features {
  list-style: none;
  margin-bottom: 30px;
}

.managed-features li {
  padding: 9px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.managed-features li:last-child {
  border-bottom: none;
}

.managed-features i {
  color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 15px;
}

/* Botón outline */
.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30,111,196,0.3);
}

/* CTA inferior */
.managed-cta-section {
  text-align: center;
  padding: 50px 40px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(30,111,196,0.1);
}

.managed-cta-icon {
  width: 70px;
  height: 70px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.managed-cta-section h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-color);
}

.managed-cta-section > p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white) !important;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  margin-bottom: 20px;
}

.btn-whatsapp:hover {
  background: #1ea952;
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(37,211,102,0.5);
}

.btn-whatsapp i {
  font-size: 24px;
}

.managed-cop-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 5px !important;
}

/* Responsive managed */
@media (max-width: 768px) {
  .managed-process {
    gap: 5px;
  }
  .process-step {
    min-width: 140px;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .managed-card.featured {
    transform: scale(1);
  }
  .managed-cta-section {
    padding: 35px 20px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .wa-generator-content {
    grid-template-columns: 1fr;
  }

  .wa-generator-illustration {
    min-height: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}
