/* ============================================
   BANHOSOFT - PÁGINA DE PLANOS
   Layout moderno e profissional
   ============================================ */

/* Hero da página de planos */
.plano-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plano-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,122.7C1248,128,1344,160,1392,176L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.plano-hero__content {
    position: relative;
    z-index: 2;
}

.plano-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.plano-hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Toggle de período */
.periodo-toggle-container {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin: -2rem auto 3rem;
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.periodo-toggle {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.periodo-option {
    position: relative;
    padding: 0.75rem 2rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    user-select: none;
}

.periodo-option:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.periodo-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.periodo-option.active {
    background: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Container de planos */
.planos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

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

/* Card do plano */
.plano-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plano-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
}

.plano-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.plano-card.featured {
    border-color: #0ea5e9;
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.plano-card.featured::before {
    height: 8px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

.plano-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

/* Badge */
.plano-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Header do card */
.plano-header {
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.plano-nome {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.plano-descricao {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* Preço */
.plano-preco {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
}

.plano-preco-valor {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.plano-preco-periodo {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Economize badge */
.economize-badge {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Features */
.plano-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex: 1;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.plano-features::-webkit-scrollbar {
    width: 6px;
}

.plano-features::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.plano-features::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.plano-features::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.plano-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.plano-features li:last-child {
    border-bottom: none;
}

.plano-features li i {
    color: #28a745;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.plano-features li strong {
    color: var(--primary);
    font-weight: 700;
}

/* Botão */
.plano-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.plano-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.35);
    color: white;
    text-decoration: none;
}

.plano-card.featured .plano-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.plano-card.featured .plano-btn:hover {
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Saiba mais */
.plano-saiba-mais {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.plano-saiba-mais-trigger {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
}

.plano-saiba-mais-trigger:hover {
    color: var(--primary-dark);
    background: rgba(0, 102, 255, 0.05);
}

.plano-saiba-mais-trigger i {
    transition: transform 0.3s ease;
}

.plano-saiba-mais-trigger.active i {
    transform: rotate(180deg);
}

.plano-saiba-mais-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.3s ease;
    margin-top: 0;
    opacity: 0;
}

.plano-saiba-mais-content.active {
    max-height: 300px;
    margin-top: 0.75rem;
    opacity: 1;
}

.plano-saiba-mais-text {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 1rem;
    background: #f9fafb;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

/* Botão ver outros planos */
.ver-outros-planos {
    text-align: center;
    margin-top: 3rem;
}

.ver-outros-planos .plano-btn {
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Outras opções */
.outras-opcoes {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border);
}

.outras-opcoes h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif;
}

/* Responsivo */
@media (max-width: 768px) {
    .plano-hero {
        padding: 6rem 0 3rem;
    }

    .periodo-toggle-container {
        margin: -1.5rem 1rem 2rem;
        padding: 1rem;
    }

    .periodo-toggle {
        flex-direction: column;
    }

    .periodo-option {
        width: 100%;
        text-align: center;
    }

    .planos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plano-card.featured {
        transform: scale(1);
    }

    .plano-card.featured:hover {
        transform: translateY(-8px);
    }

    .plano-preco-valor {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .plano-hero {
        padding: 5rem 0 2rem;
    }

    .plano-card {
        padding: 1.5rem;
    }

    .plano-nome {
        font-size: 1.5rem;
    }

    .plano-preco-valor {
        font-size: 1.75rem;
    }
}