/* ============================================================================
   HOME.CSS - Estilos para la página principal (Landing Page)
   ============================================================================
   
   Estructura:
   1. Hero Section
   2. Features Section
   3. Positioning Section
   4. Blog Cards
   5. FAQ Section
   6. CTA Section
   7. Utilidades
   8. Responsive
   
   NOTE: Los estilos del banner promocional (.promo-banner-compact) están en
   global.css para asegurar disponibilidad en todas las páginas.
   ============================================================================ */

/* ============================================================================
   1. HERO SECTION
   ============================================================================ */
.hero {
  padding: 0 16px 80px;
}

/* Colores específicos por plataforma - Variables CSS globales en body */
body.platform-wallapop { --platform-color: #13C1AC; --platform-bg: rgba(19, 193, 172, 0.15); }
body.platform-milanuncios { --platform-color: #00A651; --platform-bg: rgba(0, 166, 81, 0.15); }
body.platform-facebook { --platform-color: #1877F2; --platform-bg: rgba(24, 119, 242, 0.15); }
body.platform-vinted { --platform-color: #09B1BA; --platform-bg: rgba(9, 177, 186, 0.15); }

/* Badge de plataforma */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--platform-bg, rgba(255,255,255,0.1));
  border: 2px solid var(--platform-color, #13C1AC);
  border-radius: 50px;
  margin-bottom: 24px;
}

.platform-badge .platform-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.platform-badge .platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.platform-badge .platform-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Colores específicos para platform-name */
body.platform-wallapop .platform-name { color: #13C1AC; }
body.platform-milanuncios .platform-name { color: #00A651; }
body.platform-facebook .platform-name { color: #1877F2; }
body.platform-vinted .platform-name { color: #09B1BA; }

/* Título con acento de color */
body[class*="platform-"] .hero .title {
  background: linear-gradient(135deg, #fff 0%, var(--platform-color, #fff) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features con color de plataforma */
body[class*="platform-"] .feature-card .feature-icon {
  color: var(--platform-color, #13C1AC);
}

body[class*="platform-"] .btn-primary {
  background: var(--platform-color, #6366f1);
  border-color: var(--platform-color, #6366f1);
}

body[class*="platform-"] .btn-primary:hover {
  background: color-mix(in srgb, var(--platform-color) 85%, #000);
  border-color: color-mix(in srgb, var(--platform-color) 85%, #000);
}

body[class*="platform-"] .badge-success {
  background: var(--platform-bg, rgba(19, 193, 172, 0.15));
  border-color: var(--platform-color, #13C1AC);
  color: var(--platform-color, #13C1AC);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero .title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 32px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero .cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero .badge-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-platforms {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-platforms .platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: transparent;
  transition: transform 0.2s ease;
  background-size: cover;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
}

.hero-platforms .platform-icon:hover {
  transform: scale(1.1);
}

.hero-platforms .platform-icon.wallapop { background-image: url('/assets/img/platforms/wallapop.png'); }
.hero-platforms .platform-icon.milanuncios { background-image: url('/assets/img/platforms/milanuncios.png'); }
.hero-platforms .platform-icon.facebook { background-image: url('/assets/img/platforms/facebook.png'); }
.hero-platforms .platform-icon.vinted { background-image: url('/assets/img/platforms/vinted.png'); }

/* ============================================================================
   2.1. HERO PLATFORMS WITH LIVE USERS - v6.4.28
   Cards con icono, contador y label "activos" con dot verde
   ============================================================================ */

/* Banner "EN VIVO" grande encima de las cards */
.hero-live-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 28px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 50px;
  margin: 0 auto 20px;
  max-width: fit-content;
}

.live-dot-large {
  width: 18px;
  height: 18px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px #22c55e, 0 0 20px #22c55e, 0 0 30px rgba(34, 197, 94, 0.5);
  animation: live-dot-pulse-large 1.5s ease-in-out infinite;
}

@keyframes live-dot-pulse-large {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
    box-shadow: 0 0 12px #22c55e, 0 0 20px #22c55e, 0 0 30px rgba(34, 197, 94, 0.5);
  }
  50% { 
    opacity: 0.8; 
    transform: scale(0.9);
    box-shadow: 0 0 6px #22c55e, 0 0 10px #22c55e;
  }
}

.hero-live-banner .live-text {
  font-size: 14px;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-live-banner .live-separator {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-live-banner .live-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 520px) {
  .hero-live-banner {
    padding: 10px 20px;
    gap: 10px;
  }
  
  .live-dot-large {
    width: 14px;
    height: 14px;
  }
  
  .hero-live-banner .live-text,
  .hero-live-banner .live-description {
    font-size: 12px;
  }
}

/* Cards de plataformas */
.hero-platforms-live {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.platform-live-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  min-width: 80px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.platform-live-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.platform-live-card.vinted-beta {
  opacity: 0.5;
}

.platform-live-card .platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: transparent;
  background-size: cover;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
}

.platform-live-card .platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.platform-live-card .platform-icon.wallapop { background-image: url('/assets/img/platforms/wallapop.png'); }
.platform-live-card .platform-icon.milanuncios { background-image: url('/assets/img/platforms/milanuncios.png'); }
.platform-live-card .platform-icon.facebook { background-image: url('/assets/img/platforms/facebook.png'); }
.platform-live-card .platform-icon.vinted { background-image: url('/assets/img/platforms/vinted.png'); }

.platform-live-count {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  transition: transform 0.3s ease;
}

.platform-live-count.updating {
  transform: scale(1.15);
}

.platform-live-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dot verde brillante pulsante */
.platform-live-label .live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e, 0 0 12px #22c55e;
  animation: live-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes live-dot-pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
    box-shadow: 0 0 8px #22c55e, 0 0 12px #22c55e;
  }
  50% { 
    opacity: 0.7; 
    transform: scale(0.85);
    box-shadow: 0 0 4px #22c55e, 0 0 6px #22c55e;
  }
}

/* Responsive */
@media (max-width: 520px) {
  .hero-platforms-live {
    gap: 8px;
  }
  
  .platform-live-card {
    padding: 10px 12px;
    min-width: 70px;
  }
  
  .platform-live-card .platform-icon {
    width: 32px;
    height: 32px;
  }
  
  .platform-live-count {
    font-size: 20px;
  }
  
  .platform-live-label {
    font-size: 9px;
  }
}

/* ============================================================================
   3. FEATURES SECTION
   ============================================================================ */
.features-section {
  padding: 80px 16px;
  background: rgba(255, 255, 255, 0.02);
}

.features-section h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.features-section .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.features-section .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.features-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.icon-header {
  margin-bottom: 24px;
  text-align: center;
}

.features-section .card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
  text-align: center;
}

.features-section .card .muted {
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.feature-list li {
  padding: 8px 0;
  color: var(--text-secondary);
}

.feature-list i {
  color: var(--success);
  margin-right: 10px;
}

/* ============================================================================
   4. POSITIONING SECTION - Renovaciones y Primeras Posiciones
   ============================================================================ */
.positioning-section {
  padding: 80px 16px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.positioning-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.positioning-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.positioning-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.positioning-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.positioning-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary-light);
}

.positioning-card p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================================
   5. BLOG CARDS - Recursos y Guías
   ============================================================================ */
.blog-resources-section {
  margin-top: 80px;
  margin-bottom: 80px;
}

.blog-resources-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.blog-section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 16px;
  color: var(--primary-light);
}

.blog-section-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 126, 234, 0.6);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.blog-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.blog-card-icon.gradient-purple {
  background: linear-gradient(135deg, var(--primary), var(--gradient-purple));
}

.blog-card-icon.gradient-pink {
  background: linear-gradient(135deg, var(--gradient-pink), var(--gradient-coral));
}

.blog-card-icon.gradient-blue {
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-teal));
}

.blog-card-icon i {
  font-size: 24px;
  color: white;
}

.blog-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.blog-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.blog-card-tags {
  margin-bottom: 20px;
}

.blog-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 8px;
  margin-bottom: 8px;
}

.blog-tag.tag-primary {
  background: rgba(102, 126, 234, 0.2);
  color: var(--primary-light);
}

.blog-tag.tag-success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success-light);
}

.blog-tag.tag-warning {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning-light);
}

.blog-tag.tag-info {
  background: rgba(59, 130, 246, 0.2);
  color: var(--info-light);
}

.blog-card .btn-outline {
  width: 100%;
  text-align: center;
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
  transition: all 0.3s ease;
}

.blog-card .btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.blog-cta-box {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  border-radius: 16px;
  border: 2px solid rgba(102, 126, 234, 0.3);
}

.blog-cta-box p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* Sección de más guías */
.more-guides {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.more-guides a {
  color: var(--primary-light, #818cf8);
  text-decoration: none;
  transition: color var(--transition-fast, 150ms ease);
}

.more-guides a:hover {
  color: white;
  text-decoration: underline;
}

/* ============================================================================
   6. FAQ SECTION
   ============================================================================ */
.faq-section {
  margin-top: 60px;
  padding: 80px 20px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
}

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

.faq-section h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 2rem;
}

/* FAQ Items con diseño moderno */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-grid details {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-grid details:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-grid details[open] {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-grid summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  transition: all 0.2s ease;
}

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

.faq-grid summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-grid details[open] summary::after {
  content: '−';
}

.faq-grid summary:hover {
  color: var(--primary);
}

.faq-grid article > details > div {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.faq-grid article > details > div p {
  margin: 0;
}

/* ============================================================================
   7. CTA SECTION
   ============================================================================ */
.cta-section {
  margin-top: 60px;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-radius: var(--radius-lg);
}

.cta-section .container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .cta-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* ============================================================================
   8. UTILIDADES ESPECÍFICAS DE HOME
   ============================================================================ */
/* NOTE: Clases globales (.icon-*, .text-*, .mt-*, .mb-*) están en global.css */

/* Títulos específicos de home */
.highlight-title {
  margin-top: 0;
  color: var(--primary-light);
}

.steps-list {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.info-text {
  margin: 0;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Button variants específicos de landing */
.btn-light {
  background: white;
  color: var(--primary);
  border: none;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid white;
  color: white;
}

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

/* Content section generic */
.content-section {
  padding: 80px 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.content-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.content-section .grid {
  margin-bottom: 40px;
}

/* Info box */
.info-box {
  margin-top: 40px;
  padding: 30px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.info-box h3 {
  margin-top: 0;
  color: var(--primary-light);
}

.info-box p {
  margin: 0;
  line-height: 1.8;
}

/* Arrow icon in buttons */
.btn .fa-arrow-right {
  margin-left: 8px;
}

/* ============================================================================
   8. RESPONSIVE
   ============================================================================ */
@media (max-width: 1200px) {
  .features-section .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* NOTE: Responsive del banner (.promo-banner-compact) está en global.css */
  
  .features-section .grid {
    grid-template-columns: 1fr;
  }
  
  .grid {
    grid-template-columns: 1fr ;
  }
  
  .positioning-grid {
    grid-template-columns: 1fr;
  }
  
  .hero .cta {
    flex-direction: column;
  }
  
  .blog-cards-grid {
    grid-template-columns: 1fr ;
    gap: 24px ;
  }
  
  .blog-card {
    padding: 24px ;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-section {
    padding: 40px 16px;
  }
  
  .content-section {
    padding: 60px 16px;
  }
  
  .faq-section {
    margin-top: 40px;
  }
}

/* ============================================
   NUEVAS SECCIONES HOME v5
   ============================================ */

/* Sección "Por qué funciona" */
.how-it-works-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.how-it-works-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.75rem;
  color: var(--text-primary);
}

.how-it-works-section h2 i {
  color: var(--primary);
  margin-right: 12px;
}

.explanation-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.explanation-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  text-align: center;
}

.benefit-highlight {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.benefit-highlight .benefit-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.benefit-highlight strong {
  display: block;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}

.benefit-highlight p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}

/* Testimonios */
.testimonials-section {
  padding: 80px 24px;
  background: var(--bg-darker);
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 1.75rem;
  color: var(--text-primary);
}

.testimonials-section h2 i {
  color: #fbbf24;
  margin-right: 12px;
}

.testimonials-section .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.testimonial-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 24px;
  min-height: 80px;
}

.testimonial-quote::before {
  content: '"';
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
}

.testimonial-result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(79, 70, 229, 0.1));
  border-radius: 50px;
  border: 1px solid rgba(79, 70, 229, 0.3);
}

.testimonial-result .result-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-result .result-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 32px;
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Proceso */
.process-section {
  padding: 80px 24px;
  background: var(--bg-dark);
}

.process-section h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 1.75rem;
  color: var(--text-primary);
}

.process-section h2 i {
  color: var(--primary);
  margin-right: 12px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto 48px;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.process-step .step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.process-step h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.process-note {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 32px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-md);
}

.process-note .note-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.process-note strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process-note p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Responsive nuevas secciones */
@media (max-width: 1200px) {
  .testimonials-section .grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-section .grid,
  .process-steps,
  .platforms-grid.platforms-grid-4 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-platforms .platform-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .how-it-works-section,
  .testimonials-section,
  .process-section {
    padding: 60px 16px;
  }
  
  .explanation-box {
    padding: 24px;
  }
  
  .explanation-box p {
    font-size: 1rem;
  }
  
  .benefit-highlight {
    flex-direction: column;
    text-align: center;
  }
  
  .benefit-highlight p {
    text-align: center;
  }
  
  .testimonial-quote {
    min-height: auto;
  }
  
  .process-steps {
    gap: 20px;
  }
  
  .process-note {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

/* ============================================================================
   SECCIÓN PLATAFORMAS (Home Multi-plataforma)
   ============================================================================ */
.platforms-section {
  padding: 80px 16px;
  background: var(--bg-secondary);
  overflow-x: hidden;
}

.platforms-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.platforms-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.platforms-section h2 i {
  color: var(--primary);
  margin-right: 12px;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.platforms-grid.platforms-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  gap: 24px;
}

.platforms-grid-4 .platform-card {
  flex-direction: column;
  text-align: center;
  padding: 24px 20px;
}

.platforms-grid-4 .platform-icon-large {
  margin: 0 auto 16px;
}

.platforms-grid-4 .platform-info h3 {
  font-size: 1.25rem;
}

.platforms-grid-4 .platform-info p {
  font-size: 0.9rem;
}

.platforms-grid-4 .platform-features {
  text-align: left;
}

.platforms-grid-4 .platform-features li {
  font-size: 0.85rem;
}

.platform-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.platform-card.platform-wallapop:hover {
  border-color: #13c1ac;
}

.platform-card.platform-milanuncios:hover {
  border-color: #13c1ac;
}

.platform-card.platform-facebook:hover {
  border-color: #1877f2;
}

.platform-card.platform-vinted:hover {
  border-color: #09b1ba;
}

.platform-icon-large {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.platform-icon-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.platform-wallapop .platform-icon-large {
  background-image: url('/assets/img/platforms/wallapop.png');
}

.platform-milanuncios .platform-icon-large {
  background-image: url('/assets/img/platforms/milanuncios.png');
}

.platform-facebook .platform-icon-large {
  background-image: url('/assets/img/platforms/facebook.png');
}

.platform-vinted .platform-icon-large {
  background-image: url('/assets/img/platforms/vinted.png');
}

.platform-info h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 8px;
}

.platform-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.platform-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.platform-features li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding: 4px 0;
}

.platform-features li i {
  color: #22c55e;
  margin-right: 8px;
  font-size: 0.8rem;
}

.platform-cta {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.platform-card:hover .platform-cta {
  text-decoration: underline;
}

.platforms-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 32px;
}

.platforms-note i {
  color: #f59e0b;
  margin-right: 8px;
}

/* ============================================================================
   SECCIÓN PASOS (Steps Grid)
   ============================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 48px auto 0;
}

.step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.steps-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================================
   RESPONSIVE - Plataformas y Steps
   ============================================================================ */
@media (max-width: 768px) {
  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .platform-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .platform-icon-large {
    margin: 0 auto;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .step {
    padding: 16px;
  }
}

/* ============================================================================
   INFO SECTION - Límites y Advertencias
   ============================================================================ */
.info-section {
  padding: 80px 16px;
  background: rgba(255, 255, 255, 0.02);
}

.info-section h2 {
  text-align: center;
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.info-section .section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.info-card.warning {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.info-card.success {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.info-card:hover {
  transform: translateY(-4px);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.info-card.warning .info-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.info-card.success .info-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: white;
}

.info-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.explanation-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.explanation-box h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-example {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.timeline-item.highlight {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.timeline-month {
  font-weight: 700;
  min-width: 80px;
  color: var(--primary-light);
}

.timeline-desc {
  color: rgba(255, 255, 255, 0.8);
}

.explanation-note {
  margin: 0;
  padding: 16px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .info-section {
    padding: 60px 16px;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .timeline-month {
    min-width: auto;
  }
}

/* ============================================================================
   NUEVAS SECCIONES SEO v6.0
   ============================================================================ */

/* Stats Highlight Section */
.stats-highlight-section {
  padding: 40px 16px;
  background: rgba(19, 193, 172, 0.1);
  border-top: 1px solid rgba(19, 193, 172, 0.2);
  border-bottom: 1px solid rgba(19, 193, 172, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #13c1ac;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Advantages Section */
.advantages-section {
  padding: 80px 16px;
  background: rgba(0, 0, 0, 0.2);
}

.advantages-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.comparison-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(19, 193, 172, 0.3);
  transform: translateY(-2px);
}

.comparison-item i {
  font-size: 2rem;
  color: #13c1ac;
  margin-bottom: 12px;
  display: block;
}

.comparison-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: white;
}

.comparison-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA Mid Section */
.cta-mid-section {
  padding: 60px 16px;
  background: linear-gradient(135deg, rgba(19, 193, 172, 0.15), rgba(19, 193, 172, 0.05));
  text-align: center;
  border-top: 1px solid rgba(19, 193, 172, 0.2);
  border-bottom: 1px solid rgba(19, 193, 172, 0.2);
}

.cta-mid-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.cta-mid-section p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Enhancements */
.testimonial-stars {
  color: #ffc107;
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-author {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-item {
    padding: 20px;
  }
}

/* ============================================================================
   SECCIÓN SERVICIOS PROFESIONALES
   ============================================================================ */
.services-section {
  padding: 80px 16px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.services-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary, #6366f1);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

.services-header h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 12px;
}

.services-header p {
  color: var(--text-secondary, #94a3b8);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.service-card {
  background: var(--bg-card, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary, #6366f1);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: var(--text-muted, #64748b);
  font-size: 0.875rem;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li:first-child {
  border-top: none;
}

/* CTA de servicios */
.services-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--bg-card, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.services-cta-content {
  text-align: left;
}

.services-cta-content h3 {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 8px;
}

.services-cta-content p {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.9375rem;
  margin: 0;
}

.services-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #25d366;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.services-whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  color: white;
}

.services-whatsapp-btn svg {
  flex-shrink: 0;
}

/* Responsive servicios */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 16px;
  }
  
  .services-header h2 {
    font-size: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    padding: 24px 20px;
  }
  
  .services-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 20px;
  }
  
  .services-cta-content {
    text-align: center;
  }
}
