

:root {
    /* Colors */
    --primary-purple: #5b005d;
    --dark-bg: #121927;
     --light-bg: #ffffff;
    --text-light: #ffffff;
    --bg-muted: #f7f6f6;
    --accent-gold: #FDCC0D;
    --glass-bg: rgba(255, 255, 255, 0.05);
    
    /* Transitions */
    --transition: all 0.3s ease;
}












/* =================================
   MSPX3 HERO - Overlay Card Version
==================================== */

.mspx3-hero {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: #f5f5f5;
    color: #000000;
}

/* LEFT SIDE */
.mspx3-left {
    width: 55%;
    display: flex;
    align-items: center;
    padding: 100px;
}

.mspx3-content {
    max-width: 520px;
}

.mspx3-badge {
    display: inline-block;
    background: rgba(32, 32, 32, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 25px;
}

.mspx3-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
}

.mspx3-text {
    color: #000000;
    margin-bottom: 30px;
}

.mspx3-buttons a {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    margin-right: 15px;
    transition: 0.3s ease;
}

.mspx3-btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.mspx3-btn-outline {
    border: 1px solid var(--accent-gold);
    color: #000000;
}

.mspx3-btn-primary:hover,
.mspx3-btn-outline:hover {
    transform: translateY(-3px);
}

/* RIGHT SIDE (CARD AREA) */
.mspx3-right {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 60px;
}

/* OVERLAY CARD */
.mspx3-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s ease;
}

.mspx3-card:hover {
    transform: translateY(-10px);
}

.mspx3-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.mspx3-card-header i {
    font-size: 28px;
    color: var(--accent-gold);
}

.mspx3-card-text {
    color: #000000;
    margin-bottom: 30px;
}

.mspx3-card-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--accent-gold);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.mspx3-card-btn:hover {
    transform: translateY(-3px);
}


/* ============================
   MSPX3 MODAL STYLES
=============================== */

.mspx3-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.mspx3-modal-box {
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    animation: mspxFadeIn 0.4s ease;
}

@keyframes mspxFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mspx3-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.mspx3-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

.mspx3-input-group {
    margin-bottom: 20px;
}

.mspx3-input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.mspx3-input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

.mspx3-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    border: none;
    background: var(--accent-gold);
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.mspx3-submit-btn:hover {
    transform: translateY(-3px);
}









/* Apple Style Faith Membership */

.mspx6-faith-apple{
    padding:140px 20px;
    background: var(--primary-purple);
    color:white;
    text-align:center;
}

/* Container */

.mspx6-container{
    max-width:1000px;
    margin:auto;
}

/* Header */

.mspx6-header h2{
    font-size:48px;
    font-weight:700;
    margin-bottom:20px;
}

.mspx6-header p{
    color:#dcdcdc;
    font-size:18px;
}

/* Grid */

.mspx6-apple-grid{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:60px;
    margin-top:80px;
}

/* Item */

.mspx6-apple-item{
    text-align:left;
    transition:0.4s ease;
}

.mspx6-apple-item h3{
    font-size:22px;
    margin-bottom:18px;
    color:var(--accent-gold);
}

.mspx6-apple-item p{
    color:#e0e0e0;
    line-height:1.7;
}

/* CTA */

.mspx6-cta{
    margin-top:80px;
}





/* ==================== Card Rotation Section   ======================= */


.mspx8-card-section{
    padding:120px 20px;
    background:#f9f9f9;
}

.mspx8-container{
    max-width:1100px;
    margin:auto;
}

/* Flex Layout */

.mspx8-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

/* Card Area */

.mspx8-card-area{
    flex:1;
    display:flex;
    justify-content:center;
}

/* Flip Card */

.mspx8-card-flip{
    width:350px;
    height:230px;
    position:relative;
    transform-style:preserve-3d;
    transition:0.8s;
    cursor:pointer;
}

/* Front */

.mspx8-card-front,
.mspx8-card-back{
    position:absolute;
    width:100%;
    height:100%;
    border-radius:18px;
    backface-visibility:hidden;
    overflow:hidden;
}

/* Card Image Size Match */

.mspx8-card-front img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Back Side */

