/* đź’Ž PRICING MODAL & CARDS - COMMAND CENTER EDITION */
:root {
    --p-accent: var(--neon-cyan);
    --p-glow: rgba(0, 219, 255, 0.4);
}

.annual-mode {
    --p-accent: #00ff94;
    /* Prestigious Neon Green */
    --p-glow: rgba(0, 255, 148, 0.4);
}

.pricing-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(25px);
    z-index: 110000;
    display: none;
    align-items: flex-start;
    /* Changed from center to allow top-down scrolling if needed */
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 40px 20px;
    /* Added padding for smaller screens */
    overflow-y: auto;
    /* Enable scrolling on the overlay itself */
}

.pricing-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.pricing-modal-content {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid var(--p-accent);
    border-radius: 40px;
    padding: 50px 60px;
    max-width: 1100px;
    width: 100%;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 30px var(--p-glow);
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Removed overflow: hidden to allow internal flex/layout adjustments if any, but overlay handles scroll */
}

.pricing-modal-overlay.active .pricing-modal-content {
    transform: translateY(0);
}

.pricing-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.pricing-close-btn:hover {
    background: rgba(255, 69, 69, 0.2);
    border-color: #ff4545;
    color: #ff4545;
    transform: rotate(90deg);
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
    color: #fff;
    background: linear-gradient(to right, #fff, var(--p-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 16px;
    letter-spacing: 1px;
}

.pricing-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.seat-counter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.seat-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.seat-counter {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 5px;
}

.seat-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.seat-btn:hover {
    background: var(--p-glow);
    border-color: var(--p-accent);
    color: var(--p-accent);
}

.seat-input {
    width: 60px;
    background: none;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    pointer-events: none;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    opacity: 0.4;
    transition: 0.3s;
    color: #fff;
}

.toggle-label.active {
    opacity: 1;
    color: var(--p-accent);
    text-shadow: 0 0 10px var(--p-glow);
}

.pricing-toggle {
    width: 54px;
    height: 28px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
}

.toggle-handle {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 4px;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.pricing-toggle.annual .toggle-handle {
    left: 28px;
    background: var(--p-accent);
    box-shadow: 0 0 15px var(--p-accent);
}

.promo-badge {
    background: var(--neon-green);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 148, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 148, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 148, 0);
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.smart-highlight {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--p-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--p-glow);
    transform: scale(1.02);
}

.pricing-card.featured {
    border-color: rgba(0, 219, 255, 0.2);
}

/* đź”’ LOCKED STATE - RESTRICTING BY SEAT COUNT */
.pricing-card.locked {
    cursor: default;
    pointer-events: none;
}

.pricing-card.locked .plan-btn {
    pointer-events: none;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: none !important;
    opacity: 0.5;
}

.premium-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--p-accent);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.card-title {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    opacity: 0.5;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 25px;
}

.card-price {
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.card-price .currency {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.card-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
}

.card-price .period {
    font-size: 14px;
    opacity: 0.5;
    color: #fff;
}

.old-price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.old-price {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: line-through;
    font-weight: 600;
}

.save-tag {
    display: inline-block;
    background: var(--p-glow);
    color: var(--p-accent);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.price-note {
    font-size: 11px;
    opacity: 0.75;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marketing-intro {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 25px;
    font-weight: 400;
    min-height: auto;
    text-align: left;
    opacity: 1;
}

/* Unused feature styles removed */

.plan-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.pricing-card.smart-highlight .plan-btn {
    background: var(--p-accent);
    color: #000;
    border: none;
    box-shadow: 0 10px 20px var(--p-glow);
}

/* đź’Ž MINIMALIST PRESTIGE FOOTER */
.minimalist-pricing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.minimalist-investment-display {
    flex: 0 0 350px;
}

.m-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--p-accent);
    margin-bottom: 20px;
    display: block;
}

.m-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.m-currency {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.m-amount {
    font-size: 54px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -2px;
}

.m-period {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.4;
    color: #fff;
}

.m-subtext {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.licensing-details-text {
    flex: 1;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.licensing-details-text p {
    margin-bottom: 15px;
}

.licensing-details-text strong {
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.licensing-details-text i {
    color: var(--p-accent);
    margin-right: 8px;
}

.price-sub-note {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--p-accent);
    margin-top: 5px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Modal Layering Fix */
.cyber-modal-overlay {
    z-index: 120000 !important;
    /* Higher than pricing-modal-overlay (110000) */
}

@media (max-width: 768px) {
    .pricing-modal-content {
        padding: 30px 15px !important;
        border-radius: 25px !important;
    }

    .pricing-title {
        font-size: 20px !important;
    }

    .pricing-controls {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .pricing-card {
        padding: 30px 20px !important;
    }

    .card-price .amount {
        font-size: 36px !important;
    }

    .minimalist-pricing-footer {
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .minimalist-investment-display {
        flex: none !important;
        width: 100% !important;
    }

    .m-amount {
        font-size: 42px !important;
    }
}

/* đź’Ž PREMIUM CHECKOUT PANEL - LUXURY COMMAND DECK */
.premium-checkout-panel {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.premium-checkout-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--p-accent), transparent);
    opacity: 0.5;
}

.checkout-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
    gap: 30px;
}

.checkout-summary {
    flex-grow: 1;
}

.luxury-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--p-accent);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

.investment-display {
    margin-bottom: 10px;
}

.investment-label {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.investment-value-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.investment-value-group .currency {
    font-size: 28px;
    font-weight: 800;
    color: var(--p-accent);
}

.investment-value-group .amount {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 30px var(--p-glow);
    letter-spacing: -2px;
}

.investment-value-group .period {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.4;
    color: #fff;
}

.investment-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* CHECKOUT ACTIONS & TRUST */
.checkout-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 219, 255, 0.05);
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 219, 255, 0.1);
}

.trust-badge i {
    font-size: 14px;
    color: var(--p-accent);
}

.trust-badge span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.provision-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.provision-info i {
    color: var(--p-accent);
}

/* âšˇ LICENSING INTELLIGENCE FOOTER */
.licensing-intel-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.intel-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 350px;
}

.intel-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intel-icon i {
    font-size: 16px;
    color: var(--p-accent);
}

.intel-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.intel-content strong {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.intel-content span {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    opacity: 0.7;
}

.intel-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    align-self: center;
}

@media (max-width: 768px) {
    .pricing-modal-content {
        padding: 30px 15px !important;
        border-radius: 20px !important;
        margin: 0 10px;
    }

    .pricing-title {
        font-size: 24px !important;
        letter-spacing: -0.5px;
    }

    .pricing-desc {
        font-size: 14px;
    }

    .pricing-controls {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .pricing-card {
        padding: 30px 20px !important;
        border-radius: 16px !important;
    }

    .card-price .amount {
        font-size: 32px !important;
    }

    .minimalist-pricing-footer {
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
        padding-top: 30px;
    }

    .minimalist-investment-display {
        flex: none !important;
        width: 100% !important;
    }

    .m-amount {
        font-size: 42px !important;
    }

    .checkout-main {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    .investment-value-group .amount {
        font-size: 42px !important;
    }

    .checkout-actions {
        align-items: center !important;
    }

    .licensing-intel-footer {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .intel-divider {
        display: none !important;
    }
}