/* --- ORIGINAL STYLES PRESERVED --- */
:root {
    --cobalt: #0047AB;
    --pink: #FF69B4;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --black: #1A1A1A;
    --gray: #666666;
    --light-gray: #EEEEEE;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#spm-master-wrapper {
    background: var(--white);
    color: var(--black);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: filter 0.5s ease;
}

.spm-blurred { filter: blur(10px); pointer-events: none; user-select: none; }
* { box-sizing: border-box; }
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 400; margin: 0; color: var(--black); }
p { font-size: 1.1rem; color: var(--gray); font-weight: 300; }

.spm-navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 25px 6%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 9000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.spm-nav-logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; color: var(--cobalt); text-decoration: none; letter-spacing: -0.5px; }
.spm-nav-links { display: flex; gap: 35px; align-items: center; transition: var(--transition-smooth); }
.spm-nav-links a { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; text-decoration: none; color: var(--black); transition: 0.3s; position: relative; }
.spm-nav-links a:hover { color: var(--pink); }

.nav-link-free::after {
    content: 'FREE';
    position: absolute;
    top: -8px; 
    right: -18px;
    background: var(--pink);
    color: var(--white);
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 2px;
    letter-spacing: 1px;
    font-weight: 800;
    transform: rotate(15deg); 
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 10;
}
.nav-link-free:hover::after { background: var(--black); transform: rotate(15deg) scale(1.1); }

.spm-menu-burger { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 10001; }
.spm-menu-burger span { width: 28px; height: 2px; background: var(--black); transition: 0.3s; }

.spm-hero { 
    min-height: 100vh; padding: 160px 6% 100px; 
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; 
    align-items: center; max-width: 1400px; margin: 0 auto; 
}
.spm-hero-content h1 { font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1.05; margin-bottom: 30px; letter-spacing: -2px; }
.spm-hero-content p { margin-bottom: 45px; max-width: 580px; font-size: 1.25rem; line-height: 1.5; }

.spm-hero-image-box { 
    position: relative; width: 100%; aspect-ratio: 4/5; 
    border-radius: 4px; overflow: hidden; 
    box-shadow: 40px 40px 0px var(--off-white);
}
.spm-hero-image-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s ease; }

.spm-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 24px 50px; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    border-radius: 100px; cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none; border: none;
}
.spm-btn-cobalt { background: var(--cobalt); color: var(--white); box-shadow: 0 10px 30px rgba(0, 71, 171, 0.2); }
.spm-btn-outline { border: 1px solid var(--light-gray); color: var(--black); background: transparent; }
.spm-btn-black { background: var(--black); color: var(--white); }
.spm-btn:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 71, 171, 0.3); }

.reveal { opacity: 0; transform: translateY(50px); transition: var(--transition-smooth); }
.reveal.active { opacity: 1; transform: translateY(0); }

.spm-philosophy { background-color: var(--off-white); text-align: center; padding: 120px 6%; }
.spm-philosophy h2 { font-size: 3rem; margin-bottom: 40px; }
.spm-philosophy-text { font-size: 1.5rem; max-width: 850px; margin: 0 auto; color: var(--black); font-style: italic; font-family: 'Playfair Display', serif; }

.spm-pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 80px; }
.spm-pillar { background: #fff; padding: 50px; border-left: 1px solid var(--light-gray); transition: var(--transition-smooth); }
.spm-pillar:hover { background: var(--off-white); border-left: 1px solid var(--gold); }
.spm-pillar span { color: var(--gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; display: block; margin-bottom: 20px; }
.spm-pillar h3 { font-size: 2rem; margin-bottom: 20px; }

.spm-product-section { background: var(--gold); color: var(--black); padding: 120px 6%; }
.spm-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.spm-product-card { 
    background: rgba(255, 255, 255, 0.2); padding: 60px 40px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition-smooth); text-align: center; backdrop-filter: blur(5px);
}
.spm-product-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.4); }
.spm-product-card i { color: var(--cobalt); margin-bottom: 25px; }

.spm-match-section { padding: 120px 6%; }
.spm-match-box {
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--white); border: 1px solid var(--light-gray);
    border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.03);
    max-width: 1200px; margin: 0 auto;
}
.spm-match-image { height: 600px; overflow: hidden; }
.spm-match-image img { width: 100%; height: 100%; object-fit: cover; }
.spm-match-info { padding: 80px; display: flex; flex-direction: column; justify-content: center; }

.spm-scroll-box { display: flex; gap: 30px; overflow-x: auto; padding: 40px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.spm-card { min-width: 450px; background: white; padding: 60px; border: 1px solid var(--light-gray); scroll-snap-align: center; text-align: center; }
.spm-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 25px; }

.spm-final-cta { background-color: var(--cobalt); color: var(--white); text-align: center; padding: 150px 20px; }
.spm-final-cta h2 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 30px; color: var(--white); }
.spm-final-cta p { color: rgba(255,255,255,0.8); margin: 0 auto 40px; max-width: 700px; }

/* MODAL */
#spm-privacy-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.05); display: none; align-items: center; justify-content: center;
    z-index: 10000; padding: 20px;
}
.modal-inner { 
    background: white; width: 100%; max-width: 550px; padding: 50px; border-radius: 30px; 
    position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.15); z-index: 10001;
}
.pref-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--light-gray); }

@media (max-width: 1024px) {
    .spm-hero { grid-template-columns: 1fr; text-align: center; }
    .spm-hero-content { order: 2; }
    .spm-hero-image-box { order: 1; margin-bottom: 40px; }
    .spm-pillar-grid { grid-template-columns: 1fr; }
    .spm-product-grid { grid-template-columns: 1fr; }
    .spm-match-box { grid-template-columns: 1fr; }
    .spm-match-image { height: 400px; }
    .spm-nav-links { 
        position: fixed; top: 0; right: -100%; width: 85%; height: 100vh;
        background: white; flex-direction: column; justify-content: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05); z-index: 10000; gap: 40px;
    }
    .spm-nav-links.active { right: 0; }
    .spm-menu-burger { display: flex; }
}

.spm-eyebrow { color: var(--pink); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 4px; font-weight: 700; display: block; margin-bottom: 25px; }

/* --- NEW SUBPAGE STYLES --- */
.subpage-container { padding: 180px 6% 100px; max-width: 1200px; margin: 0 auto; min-height: 90vh; }
.auth-box { max-width: 450px; margin: 0 auto; border: 1px solid var(--light-gray); padding: 50px; border-radius: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.form-input { width: 100%; padding: 15px; border-radius: 10px; border: 1px solid var(--light-gray); font-family: inherit; font-size: 1rem; }
.status-badge { padding: 6px 15px; border-radius: 50px; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }
.status-locked { background: var(--light-gray); color: var(--gray); }
.status-unlocked { background: #e6fffa; color: #2c7a7b; }