/* Estilos gerais */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(
        to right,
        #73e1f7 0%,
        #5fdbf4 53%,
        #06a8c9 100%
    );
    min-height: 100vh;
}

/* Estilo do header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    height: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* Estilo do modal - DESABILITADO */
.modal-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* backdrop-filter: blur(5px); */
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 24px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: #000;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Estilo do conteúdo principal */
.pricing-section {
    padding: 100px 20px 20px 20px;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 40px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #002C33;
    text-shadow: none;
}

.subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(400px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 30px auto 0;
    padding: 0 20px;
    width: 100%;
    justify-content: center;
}

.plan-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 50px 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    backdrop-filter: blur(10px);
    text-align: center;
    min-height: auto;
    max-height: 78vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 120px;
    z-index: -1;
    border-radius: 24px;
}

.basic-plan::before {
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
}

.premium-plan::before {
    background: linear-gradient(135deg, #7C3AED 0%, #9D4EDD 100%);
}

.pro-plan::before {
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

.plan-header h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-header p {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 15px;
    min-height: 40px;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.basic-plan .plan-header p {
    background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 100%);
}

.premium-plan .plan-header p {
    background: linear-gradient(135deg, #C084FC 0%, #D8B4FE 100%);
}

.pro-plan .plan-header p {
    background: linear-gradient(135deg, #F472B6 0%, #FBCFE8 100%);
}

.price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    background: white;
    padding: 15px 10px;
    border-radius: 8px;
}

.basic-plan .price {
    color: #1E40AF;
}

.premium-plan .price {
    color: #7C3AED;
}

.pro-plan .price {
    color: #EC4899;
}

.month {
    font-size: 0.85rem;
    font-weight: normal;
    color: #666;
}

.year {
    font-size: 0.85rem;
    font-weight: normal;
    color: #666;
}

.features {
    list-style: none;
    padding: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
    border-radius: 12px;
    overflow-y: auto;
}

.basic-plan .features {
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
}

.premium-plan .features {
    background: linear-gradient(135deg, #7C3AED 0%, #9D4EDD 100%);
}

.pro-plan .features {
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: white;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.check-icon {
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.features li i.fa-check {
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 5px;
}

.cta-button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    position: relative;
    z-index: 500;
    pointer-events: auto;
}

.basic-plan .cta-button {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.6) 0%, rgba(14, 165, 233, 0.6) 100%);
}

.basic-plan .cta-button:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 100%);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.premium-plan .cta-button {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.6) 0%, rgba(157, 78, 221, 0.6) 100%);
}

.premium-plan .cta-button:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #9D4EDD 100%);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.pro-plan .cta-button {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.6) 0%, rgba(244, 114, 182, 0.6) 100%);
}

.pro-plan .cta-button:hover {
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

/* Media Queries para Responsividade */

/* Tags para os planos */
.popular-tag,
.pro-tag {
    display: none !important;
}

/* Media Queries para Responsividade */

/* Para telas menores que 768px (tablets e celulares) */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem; /* Reduz o tamanho do título */
    }

    .subtitle {
        font-size: 1rem; /* Reduz o tamanho do subtítulo */
    }

    .plans-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
        gap: 30px;
    }

    .plan-card {
        padding: 15px; /* Reduz o padding dos cards */
    }

    .icon-container {
        width: 60px;
        height: 60px; /* Reduz o tamanho do ícone */
    }

    .icon {
        width: 30px;
        height: 30px; /* Reduz o tamanho do ícone */
    }

    h3 {
        font-size: 1.25rem; /* Reduz o tamanho do título do plano */
    }

    .price {
        font-size: 1.5rem; /* Reduz o tamanho do preço */
    }

    .cta-button {
        font-size: 1rem; /* Reduz o tamanho do texto do botão */
        padding: 12px;
    }

    .popular-tag {
        font-size: 0.875rem; /* Reduz o tamanho da tag "Popular" */
        padding: 4px 8px;
    }

    .pro-tag {
        font-size: 0.875rem; /* Reduz o tamanho da tag "Pro" */
        padding: 4px 8px;
    }
}

/* Para telas menores que 480px (celulares pequenos) */
@media (max-width: 480px) {
    h2 {
        font-size: 1.75rem; /* Reduz ainda mais o tamanho do título */
    }

    .subtitle {
        font-size: 0.875rem; /* Reduz ainda mais o tamanho do subtítulo */
    }

    .plan-card {
        padding: 10px; /* Reduz o padding dos cards */
    }

    .plans-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
        gap: 40px;
    }

    .icon-container {
        width: 50px;
        height: 50px; /* Reduz ainda mais o tamanho do ícone */
    }

    .icon {
        width: 25px;
        height: 25px; /* Reduz ainda mais o tamanho do ícone */
    }

    h3 {
        font-size: 1.125rem; /* Reduz ainda mais o tamanho do título do plano */
    }

    .price {
        font-size: 1.25rem; /* Reduz ainda mais o tamanho do preço */
    }

    .cta-button {
        font-size: 0.875rem; /* Reduz ainda mais o tamanho do texto do botão */
        padding: 10px;
    }

    .popular-tag {
        font-size: 0.75rem; /* Reduz ainda mais o tamanho da tag "Popular" */
        padding: 3px 6px;
    }

    .pro-tag {
        font-size: 0.75rem; /* Reduz ainda mais o tamanho da tag "Pro" */
        padding: 3px 6px;
    }
}