.mspx8-card-back{
    background:var(--dark-bg);
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:30px;
    transform:rotateY(180deg);
    text-align:center;
}

/* Rotate Class */

.mspx8-card-flip.active{
    transform:rotateY(180deg);
}

/* Info Area */

.mspx8-info-area{
    flex:1;
}

.mspx8-info-area h2{
    font-size:38px;
    margin-bottom:20px;
    color: #000;
}

.mspx8-info-area p{
    color:#555;
    line-height:1.7;
    margin-bottom:40px;
}

/* Button */

.mspx8-request-btn{
    display:inline-block;
    padding:14px 40px;
    background:var(--accent-gold);
    color:black;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:0.4s;
}

.mspx8-request-btn:hover{
    transform:translateY(-4px);
}






/* =================================== */

/* Faith Story Section */

/* Faith Story Section */

.mspx9-faith-story{
    padding:140px 20px;
    background:#ffffff;
}

.mspx9-container{
    max-width:1100px;
    margin:auto;
}

/* Header */

.mspx9-header{
    text-align:center;
    margin-bottom:80px;
}

.mspx9-header h2{
    font-size:42px;
    margin-bottom:15px;
    color: #000;
}

.mspx9-header p{
    color:#666;
}

/* Layout */

.mspx9-story-flex{
    display:flex;
    gap:80px;
}

/* MAIN STORY CARD (Different Color) */
.mspx9-main-story{
    flex:2;

    position:relative;
    padding:50px;
    border-radius:30px;
    overflow:hidden;

    color:white;

    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

/* Background Image Layer */

.mspx9-main-story::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("../img/hero-bg.jpg");

    background-size:cover;
    background-position:center;

    filter:blur(3px);

    transform:scale(1.05);

    z-index:1;
}

/* Text Must Stay Above Image */

.mspx9-main-story *{
    position:relative;
    z-index:2;
}

/* Avatar */

.mspx9-story-avatar{
    font-size:50px;
    color:var(--accent-gold);
    margin-bottom:30px;
}

/* Text */

.mspx9-main-story h3{
    margin-bottom:25px;
}

.mspx9-main-story p{
    color:#ffffff;
    line-height:1.8;
    margin-bottom:30px;
}

/* Side Stories */

.mspx9-side-story{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:30px;
}

.mspx9-side-item{
    background:#000000;
    padding:30px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.04);
}

/* Titles */

.mspx9-side-item h4{
    margin-bottom:12px;
}





/* =========================== */
/* Community Impact Section */

.mspx10-impact-section{
    padding:140px 20px;
    background:#0f2027;
    color:white;
    text-align:center;
}

.mspx10-container{
    max-width:1100px;
    margin:auto;
}

/* Header */

.mspx10-header h2{
    font-size:42px;
    margin-bottom:20px;
}

.mspx10-header p{
    color:#ddd;
}

/* Grid */

.mspx10-impact-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:50px;
    margin-top:80px;
}

/* Impact Item */

.mspx10-impact-item h3{
    font-size:50px;
    color:var(--accent-gold);
    margin-bottom:15px;
    font-weight:700;
}

.mspx10-impact-item p{
    color:#ddd;
}





/* ================================ */
/* Covenant Membership Section */

.mspx11-covenant{
    padding:140px 20px;
    background:#f9f9f9;
    text-align:center;
}

.mspx11-container{
    max-width:1200px;
    margin:auto;
}

/* Header */

.mspx11-header h2{
    font-size:42px;
    margin-bottom:15px;
    color: #000;
}

.mspx11-header p{
    color:#666;
}

/* Grid */

