/* Premium Pricing Plans Styling */
.pricing-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 100vh;
}

.pricing-plans-wrapper {
    background-color: #f8f9fc;
    border-radius: 24px;
    padding: 32px 12px;
    box-shadow: 0 4px 32px 0 rgba(0, 95, 156, 0.10);
}

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    align-items: stretch;
    height: 100%;
    
}

.pricing-plan {
    background-color: #fff;
    border-radius: 18px;
    padding: 20px 16px 20px 16px;
    flex: 1 1 210px;
    min-width: 210px;
    max-width: 260px;
    position: relative;
    box-shadow: 0 4px 24px 0 rgba(0, 95, 156, 0.08);
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 90vh;
    height: 100%;
}

.pricing-plan:hover, .pricing-plan:focus-within {
    transform: translateY(-8px) ;
    box-shadow: 0 8px 32px 0 rgba(0, 95, 156, 0.18);
    border-color: #005F9C;
    z-index: 2;
}

.pricing-plan.popular {
    border: 2.5px solid #ff7f2a;
    padding-top: 36px;
    z-index: 3;
    box-shadow: 0 8px 32px 0 rgba(255, 127, 42, 0.12);
}

.popular-tag {
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #ff7f2a 60%, #ffb366 100%);
    color: #fff;
    text-align: center;
    padding: 5px 0 4px 0;
    border-radius: 12px 12px 0 0;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px 0 rgba(255,127,42,0.10);
}

.plan-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #005F9C;
    letter-spacing: 0.2px;
}

.plan-price {
    margin-bottom: 18px;
}

.price {
    font-size: 30px;
    font-weight: 700;
    color: #005F9C;
}

.period {
    font-size: 14px;
    color: #2980b9;
    margin-left: 4px;
    font-weight: 500;
}

.yearly-price {
    font-size: 12px;
    color: #2980b9;
    margin-top: 4px;
}

.billing-cycle {
    font-size: 12px;
    color: #555;
    margin-top: 3px;
}

.plan-limit, .enterprise-limit {
    margin-bottom: 14px;
}

.enterprise-limit p {
    font-size: 13px;
    color: #005F9C;
    line-height: 1.5;
    font-weight: 500;
}

.saved-analyses-dropdown {
    width: 100%;
    padding: 8px 8px;
    border: 1.5px solid #005F9C;
    border-radius: 7px;
    font-size: 13px;
    color: #005F9C;
    background-color: #f8f9fc;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s;
}
.saved-analyses-dropdown:focus {
    border-color: #2980b9;
    background: #e7f0fe;
}

