@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;700&display=swap');

/* ===== CHECKPOINT DE ESTABILIZACIÓN ===== */

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

html, body {
    margin: 0;
    padding: 0;
}

/* Asegura que cada sección tenga su propio flujo, sin interferencias */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 0rem;
    background-color: #fff;
    overflow: hidden;
}

/* Asegura que las imágenes dentro de secciones no desborden */
section img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Quita el overlay diagonal del hero temporalmente */
.hero::after {
    display: none;
}

/* =============================================== HEADER =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap');

body {
    font-family: 'Source Sans Pro', sans-serif;
}

.header {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Navbar - Versión escritorio */
#navbar {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.nav-links a {
  padding: 0.75rem 1rem;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: #a370f7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Teléfono con icono */
.header-actions .phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
}

.header-actions .phone::before {
  content: "📞";
  font-size: 1rem;
  line-height: 1;
}

/* Botón Sign in */
.header-actions .btn {
  background: none;
  border: none;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: background 0.2s ease;
}

.header-actions .btn:hover {
  background-color: #f0f0f0;
}

/* Botón Contact Us */
.header-actions .btn-primary {
  background-color: #a370f7;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
  display: inline-block;
}

.header-actions .btn-primary:hover {
  background-color: #8f5ae0;
}


/* ========== MENÚ HAMBURGUESA ========== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  color: #333;
  position: absolute;
  right: 1rem;
  top: 1.25rem;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-toggle::before {
  content: "☰";
  display: block;
}

.menu-toggle.active::before {
  content: "✕";
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .container-header {
    flex-wrap: wrap;
    padding: 1rem;
    height: auto;
    position: relative;
    gap: 0;
  }
  
  .menu-toggle {
    display: block;
    order: 1;
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  #navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    margin-top: 3rem;
    padding: 0;
    gap: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
  
  #navbar.active {
    display: flex;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  
  .nav-links li {
    border-bottom: 1px solid #f0f0f0;
    padding: 0 1.5rem;
  }
  
  .nav-links li:first-child {
    border-top: 1px solid #f0f0f0;
  }
  
  .nav-links a {
    width: 100%;
    padding: 1.25rem 0;
    color: #333;
    font-weight: 500;
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
    background: none;
    border-radius: 0;
    min-height: auto;
    align-items: flex-start;
  }
  
  .nav-links a:hover {
    color: #a370f7;
    background: none;
  }
  
  .header-actions {
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0 1.5rem;
    margin-top: 0;
    border-top: none;
  }
  
  .phone {
  font-weight: 400;
  color: #444;
  padding: 1.25rem 0;
  font-family: 'Source Sans Pro', sans-serif;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}

  
  .btn {
  display: block;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #333;
  font-weight: 600;
  text-align: center;
  padding: 1.25rem 0;
  font-family: 'Source Sans Pro', sans-serif;
  text-decoration: none;
  border-radius: 6px;
  margin: 1rem 0 0.5rem;
  transition: background 0.2s;
}

.btn:hover {
  background-color: #f9f9f9;
}

.btn-primary {
  display: block;
  width: 100%;
  background-color: #a370f7;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 1.25rem 0;
  font-family: 'Source Sans Pro', sans-serif;
  text-decoration: none;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: none;
  transition: background 0.2s;
}

.btn-primary:hover {
  background-color: #8f5ae0;
}

  
  /* Botón de cierre (X) */
  .menu-toggle.active::before {
    content: "✕";
    display: block;
  }
  
  .menu-toggle:not(.active)::before {
    content: "☰";
    display: block;
  }
  
  /* Eliminar efectos de active */
  .nav-links a:active, 
  .btn:active,
  .btn-primary:active {
    transform: none;
  }
}

body.menu-open::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 999;
}

/* ========================== HERO SECTION ========================== */

