/* Multi Quote Builder - Enhanced Frontend Styles */
.mqb-quote-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ============================================
   STEP TRANSITIONS
   ============================================ */
.mqb-quote-step {
    display: none;
    animation: fadeInSlide 0.4s ease-out;
}

.mqb-quote-step.active {
    display: block;
}

@keyframes fadeInSlide {
    from { 
        opacity: 0; 
        transform: translateX(20px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.mqb-quote-form h2 {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.mqb-form-description {
    color: #666;
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
}

.mqb-quote-step h3 {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.mqb-step-subtitle {
    color: #666;
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
}

/* ============================================
   ENHANCED PROGRESS BAR
   ============================================ */
.mqb-progress-container {
    background: #f5f5f5;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.mqb-progress-bar {
    position: relative;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin: 40px 0;
}

.mqb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20%;
    position: relative;
}

.mqb-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mqb-progress-steps {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
}

.mqb-step-indicator {
    width: 30px;
    height: 30px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mqb-step-indicator.active {
    background: #14b8a6;
    color: white;
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.mqb-step-indicator.completed {
    background: #4caf50;
    color: white;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* ============================================
   ENHANCED OPTION CARDS
   ============================================ */
.mqb-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.mqb-option-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mqb-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(33, 150, 243, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mqb-option-card:hover {
    border-color: #14b8a6;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.2);
}

.mqb-option-card:hover::before {
    opacity: 1;
}

.mqb-option-card.selected {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border-color: #0d9488;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.4);
}

.mqb-option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    animation: checkmark 0.3s ease-out;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.mqb-option-card.selecting {
    animation: pulse 0.4s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.98); }
}

.mqb-option-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.mqb-option-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: inherit;
    font-weight: 600;
}

.mqb-option-description {
    font-size: 16px;
    color: inherit;
    opacity: 0.9;
}

/* ============================================
   ENHANCED CONTACT FORM
   ============================================ */
.mqb-contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.mqb-form-field {
    margin-bottom: 24px;
    position: relative;
}

.mqb-form-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #14b8a6;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mqb-required {
    color: #14b8a6;
    font-weight: bold;
    margin-left: 4px;
}

.mqb-input,
.mqb-contact-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    font-family: inherit;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-weight: 500;
}

.mqb-input:focus,
.mqb-contact-input:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.15);
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    transform: translateY(-2px);
}

.mqb-input.error,
.mqb-contact-input.error {
    border-color: #d32f2f;
    background: #fff5f5;
}

.mqb-input.error:focus,
.mqb-contact-input.error:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.mqb-error-message {
    color: #d32f2f;
    font-size: 13px;
    display: block;
    margin-top: 6px;
    animation: slideDown 0.3s ease;
}

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

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

textarea.mqb-input {
    min-height: 120px;
    resize: vertical;
}

select.mqb-input {
    cursor: pointer;
}

/* ============================================
   ENHANCED BUTTONS
   ============================================ */
.mqb-next-button,
.mqb-submit-button,
.mqb-btn {
    background: #61ce70;
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(97, 206, 112, 0.3);
    text-transform: none;
    letter-spacing: 0;
    font-family: inherit;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.mqb-next-button::before,
.mqb-submit-button::before,
.mqb-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.mqb-next-button:hover::before,
.mqb-submit-button:hover::before,
.mqb-btn:hover::before {
    width: 300px;
    height: 300px;
}

.mqb-next-button:hover,
.mqb-submit-button:hover,
.mqb-btn:hover {
    background: #4caf50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.mqb-next-button:active,
.mqb-submit-button:active,
.mqb-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(97, 206, 112, 0.3);
}

.mqb-next-button:disabled,
.mqb-submit-button:disabled,
.mqb-btn:disabled {
    background: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mqb-back-button {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: inline-block;
}

.mqb-back-button:hover {
    background: #f5f5f5;
    border-color: #14b8a6;
    color: #14b8a6;
}

.mqb-btn-primary {
    background: #14b8a6;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.mqb-btn-primary:hover {
    background: #0d9488;
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.mqb-btn-secondary {
    background: #fff;
    color: #666;
    border: 2px solid #e0e0e0;
    box-shadow: none;
}

.mqb-btn-secondary:hover {
    background: #f5f5f5;
    border-color: #14b8a6;
    color: #14b8a6;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.mqb-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: fadeIn 0.3s ease;
}

.mqb-loading-content {
    background: white;
    padding: 40px 60px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mqb-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #14b8a6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mqb-loading-message {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* ============================================
   RESTORE NOTICE
   ============================================ */
.mqb-restore-notice {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #14b8a6;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    text-align: center;
    animation: slideDown 0.5s ease;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.mqb-restore-notice p {
    margin: 0 0 16px 0;
    color: #0d9488;
}

.mqb-restore-notice p:first-child {
    font-size: 18px;
    margin-bottom: 8px;
}

.mqb-restore-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.mqb-restore-buttons .mqb-btn {
    width: auto;
    padding: 12px 28px;
}

/* ============================================
   ERROR NOTICE
   ============================================ */
.mqb-error-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    color: #856404;
    animation: slideDown 0.4s ease;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.mqb-error-notice strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

/* ============================================
   SUCCESS PAGE - UNIFIED PROFESSIONAL DESIGN
   Color Palette: Purple primary (#6366f1), Teal accent (#14b8a6), Neutral grays
   ============================================ */
.success-message {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 24px;
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: visible;
    border: 2px solid #e8e8e8;
}

/* Removed top border - cleaner success message */

.success-message > * {
    position: relative;
    z-index: 1;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: successIconBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successIconBounce {
    0% { 
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-message h2 {
    color: #14b8a6;
    margin-bottom: 16px;
    font-size: 42px;
    font-weight: 700;
    animation: slideInDown 0.6s ease 0.2s both;
}

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

.success-message .subtitle {
    color: #333;
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 500;
    animation: slideInDown 0.6s ease 0.4s both;
    line-height: 1.5;
}

.success-message-text {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
    animation: slideInDown 0.6s ease 0.6s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    opacity: 0;
    animation: confettiFall 3s ease-out infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(500px) rotate(360deg);
        opacity: 0;
    }
}

/* ============================================
   QUOTE SUMMARY - ENHANCED & STYLED TO MATCH
   ============================================ */
.quote-summary {
    background: white;
    border-radius: 20px;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid #e8e8e8;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease 0.8s both;
    transition: all 0.3s ease;
}

.quote-summary:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.quote-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
}

.quote-summary h3 {
    color: #14b8a6;
    margin: 0 0 30px 0;
    padding: 40px 40px 15px 40px;
    background: white;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    position: relative;
}

.quote-summary h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 2px;
}

.quote-summary h3::before {
    content: '📋';
    margin-right: 12px;
    font-size: 32px;
    vertical-align: middle;
}

.quote-details {
    padding: 40px;
}

#quote-details,
#mqb-summary-content {
    font-size: 16px;
    line-height: 1.8;
}

#quote-details p,
#mqb-summary-content p {
    margin: 12px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #14b8a6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e8e8e8;
    border-left: 4px solid #14b8a6;
    list-style: none;
}

#quote-details p::before,
#mqb-summary-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: rgba(20, 184, 166, 0.08);
    transition: width 0.3s ease;
}

#quote-details p:hover,
#mqb-summary-content p:hover {
    background: white;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.15);
    border-left-color: #0d9488;
}

#quote-details p:hover::before,
#mqb-summary-content p:hover::before {
    width: 100%;
}

