:root {
    --cream-bg: #fdfbf7;         /* Luxury Ivory */
    --gold: #c5a059;             /* Matte Gold */
    --gold-dark: #b38728;
    --charcoal: #1d1d1f;         /* Apple Charcoal */
    --grey-text: #6e6e73;
    --border: rgba(0, 0, 0, 0.08);
    --white: #ffffff;
}

/* --- Global Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; -webkit-font-smoothing: antialiased; }
body { background-color: var(--cream-bg); color: var(--charcoal); line-height: 1.6; }
body.modal-open { overflow: hidden; }

/* --- Layout Wrapper --- */
.story-wrapper { 
    max-width: 1100px; margin: 0 auto; padding: 140px 24px 80px; text-align: center;
    transition: filter 0.4s ease;
}
.content-blur { filter: blur(12px); pointer-events: none; }

/* --- Typography --- */
.hero-tag { font-weight: 800; text-transform: uppercase; letter-spacing: 4px; font-size: 0.8rem; color: var(--gold); margin-bottom: 20px; display: block; }
.punch-line { font-size: clamp(2.5rem, 7vw, 4.8rem); font-weight: 800; letter-spacing: -3px; line-height: 1.05; margin-bottom: 30px; }
.hero-subtext { font-size: 1.3rem; color: var(--grey-text); max-width: 800px; margin: 0 auto 50px; font-weight: 400; }

/* --- Device Specifics --- */
@media (max-width: 768px) {
    .story-wrapper { padding-top: 100px; }
    .punch-line { letter-spacing: -1.5px; }
    /* Mobile App-Sheet Feel */
    .pay-unlock-overlay { align-items: flex-end !important; padding: 0 !important; }
    .unlock-card { border-radius: 30px 30px 0 0 !important; max-width: 100% !important; animation: mobileSlideUp 0.5s cubic-bezier(0.32, 0.72, 0, 1) !important; }
}

/* --- Premium Overlays --- */
.pay-unlock-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px);
    z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.unlock-card {
    background: var(--white); padding: 45px; border-radius: 35px; border-top: 6px solid var(--gold);
    width: 100%; max-width: 650px; box-shadow: 0 40px 100px rgba(0,0,0,0.15);
    animation: desktopPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Buttons & Inputs --- */
.btn-main-trigger { background: var(--charcoal); color: white; padding: 22px 50px; border-radius: 20px; font-weight: 700; border: none; cursor: pointer; font-size: 1.2rem; transition: 0.3s; box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.btn-main-trigger:hover { transform: translateY(-3px); background: #000; }
.input-group label { display: block; font-weight: 800; font-size: 12px; margin-bottom: 8px; color: var(--grey-text); letter-spacing: 1px; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: #fbfbfb; font-size: 16px !important; }

@keyframes desktopPop { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes mobileSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Mobile Navbar Fix */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column; /* Stacks logo on top of links */
        padding: 15px 10px;
        gap: 10px;
    }

    .nav-links {
        display: flex; /* Ensures they stay visible */
        justify-content: center;
        width: 100%;
        gap: 15px;
        font-size: 13px; /* Slightly smaller for mobile fitting */
    }

    .user-welcome {
        display: none; /* Hide 'Hello, Name' on tiny screens to save space */
    }
}