.hero-section {
    position: relative;
    background: url('/images/hero-bg.webp') center/cover no-repeat;
    padding: 6rem 2rem;
    color: #fff;
    overflow: hidden;
    min-height: 80vh;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* capa oscura sobre la imagen */
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #f4f1f8; /* triángulo gris */
    clip-path: polygon(0 100%, 100% 50%, 100% 100%, 0% 100%);
    z-index: 2;
}

.hero-overlay,
.hero-content,
.hero-left,
.hero-left h1,
.hero-left p,
.hero-button {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1 1 500px;
    margin-top: -6rem;
    margin-left: 14rem;
}

.hero-left h1 {
    font-size: 3.5rem;
    font-weight: 750;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-left .highlight {
    color: #a370f7;
}

.hero-left p {
    font-size: 1.5rem;
    color: #ccc;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-button {
    display: inline-block;
    background-color: #a370f7;
    color: #fff;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hero-button:hover {
    background-color: #8f5ae0;
}

.hero-right {
    flex: 1 1 400px;
    min-height: 400px;
}

@media (max-width: 768px) {

  .hero-section::after {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .hero-left {
    margin: 0;
    text-align: left;
    width: 100%;
  }

  .hero-left h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .hero-left p {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .hero-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .hero-right {
    display: none;
  }
}


/* ========================== FEATURE SECTION ========================== */

.feature-section {
    position: relative;
    background: #ffffff;
    padding: 2rem 2rem;
    z-index: 1;
    overflow: hidden;
}

.feature-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0,0 L100,0 Q50,20 0,0" fill="%23f4f1f8"/></svg>') no-repeat top center;
    background-size: cover;
    z-index: 0;
}


.feature-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    z-index: 1;
}

.feature-left {
    flex: 1 1 500px;
}

.feature-left h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1b1327;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.feature-left .highlight {
    color: #a370f7;
}

.feature-left p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-button {
    display: inline-block;
    background-color: #4d4241;
    color: #fff;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.feature-button:hover {
    background-color: #3a3130;
}

.feature-right {
    flex: 1 1 400px;
    text-align: center;
}

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

.feature-bullets {
  font-family: 'Poppins', sans-serif;
  color: #2c2c2c;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 1rem 0;
}

.feature-bullets li {
  margin-bottom: 0.75rem;
  padding-left: 1.2rem;
  position: relative;
}


@media (max-width: 768px) {
  .feature-section::before {
    display: none;
  }
}


/* ========================== STATS SECTION ========================== */
.stats-section {
    position: relative;
    background: url('/images/stats-bg.webp') center/cover no-repeat;
    padding: 6rem 2rem;
    color: #fff;
    overflow: hidden;
    z-index: 1;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55); /* opacidad ajustable */
    z-index: 1;
}


.stats-background {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    font-family: 'Barlow', sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 0.95rem;
    color: #bbb;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.stat-card p {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

/* ========================== ANALYTICS SECTION ========================== */
.analytics-section {
    position: relative;
    background-color: #ffffff;
    padding: 6rem 2rem;
    overflow: hidden;
}

.analytics-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-color: #f4f1f8;
    clip-path: polygon(0 100%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.analytics-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 3rem;
}

.analytics-text {
    flex: 1 1 500px;
}

.analytics-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1b1327;
    margin-bottom: 1.5rem;
}

.analytics-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.analytics-button {
    display: inline-block;
    background-color: #a370f7;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.analytics-button:hover {
    background-color: #8f5ae0;
}

.analytics-image {
    flex: 1 1 500px;
    text-align: center;
}

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

/* ========================== PRICING SECTION ========================== */
.pricing-section {
    background-color: #f4f1f8;
    padding: 6rem 2rem;
    text-align: center;
}

.pricing-header {
    max-width: 720px;
    margin: 0 auto 4rem;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b1327;
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

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

.pricing-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    flex: 1 1 300px;
    max-width: 420px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1b1327;
    text-align: left;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #1b1327;
    margin-bottom: 1rem;
    text-align: left;
}

.price span {
    font-size: 1.5rem;
    vertical-align: top;
}

