/* Global Typography Classes */
.pricing-main-heading {
    font-family: "DM Serif Display", serif;
    font-size: 28px;
    font-weight: 400;
    color: #040510;
    margin-bottom: 0.75rem;
}

.pricing-main-description {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    color: #3E4E75;
    line-height: 1.5;
}

.step-heading {
    font-family: "DM Serif Display", serif;
    font-size: 22px;
    font-weight: 400;
    color: #040510;
    margin-bottom: 0.5rem;
}

.step-description {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    color: #3E4E75;
    line-height: 1.5;
}

/* Progress Steps */
.pricing-progress {
    max-width: 800px;
    margin: 0 auto;
}

.progress-steps {
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    font-family: "DM Sans", sans-serif;
}

.step.active .step-circle {
    background: #2A3ACD;
    color: white;
    box-shadow: 0 2px 8px rgba(42, 58, 205, 0.3);
}

.step.completed .step-circle {
    background: #0FAE02;
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: #8A9BC2;
    text-align: center;
    font-family: "DM Sans", sans-serif;
}

.step.active .step-label {
    color: #2A3ACD;
    font-weight: 600;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
    border-radius: 2px;
}

.progress-line-fill {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 3px;
    background: linear-gradient(90deg, #2A3ACD 0%, #FF7300 100%);
    z-index: 1;
    transition: width 0.5s ease;
    border-radius: 2px;
}

/* Pricing Steps */
.pricing-step {
    display: none !important;
    animation: fadeIn 0.3s ease-in-out;
}

.pricing-step.active {
    display: block !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Plan Cards */
.plan-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card:hover {
    box-shadow: 0 4px 15px rgba(42, 58, 205, 0.12);
    transform: translateY(-2px);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.selected {
    border-width: 2px;
    background: white;
    box-shadow: 0 4px 20px rgba(42, 58, 205, 0.15);
    position: relative;
}

.plan-card.selected::before {
    opacity: 1;
}

.plan-card.selected::after {
    content: '✓ Selected';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    z-index: 10;
    animation: fadeInBounce 0.4s ease-out;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(0);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

/* Selected Plan Button Style */
.plan-card.selected .plan-select-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: white;
    font-weight: 700;
    pointer-events: none;
}

.plan-card.selected .plan-select-btn::before {
    content: '✓ ';
    margin-right: 4px;
}

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

.plan-title {
    font-size: 18px;
    font-weight: 700;
    color: #040510;
    margin: 0;
    font-family: "DM Serif Display", serif;
}

.plan-badge {
    background: #2A3ACD;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "DM Sans", sans-serif;
}

.plan-description {
    margin-bottom: 12px;
}

.plan-description p {
    color: #3E4E75;
    margin: 0;
    line-height: 1.4;
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    color: #3E4E75;
    font-size: 12px;
    font-family: "DM Sans", sans-serif;
}

.feature-list li i {
    margin-right: 6px;
    font-size: 11px;
}

/* Configuration Sections */
.config-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.config-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2A3ACD 0%, #FF7300 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.config-section:hover {
    box-shadow: 0 4px 15px rgba(42, 58, 205, 0.1);
    transform: translateY(-1px);
}

.config-section:hover::before {
    opacity: 1;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #040510;
    margin-bottom: 12px;
    font-family: "DM Serif Display", serif;
}

/* Billing Cards */
.billing-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: white;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.billing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2A3ACD 0%, #FF7300 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.billing-card:hover {
    border-color: #2A3ACD;
    box-shadow: 0 4px 15px rgba(42, 58, 205, 0.12);
    transform: translateY(-2px);
}

.billing-card:hover::before {
    opacity: 1;
}

.billing-card.selected {
    border: 2px solid #2A3ACD;
    background: white;
    box-shadow: 0 4px 20px rgba(42, 58, 205, 0.15);
}

.billing-card.selected::before {
    opacity: 1;
}

.billing-card.selected::after {
    content: '✓';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: #2A3ACD;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
}

.welcome-badge {
    position: absolute;
    top: -10px;
    left: 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #198754;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.monthly-badge {
    background: #0d6efd !important;
}

.monthly-savings {
    background: #e3f2fd !important;
    color: #1976d2 !important;
}

/* Total Price Section */
.total-price-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.total-price-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.total-price-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2A3ACD 0%, #FF7300 50%, #2A3ACD 100%);
}

