/* Reset y estilos base */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2196f3;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --dark-blue: #0A192F;
    --indigo: #4f46e5;
    --slate: #334155;
    --slate-light: #64748b;
    --slate-dark: #0d47a1;
    --cyan: #06b6d4;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #1a202c;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f1f5f9 100%);
}

/* Contenedor principal */
.pricing-container {
    min-height: 150vh;
    
}

.container {
    margin: 0 auto;
    height: 100vh;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 400px;
}

/* Header Section */
.header-section {
    position: relative;
    overflow: hidden;
    min-height: 55vh;
    display: flex;
    align-items: center;
}

.header-gradient {
    position: absolute;
    padding: 64px 32px;
    text-align: center;
    inset: 0; 
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--indigo) 50%, var(--slate-dark) 100%); 
}

.header-background {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/4386467/pexels-photo-4386467.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.header-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.header-crown {
    font-size: 3rem;
}

.header-subtitle {
    font-size: 1.5rem;
    color: #bfdbfe;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid de planes */
.pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center; 
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: -80px;
}


@media (max-width: 992px) {
  .pricing-grid {
    flex-wrap: wrap; /* Permite que las tarjetas se acomoden verticalmente */
  }

  .pricing-card {
    flex: 1 1 100%;
    max-width: 85%;
  }

  .header-title {
    font-size: 2rem;
  }

  .header-crown {
    font-size: 1rem;
  }

  .header-subtitle {
    font-size: 1.5rem;
  }
}


/* Tarjeta de precios */
.pricing-card {
   position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.5s ease;
    overflow: hidden;
    animation: slideUp 0.6s ease-out forwards;
    animation-play-state: paused;
    width: 35%;
}


.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Plan popular */
.pricing-card.popular {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 2px solid #8b5cf6;
}

.pricing-card.popular:hover {
    transform: translateY(-12px) scale(1.08);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.5rem;
    z-index: -1;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    color: white;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.star-icon {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    fill: currentColor;
    vertical-align: middle;
}

/* Encabezado de la tarjeta */
.card-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.pricing-card.popular .card-header {
    padding-top: 3rem;
}

.plan-avatar {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    font-size: 2rem;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.pricing-card:hover .plan-avatar {
    transform: rotate(12deg) scale(1.1);
}

.pricing-card[data-plan="basic"] .plan-avatar {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

.pricing-card[data-plan="pro"] .plan-avatar {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

.pricing-card[data-plan="enterprise"] .plan-avatar {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

.plan-avatar span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.plan-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.plan-description {
    color: #4a5568;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.plan-price {
    margin-top: 1rem;
}

.price {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1a202c;
}

.period {
    font-size: 1.5rem;
    color: #4a5568;
}

/* Contenido de la tarjeta */
.card-content {
    padding: 0 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(4px);
}

.feature-item2 {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--slate-light);
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.feature-icon2 {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
    color: var(--slate-light);
}

.pricing-card[data-plan="basic"] .feature-icon {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

.pricing-card[data-plan="pro"] .feature-icon {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

.pricing-card[data-plan="enterprise"] .feature-icon {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

.feature-icon svg {
    width: 0.75rem;
    height: 0.75rem;
    fill: white;
}

.feature-item span {
    font-size: 1rem;
}

/* Footer de la tarjeta */
.card-footer {
    padding: 0 1.5rem 1.5rem;
}

.plan-button {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    min-width: 320px;
}

.plan-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pricing-card[data-plan="basic"] .plan-button {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

.pricing-card[data-plan="pro"] .plan-button {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

.pricing-card[data-plan="enterprise"] .plan-button {
    background: linear-gradient(to right, #2196f3, #06b6d4);
}

/* Efecto de brillo */
.shine-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transform: skewX(-12deg) translateX(-100%);
    transition: all 1s ease;
}

.pricing-card:hover .shine-effect {
    opacity: 0.2;
    transform: skewX(-12deg) translateX(100%);
}

/* Features section */

.features-section {
    padding: 80px 0;
    background: linear-gradient(200deg, var(--primary-blue) 10%, var(--slate-dark) 40%, var(--dark-blue) 100%);
    color: white;
    min-height: 100vh; /* Permite que la sección crezca si hay mucho contenido */
    display: flex;
    flex-direction: column;
    align-items: center;
}

 .container-custom {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.section-header {
    margin-top: -10px;
}

.section-title1 {
    font-size: 2.3rem;
    margin-bottom: 1.1rem;
    margin-top: -10px;
}

 .features-grid {
    display: grid;
    /* Esto creará 3 columnas en desktop y 1 en móvil automáticamente */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 20px;
}

.feature-descripcion {
    color: var(--gray-300);
    line-height: 1.8;
    font-size: 1rem;
    margin-top: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.icon-and-title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon-container {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--indigo) 0%, var(--light-blue) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin-right: 15px;
}

.feature-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    color: black;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 5rem;
    color: var(--slate-dark);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.cta-title{
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 800px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons .btn-primary {
    display: flex;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(100deg, var(--primary-blue) 10%, var(--slate-dark) 40%, var(--dark-blue) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(0);
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

/* Animaciones */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

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

/* Efecto de botón */
.plan-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.plan-button:hover::after {
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px) scale(1.05);
    }

    .header-gradient {
        min-height: 60vw;  
    }

    .features-section {
        min-height: 340vw;
    }

    .section-title1 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
        width: 100%;
    }

    .features-grid {
        width: 90%;
    }

    .columna {
        margin-top: 60px;
    }
}

/* Animación para partículas */
@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

/* Estado de carga */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading button {
    position: relative;
}

.loading button::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.error-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.error-icon-circle i {
    font-size: 2.5rem;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    }
}

.modal-content {
    border-radius: 20px;
    font-family: "Red Hat Text", sans-serif;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


    



   

    



   

    



   

    



   

    



   

    



   