/* Importar estilos base */
@import url("pages.css");

/* CSS específico para página de Landing Pages */

/* Conversion Elements Grid */
.conversion-elements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.element-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.element-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #96ceb4,
    #ffeaa7,
    #dda0dd
  );
  background-size: 300% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.element-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.element-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.element-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.element-card p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Landing Types */
.landing-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.landing-type {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 16px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
}

.landing-type:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.type-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.type-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.type-badge {
  background: var(--gradient-secondary);
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.landing-type p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.type-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.type-features span {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Optimization Process */
.optimization-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-step-landing {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.process-step-landing:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.process-step-landing h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.process-step-landing p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Sidebar específico */
.sidebar-card.conversion-guarantee {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-align: center;
}

.sidebar-card.conversion-guarantee h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.guarantee-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.sidebar-card.conversion-guarantee p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Responsive para Landing Pages */
@media (max-width: 768px) {
  .conversion-elements {
    grid-template-columns: 1fr;
  }

  .landing-types {
    grid-template-columns: 1fr;
  }

  .optimization-process {
    grid-template-columns: 1fr;
  }

  .type-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .type-features {
    justify-content: center;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .element-card,
  .landing-type,
  .process-step-landing {
    padding: 1.5rem;
  }

  .element-icon,
  .step-icon {
    font-size: 2rem;
  }
}

/* Sidebar específico para pricing */
.sidebar-card.pricing {
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--primary-color) 100%
  );
  color: white;
  text-align: center;
}

.sidebar-card.pricing h3 {
  color: white;
  font-size: 1.125rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
  color: var(--secondary-color);
}

.sidebar-card.pricing p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.sidebar-card.pricing .btn {
  background: white;
  color: var(--accent-color);
  font-weight: 700;
}

.sidebar-card.pricing .btn:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
}

/* Lista de incluidos */
.includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.includes-list li {
  padding: 0.5rem 0;
  color: var(--text-gray);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.includes-list li:last-child {
  border-bottom: none;
}

/* Sidebar de garantía de conversión */
.sidebar-card.conversion-guarantee {
  background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
  color: white;
  text-align: center;
}

.sidebar-card.conversion-guarantee h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.guarantee-stat {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
}

.sidebar-card.conversion-guarantee p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Herramientas y Tecnologías - Versión mejorada */
.section-intro {
  color: var(--text-gray);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-align: center;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tool-category-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.tool-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.tool-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tool-icon {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.tool-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.tool-content {
  padding: 1.5rem;
}

.tool-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.tool-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tool-item:hover {
  background: rgba(116, 92, 255, 0.02);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 8px;
}

.tool-item strong {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.tool-item span {
  color: var(--text-gray);
  font-size: 0.825rem;
  line-height: 1.4;
}

/* Responsive para herramientas */
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tool-header {
    padding: 1.25rem;
  }

  .tool-content {
    padding: 1.25rem;
  }

  .tool-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}
