/* ============================================================================ */
/* PRICING PAGE - BASE STYLES */
/* ============================================================================ */

.pricing-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0 80px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.pricing-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================================ */
/* SUBSCRIPTION STATUS BANNERS */
/* ============================================================================ */

.alert-subscription-active {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
    animation: slideDown 0.5s ease;
    margin-bottom: 30px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legacy Alert */
.alert-legacy {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ff9800;
}

.alert-legacy .alert-icon {
    color: #ff9800;
}

.alert-legacy .alert-content h4 {
    color: #f57c00;
}

.alert-legacy .alert-content p {
    color: #e65100;
}

/* Trial Alert */
.alert-trial {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ff9800;
}

.alert-trial .alert-icon {
    color: #ff9800;
}

.alert-trial .alert-content h4 {
    color: #f57c00;
}

.alert-trial .alert-content p {
    color: #e65100;
}

/* Danger Alert */
.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
}

.alert-danger .alert-icon {
    color: #dc3545;
}

.alert-danger .alert-content h4 {
    color: #721c24;
}

.alert-danger .alert-content p {
    color: #a71d2a;
}

/* Canceled Alert */
.alert-canceled {
    background: linear-gradient(135deg, #e2e3e5 0%, #d6d8db 100%);
    border: 2px solid #6c757d;
}

.alert-canceled .alert-icon {
    color: #6c757d;
}

.alert-canceled .alert-content h4 {
    color: #383d41;
}

.alert-canceled .alert-content p {
    color: #495057;
}

/* Alert Components */
.alert-icon {
    font-size: 2.5rem;
    color: #4caf50;
    flex-shrink: 0;
}

.alert-content {
    flex-grow: 1;
}

.alert-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
}

.alert-content p {
    margin: 0;
    font-size: 1rem;
    color: #1b5e20;
}

.alert-content strong {
    font-weight: 700;
}

.alert-actions {
    flex-shrink: 0;
}

/* Alert Buttons */
.btn-manage {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    white-space: nowrap;
}

.btn-manage:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-manage i {
    margin-right: 8px;
}

/* Button Variants */
.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #000;
}

.btn-trial {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-trial:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-danger-action {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger-action:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-primary-action {
    background: linear-gradient(135deg, #195eb3 0%, #0d47a1 100%);
    box-shadow: 0 4px 12px rgba(25, 94, 179, 0.3);
}

.btn-primary-action:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #195eb3 100%);
    box-shadow: 0 6px 20px rgba(25, 94, 179, 0.4);
}

/* ============================================================================ */
/* BILLING TOGGLE SWITCH */
/* ============================================================================ */

.billing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.billing-option {
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: #6c757d;
}

.billing-option.active {
    background: #195eb3;
    color: white;
    box-shadow: 0 4px 12px rgba(25, 94, 179, 0.3);
}

.billing-option:hover {
    color: #195eb3;
}

.billing-option.active:hover {
    color: white;
}

.savings-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* ============================================================================ */
/* PRICING CARDS */
/* ============================================================================ */

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    flex: 0 0 280px;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.pricing-card.popular {
    border-color: #195eb3;
    box-shadow: 0 8px 30px rgba(25, 94, 179, 0.15);
}

.pricing-card.popular:hover {
    box-shadow: 0 12px 45px rgba(25, 94, 179, 0.25);
}

/* Plan Badges */
.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-popular {
    background: linear-gradient(135deg, #195eb3 0%, #0d47a1 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(25, 94, 179, 0.4);
}

.badge-new {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* Plan Header */
.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.plan-description {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 25px;
    min-height: 45px;
}

/* Pricing Display */
.plan-price {
    margin-bottom: 25px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #195eb3;
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}

.price-period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.price-annual {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 600;
    margin-top: 8px;
}

/* CTA Button */
.plan-cta {
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.cta-primary {
    background: linear-gradient(135deg, #195eb3 0%, #0d47a1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 94, 179, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 94, 179, 0.4);
    color: white;
    text-decoration: none;
}

.cta-secondary {
    background: white;
    color: #195eb3;
    border: 2px solid #195eb3;
}

.cta-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    color: #195eb3;
    text-decoration: none;
}

/* Trial Notice */
.trial-notice {
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 25px;
    font-weight: 500;
}

.trial-notice i {
    color: #28a745;
    margin-right: 5px;
}

/* Features List */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.feature-divider {
    border-top: 2px solid #e9ecef;
    margin: 15px 0;
}

.plan-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-features li i {
    margin-top: 3px;
    font-size: 1rem;
}

.feature-check {
    color: #28a745;
}

.feature-cross {
    color: #dc3545;
}

.feature-disabled {
    color: #adb5bd;
}

.feature-highlight {
    font-weight: 600;
    color: #2c3e50;
}

/* ============================================================================ */
/* CONTACT SECTION */
/* ============================================================================ */

.contact-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-section p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 25px;
}

.contact-button {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #195eb3 0%, #0d47a1 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 94, 179, 0.3);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 94, 179, 0.4);
    color: white;
    text-decoration: none;
}

/* Current Plan Badge */
.current-plan-badge {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 10px;
}

/* ============================================================================ */
/* RESPONSIVE DESIGN */
/* ============================================================================ */

@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        flex: 1 1 100%;
        max-width: 400px;
    }
    
    .pricing-header h1 {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .billing-toggle-container {
        flex-direction: column;
        gap: 10px;
        max-width: 300px;
    }
    
    .billing-option {
        width: 100%;
    }
    
    .alert-subscription-active {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .btn-manage {
        width: 100%;
    }
}