/**
 * EZ-Fix Conversion Optimization CSS
 */

/* Shared */
.ezfix-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ezfix-section-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #10B981;
    margin-bottom: 16px;
}

.ezfix-section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.ezfix-section-title em {
    color: #10B981;
    font-style: italic;
}

.ezfix-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 50px;
}

.ezfix-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.ezfix-btn--primary {
    background: #10B981;
    color: white;
}

.ezfix-btn--primary:hover {
    background: #0EA472;
    transform: translateY(-2px);
}

.ezfix-btn--secondary {
    background: transparent;
    color: #10B981;
    border: 2px solid #10B981;
}

.ezfix-btn--secondary:hover {
    background: #10B981;
    color: white;
}

/* 1. Customer Logos */
.ezfix-logos {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ezfix-logos__heading {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 40px;
}

.ezfix-logos__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 70px;
}

.ezfix-logos__item img {
    max-height: 40px;
    width: auto;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.ezfix-logos__item:hover img {
    opacity: 1;
}

/* 2. Testimonials */
.ezfix-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(16,185,129,0.05) 0%, transparent 100%);
}

.ezfix-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ezfix-testimonials__card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ezfix-testimonials__card:hover {
    transform: translateY(-5px);
    border-color: rgba(16,185,129,0.3);
}

.ezfix-testimonials__stars {
    color: #F59E0B;
    font-size: 18px;
    margin-bottom: 20px;
}

.ezfix-testimonials__quote {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    font-style: italic;
}

.ezfix-testimonials__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ezfix-testimonials__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669);
}

.ezfix-testimonials__name {
    display: block;
    font-weight: 600;
    color: white;
}

.ezfix-testimonials__company {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* 3. Process */
.ezfix-process {
    padding: 100px 0;
}

.ezfix-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.ezfix-process__step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.ezfix-process__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: rgba(16,185,129,0.3);
}

.ezfix-process__number {
    font-size: 14px;
    font-weight: 700;
    color: #10B981;
    margin-bottom: 16px;
}

.ezfix-process__icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.ezfix-process__title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.ezfix-process__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.ezfix-process__cta {
    text-align: center;
}

/* 4. FAQ */
.ezfix-faq {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.ezfix-faq__grid {
    max-width: 800px;
    margin: 50px auto 0;
}

.ezfix-faq__item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ezfix-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ezfix-faq__question:hover {
    color: #10B981;
}

.ezfix-faq__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ezfix-faq__question[aria-expanded="true"] .ezfix-faq__icon {
    transform: rotate(180deg);
}

.ezfix-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.ezfix-faq__question[aria-expanded="true"] + .ezfix-faq__answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.ezfix-faq__answer p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.ezfix-faq__cta {
    text-align: center;
    margin-top: 50px;
}

.ezfix-faq__cta p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

/* 5. Popup */
.ezfix-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ezfix-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
}

.ezfix-popup__content {
    position: relative;
    background: linear-gradient(135deg, #1a2420 0%, #0a0f0d 100%);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    animation: popupIn 0.3s ease;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ezfix-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ezfix-popup__close:hover {
    background: rgba(255,255,255,0.2);
}

.ezfix-popup__body {
    text-align: center;
}

.ezfix-popup__icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.ezfix-popup__title {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.ezfix-popup__text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    line-height: 1.6;
}

.ezfix-popup__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ezfix-popup__input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

.ezfix-popup__input:focus {
    outline: none;
    border-color: #10B981;
}

.ezfix-popup__input::placeholder {
    color: rgba(255,255,255,0.4);
}

.ezfix-popup__submit {
    width: 100%;
}

.ezfix-popup__disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 16px;
}

/* CF7 Dark Theme Styling */
.contact-form-wrap .wpcf7 {
    width: 100%;
}

.contact-form-wrap .wpcf7-form {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.26);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px;
}

.contact-form-wrap .wpcf7-form p {
    margin-bottom: 20px;
}

.contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    background: rgba(255,255,255,0.04);
    color: #f0f4f8;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: #22c55e;
    background: rgba(255,255,255,0.06);
}

.contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
    color: #94a3b8;
}

.contact-form-wrap .wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-wrap .wpcf7-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form-wrap .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: #0a0f1a;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.contact-form-wrap .wpcf7-submit:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15);
}

.contact-form-wrap .wpcf7-response-output {
    border-radius: 12px !important;
    padding: 16px !important;
    margin: 16px 0 0 !important;
    font-size: 14px;
}

.contact-form-wrap .wpcf7-mail-sent-ok,
.contact-form-wrap .wpcf7 form.sent .wpcf7-response-output {
    border-color: #22c55e !important;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.contact-form-wrap .wpcf7-validation-errors,
.contact-form-wrap .wpcf7 form.invalid .wpcf7-response-output {
    border-color: #ef4444 !important;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.contact-form-wrap .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

.contact-form-wrap .wpcf7-spinner {
    margin: 0 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .ezfix-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .ezfix-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ezfix-process__step:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .ezfix-section-title {
        font-size: 32px;
    }

    .ezfix-logos__grid {
        gap: 30px 40px;
    }

    .ezfix-logos__item img {
        max-height: 32px;
    }

    .ezfix-process__grid {
        grid-template-columns: 1fr;
    }

    .ezfix-process__step::after {
        display: none !important;
    }

    .ezfix-faq__question {
        font-size: 16px;
    }

    .ezfix-popup__content {
        padding: 30px 20px;
    }
}
