/* ==========================================================================
   OUTFORCE CONSULTANCY - PRICING & PLANNING STYLESHEET
   Version: 3.0 (Popup Integrated)
========================================================================== 
*/

:root {
    --logo-teal: #00c6d6;
    --logo-lime: #a2ff00;
    --dark-bg: #051411;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* --- SECTION CONTAINER --- */
.pricing-container {
    padding: 140px 20px 80px; 
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; 
    position: relative;
    z-index: 1; 
}

.pricing-container > .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1350px;
}

/* --- HEADER & BADGES --- */
.pricing-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.pricing-header .badge {
    display: inline-block;
    margin-bottom: 15px;
}

.pricing-container > .badge {
    display: inline-block;
    background: rgba(0, 168, 173, 0.2);
    border: 1px solid rgba(0, 168, 173, 0.4);
    color: var(--logo-teal);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    margin: 0 auto 60px;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    width: 100%;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--logo-teal), var(--logo-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- CARDS WRAPPER --- */
.pricing-wrapper {
    display: flex;
    justify-content: center; 
    align-items: stretch;    
    gap: 35px;
    width: 100%;
    max-width: 1250px;
    margin: 40px auto 0;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* --- PRICING CARD CORE --- */
.pricing-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 50px 35px;
    border-radius: 35px;
    width: 360px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column; 
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 198, 214, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.pricing-card .card-header {
    margin-top: 15px;
}

/* --- FEATURED CARD (POPULAR) --- */
.pricing-card.featured {
    border: 2px solid var(--logo-teal);
    transform: scale(1.08);
    background: rgba(0, 168, 173, 0.08);
    box-shadow: 0 25px 50px rgba(0, 168, 173, 0.15);
    padding-top: 70px;
    overflow: visible;
}

.pricing-card.featured:hover {
    transform: scale(1.1) translateY(-10px);
}

.pricing-card.featured .card-header {
    margin-top: 0px;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--logo-teal), var(--logo-lime));
    color: #051411;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0, 168, 173, 0.3);
    letter-spacing: 0.5px;
    z-index: 10;
    display: inline-block;
    text-transform: uppercase;
}

/* --- PRICE & DESCRIPTION --- */
.price {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--logo-lime); 
    margin: 20px 0;
    font-family: 'Inter', sans-serif;
}

.plan-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- FEATURES LIST --- */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left; 
    flex-grow: 1;    
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.pricing-features i {
    color: var(--logo-teal);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* --- BUTTON STYLES --- */
.plan-link {
    display: inline-block; 
    text-decoration: none !important; 
    text-align: center;
    width: 100%;
    cursor: pointer;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.featured .plan-link {
    background: linear-gradient(90deg, var(--logo-teal), var(--logo-lime));
    color: #051411;
}

.plan-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 198, 214, 0.2);
}

/* ==========================================================================
   MODAL / POPUP SYSTEM (THE "270+ LINE" FIX)
========================================================================== 
*/

.modal-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    display: none; /* Controlled by JS openInquiryModal() */
    align-items: center; 
    justify-content: center;
    z-index: 99999; /* Ensure it stays above everything */
    padding: 20px;
}

.modal-content {
    background: #081211; 
    border: 1px solid rgba(0, 168, 173, 0.4);
    border-radius: 35px;
    width: 100%;
    max-width: 520px;
    padding: 45px;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 168, 173, 0.25);
    animation: modalEntrance 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    overflow-y: auto;
}

/* Scrollbar for Modal Content */
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: var(--logo-teal);
    border-radius: 10px;
}

@keyframes modalEntrance {
    from { transform: scale(0.8) translateY(40px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 25px; 
    right: 30px;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: var(--logo-lime);
    transform: rotate(90deg);
}

.modal-header {
    text-align: left;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- FORM ELEMENTS --- */
.modal-form .field-group {
    margin-bottom: 20px;
}

.modal-form input, 
.modal-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 16px 20px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-form input:focus, 
.modal-form textarea:focus {
    outline: none;
    border-color: var(--logo-teal);
    background: rgba(0, 198, 214, 0.05);
    box-shadow: 0 0 15px rgba(0, 198, 214, 0.1);
}

.modal-form textarea {
    resize: none;
}

.btn-submit-full {
    width: 100%;
    padding: 18px;
    border-radius: 15px;
    border: none;
    background: linear-gradient(90deg, var(--logo-teal), var(--logo-lime));
    color: #051411;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 10px;
}

.btn-submit-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 173, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE OPTIMIZATIONS)
========================================================================== 
*/

@media (max-width: 1100px) {
    .pricing-wrapper {
        gap: 20px;
    }
    .pricing-card {
        width: 320px;
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .pricing-container {
        padding-top: 100px;
    }

    .pricing-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .pricing-card {
        width: 100%;
        max-width: 380px;
        transform: scale(1) !important;
    }

    .pricing-card.featured {
        padding-top: 60px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .modal-content {
        padding: 30px 20px;
        border-radius: 25px;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .price {
        font-size: 2.5rem;
    }
    
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-content {
        padding: 25px 15px;
    }
}
