* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow: hidden; /* Prevent background scrolling */
    margin: 0;
    padding: 0;
}

.hero-container, .slide {
    min-height: 100vh;
    background: #FAF9F6;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    box-sizing: border-box;
}

.slide {
    z-index: 10;
    display: none; /* Hide all slides by default */
}

.hero-container {
    z-index: 5;
    display: flex; /* Show hero by default */
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 2px 10px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    max-width: 520px;
    width: 100%;
    animation: slideUp 0.6s ease-out;
    position: relative;
    overflow: visible;
    margin: auto;
    margin-top: max(20px, calc(50vh - 400px));
    margin-bottom: 80px;
    flex-shrink: 0;
}

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

.form-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.form-header h1 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-header .subtitle {
    color: #666;
    font-size: 16px;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    background: #0052ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
}

.trust-badge-text {
    font-size: 12px;
    color: #495057;
    font-weight: 500;
    line-height: 1.3;
}

.rating-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 16px 0;
}

.stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.star {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star svg {
    width: 100%;
    height: 100%;
}

.rating-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.zip-input {
    width: 100%;
    padding: 16px 50px 16px 16px;
    font-size: 16px;
    border: 2px solid #e1e8ed;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
    color: #333;
}

.zip-input::placeholder {
    color: #999;
}

.zip-input:focus {
    border-color: #2a68ef;
    box-shadow: 0 0 0 4px rgba(42, 104, 239, 0.1);
}

.location-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: #e2e8f0;
}

.location-btn svg {
    width: 20px;
    height: 20px;
    fill: #2a68ef;
}

.continue-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2a68ef 0%, #1e54d3 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(42, 104, 239, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.continue-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.6s ease;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(42, 104, 239, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

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

.no-spam-text {
    text-align: center;
    color: #666;
    font-size: 12px;
    margin-top: 12px;
    font-weight: 500;
}

.quality-guarantee {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 7px !important;
    align-items: center;
    padding: 0px !important;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    background: #fff;
    margin-top: 15px;
}

.shield-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon svg {
    width: 100%;
    height: 100%;
}

.shield-icon img {
    width: 150px;
    height: 150px;
    border-radius: 6px;
}

.quality-guarantee .guarantee-text {
    font-size: 14px;
    color: #333;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.quality-guarantee .guarantee-text strong {
    font-weight: 700;
    color: inherit;
}

.testimonial-carousel {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
    height: auto;
    overflow: hidden;
}

.testimonial-photo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    width: 100%;
}

.testimonial-photo.active {
    opacity: 1;
    position: relative;
    left: auto;
    transform: none;
}