.price-breakdown {
    max-width: 100%;
    margin: 0 auto;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(42, 58, 205, 0.08);
    transition: all 0.3s ease;
}

.price-item:hover {
    background: rgba(42, 58, 205, 0.03);
    margin: 0 -20px;
    padding: 12px 20px;
    border-radius: 8px;
}

.price-item.total {
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 2px solid #2A3ACD;
    font-weight: 700;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(42, 58, 205, 0.05) 0%, rgba(42, 58, 205, 0.02) 100%);
    margin: 0 -20px;
    padding: 20px;
    border-radius: 8px;
}

.price-label {
    font-weight: 600;
    color: #3E4E75;
    font-size: 15px;
}

.price-value {
    font-weight: 700;
    color: #212529;
    background: rgba(42, 58, 205, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(42, 58, 205, 0.15);
    font-size: 14px;
}

.price-item.total .price-value {
    color: #2A3ACD;
    font-size: 20px;
    background: linear-gradient(135deg, #2A3ACD 0%, #1e2a9a 100%);
    color: white;
    padding: 8px 16px;
    border: none;
    box-shadow: 0 4px 12px rgba(42, 58, 205, 0.3);
}

.price-separator {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #dee2e6;
}

.addon-price {
    color: #6c757d;
    font-style: italic;
}

/* Enhanced spacing and visual improvements */
.config-section {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.config-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.section-title {
    color: #2A3ACD;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2A3ACD 0%, #FF7300 100%);
    border-radius: 2px;
}

/* User Count Input Group */
.user-count-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    margin: 0 auto;
    gap: 0;
}

.count-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid rgba(42, 58, 205, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2A3ACD;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(42, 58, 205, 0.08);
}

.count-btn:hover {
    border-color: #2A3ACD;
    color: white;
    background: linear-gradient(135deg, #2A3ACD 0%, #1e2a9a 100%);
    box-shadow: 0 4px 12px rgba(42, 58, 205, 0.3);
    transform: translateY(-2px);
}

.count-btn:active {
    transform: scale(0.95);
}

.user-count-input {
    width: 85px;
    height: 48px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid rgba(42, 58, 205, 0.2);
    border-left: none;
    border-right: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    color: #2A3ACD;
    background: white;
}

.user-count-input:focus {
    border-color: #2A3ACD;
    box-shadow: none;
    z-index: 1;
    outline: none;
}

.user-count-input-group .count-btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.user-count-input-group .count-btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

@media (max-width: 768px) {
    .user-count-input-group {
        max-width: 180px;
    }

    .count-btn {
        width: 40px;
        height: 40px;
    }

    .user-count-input {
        width: 70px;
        height: 40px;
        font-size: 14px;
    }
}

/* Add-ons Styling */
.addons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.addon-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.addon-item:hover {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.addon-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.addon-description {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.addon-tier-select {
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.addon-tier-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.no-addons-message {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

@media (max-width: 768px) {
    .addon-item {
        padding: 12px;
    }

    .addon-title {
        font-size: 15px;
    }

    .addon-description {
        font-size: 13px;
    }
}

.billing-header {
    text-align: left;
    margin-bottom: 20px;
}

.billing-title {
    font-size: 16px;
    font-weight: 600;
    color: #040510;
    margin: 0 0 8px 0;
    font-family: "DM Serif Display", serif;
}

.billing-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
}

.price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #2A3ACD;
    margin-bottom: 4px;
    font-family: "DM Sans", sans-serif;
}

.price-period {
    font-size: 12px;
    color: #8A9BC2;
    font-weight: 400;
    font-family: "DM Sans", sans-serif;
}

.billing-features {
    margin-top: 16px;
}

.billing-features .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.billing-features .feature-list li {
    padding: 3px 0;
    color: #3E4E75;
    font-size: 12px;
    position: relative;
    padding-left: 14px;
    font-family: "DM Sans", sans-serif;
}

.billing-features .feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8A9BC2;
    font-weight: bold;
}

.billing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #0d6efd;
}

.price-period {
    font-size: 14px;
    color: #6c757d;
    margin-left: 4px;
}

.savings-badge {
    background: #198754;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.billing-description p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

/* Form Elements */
.form-select {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: #040510;
    font-weight: 400;
    font-family: "DM Sans", sans-serif;
}

.form-select:focus {
    border-color: #2A3ACD;
    box-shadow: 0 0 0 3px rgba(42, 58, 205, 0.1);
    outline: none;
}

.tier-pricing-info,
.addon-pricing-info {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #0d6efd;
}

/* Purchase Summary */
.purchase-summary {
    max-width: 500px;
    margin: 0 auto;
}

.summary-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.summary-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.summary-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.summary-content {
    padding: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.item-label {
    font-weight: 500;
    color: #495057;
}

.item-value {
    font-weight: 600;
    color: #212529;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-top: 16px;
    border-top: 2px solid #e9ecef;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.total-value {
    font-size: 24px;
    font-weight: 700;
    color: #0d6efd;
}

.summary-actions {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    gap: 12px;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 20px 0;
    margin-top: 30px;
    border-top: 1px solid #e9ecef;
    position: relative;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 15px;
    padding: 12px 24px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2A3ACD 0%, #1e2a9a 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(42, 58, 205, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e2a9a 0%, #2A3ACD 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 58, 205, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline-secondary {
    border: 2px solid #e9ecef;
    color: #6c757d;
    background: white;
}

.btn-outline-secondary:hover {
    border-color: #2A3ACD;
    background: #2A3ACD;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 58, 205, 0.3);
}

.btn-outline-secondary:active {
    transform: translateY(-1px);
}

.btn-outline-primary:hover {
    background: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .pricing-progress {
        padding: 0 20px;
    }

    .step-label {
        font-size: 12px;
    }

    .plan-card,
    .config-section {
        padding: 20px;
    }

    .billing-card {
        padding: 16px;
    }

    .price-amount {
        font-size: 24px;
    }

    .summary-actions {
        flex-direction: column;
    }

    .step-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .step-navigation .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .progress-line,
    .progress-line-fill {
        top: 18px;
        left: 18px;
        right: 18px;
    }

    .step-label {
        font-size: 11px;
    }

    .plan-title {
        font-size: 16px;
    }

    .billing-title {
        font-size: 16px;
    }

    .price-amount {
        font-size: 20px;
    }
}

/* Features Showcase Styles */
.features-showcase {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-category {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-category:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-category:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-category:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-category:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-category:nth-child(5) {
    animation-delay: 0.5s;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: width 0.3s ease;
}

.category-title:hover::after {
    width: 100%;
}

.feature-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
    transform: translateY(-4px);
}

.feature-card.premium-feature {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.feature-card.premium-feature:hover {
    border-color: #ffc107;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover .feature-icon::before {
    left: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card.premium-feature .feature-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #0d6efd;
}

.feature-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 16px;
}

.feature-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.feature-badge.all-plans {
    background: #d4edda;
    color: #155724;
}

.feature-badge.team-enterprise {
    background: #cce5ff;
    color: #004085;
}

.feature-badge.enterprise-only {
    background: #fff3cd;
    color: #856404;
}

.feature-card:hover .feature-badge {
    transform: scale(1.05);
}

/* AI Agents Individual Cards - Clean Design */

.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Upgrade Prompt Styles */
.upgrade-prompt {
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.upgrade-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border-radius: 16px;
    padding: 32px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.upgrade-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.upgrade-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.upgrade-icon {
    font-size: 48px;
    opacity: 0.9;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.upgrade-text {
    flex: 1;
    text-align: left;
    min-width: 300px;
}

.upgrade-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.upgrade-description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.5;
}

.upgrade-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.upgrade-feature {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.upgrade-feature:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.upgrade-action {
    flex-shrink: 0;
}

.upgrade-btn {
    background: white;
    color: #0d6efd;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upgrade-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.5s ease;
}

.upgrade-btn:hover::before {
    left: 100%;
}

.upgrade-btn:hover {
    background: #f8f9fa;
    color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsiveness for Features */
@media (max-width: 768px) {
    .features-showcase {
        padding: 24px;
        margin-top: 24px;
    }

    .feature-card {
        padding: 20px;
        margin-bottom: 16px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-description {
        font-size: 13px;
    }

    .upgrade-content {
        flex-direction: column;
        text-align: center;
    }

    .upgrade-text {
        text-align: center;
        min-width: auto;
    }

    .upgrade-features {
        justify-content: center;
    }

    .upgrade-title {
        font-size: 20px;
    }

    .upgrade-description {
        font-size: 14px;
    }

    .upgrade-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .features-showcase {
        padding: 16px;
    }

    .category-title {
        font-size: 18px;
    }

    .feature-card {
        padding: 16px;
    }

    .upgrade-card {
        padding: 24px 16px;
    }

    .upgrade-icon {
        font-size: 36px;
    }
}

/* Compact Billing Option Styles (Stacked Vertically) */
.billing-options-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.billing-option {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.billing-option:hover {
    border-color: #667eea;
    background: #ffffff;
    transform: translateX(2px);
}

.billing-option.selected {
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.save-badge-small {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.billing-option-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    text-align: left;
}

.billing-option.selected .billing-option-label {
    color: #667eea;
}

.billing-option-price {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    text-align: right;
}

.billing-option.selected .billing-option-price {
    color: #667eea;
}

/* Compact Form Controls for Configuration Section */
.config-section .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
}

.config-section .form-select {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    background-color: #f7fafc;
    transition: all 0.2s ease;
}

.config-section .form-select:focus {
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.config-section .form-select option {
    padding: 8px;
}

.config-section .text-danger,
.config-section .text-muted {
    font-size: 11px;
}

/* Responsive adjustments for billing options */
@media (max-width: 768px) {
    .billing-option {
        padding: 6px 10px;
    }

    .billing-option-label {
        font-size: 12px;
    }

    .billing-option-price {
        font-size: 14px;
    }

    .config-section .form-label {
        font-size: 11px;
    }

    .config-section .form-select {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Compact Billing Card Styles */
.billing-card-compact {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.billing-card-compact:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.billing-card-compact.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.save-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.billing-period-label {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.billing-card-compact.selected .billing-period-label {
    color: #667eea;
}

.billing-price-compact {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.billing-price-compact .price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
}

.billing-card-compact.selected .billing-price-compact .price-amount {
    color: #667eea;
}

.billing-price-compact .price-period {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

/* Responsive adjustments for compact billing cards */
@media (max-width: 768px) {
    .billing-card-compact {
        padding: 15px;
        min-height: 100px;
    }

    .billing-period-label {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .billing-price-compact .price-amount {
        font-size: 24px;
    }

    .billing-price-compact .price-period {
        font-size: 12px;
    }

    .save-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
}

/* Step 3 - Compact Purchase Summary Styles */
.summary-card-compact {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.summary-header-compact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.summary-content-compact {
    padding: 20px;
}

.summary-section {
    margin-bottom: 20px;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.summary-item-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f7fafc;
    border-radius: 6px;
    margin-bottom: 8px;
}

.summary-item-compact:last-child {
    margin-bottom: 0;
}

.item-label-compact {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.item-label-compact i {
    margin-right: 6px;
    color: #667eea;
    font-size: 12px;
}

.item-value-compact {
    font-size: 13px;
    color: #2d3748;
    font-weight: 600;
    text-align: right;
}

.summary-divider-compact {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 20px 0;
}

.price-breakdown {
    background: #f7fafc;
    border-radius: 8px;
    padding: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.price-label {
    color: #718096;
    font-weight: 500;
}

.price-value {
    color: #2d3748;
    font-weight: 600;
}

.price-item-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 0 0;
    margin-top: 12px;
    border-top: 2px solid #e2e8f0;
}

.price-label-total {
    color: #2d3748;
    font-weight: 700;
    font-size: 16px;
}

.price-label-total i {
    margin-right: 6px;
    color: #667eea;
}

.price-value-total {
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
}

/* Compact Price Breakdown Styles */
.price-breakdown-compact {
    background: transparent;
    padding: 0;
}

.price-item-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.price-label-compact {
    color: #718096;
    font-weight: 500;
    font-size: 13px;
}

.price-value-compact {
    color: #2d3748;
    font-weight: 600;
    font-size: 13px;
}

.price-divider-compact {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.price-item-total-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 0 0;
    margin-top: 4px;
}

.price-label-total-compact {
    color: #2d3748;
    font-weight: 700;
    font-size: 15px;
}

.price-label-total-compact i {
    margin-right: 4px;
    color: #667eea;
    font-size: 14px;
}

.price-value-total-compact {
    color: #667eea;
    font-weight: 700;
    font-size: 17px;
}

.summary-actions-compact {
    padding: 15px 20px;
    background: #f7fafc;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.summary-actions-compact .btn {
    flex: 1;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive adjustments for compact summary */
@media (max-width: 768px) {
    .summary-header-compact {
        padding: 12px 15px;
        font-size: 16px;
    }

    .summary-content-compact {
        padding: 15px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .summary-item-compact {
        padding: 6px 10px;
    }

    .item-label-compact,
    .item-value-compact {
        font-size: 12px;
    }

    .price-breakdown {
        padding: 12px;
    }

    .price-item {
        font-size: 13px;
    }

    .price-label-total {
        font-size: 14px;
    }

    .price-value-total {
        font-size: 16px;
    }

    .summary-actions-compact {
        flex-direction: column;
        padding: 12px 15px;
    }

    .summary-actions-compact .btn {
        width: 100%;
    }
}

/* Step 3 - Modern Purchase Summary Styles */
.summary-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(42, 58, 205, 0.12);
    overflow: hidden;
    border: 2px solid rgba(42, 58, 205, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.summary-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2A3ACD 0%, #FF7300 25%, #2A3ACD 50%, #FF7300 75%, #2A3ACD 100%);
    z-index: 1;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.summary-card-modern:hover {
    box-shadow: 0 8px 30px rgba(42, 58, 205, 0.15);
    transform: translateY(-3px);
    border-color: rgba(42, 58, 205, 0.2);
}

.summary-header-modern {
    background: linear-gradient(135deg, #2A3ACD 0%, #1e2a9a 50%, #FF7300 100%);
    color: white;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.summary-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.summary-header-modern h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    color: white;
    font-family: "DM Serif Display", serif;
}

.summary-content-modern {
    padding: 24px;
    background: #f9f9fd;
    position: relative;
}

.summary-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.summary-item-modern:last-child {
    border-bottom: none;
}

.summary-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-icon {
    width: 30px;
    height: 30px;
    background: #2A3ACD;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.item-label {
    font-weight: 500;
    color: #040510;
    font-size: 14px;
    font-family: "DM Sans", sans-serif;
}

.item-value {
    font-weight: 600;
    color: #2A3ACD;
    font-size: 14px;
    background: rgba(42, 58, 205, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: "DM Sans", sans-serif;
    transition: all 0.3s ease;
}

.summary-divider {
    height: 1px;
    background: #e9ecef;
    margin: 16px 0;
}

.summary-total-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-top: 8px;
    position: relative;
}

.total-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.total-icon {
    width: 30px;
    height: 30px;
    background: #2A3ACD;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
    color: #040510;
    font-family: "DM Serif Display", serif;
}

.total-value {
    font-size: 24px;
    font-weight: 700;
    color: #2A3ACD;
    font-family: "DM Sans", sans-serif;
}

.summary-actions-modern {
    padding: 20px 24px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-top: 1px solid #e9ecef;
}

.summary-actions-modern .btn {
    flex: 1;
}

/* Responsive Design for Step 3 */
@media (max-width: 768px) {
    .summary-card-modern {
        margin: 1rem;
        border-radius: 24px;
    }

    .summary-header-modern {
        padding: 40px 30px;
    }

    .summary-header-modern h4 {
        font-size: 2rem;
    }

    .summary-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .summary-content-modern {
        padding: 40px 30px;
    }

    .summary-item-modern {
        padding: 25px 0;
    }

    .summary-item-modern:hover {
        margin: 0 -30px;
        padding: 25px 30px;
    }

    .item-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .item-label {
        font-size: 1rem;
    }

    .item-value {
        font-size: 1.1rem;
        padding: 10px 20px;
    }

    .summary-total-modern {
        margin: 0 -30px -40px -30px;
        padding: 35px 30px 40px 30px;
    }

    .total-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .total-label {
        font-size: 1.3rem;
    }

    .total-value {
        font-size: 2rem;
    }

    .summary-actions-modern {
        padding: 0 30px 30px;
        flex-direction: column;
        gap: 20px;
    }

    .summary-actions-modern .btn {
        width: 100%;
        padding: 20px 30px;
        font-size: 1.1rem;
    }
}

.btn-proceed::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-proceed:hover::before {
    left: 100%;
}

.btn-proceed:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(42, 58, 205, 0.4);
    background: #1e2a9a;
}

.btn-proceed:active {
    transform: translateY(0);
}

/* Responsive Design for Step 3 */
@media (max-width: 768px) {
    .summary-content-modern {
        padding: 30px 20px;
    }

    .summary-item-modern:hover {
        margin: 0 -20px;
        padding: 20px 20px;
    }

    .summary-total-modern {
        margin: 0 -20px -30px -20px;
        padding: 25px 20px 30px 20px;
    }

    .summary-actions-modern {
        padding: 0 20px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .summary-actions-modern .btn {
        width: 100%;
    }

    .total-value {
        font-size: 1.6rem;
    }
}

/* Step 2 - Customer Details Form Styles (Compact & Sleek) */
.customer-details-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.form-section-modern {
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.form-section-modern:hover {
    background: #ffffff;
    border-color: #cbd5e0;
}

.form-section-title {
    color: #2d3748;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.form-section-title i {
    font-size: 16px;
    color: #667eea;
}

.customer-details-form .form-group {
    margin-bottom: 1rem;
}

.customer-details-form .form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
    font-size: 13px;
}

.customer-details-form .required {
    color: #e53e3e;
    font-weight: 700;
}

.customer-details-form .form-control,
.customer-details-form .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.customer-details-form .form-control:focus,
.customer-details-form .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.customer-details-form .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e0;
    margin-top: 0.15rem;
    cursor: pointer;
}

.customer-details-form .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.customer-details-form .form-check-label {
    margin-left: 8px;
    color: #4a5568;
    font-size: 13px;
}

.customer-details-form .form-check-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.customer-details-form .form-check-label a:hover {
    text-decoration: underline;
}

.customer-details-form .invalid-feedback {
    display: none;
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
}

.customer-details-form .form-control.is-invalid,
.customer-details-form .form-select.is-invalid {
    border-color: #e53e3e;
}

.customer-details-form .form-control.is-invalid~.invalid-feedback,
.customer-details-form .form-select.is-invalid~.invalid-feedback,
.customer-details-form .form-check-input.is-invalid~.invalid-feedback {
    display: block;
}

@media (max-width: 768px) {
    .customer-details-form {
        padding: 16px;
    }

    .form-section-modern {
        padding: 16px;
    }

    .form-section-title {
        font-size: 14px;
    }
}

/* Step 5 - Stripe Payment Element Styles */
.payment-container-step5 {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.payment-container-step5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2A3ACD 0%, #FF7300 100%);
}

.payment-method-section-step5 {
    padding: 32px;
    background: white;
    border-radius: 10px;
    position: relative;
}

.payment-method-section-step5 h5 {
    font-family: "DM Serif Display", serif;
    font-size: 18px;
    font-weight: 600;
    color: #040510;
    margin-bottom: 12px;
}

.payment-method-section-step5 p {
    font-family: "DM Sans", sans-serif;
    color: #3E4E75;
    font-size: 14px;
}

.payment-methods-info-step5 {
    background: rgba(42, 58, 205, 0.05);
    border: 1px solid rgba(42, 58, 205, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
}

.payment-methods-info-step5 small {
    color: #8A9BC2;
    font-size: 12px;
    line-height: 1.5;
    font-family: "DM Sans", sans-serif;
}

.payment-element-container-step5 {
    min-height: 60px;
    padding: 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.payment-element-container-step5:focus-within {
    border-color: #2A3ACD;
    box-shadow: 0 0 0 3px rgba(42, 58, 205, 0.1);
}

.error-message-step5 {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    margin-top: 8px;
}

.error-message-step5:empty {
    display: none;
}

.security-badges-step5 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 12px;
    background: rgba(42, 58, 205, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(42, 58, 205, 0.1);
}

.security-badge-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 12px;
    color: #8A9BC2;
    font-weight: 400;
    font-family: "DM Sans", sans-serif;
}

@media (max-width: 768px) {
    .payment-method-section-step5 {
        padding: 24px;
    }

    .payment-method-section-step5 h5 {
        font-size: 1.5rem;
    }

    .security-badges-step5 {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Tier Selection Dropdown Styles */
#user-tier-select {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background-color: #ffffff;
    color: #040510;
    transition: all 0.3s ease;
    cursor: pointer;
}

#user-tier-select:focus {
    border-color: #2A3ACD;
    box-shadow: 0 0 0 4px rgba(42, 58, 205, 0.1);
    outline: none;
}

#user-tier-select option:disabled {
    color: #9ca3af;
    font-style: italic;
}

/* Allocation Display Styles */
#allocation-display {
    margin-top: 20px;
}

#allocation-display .form-control[readonly] {
    background-color: #f3f4f6;
    border: 2px solid #e5e7eb;
    color: #040510;
    font-weight: 600;
    cursor: not-allowed;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: "DM Sans", sans-serif;
}

#allocation-display .form-label {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #040510;
    margin-bottom: 8px;
}

/* Updated Addon Section Styles */
.config-section .row.g-3 {
    margin-top: 0;
}

.config-section .form-select {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background-color: #ffffff;
    color: #040510;
    transition: all 0.3s ease;
}

.config-section .form-select:focus {
    border-color: #2A3ACD;
    box-shadow: 0 0 0 4px rgba(42, 58, 205, 0.1);
    outline: none;
}

.config-section .form-label {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #040510;
    margin-bottom: 8px;
}

/* Updated Price Breakdown Styles */
.price-breakdown .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.price-breakdown .price-item .price-label {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: #3E4E75;
    font-weight: 500;
}

.price-breakdown .price-item .price-value {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #040510;
    font-weight: 600;
}

.price-breakdown .price-item.total {
    border-top: 2px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 8px;
}

.price-breakdown .price-item.total .price-label {
    font-size: 16px;
    font-weight: 700;
    color: #040510;
}

.price-breakdown .price-item.total .price-value {
    font-size: 20px;
    font-weight: 700;
    color: #2A3ACD;
}

/* Responsive Design for Allocation Display */
@media (max-width: 768px) {
    #allocation-display .row.g-3 {
        gap: 1rem !important;
    }

    #user-tier-select,
    .config-section .form-select {
        font-size: 14px;
        padding: 10px 14px;
    }

    #allocation-display .form-control[readonly] {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* Allocation Info Section Styles */
.allocation-info-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 10px;
}

.allocation-info-header {
    display: flex;
    align-items: center;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2A3ACD;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.allocation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.allocation-item:hover {
    border-color: #2A3ACD;
    box-shadow: 0 2px 8px rgba(42, 58, 205, 0.1);
    transform: translateY(-2px);
}

.allocation-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2A3ACD 0%, #5B6CFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.allocation-details {
    flex: 1;
}

.allocation-label {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #8A9BC2;
    margin-bottom: 4px;
}

.allocation-value {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #040510;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .allocation-info-section {
        padding: 16px;
    }

    .allocation-item {
        padding: 12px;
    }

    .allocation-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .allocation-value {
        font-size: 16px;
    }
}

/* Plan Summary Card Styles */
.plan-summary-card {
    background: linear-gradient(135deg, #2A3ACD 0%, #5B6CFF 100%);
    border-radius: 10px;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(42, 58, 205, 0.15);
    overflow: hidden;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.summary-title {
    flex: 1;
    margin-left: 12px;
}

.summary-title h5 {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.summary-title p {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 2px 0 0;
}

.summary-price {
    text-align: right;
}

.summary-price .price-label {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-price .price-amount {
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.summary-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1px;
}

.summary-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.summary-detail-item:hover {
    background: white;
    transform: translateY(-2px);
}

.summary-detail-item .detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2A3ACD;
    font-size: 16px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #8A9BC2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.detail-value {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #040510;
    line-height: 1.2;
}

/* Responsive Design for Summary Card */
@media (max-width: 992px) {
    .summary-details {
        grid-template-columns: 1fr;
    }

    .summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .summary-price {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .summary-header {
        padding: 12px 16px;
    }

    .summary-detail-item {
        padding: 12px;
    }

    .summary-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .summary-title h5 {
        font-size: 14px;
    }

    .summary-price .price-amount {
        font-size: 20px;
    }

    .detail-value {
        font-size: 13px;
    }
}