#quote-details strong,
#mqb-summary-content strong {
    color: #14b8a6;
    min-width: 140px;
    display: inline-block;
    font-weight: 700;
    position: relative;
    z-index: 1;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Removed separator dots - cleaner appearance */

#quote-details p span,
#mqb-summary-content p span {
    color: #1a1a1a;
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-size: 15px;
}

/* ============================================
   CALL-TO-ACTION BUTTON - MATCHES PRICE MATCH BUTTON
   ============================================ */
.mqb-cta-section {
    margin: 30px 0;
    text-align: center;
}

.mqb-cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mqb-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.mqb-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.mqb-cta-button:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(20, 184, 166, 0.4);
    color: white !important;
    text-decoration: none;
}

.mqb-cta-button:active {
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Responsive CTA Button */
@media (max-width: 768px) {
    .mqb-cta-button {
        padding: 16px 40px;
        font-size: 16px;
        width: auto;
        max-width: 90%;
    }
}

/* ============================================
   PRODUCT DISPLAY - ENHANCED
   ============================================ */
.product-display {
    margin: 30px 0;
}

.recommended-product-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    border: none;
    text-align: center;
    animation: productFadeIn 0.8s ease 1s both;
    position: relative;
    overflow: hidden;
}

.recommended-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
}

@keyframes productFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recommended-product-card h3 {
    color: #14b8a6;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 20px;
}