.plan-cta {
    margin-bottom: 16px;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    background: linear-gradient(90deg, #005F9C 70%, #2980b9 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px 0 rgba(0,95,156,0.10);
    letter-spacing: 0.2px;
}
.cta-button:hover, .cta-button:focus {
    background: linear-gradient(90deg, #2980b9 60%, #005F9C 100%);
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(0,95,156,0.18);
}
.cta-button.premium {
    background: linear-gradient(90deg, #ff7f2a 70%, #ffb366 100%);
    color: #fff;
    border: none;
}
.cta-button.premium:hover, .cta-button.premium:focus {
    background: linear-gradient(90deg, #e06b1c 60%, #ff7f2a 100%);
}
.cta-button.enterprise {
    background: linear-gradient(90deg, #005F9C 70%, #2980b9 100%);
    color: #fff;
    border: none;
}
.cta-button.enterprise:hover, .cta-button.enterprise:focus {
    background: linear-gradient(90deg, #2980b9 60%, #005F9C 100%);
}
.cta-button.current {
    background: #e4e6e8;
    border: 2px solid #4CAF50;
    color: black;
    border: none;
}
.plan-usage, .plan-requirement {
    text-align: center;
    font-size: 11px;
    color: #2980b9;
    margin-top: 7px;
    font-weight: 500;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.plan-features li {
    margin-bottom: 10px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
}
.plan-features li svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 13px;
}
.plan-features i {
    color: #005F9C;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
.plan-features .fa-angle-down {
    margin-left: 5px;
    color: #2980b9;
}
.coming-soon, .beta-version {
    background-color: #e7f0fe;
    color: #005F9C;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 600;
    letter-spacing: 0.2px;
    word-break: keep-all;
}
.beta-version {
    background-color: #fff3e0;
    color: #ff7f2a;
}

/* Notification and Loading styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    z-index: 1000;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 95, 156, 0.18);
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.notification.success {
    background-color: #4CAF50;
}
.notification.error {
    background-color: #f44336;
}
.notification.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 95, 156, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    color: white;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #005F9C;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive designs */
@media (max-width: 1100px) {
    .pricing-plans {
        flex-wrap: wrap;
    }
    .pricing-plan {
        flex-basis: calc(50% - 20px);
        margin-bottom: 24px;
    }
}
@media (max-width: 768px) {
    .pricing-plan {
        flex-basis: 100%;
        max-width: 100%;
    }
    .pricing-plans-wrapper {
        padding: 18px 6px;
    }
}

.plan-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.billing-toggle {
    background: #f8f9fc;
    color: #005F9C;
    border: 2px solid #005F9C;
    border-radius: 20px;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.billing-toggle.active, .billing-toggle:hover {
    background: linear-gradient(90deg, #005F9C 70%, #2980b9 100%);
    color: #fff;
}

.plan-top-box {
    min-height: 170px; /* Adjust this value for perfect alignment */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.features-matrix-container {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    clear: both;
    width: 100%;
    display: block;
}
.features-matrix {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(0,95,156,0.10);
    overflow: hidden;
    font-family: inherit;
    margin-bottom: 40px;
    border: 2px solid #e4e6e8;
}
.features-matrix th, .features-matrix td {
    padding: 14px 8px;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid #f0f2f5;
    background: #fff;
    color: #222;
    font-weight: 500;
    transition: background 0.2s;
}
.features-matrix th {
    background: #fff;
    color: #005F9C;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 2px solid #e4e6e8;
    letter-spacing: 0.2px;
}
.features-matrix tr:last-child td {
    border-bottom: none;
}
.features-matrix td:first-child, .features-matrix th:first-child {
    text-align: left;
    font-weight: 600;
    color: #005F9C;
    background: #fff;
    border-right: 2px solid #f0f2f5;
    font-size: 15px;
}
.features-matrix .matrix-popular-col, .features-matrix th.matrix-popular-col {
    background: #fff !important;
    border-right: 2px solid #ffb366;
    border-left: 2px solid #ffb366;
    position: relative;
    z-index: 1;
}
.features-matrix th.matrix-popular-col {
    background: linear-gradient(90deg, #ff7f2a 60%, #ffb366 100%) !important;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #ff7f2a;
}
.features-matrix .matrix-popular-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff7f2a 60%, #ffb366 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 14px;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    letter-spacing: 0.2px;
    word-break: keep-all;
}
.matrix-check {
    color: #4CAF50;
    font-size: 17px;
    font-weight: bold;
    background: #eafbe7;
    border-radius: 50%;
    padding: 1px 5px;
    display: inline-block;
}
.matrix-x {
    color: #f44336;
    font-size: 17px;
    font-weight: bold;
    background: #fdeaea;
    border-radius: 50%;
    padding: 1px 5px;
    display: inline-block;
}
.matrix-subscribe-btn {
    background: linear-gradient(90deg, #005F9C 70%, #2980b9 100%);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px 0;
    width: 90%;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0,95,156,0.10);
    margin: 0 auto;
    margin-top: 4px;
    letter-spacing: 0.2px;
}
.features-matrix td .matrix-subscribe-btn {
    width: 100%;
}
.features-matrix td.matrix-popular-col .matrix-subscribe-btn {
    background: linear-gradient(90deg, #ff7f2a 70%, #ffb366 100%);
    color: #fff;
}
.features-matrix td.matrix-popular-col .matrix-subscribe-btn:hover {
    background: linear-gradient(90deg, #e06b1c 60%, #ff7f2a 100%);
}
.features-matrix tr:hover td {
    background: #f8f9fc;
}
.features-matrix tr:last-child td {
    background: #fff;
} 