.price small {
    font-size: 0.9rem;
    color: #777;
    font-weight: 400;
    margin-left: 0.25rem;
}

.pricing-card p {
    font-size: 0.80rem;
    color: #444;
    text-align: left;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.pricing-button.filled {
    background-color: #a370f7;
    color: #fff;
    border: none;
}

.pricing-button.filled:hover {
    background-color: #8f5ae0;
}

.pricing-button.outline {
    border: 1px solid #a370f7;
    color: #a370f7;
    background-color: transparent;
}

.pricing-button.outline:hover {
    background-color: #f3edff;
}

.features {
    list-style: none;
    text-align: left;
    padding: 0;
    margin-bottom: 2rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.features li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features li::before {
    content: "✔";
    color: #22c55e;
    font-weight: bold;
}

.features .cross::before {
    content: "✘";
    color: #f43f5e;
}

.card-footer {
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: auto;
    text-align: center;
}


/* =========================== FAQ Section =========================== */
.faq {
    background-color: #f4f1f8;
    padding: 60px 20px;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
}

.faq .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #000000;
}

.faq details {
    max-width: 800px;
    margin: 0 auto 20px;
    background-color: #e9e9e9;
    border-left: 4px solid #a370f7;
    padding: 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.faq details[open] {
    background-color: #ffffff;
}

.faq summary {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
    outline: none;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq p {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
}




/* ========================== PARTNERS SECTION ========================== */
.partners-section {
    position: relative;
    background-color: #ffffff;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
    text-align: center;
}

.partners-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-color: #f4f1f8;
    clip-path: polygon(0 0, 100% 100px, 100% 0, 0% 0);
    z-index: 1;
}

.partners-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.partners-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1b1327;
    margin-bottom: 1rem;
}

.partners-content p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1rem;
}

.partners-link {
    display: inline-block;
    font-weight: 600;
    color: #6a28f3;
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.2s;
}

.partners-link:hover {
    color: #4e1fc2;
}

.partners-logos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 0;      
    /*transform: translateX(-100px);*/
}


.partners-logos img {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


/* =============================================== FOOTER =============================================== */
.footer {
    background-color: #1b1327;
    color: #ffffff;
    padding: 4rem 2rem 3rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 720px;
    margin: 0 auto;
}

.footer .social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.footer .social-links a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #1b1327;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer .social-links a:hover {
    background-color: #a370f7;
    color: #ffffff;
}

.footer-content {
    text-align: center;
    max-width: 720px;
}

.footer p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #ccc;
}

.footer p a {
    color: #a370f7;
    text-decoration: none;
}

.footer p a:hover {
    text-decoration: underline;
}

.footer-contact {
    color: #a370f7;
}

.footer-disclaimer {
    text-align: justify;
    max-width: 960px;
    margin: 2rem auto 0;
    font-size: 1.3rem;
    color: #bbb;
    /*text-justify: inter-word;*/
    line-height: 1.6;
}

/* === MODAL PERSONALIZADO GUMROAD === */
.gumroad-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

.gumroad-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 80%;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.gumroad-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #000;
  cursor: pointer;
  z-index: 1000;
}


/* MODAL: Learn More */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow-y: auto;
}

.custom-modal-content {
  background: #fff;
  color: #222;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;           
  overflow-y: auto;           
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.custom-modal-content h2,
.custom-modal-content h3 {
  margin-top: 0;
  color: #6202a1;
}

.custom-modal-content ul {
  padding-left: 1.2rem;
  margin: 1rem 0;
}

.custom-modal-content ul li {
  margin-bottom: 0.5rem;
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}

.custom-modal-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #6202a1;
  font-weight: bold;
}

.custom-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #6202a1;
  transition: transform 0.2s ease;
}

.custom-modal-close:hover {
  transform: scale(1.2);
}

.custom-modal-content::-webkit-scrollbar {
  width: 6px;
}

.custom-modal-content::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 10px;
}