.product-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 25px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}

.product-name {
    color: #1a1a1a;
    font-size: 32px;
    margin: 25px 0;
    font-weight: 800;
    line-height: 1.3;
}

.product-price {
    font-size: 48px;
    color: #14b8a6;
    font-weight: 800;
    margin: 30px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    border-radius: 16px;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.2);
    position: relative;
    border: 2px solid #99f6e4;
}

.price-disclaimer {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    margin-top: 12px;
    font-style: italic;
    line-height: 1.5;
    display: block;
}

.product-description {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid #f0f0f0;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    display: grid;
    gap: 12px;
}

.product-features li {
    padding: 16px 20px 16px 56px;
    margin: 0;
    background: white;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    border: 2px solid #e6fffa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.product-features li:hover {
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    border-color: #14b8a6;
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.2);
}

/* ============================================
   PRICE MATCH & OTHER SECTIONS
   ============================================ */
.price-match-section,
.next-steps-section,
.contact-info-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    animation: slideInUp 0.6s ease;
    animation-fill-mode: both;
}

.price-match-section {
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation-delay: 1.2s;
}

.price-match-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
}

.price-match-section h3 {
    color: #14b8a6;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    position: relative;
}

.price-match-section h3::before {
    content: '🏆';
    display: block;
    font-size: 40px;
    margin-bottom: 10px;
}

.price-match-content {
    color: #666;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.price-match-call-button {
    display: inline-block;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.price-match-call-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.price-match-call-button:hover::before {
    width: 300px;
    height: 300px;
}

.price-match-call-button:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(20, 184, 166, 0.4);
    color: white;
    text-decoration: none;
}

.price-match-call-button .phone-icon {
    font-size: 22px;
    margin-right: 10px;
    display: inline-block;
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.next-steps-section {
    text-align: left;
    position: relative;
    animation-delay: 1.4s;
}

.next-steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
}

.next-steps-section h3 {
    color: #14b8a6;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.next-steps-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 2px;
}

.next-steps-content {
    color: #666;
    font-size: 16px;
    line-height: 1.9;
}

.next-steps-content ol {
    padding-left: 0;
    margin: 20px 0;
    counter-reset: step-counter;
    list-style: none;
}

.next-steps-content ol li {
    margin: 16px 0;
    padding: 18px 20px 18px 70px;
    line-height: 1.7;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    position: relative;
    counter-increment: step-counter;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.next-steps-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.next-steps-content ol li:hover {
    background: white;
    border-color: #14b8a6;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.15);
}

.next-steps-content ul {
    list-style: none;
    padding-left: 0;
}

.next-steps-content ul li {
    padding: 16px 20px 16px 56px;
    margin: 12px 0;
    background: white;
    border-radius: 12px;
    border: 2px solid #e3f2fd;
    transition: all 0.3s ease;
    position: relative;
}

.next-steps-content ul li::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.next-steps-content ul li:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-color: #14b8a6;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.15);
}