.testimonial-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-photo img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
    .hero-container, .slide {
        align-items: flex-start;
        padding: 10px;
        padding-bottom: 120px; /* Extra space for mobile browser UI */
    }
    
    .form-wrapper {
        padding: 30px 20px;
        margin-top: 10px;
        margin-bottom: 100px;
        max-height: none;
    }

    .trust-badges {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trust-badge {
        flex-direction: row;
        gap: 12px;
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .trust-badge-icon {
        margin-bottom: 0;
    }

    .trust-badge-text {
        text-align: left;
    }

    .form-header h1 {
        font-size: 24px;
    }

    .rating-section {
        flex-direction: column;
        gap: 5px;
    }

    .star {
        width: 16px;
        height: 16px;
    }

    .rating-text {
        font-size: 13px;
    }

    .quality-guarantee {
        flex-direction: column;
        gap: 8px;
        padding: 16px 0;
    }

    .quality-guarantee .guarantee-text {
        font-size: 13px;
    }

    .testimonial-carousel {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .testimonial-photo img {
        max-width: 100%;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }
}

/* Project Type Slide Styles */
.back-arrow {
    position: absolute;
    top: 30px;
    left: 30px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 50%;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-arrow:hover {
    transform: translateX(-3px) scale(1.1);
    background: rgba(42, 104, 239, 0.1);
}

.back-arrow svg {
    width: 28px;
    height: 28px;
    color: #2a68ef;
    filter: drop-shadow(0 2px 4px rgba(42, 104, 239, 0.3));
}

.step-counter {
    text-align: center;
    margin-bottom: 20px;
}

.step-text {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(42, 104, 239, 0.1);
    color: #2a68ef;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.zip-gradient {
    background: linear-gradient(135deg, #2a68ef 0%, #4c8eff 50%, #1e54d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: none;
    display: inline-block;
}

.project-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-option {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-option::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%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .project-option:hover {
        transform: translateY(-4px);
        box-shadow: 
            0 16px 40px rgba(0, 0, 0, 0.15),
            0 8px 20px rgba(0, 0, 0, 0.1),
            0 3px 12px rgba(42, 104, 239, 0.1);
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(42, 104, 239, 0.2);
    }

    .project-option:hover::before {
        opacity: 1;
    }

    .project-option:hover .project-image img {
        transform: scale(1.05);
    }

    .project-option:hover .project-label {
        color: #2a68ef;
    }
}

.project-option.selected {
    background: rgba(42, 104, 239, 0.1);
    border-color: #2a68ef;
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(42, 104, 239, 0.2),
        0 6px 16px rgba(0, 0, 0, 0.1),
        0 3px 10px rgba(42, 104, 239, 0.15);
}

.project-image {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .project-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-option {
        padding: 16px;
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.1),
            0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    .project-option:hover {
        box-shadow: 
            0 12px 30px rgba(0, 0, 0, 0.12),
            0 6px 15px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(42, 104, 239, 0.08);
    }
    
    .project-option.selected {
        box-shadow: 
            0 10px 25px rgba(42, 104, 239, 0.15),
            0 4px 12px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(42, 104, 239, 0.12);
    }
    
    .project-image {
        height: 140px;
    }
    
    .project-label {
        font-size: 16px;
    }
    
    .back-arrow {
        top: 20px;
        left: 20px;
        padding: 6px;
    }
    
         .back-arrow svg {
         width: 24px;
         height: 24px;
     }
 }

/* Why Do You Want Slide Styles */
.why-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.why-option {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2a68ef 0%, #1e40af 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
    .why-option:hover {
        border-color: #2a68ef;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(42, 104, 239, 0.15);
    }

    .why-option:hover::before {
        opacity: 0.05;
    }

    .why-option:hover .why-image img {
        transform: scale(1.05);
    }

    .why-option:hover .why-label {
        color: #2a68ef;
    }
}

.why-option.selected {
    border-color: #2a68ef;
    background: linear-gradient(135deg, rgba(42, 104, 239, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    box-shadow: 0 4px 15px rgba(42, 104, 239, 0.2);
}

.why-image {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.why-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.why-label {
    text-align: center;
    font-weight: 600;
    color: #333;
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

/* How Soon Slide Styles */
.how-soon-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.how-soon-option {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.how-soon-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2a68ef 0%, #1e40af 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
    .how-soon-option:hover {
        border-color: #2a68ef;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(42, 104, 239, 0.15);
    }

    .how-soon-option:hover::before {
        opacity: 0.05;
    }

    .how-soon-option:hover .how-soon-image img {
        transform: scale(1.05);
    }

    .how-soon-option:hover .how-soon-label {
        color: #2a68ef;
    }
}

.how-soon-option.selected {
    border-color: #2a68ef;
    background: linear-gradient(135deg, rgba(42, 104, 239, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    box-shadow: 0 4px 15px rgba(42, 104, 239, 0.2);
}

.how-soon-image {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.how-soon-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.how-soon-label {
    text-align: center;
    font-weight: 600;
    color: #333;
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

.selected-project-highlight {
    color: #2a68ef;
    font-weight: 700;
}

@media (max-width: 768px) {
    .why-options,
    .how-soon-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .why-option,
    .how-soon-option {
        padding: 16px;
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.1),
            0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    .why-option:hover,
    .how-soon-option:hover {
        box-shadow: 
            0 12px 30px rgba(0, 0, 0, 0.12),
            0 6px 15px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(42, 104, 239, 0.08);
    }
    
    .why-option.selected,
    .how-soon-option.selected {
        box-shadow: 
            0 10px 25px rgba(42, 104, 239, 0.15),
            0 4px 12px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(42, 104, 239, 0.12);
    }
    
    .why-image,
    .how-soon-image {
        height: 140px;
    }
    
    .why-label,
    .how-soon-label {
        font-size: 16px;
    }
}

/* Contact Form Slide Styles */
.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
    color: #333;
    font-family: inherit;
}

.form-input::placeholder {
    color: #999;
    font-weight: 400;
}

.form-input:focus {
    border-color: #2a68ef;
    box-shadow: 0 0 0 4px rgba(42, 104, 239, 0.1);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.form-input:valid {
    border-color: rgba(42, 104, 239, 0.3);
}

.form-input.input-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
    background: rgba(231, 76, 60, 0.05);
}

.form-input.input-error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.15);
}

.form-input.input-success {
    border-color: #27ae60;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
    background: rgba(39, 174, 96, 0.05);
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.view-pros-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2a68ef 0%, #1e54d3 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(42, 104, 239, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

.view-pros-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.6s ease;
}

.view-pros-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(42, 104, 239, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

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

.view-pros-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Address form styles */
.address-form {
    margin-top: 20px;
}

.continue-address-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2a68ef 0%, #1e4fd8 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.continue-address-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;
}

.continue-address-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 104, 239, 0.3);
}

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

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

.continue-address-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-input {
        padding: 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
         .view-pros-btn {
         font-size: 16px;
         padding: 16px;
     }
 }

/* Phone Number Slide Styles */
.social-proof {
    color: #2a68ef;
    font-size: 12px;
    font-weight: 600;
    margin: 15px 0;
    text-align: center;
    background: rgba(42, 104, 239, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(42, 104, 239, 0.2);
    position: relative;
    overflow: hidden;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
    will-change: transform, opacity;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale3d(1, 1, 1);
    }
    50% {
        opacity: 1;
        transform: scale3d(1.2, 1.2, 1);
    }
}

.social-proof::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%);
    pointer-events: none;
    opacity: 0.6;
}

.sub-headline {
    color: #666;
    font-size: 16px;
    margin-top: 8px;
    font-weight: 400;
    line-height: 1.4;
}

.phone-form {
    margin-top: 30px;
}

.phone-input {
    font-size: 18px;
    letter-spacing: 1px;
    text-align: center;
}

.show-matches-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2a68ef 0%, #1e54d3 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(42, 104, 239, 0.3),
        0 0 20px rgba(42, 104, 239, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: 10px;
    text-transform: uppercase;
    animation: buttonGlow 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(42, 104, 239, 0.3),
            0 0 20px rgba(42, 104, 239, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 15px rgba(42, 104, 239, 0.4),
            0 0 30px rgba(42, 104, 239, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

.btn-text {
    display: inline-block;
}

.btn-arrow {
    display: inline-block;
    animation: arrowSlide 2s ease-in-out infinite;
    font-size: 18px;
    will-change: transform;
}

@keyframes arrowSlide {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(4px, 0, 0);
    }
}

.show-matches-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.6s ease;
}

.show-matches-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(42, 104, 239, 0.5),
        0 0 35px rgba(42, 104, 239, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: none; /* Pause the glow animation on hover for better UX */
}

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

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

.show-matches-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.security-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    padding: 12px;
    color: #2a68ef;
    font-size: 14px;
    font-weight: 500;
}

.security-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon svg {
    width: 100%;
    height: 100%;
}

.security-text {
    color: #2a68ef;
}

.legal-footnote {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    text-align: center;
    margin-top: 20px;
    padding: 0 10px;
}

.local-partners-link {
    color: #888;
    text-decoration: none;
}

.local-partners-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .phone-number-slide .form-wrapper {
        margin-top: 10px;
        margin-bottom: 120px;
    }
    
    .social-proof {
        font-size: 10px;
        padding: 8px 14px;
        margin: 10px 0;
    }
    
    .sub-headline {
        font-size: 13px;
    }
    
    .phone-input {
        font-size: 16px; /* Prevent zoom on iOS */
        text-align: left;
    }
    
    .show-matches-btn {
        font-size: 15px;
        padding: 16px;
    }
    
    .legal-footnote {
        font-size: 11px;
        padding: 0 5px;
        line-height: 1.4;
    }
}
.local-partners-link {
    color: #1e54d3 !important;
    text-decoration: none !important;
    text-decoration: underline !important;
}

/* Loader Screen Styles */
.loader-slide {
    text-align: center;
    padding: 40px 20px;
}

.loader-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.3;
}

.video-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.processing-video {
    width: 100%;
    height: auto;
    display: block;
}

.progress-bar-container {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: rgba(42, 104, 239, 0.1);
    border-radius: 4px;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.progress-loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #2a68ef, #4c8eff);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.progress-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
}

.processing-status {
    max-width: 400px;
    margin: 0 auto;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.status-item.completed {
    background: rgba(42, 104, 239, 0.1);
    border-color: rgba(42, 104, 239, 0.2);
    opacity: 1;
}

.status-item.completed .status-icon {
    background: #2a68ef;
    color: white;
    animation: checkmark 0.5s ease;
}

.status-item.completed .status-text {
    color: #2a68ef;
    font-weight: 600;
}

.status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.status-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Phone error message styles */
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message::before {
    content: '⚠️';
    font-size: 12px;
}

.error-shake {
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Phone validation loader styles */
.validation-loader {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(42, 104, 239, 0.1) 0%, rgba(42, 104, 239, 0.05) 100%);
    border: 1px solid rgba(42, 104, 239, 0.2);
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(42, 104, 239, 0.1);
    animation: fadeIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.validation-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.loader-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(42, 104, 239, 0.2);
    border-top: 2px solid #2a68ef;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-size: 14px;
    color: #2a68ef;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

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

@media (max-width: 600px) {
    .loader-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .video-container {
        max-width: 300px;
        margin-bottom: 25px;
    }
    
    .progress-bar-container {
        max-width: 300px;
    }
    
    .progress-text {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .processing-status {
        max-width: 300px;
    }
    
    .status-item {
        padding: 12px 15px;
        margin-bottom: 12px;
    }
    
    .status-text {
        font-size: 13px;
    }
}

/* Slide Footer Styles */
.slide-footer {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-phone {
    color: #2a68ef;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

/* Email error message styling */
.email-error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease-out;
}

/* Removed the email icon */