.mspx11-grid{
    margin-top:80px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

/* Card */

.mspx11-card{
    background:white;
    padding:50px 40px;
    border-radius:30px;
    box-shadow:0 20px 50px rgba(0,0,0,0.05);
    transition:0.4s ease;
}

.mspx11-card:hover{
    transform:translateY(-10px);
}

/* Popular Card */

.mspx11-popular{
    border:2px solid var(--accent-gold);
    position:relative;
}

/* Badge */

.mspx11-badge{
    position:absolute;
    top:-15px;
    left:50%;
    transform:translateX(-50%);
    background:var(--accent-gold);
    padding:6px 18px;
    border-radius:50px;
    font-size:13px;
}

/* Price */

.mspx11-card h1{
    font-size:48px;
    margin:25px 0;
    color: #000;
}

.mspx11-card h1 span{
    font-size:18px;
    color:#666;
}
.mspx11-card  h3{
    color: #000;
}
/* List */

.mspx11-card ul{
    list-style:none;
    padding:0;
    margin-bottom:40px;
}

.mspx11-card ul li{
    margin:15px 0;
    color:#555;
}

/* Buttons */

.mspx11-btn-primary{
    display:inline-block;
    padding:14px 40px;
    background:var(--accent-gold);
    color:black;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
}

.mspx11-btn-outline{
    display:inline-block;
    padding:14px 40px;
    border:1px solid #ccc;
    color:black;
    border-radius:50px;
    text-decoration:none;
}





/* =====================================
   Platform Floating Icon + Modal System
===================================== */

/* ---------- Floating Icon ---------- */

#mspxFloatIcon{
    position:fixed;
    bottom:40px;
    right:30px;

    width:60px;
    height:60px;

    background:#f4c430;
    color:black;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:26px;
    cursor:pointer;

    z-index:9998;

    box-shadow:0 10px 30px rgba(0,0,0,0.2);

    opacity:50;
    visibility:hidden;

    transition:0.4s ease;
}

#mspxFloatIcon.show{
    opacity:1;
    visibility:visible;
    transform:translateY(-5px);
}

/* ---------- Popup Overlay ---------- */

#mspxPlatformPopup{
    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.75);

    display:none;
    justify-content:center;
    align-items:center;

    z-index:9999;
}

/* ---------- Popup Card ---------- */

.mspxPopupCard{
    background:white;

    width:90%;
    max-width:400px;

    padding:40px;

    border-radius:25px;

    text-align:center;

    animation:popupFade 0.35s ease;

    box-shadow:0 30px 80px rgba(0,0,0,0.25);
}

/* ---------- Popup Text ---------- */

.mspxPopupCard h3{
    margin-bottom:30px;
    line-height:1.5;
    color: #000;
}

/* ---------- Button ---------- */

.mspxPopupYes{
    padding:14px 35px;

    border:none;

    background:#f4c430;
    color:black;

    border-radius:50px;

    font-weight:600;

    cursor:pointer;

    transition:0.3s ease;
}

.mspxPopupYes:hover{
    transform:translateY(-3px);
}

/* ---------- Animation ---------- */

@keyframes popupFade{
    from{
        opacity:0;
        transform:translateY(-25px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}













/* Responsive */

/* Tablet */
@media(max-width:1024px){
    .mspx11-grid{
        grid-template-columns:repeat(2,1fr);
        gap:30px;
    }
}



@media (max-width: 992px) {
    .mspx3-hero {
        flex-direction: column;
    }

    .mspx3-left,
    .mspx3-right {
        width: 100%;
        padding: 60px 30px;
    }

    .mspx3-right {
        margin-top: 40px;
    }
      .mspx4-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:900px){
    .mspx8-flex{
        flex-direction:column;
        text-align:center;
    }

     .mspx9-story-flex{
        flex-direction:column;
    }
     .mspx10-impact-grid{
        grid-template-columns:repeat(2,1fr);
    }
}



/* Mobile */
@media(max-width:768px){
    .mspx11-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .mspx11-card{
        padding:40px 25px;
    }

    .mspx11-card h1{
        font-size:38px;
    }

   #mspxFloatIcon{
        width:55px;
        height:55px;
        right:20px;
        bottom:30px;
        font-size:22px;
    }

    .mspxPopupCard{
        padding:30px 25px;
    }

}



@media (max-width: 600px) {
    .mspx4-grid {
        grid-template-columns: 1fr;
    }
     .mspx10-impact-grid{
        grid-template-columns:1fr;
    }
}


/* Very Small Phones */
@media(max-width:480px){
    .mspx11-header h2{
        font-size:32px;
    }

    .mspx11-card{
        border-radius:20px;
    }
}