.contact-info-section {
    position: relative;
    animation-delay: 1.6s;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
}

.contact-info-section h3 {
    color: #14b8a6;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 2px;
}

.contact-info-content p {
    margin: 16px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #14b8a6;
    transition: all 0.3s ease;
}

.contact-info-content p:hover {
    background: white;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.15);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .mqb-quote-form {
        padding: 15px;
    }

    .mqb-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mqb-option-card {
        padding: 24px 20px;
    }

    .mqb-quote-form h2,
    .mqb-quote-step h3 {
        font-size: 26px;
    }

    .mqb-form-description,
    .mqb-step-subtitle {
        font-size: 16px;
    }

    /* Success Page Mobile */
    .success-message {
        padding: 40px 25px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-bottom: 20px;
    }

    .success-message h2 {
        font-size: 32px;
    }

    .success-message .subtitle {
        font-size: 18px;
    }

    .success-message-text {
        font-size: 16px;
    }

    /* Sections Mobile */
    .quote-summary,
    .recommended-product-card,
    .price-match-section,
    .next-steps-section,
    .contact-info-section {
        padding: 30px 20px;
        margin: 20px 0;
    }

    .quote-summary h3,
    .recommended-product-card h3,
    .price-match-section h3,
    .next-steps-section h3,
    .contact-info-section h3 {
        font-size: 22px;
        padding: 24px 20px;
    }

    /* Product Mobile */
    .product-name {
        font-size: 26px;
    }

    .product-price {
        font-size: 36px;
        padding: 20px 28px;
    }

    .product-features li {
        padding: 14px 16px 14px 52px;
        font-size: 15px;
    }

    .product-features li::before {
        width: 26px;
        height: 26px;
        left: 14px;
        font-size: 13px;
    }

    /* Next Steps Mobile */
    .next-steps-content ol li {
        padding: 16px 16px 16px 60px;
    }

    .next-steps-content ol li::before {
        width: 32px;
        height: 32px;
        left: 14px;
        font-size: 14px;
    }

    .next-steps-content ul li {
        padding: 14px 16px 14px 52px;
    }

    .next-steps-content ul li::before {
        width: 26px;
        height: 26px;
        left: 14px;
    }

    /* Price Match Mobile */
    .price-match-section h3::before {
        font-size: 36px;
    }

    .price-match-call-button {
        padding: 16px 40px;
        font-size: 16px;
    }

    /* Utility Mobile */
    .mqb-restore-buttons {
        flex-direction: column;
    }

    .mqb-restore-buttons .mqb-btn {
        width: 100%;
    }

    .mqb-loading-content {
        padding: 30px 30px;
    }

    /* Prevent zoom on input focus (iOS) */
    .mqb-input,
    .mqb-contact-input {
        font-size: 16px !important;
    }

    /* Larger touch targets for mobile */
    .mqb-option-card {
        min-height: 140px;
    }

    .mqb-next-button,
    .mqb-submit-button,
    .mqb-btn {
        padding: 18px 40px;
        font-size: 18px;
    }

    .mqb-back-button {
        padding: 14px 28px;
        font-size: 16px;
    }

    /* Summary Items Mobile */
    #quote-details p,
    #mqb-summary-content p {
        padding: 14px 16px;
    }

    #quote-details strong,
    #mqb-summary-content strong {
        display: block;
        margin-bottom: 6px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .mqb-step-indicator {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .mqb-option-icon {
        font-size: 40px;
    }

    .mqb-option-title {
        font-size: 18px;
    }

    .mqb-option-description {
        font-size: 14px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.mqb-option-card:focus,
.mqb-input:focus,
.mqb-next-button:focus,
.mqb-submit-button:focus,
.mqb-btn:focus,
.mqb-back-button:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mqb-option-card {
        border-width: 3px;
    }

    .mqb-option-card.selected {
        border-width: 4px;
    }

    .mqb-input,
    .mqb-contact-input {
        border-width: 3px;
    }
}
