/* pricing.css - Subscription Plans & Pricing Layout
   Contents:
   1. Core Layout & Container
   2. Pricing Cards & Grid
   3. Typography & Badges
   4. Plan Selectors & Inputs
   5. Buttons & Actions
   6. Responsive Rules
*/


/* -------------------------------------------------------------------------- */
/*                        1. CORE LAYOUT & CONTAINER                          */
/* -------------------------------------------------------------------------- */

.pricing-page-container {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.pricing-three-col {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    align-items: stretch;
}


/* -------------------------------------------------------------------------- */
/*                         2. PRICING CARDS & GRID                            */
/* -------------------------------------------------------------------------- */

.pricing-col {
    background: var(--home-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s;
    /* Flex adjustments */
    flex: 1;
    min-width: 300px;
    max-width: 380px;
}

.pricing-col.featured {
    border: 1px solid #22d3ee;
    background: var(--home-bg-secondary);
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.col-features {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.col-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}


/* -------------------------------------------------------------------------- */
/*                         3. TYPOGRAPHY & BADGES                             */
/* -------------------------------------------------------------------------- */

.pricing-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #22d3ee 0%, #5106d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.col-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.col-title.highlight {
    color: #22d3ee;
}

.col-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    transition: opacity 0.2s;
}

.col-sub {
    color: #64748b;
    font-size: 0.9rem;
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}


/* -------------------------------------------------------------------------- */
/*                      4. PLAN SELECTORS & INPUTS                            */
/* -------------------------------------------------------------------------- */

.col-selector {
    margin-bottom: 24px;
    flex-grow: 1;
}

.selector-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.selector-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.02);
}

.plan-option:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.05);
}

.plan-option.active {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.1) inset;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #64748b;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-circle input {
    display: none;
}

.active .radio-circle {
    border-color: #22d3ee;
    background: #22d3ee;
}

.active .radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #0f172a;
    border-radius: 50%;
}

.opt-credits {
    font-weight: 600;
    color: var(--text-main);
    margin-right: auto;
    font-size: 0.95rem;
}

.opt-price {
    color: var(--text-muted);
    font-weight: 500;
}


/* -------------------------------------------------------------------------- */
/*                          5. BUTTONS & ACTIONS                              */
/* -------------------------------------------------------------------------- */

.col-btn {
    border-radius: 99px;
    padding: 14px;
    font-weight: 700;
    margin-bottom: 32px;
    transition: all 0.2s;
}

.btn-glass {
    background: var(--home-card-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 1px 10px var(--home-border);
    transform: translateY(-1px);
}

.sub-col .col-btn {
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.sub-col .col-btn:hover {
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.active-sub-status {
    text-align: center;
    margin: 20px;

}

.badge-active-plan {
    color: #22d3ee;
    font-size: 1rem;
    gap: 10px;
    display: inline-flex;
    align-items: center;
}

.plan-option.disabled {
    pointer-events: none !important;
    opacity: 0.5 !important;
}


/* -------------------------------------------------------------------------- */
/*                           6. RESPONSIVE RULES                              */
/* -------------------------------------------------------------------------- */

@media (max-width: 992px) {
    .pricing-three-col {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-col.featured {
        transform: none;
        order: -1;
    }
}