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

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: #F5F5F5;
  color: #222;
}
header {
  background: #fff;
  padding: 20px 0 0 0;
  box-shadow: 0 2px 8px #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav ul li {
  font-size: 1rem;
}
nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--primary);
}
.cta-btn {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.cta-btn:hover {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
}
/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 60px 0 40px 0;
    background: linear-gradient(180deg, #f8f8ff 0%, #fff 100%);
}

.hero h1, .hero p, .hero-image, .hero .cta-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-image {
    transform: translateY(20px) scale(0.95);
}

.hero-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Animation du texte */
.text-animate {
    position: relative;
    display: inline-block;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: textReveal 1.2s ease forwards;
}

@keyframes textReveal {
    0% {
        color: transparent;
        transform: translateY(10px);
    }
    100% {
        color: inherit;
        transform: translateY(0);
    }
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 30px;
}
.upload-box {
  background: #fff;
  border: 2px dashed var(--primary);
  border-radius: 16px;
  padding: 30px 20px;
  margin: 0 auto 30px auto;
  max-width: 400px;
  text-align: center;
  transition: border 0.2s;
}
.upload-box:hover {
  border: 2px solid var(--primary);
}
.upload-box input[type="file"] {
  display: none;
}
.upload-label {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.2s;
}
.upload-label:hover {
  background: var(--secondary);
  color: #222;
}
.before-after {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px 0 0 0;
}
.before-after img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px #e0e0e0;
  border: 2px solid #f0f0f0;
}
.before-after span {
  font-size: 2rem;
  color: var(--primary);
  font-weight: bold;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 60px 0 20px 0;
  color: var(--primary);
  font-weight: 700;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 0 auto 40px auto;
  max-width: 900px;
}
.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px #e0e0e0;
  object-fit: cover;
  height: 180px;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 40px 0;
}
.feature-card {
  background: #f8f8ff;
  border-radius: 14px;
  box-shadow: 0 2px 8px #ececec;
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
}
.feature-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: #444;
  font-size: 1rem;
}
.why {
  background: #f3f0fa;
  padding: 40px 0;
  margin: 40px 0;
}
.why-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.why-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #e0e0e0;
  padding: 22px 18px;
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 260px;
  text-align: center;
}
.why-item h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.pricing {
  text-align: center;
  margin: 60px 0 40px 0;
}
.pricing-table {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.plan {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px #ececec;
  padding: 30px 24px;
  min-width: 220px;
  max-width: 260px;
  text-align: center;
}
.plan h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.plan .price {
  font-size: 2rem;
  color: var(--secondary);
  font-weight: bold;
  margin-bottom: 10px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  color: #444;
  font-size: 1rem;
  text-align: left;
}
.plan ul li {
  margin-bottom: 8px;
}
.plan .cta-btn {
  width: 100%;
  margin-top: 10px;
}
.faq {
  background: #f8f8ff;
  padding: 40px 0;
}
.faq h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 18px;
}
.faq-item summary {
  font-weight: bold;
  color: #222;
  cursor: pointer;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.faq-item p {
  color: #444;
  margin: 6px 0 0 0;
  font-size: 1rem;
}
footer {
  background: #1a1333;
  color: #fff;
  text-align: center;
  padding: 40px 0 20px 0;
  margin-top: 40px;
}
footer a {
  color: var(--secondary);
  text-decoration: none;
  margin: 0 10px;
}
@media (max-width: 900px) {
  .before-after {
    flex-direction: column;
    gap: 10px;
  }
  .features, .why-list, .pricing-table {
    flex-direction: column;
    gap: 18px;
  }
}

/* Couleurs de la marque */
:root { 
  /* Couleurs principales */ 
  --primary:  #E6505B;  /* Rouge InfluenceMX */ 
  --secondary:#F39DA5;  /* Rose clair */ 
  --dark:     #000000; 
  --light:    #F5F5F5; 
  --gray-400: #B6B6B6; 
  --gray-600: #666666; 

  --gradient-primary: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%); 
}

/* Couleurs personnalisées */
.bg-primary { 
   background-color: var(--primary) !important; 
}

/* Couleurs de texte assorties */
.text-primary {
   color: var(--primary) !important;
}

/* Boutons avec cette couleur */
.btn-primary {
   background-color: var(--primary) !important;
   color: white !important;
}

.btn-outline-primary {
   border-color: var(--primary) !important;
   color: var(--primary) !important;
}

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

/* Style pour les icônes */
.icon-circle {
  background: var(--gradient-primary);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(147, 112, 219, 0.3);
}

.icon-circle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(147, 112, 219, 0.5);
}

.icon-circle svg,
.icon-circle img {
  width: 40px;
  height: 40px;
  fill: white;
  filter: brightness(0) invert(1); /* Rend l'image blanche */
}

