﻿/*price selector--------------------*/
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --accent-blue: #0070f3;
    --accent-gold: #d4af37;
    --black-card: #0a0a0a;
    --border: rgba(255, 255, 255, 0.1);
}

/* Background-free container */
.soft-tech-pricing.transparent {
    background: transparent;
    color: white;
    padding: 20px 20px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding-right: 380px; /* Space for sidebar */
}

/* The Cards */
.model-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 50px;
    width: 480px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.5;
    position: relative;
    -webkit-tap-highlight-color: transparent; /* Remove mobile blue flash */
}

    .model-card.active {
        opacity: 1;
        border-color: var(--accent-gold); /* Gold border instead of blue */
        box-shadow: 0 40px 100px rgba(0,0,0,0.8);
        transform: translateY(-10px);
    }

/* Selection Indicator Dot */
.selection-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: 0.3s;
}

.model-card.active .selection-indicator {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px var(--accent-gold);
}

.card-header {
    pointer-events: none;
}

.gold-text {
    color: var(--accent-gold);
}

.blue-text {
    color: var(--accent-blue);
}

/* Feature Items */
.feature-list {
    margin-top: 30px;
    pointer-events: none;
}
/* Clicks pass through to card unless on item */

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    pointer-events: auto; /* Re-enable clicks for the toggle itself */
    -webkit-tap-highlight-color: transparent; /* Remove mobile blue flash */
}

.feature-info {
    pointer-events: none;
}

    .feature-info small {
        color: #666;
        display: block;
        margin-top: 4px;
        line-height: 1.2;
    }

.feature-item.selected {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Sidebar */
.sidebar-summary {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    background: #000;
    border: 1px solid var(--accent-gold);
    border-radius: 40px;
    padding: 45px;
    z-index: 100;
    box-sizing: border-box;
}

.summary-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.summary-amount {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 10px 0;
}

.summary-subtext {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.checkout-trigger-btn {
    width: 100%;
    padding: 22px;
    border-radius: 50px;
    border: none;
    background: white;
    color: black;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}

    .checkout-trigger-btn:hover {
        background: var(--accent-blue);
        color: white;
    }

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #050505;
    width: 400px;
    margin: 15vh auto;
    padding: 50px;
    border-radius: 40px;
    border: 1px solid var(--accent-gold);
    position: relative;
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #444;
}

.quate-selector-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    color: white;
    box-sizing: border-box;
}

.modal-price-display {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    padding: 20px;
    background: #0a0a0a;
    border-radius: 20px;
    border-left: 4px solid var(--accent-gold);
}

.stripe-pay-btn {
    width: 100%;
    padding: 20px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 1300px) {
    .pricing-grid {
        padding-right: 0;
        flex-direction: column;
        align-items: center;
        margin-bottom: 350px;
        gap: 30px;
    }

    .sidebar-summary {
        position: fixed;
        bottom: 0;
        right: 0;
        top: auto;
        left: 0;
        width: 100%;
        transform: none;
        border-radius: 40px 40px 0 0;
        padding: 30px 40px;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.9);
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .soft-tech-pricing.transparent {
        padding: 10px 10px 240px 10px; /* Space for bottom fixed sidebar */
    }

    .pricing-grid {
        gap: 20px;
        margin-bottom: 50px;
    }

    .model-card {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
        border-radius: 24px;
    }

    .feature-item {
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .feature-info small {
        font-size: 0.75rem;
    }

    .sidebar-summary {
        padding: 15px 20px;
        border-radius: 24px 24px 0 0;
        box-sizing: border-box;
        left: 0;
        right: 0;
        width: 100%;
    }

    .summary-amount {
        font-size: 2.2rem;
        margin: 5px 0;
    }

    .summary-subtext {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .checkout-trigger-btn {
        padding: 14px;
        border-radius: 25px;
        font-size: 1rem;
    }

    /* Modal responsiveness */
    .modal-content {
        width: 90%;
        max-width: 380px;
        padding: 25px;
        border-radius: 24px;
        margin: 10vh auto;
    }
}

/*title + text--------------------------------------*/


/* 1. Layout Wrapper - No Background */
.payment-title-wrapper {
    padding: 100px 20px 0px 20px;
    background: transparent !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.payment-title-container {
    max-width: 800px;
    text-align: center;
    position: relative;
}

/* 2. Elegant Title - Gold Gradient */
.payment-title-main {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Gold Metallic Effect */
    background: linear-gradient(135deg, #d4af37 0%, #f9f295 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* 3. Stylish Divider - Electric Blue Glow */
.payment-title-divider {
    width: 80px;
    height: 4px;
    background: #0077ff;
    margin: 0 auto 25px auto;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0, 119, 255, 0.6);
}

/* 4. Description Text - Modern & Readable */
.payment-title-description {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #cbd5e0; /* Muted Grey-Blue */
    margin: 0;
    font-weight: 400;
}

    .payment-title-description strong {
        color: #f9f295; /* Highlight Refund Policy in Gold */
        font-weight: 600;
    }

/* 5. Mobile Responsiveness (Rule 1) */
@media (max-width: 768px) {
    .payment-title-wrapper {
        padding: 40px 15px;
    }

    .payment-title-main {
        font-size: 2.2rem; /* Scaled for mobile */
        letter-spacing: 1px;
    }

    .payment-title-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .payment-title-divider {
        width: 60px;
    }
}

/* Small Screen Optimization */
@media (max-width: 480px) {
    .payment-title-main {
        font-size: 1.8rem;
    }
}
