/* ==========================================================================
   ✨ SPM MODERN "HOW IT WORKS" ROADMAP & TIMELINE UI STYLESHEET
   ========================================================================== */

/* 1. Header Hero Banner */
.spm-hiw-hero {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 50%, #fffbeb 100%);
    padding: 65px 0 55px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.spm-hiw-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.spm-hiw-hero-title span {
    color: #e11d48;
}

.spm-hiw-hero-desc {
    font-size: 16px;
    color: #475569;
    max-width: 720px;
    margin: 0 auto 26px;
    line-height: 1.65;
}

.spm-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.spm-hero-badge i {
    color: #e11d48;
}

/* 2. Section Headers */
.spm-home-header {
    text-align: center;
    margin-bottom: 45px;
}

.spm-home-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #ffe4e6;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spm-home-header-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin-bottom: 8px;
}

.spm-home-header-desc {
    font-size: 15px;
    color: #64748b;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 3. 5-Step Timeline */
.spm-hiw-timeline-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0;
}

.spm-hiw-timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 42px;
    width: 3px;
    background: linear-gradient(180deg, #e11d48 0%, #2563eb 25%, #f59e0b 50%, #10b981 75%, #8b5cf6 100%);
    border-radius: 3px;
}

.spm-hiw-step-item {
    position: relative;
    padding-left: 95px;
    margin-bottom: 36px;
}

.spm-hiw-step-item:last-child {
    margin-bottom: 0;
}

.spm-hiw-step-badge {
    position: absolute;
    left: 18px;
    top: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e11d48;
    color: #e11d48;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spm-hiw-step-item:hover .spm-hiw-step-badge {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
}

.spm-hiw-step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spm-hiw-step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e11d48, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spm-hiw-step-item:hover .spm-hiw-step-card {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.spm-hiw-step-item:hover .spm-hiw-step-card::before {
    opacity: 1;
}

.spm-hiw-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.spm-hiw-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spm-hiw-card-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 16px;
}

.spm-hiw-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spm-hiw-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    transition: all 0.2s ease;
}

.spm-hiw-step-item:hover .spm-hiw-tag {
    background: #fff1f2;
    border-color: #ffe4e6;
    color: #e11d48;
}

/* 4. Safety & Trust Cards */
.spm-feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 26px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.spm-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
    border-color: #fda4af;
}

.spm-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #fff1f2;
    color: #e11d48;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.spm-feature-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.spm-feature-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 5. FAQ Accordions */
.spm-hiw-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spm-hiw-faq-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.25s ease;
}

.spm-hiw-faq-item:hover,
.spm-hiw-faq-item.active {
    border-color: #f43f5e;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.06);
}

.spm-hiw-faq-header {
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    width: 100%;
    border: none;
    text-align: left;
    user-select: none;
}

.spm-hiw-faq-header i {
    transition: transform 0.3s ease;
}

.spm-hiw-faq-item.active .spm-hiw-faq-header i {
    transform: rotate(180deg);
    color: #e11d48 !important;
}

.spm-hiw-faq-body {
    padding: 0 22px 18px;
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    border-top: 1px dashed #f1f5f9;
    padding-top: 14px;
}

/* 6. Premium CTA Banner */
.spm-hiw-cta-card {
    background: linear-gradient(135deg, #700d2b 0%, #9f1239 45%, #be123c 100%) !important;
    border-radius: 24px !important;
    padding: 46px 40px !important;
    color: #ffffff !important;
    box-shadow: 0 20px 45px rgba(112, 13, 43, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.spm-hiw-cta-card::after {
    content: "💞";
    position: absolute;
    right: -25px;
    bottom: -35px;
    font-size: 170px;
    opacity: 0.12;
    pointer-events: none;
    line-height: 1;
}

.spm-hiw-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.spm-hiw-cta-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.spm-hiw-cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin: 0;
    max-width: 620px;
}

.spm-hiw-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff !important;
    color: #be123c !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 13px 26px !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
}

.spm-hiw-btn-primary:hover {
    background: #fff1f2 !important;
    color: #9f1239 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28) !important;
}

.spm-hiw-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
}

.spm-hiw-btn-outline:hover {
    background: #ffffff !important;
    color: #be123c !important;
    border-color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15) !important;
}

/* 7. Responsive Media Queries */
@media screen and (max-width: 767px) {
    .spm-hiw-cta-card {
        padding: 32px 20px !important;
    }

    .spm-hiw-cta-title {
        font-size: 22px !important;
    }

    .spm-hiw-cta-desc {
        font-size: 13.5px !important;
    }

    .spm-hiw-btn-primary,
    .spm-hiw-btn-outline {
        width: 100% !important;
        font-size: 14px !important;
    }

    .spm-hiw-hero {
        padding: 40px 0 35px;
    }

    .spm-hiw-hero-title {
        font-size: 26px;
    }

    .spm-hiw-hero-desc {
        font-size: 14px;
    }

    .spm-home-header-title {
        font-size: 24px;
    }

    .spm-hiw-timeline-wrapper::before {
        left: 24px;
    }

    .spm-hiw-step-item {
        padding-left: 64px;
        margin-bottom: 28px;
    }

    .spm-hiw-step-badge {
        left: 4px;
        top: 20px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .spm-hiw-step-card {
        padding: 20px 16px;
    }

    .spm-hiw-card-title {
        font-size: 17px;
    }

    .spm-hiw-card-desc {
        font-size: 13.5px;
    }

    .spm-home-cta-banner {
        padding: 30px 20px;
    }
}
