/* =====================================================
   REVIEW FORM – BUYING STYLE (STANDALONE)
   NO DEPENDENCY ON OTHER CSS FILES
   ===================================================== */

:root {
    --primary: #b42366;
    --primary-dark: #8a1548;
    --bg-light: #f8f9fc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border: #e2e8f0;
    --focus-ring: rgba(180, 35, 102, 0.15);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, .05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, .08);
}

/* ================= HERO ================= */
.buying-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 120px 20px 80px;
    text-align: center;
    color: #fff;
}

.buying-hero .hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.buying-hero h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
}

.buying-hero p {
    font-size: 18px;
    opacity: .95;
    line-height: 1.6;
}

.icon-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    backdrop-filter: blur(8px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, .15);
    border-radius: 50px;
    font-size: 14px;
}

/* ================= MAIN LAYOUT ================= */
.buying-section {
    background: var(--bg-light);
    padding: 60px 20px 100px;
}

.buying-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ================= FORM CARD ================= */
.finder-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Header */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-gray);
}

/* ================= STEPPER ================= */
.finder-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
}

.finder-stepper .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.finder-stepper .circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-gray);
    background: #fff;
    transition: all .3s ease;
}

.finder-stepper .step.active .circle {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.finder-stepper span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
}

.finder-stepper .step.active span {
    color: var(--primary);
}

.finder-stepper .line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin: 0 16px;
    position: relative;  
    top: -10px;
}

/* ================= FORM ELEMENTS ================= */
.step-box {
    display: none;
}

.step-box.active {
    display: block;
    animation: fadeUp .4s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Inputs */
.finder-form input,
.finder-form select,
.finder-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid var(--border);
    font-size: 15px;
    color: var(--text-dark);
    transition: all .25s ease;
    background: #fff;
}

.finder-form textarea {
    resize: vertical;
    min-height: 100px;
}

.finder-form input:focus,
.finder-form select:focus,
.finder-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--focus-ring);
}

/* ================= RATING ================= */
.rating-stars {
    display: flex;
    gap: 10px;
    font-size: 28px;
    cursor: pointer;
}

.rating-stars span {
    color: #e5e7eb;
    transition: transform .2s ease, color .2s ease;
}

.rating-stars span.active {
    color: #fbbf24;
}

.rating-stars span:hover {
    transform: scale(1.15);
}

/* ================= BUTTONS ================= */
.finder-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 6px 18px rgba(180, 35, 102, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .3s ease;
}

.finder-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(180, 35, 102, .35);
}

/* ================= INFO CARD ================= */
.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 20px;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-gray);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .buying-container {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .info-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .buying-hero h1 {
        font-size: 28px;
    }

    .finder-form {
        padding: 26px 20px;
    }
}

/* ================= SUCCESS POPUP ================= */

.success-popup {
    position: fixed;
    inset: 0;
    /* top:0 right:0 bottom:0 left:0 */
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-popup-content {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: popupScale 0.25s ease-out;
}

.success-popup-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #111827;
}

.success-popup-content p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 20px;
}

.success-popup-content button {
    background: #8b0038;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.success-popup-content button:hover {
    background: #a10045;
}

@keyframes popupScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =====================================
   REVIEW INFO CARD – BUY STYLE MATCH
   (PLACE AT END OF FILE)
===================================== */

/* CARD */
.info-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 22px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 20px;
}

/* HEADING */
.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 26px;
}

/* LIST ITEMS */
.benefits-list li {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #edf2f7;
}

.benefits-list li:last-child {
    border-bottom: none;
}

/* 🔥 ICON – PINK LIKE IMAGE 1 */
.benefits-list i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(180, 35, 102, 0.12);
    color: #b42366;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* TEXT */
.benefits-list strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.benefits-list p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* =====================================
   CTA BOX – SAME AS BUY PAGE
===================================== */

.contact-cta {
    margin-top: 28px;
    padding: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #b42366, #8a1548);
    text-align: center;
    color: #ffffff;
}

.contact-cta p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.phone-link i {
    font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .info-card {
        position: static;
        margin-top: 30px;
    }
}