/* Premium Quote Card Container - Enhanced Layout */
.premium-quote-card {
    background: #ffffff;
    border: 2px solid rgba(214, 0, 156, 0.12);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 6px 20px rgba(214, 0, 156, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-quote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(214, 0, 156, 0.12);
}

.premium-quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d6009c 0%, #ef97c0 100%);
}

.quote-card-header {
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(214, 0, 156, 0.08);
    flex-shrink: 0;
}

.quote-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.quote-card-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Widget Form Styles - Elegant & Premium */
.widget__form {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.widget__step {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(90deg, transparent 0%, rgba(214, 0, 156, 0.15) 50%, transparent 100%) border-box;
    border-image-slice: 1;
    border-width: 0 0 2px 0;
    border-style: solid;
    transition: all 0.3s ease;
}

.widget__step:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget__step:hover {
    transform: translateY(-2px);
}

.widget__step-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-charcoal);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, rgba(214, 0, 156, 0.04) 0%, rgba(239, 151, 192, 0.06) 100%);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-pink);
    box-shadow: 0 2px 8px rgba(214, 0, 156, 0.08);
}

.widget__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--light-pink) 100%);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(214, 0, 156, 0.3);
    position: relative;
    overflow: hidden;
}

.widget__step-num::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 50%;
}

/* Chips - Elegant Selection */
.widget__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.chip {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1.5px solid #e5e5e5;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

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

.chip:hover span {
    background: #fafafa;
    border-color: var(--light-pink);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(214, 0, 156, 0.12);
}

.chip:hover span::before {
    left: 100%;
}

.chip input[type="radio"]:checked + span {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--light-pink) 100%);
    border-color: var(--primary-pink);
    color: white;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(214, 0, 156, 0.25);
    transform: translateY(-1px);
}

/* Stepper - Premium Controls */
.widget__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.widget__field {
    display: flex;
    flex-direction: column;
}

.widget__field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
    letter-spacing: 0.01em;
}

.widget__stepper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 0.625rem;
    border: 1px solid #e5e5e5;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.stepper-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.stepper-btn:hover {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--light-pink) 100%);
    border-color: var(--primary-pink);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(214, 0, 156, 0.2);
}

.stepper-btn:active {
    transform: translateY(0) scale(0.95);
}

.widget__stepper input[type="number"] {
    flex: 1;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-pink);
    background: white;
    border: none;
    outline: none;
    padding: 0.375rem;
    border-radius: 4px;
    min-width: 45px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.widget__stepper input[type="number"]::-webkit-outer-spin-button,
.widget__stepper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Contact Row - Elegant Inputs */
.widget__contact-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.widget__field--full {
    grid-column: 1 / -1;
}

.widget__field input[type="text"],
.widget__field input[type="email"],
.widget__field input[type="tel"],
.widget__field input[type="date"],
.widget__field input,
.widget__field select,
.widget__field textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: var(--font-primary);
}

.widget__field input::placeholder,
.widget__field textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.widget__field input:hover,
.widget__field select:hover,
.widget__field textarea:hover {
    border-color: var(--light-pink);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.widget__field input:focus,
.widget__field select:focus,
.widget__field textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(214, 0, 156, 0.1), 0 6px 16px rgba(214, 0, 156, 0.15);
    transform: translateY(-2px);
    background: #ffffff;
}

.widget__field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23d6009c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.widget__field textarea {
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
    line-height: 1.6;
}

/* Submit Row - Premium CTA */
.widget__submit-row {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(214, 0, 156, 0.08);
}

/* Premium CTA Button */
.btn-premium-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--light-pink) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 1.1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(214, 0, 156, 0.3), 0 4px 12px rgba(214, 0, 156, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

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

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

.btn-premium-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px rgba(214, 0, 156, 0.4), 0 8px 16px rgba(214, 0, 156, 0.25);
}

.btn-premium-cta:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-premium-cta .arrow {
    transition: transform 0.3s ease;
}

.btn-premium-cta:hover .arrow {
    transform: translateX(4px);
}

/* Trust Badges */
.form-trust-badges {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(214, 0, 156, 0.03) 0%, rgba(239, 151, 192, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(214, 0, 156, 0.08);
}

.form-trust-badges li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-trust-badges svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
}

/* Success Message - Elegant Confirmation */
.widget__success {
    text-align: center;
    padding: 3.5rem 2.5rem;
    background: linear-gradient(135deg, #fef3f8 0%, #fce7f3 100%);
    border-radius: 16px;
    border: 2px solid rgba(214, 0, 156, 0.1);
    box-shadow: 0 10px 30px rgba(214, 0, 156, 0.15);
    animation: successFadeIn 0.5s ease-out;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.widget__success svg {
    margin: 0 auto 1.5rem;
    stroke: var(--primary-pink);
    animation: checkmarkDraw 0.6s ease-out 0.2s both;
}

@keyframes checkmarkDraw {
    from {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }
    to {
        stroke-dasharray: 100;
        stroke-dashoffset: 0;
    }
}

.widget__success strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-pink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.widget__success p {
    color: var(--text-medium);
    margin-bottom: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* Quote Hero Grid - Form Only */
.quote-hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

/* Phone Visual - Removed */
.phone-device {
    display: none;
}

.phone-notch {
    display: none;
}

.phone-screen {
    display: none;
}

.phone-call-icon {
    display: none;
}

.phone-logo-img {
    display: none;
}

.phone-caller-name {
    display: none;
}

.phone-caller-label {
    display: none;
}

.phone-actions {
    display: none;
}

.phone-action-btn {
    display: none;
}

.phone-action-circle {
    display: none;
}

.phone-action-label {
    display: none;
}

.phone-bottom-bar {
    display: none;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .premium-quote-card {
        max-width: 800px;
        padding: 2.5rem;
    }
}

/* Responsive - Mobile Elegance */
@media (max-width: 768px) {
    .premium-quote-card {
        padding: 2rem;
        border-radius: 20px;
        width: 100%;
        max-width: none;
        min-height: auto;
    }
    
    .quote-hero-grid {
        padding: 1rem 0;
    }
    
    .quote-card-title {
        font-size: 1.5rem;
    }
    
    .widget__form {
        padding: 0;
    }
    
    .quote-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .phone-device {
        width: 240px;
        height: 480px;
    }
    
    .quote-form-side {
        order: 1;
    }
    
    .quote-phone-side {
        order: 2;
    }
    
    .widget__chips {
        gap: 0.625rem;
    }
    
    .chip span {
        padding: 0.625rem 1.125rem;
        font-size: 0.875rem;
    }
    
    .widget__row,
    .widget__contact-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .widget__step-label {
        font-size: 1.125rem;
    }
    
    .widget__step-num {
        width: 36px;
        height: 36px;
        font-size: 0.9375rem;
    }
    
    .widget__step {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .widget__submit {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .widget__form {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }
    
    .widget__step {
        margin-bottom: 1.75rem;
        padding-bottom: 1.75rem;
    }
    
    .widget__step-label {
        font-size: 1rem;
        gap: 0.75rem;
    }
    
    .chip span {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .stepper-btn {
        width: 36px;
        height: 36px;
    }
    
    .widget__submit {
        padding: 0.875rem 1.5rem;
    }
    
    .widget__success {
        padding: 2.5rem 1.5rem;
    }
}