/* Remplacer toutes les instances de cette couleur */
.text-secondary {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Dégradés */
.hero-gradient {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
}

.btn-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Effets de survol et transitions */
.card-hover {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.card-hover:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.transition-all {
  transition: all 0.3s ease;
}

.influencer-card:hover .influencer-overlay {
  opacity: 1;
}

.influencer-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Logos des partenaires */
.logo-contrast-bg {
  filter: none;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-contrast-bg:hover {
  filter: none;
  opacity: 1;
}

/* Animation pour le défilement des logos */
.logo-scroller {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.logo-scroller-inner {
  display: flex;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Styles pour les sections */
.section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

/* --- MENU RESPONSIVE --- */
#mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}

#mobile-menu {
  display: flex;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 50;
  flex-direction: column;
  padding-top: 80px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,2,.6,1), opacity 0.25s;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

#mobile-menu .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--dark, #000);
  cursor: pointer;
}

#mobile-menu nav {
  width: 100%;
}

#mobile-menu a {
  display: block;
  padding: 16px 32px;
  font-size: 1.1rem;
  color: var(--dark, #000);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

#mobile-menu a:hover,
#mobile-menu a:focus {
  background: var(--primary);
  color: #fff;
}

#mobile-menu .cta-mobile {
  margin: 32px 32px 0 32px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 16px 0;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s;
}

#mobile-menu .cta-mobile:hover {
  background: var(--secondary);
  color: var(--dark);
}

/* Affichage du menu mobile sur petits écrans */
@media (max-width: 767px) {
  nav[aria-label="Navegación Principal"],
  .hidden.md\:flex {
    display: none !important;
  }
  #mobile-menu-button {
    display: inline-flex !important;
  }
}

/* Affichage du menu desktop sur grands écrans */
@media (min-width: 768px) {
  #mobile-menu,
  #mobile-menu.open {
    display: none !important;
  }
  #mobile-menu-button {
    display: none !important;
  }
}

/* Styles pour les statistiques */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

/* Couleurs spécifiques pour chaque statistique */
.stat-number:nth-of-type(1) {
  color: #ff0000; /* Rouge pour "+500 Influencers" */
}

.stat-number:nth-of-type(2) {
  color: var(--secondary); /* Bleu clair pour "+200 Marcas satisfechas" */
}

.stat-number:nth-of-type(3) {
  color: #9966ff; /* Violet clair pour "+100M Alcance total" */
}

.stat-number:nth-of-type(4) {
  color: #00ff00; /* Vert pour "5 Años de experiencia" */
}

.stat-label {
  color: var(--gray-600);
  font-weight: 500;
  margin-top: 10px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4338ca; /* Darker shade */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* CTA Buttons with distinct hover effects */
.cta-btn.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-btn.secondary:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    transform: translateY(-1px);
}

/* Service Cards */
.service-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4);
    border-radius: 0.5rem;
}

.service-icon {
    transition: transform 0.3s ease;
}

/* Stat Blocks */
.stat-block {
    transition: all 0.3s ease;
}

.stat-block:hover {
    transform: translateY(-5px) scale(1.03);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    overflow: hidden;
    border-radius: 0.75rem;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-control {
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators button {
    transition: all 0.3s ease;
}

.indicator-active {
    background-color: var(--primary);
    width: 2rem;
}

/* Form Validation */
.form-group {
    position: relative;
}

.form-error {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    color: #ef4444;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .carousel-inner {
        transition: none !important;
    }
}





/* Modification du style hero h1 pour l'effet glitch */
.hero h1 span {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.hero h1 span::before, 
.hero h1 span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.hero h1 span::before {
  color: var(--secondary); /* Bleu clair */
  animation: glitchTop 2s infinite linear alternate-reverse;
}

.hero h1 span::after {
  color: var(--primary); /* Violet */
  animation: glitchBottom 2s infinite linear alternate-reverse;
}

.glitch::before {
  animation: glitchTop 1s infinite linear alternate-reverse;
  color: var(--secondary); /* Bleu clair */
  z-index: -1;
}

.glitch::after {
  animation: glitchBottom 1s infinite linear alternate-reverse;
  color: var(--primary); /* Violet */
  z-index: -2;
}

@keyframes glitchTop {
  0% { clip: rect(0, 9999px, 0, 0); transform: translate(0, 0); }
  20% { clip: rect(0, 9999px, 5px, 0); transform: translate(-5px, -2px); }
  40% { clip: rect(0, 9999px, 8px, 0); transform: translate(5px, 0); }
  60% { clip: rect(0, 9999px, 2px, 0); transform: translate(0, 2px); }
  80% { clip: rect(0, 9999px, 5px, 0); transform: translate(-2px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); transform: translate(0, 0); }
}

@keyframes glitchBottom {
  0% { clip: rect(0, 9999px, 0, 0); transform: translate(0, 0); }
  20% { clip: rect(5px, 9999px, 10px, 0); transform: translate(5px, 2px); }
  40% { clip: rect(8px, 9999px, 12px, 0); transform: translate(-5px, 0); }
  60% { clip: rect(2px, 9999px, 6px, 0); transform: translate(0, -2px); }
  80% { clip: rect(5px, 9999px, 10px, 0); transform: translate(2px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); transform: translate(0, 0); }
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}



/* Style pour hero h1 span */
.hero h1 span {
  display: inline-block;
}

.glitch-bg {