/* --- Global Styles & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Brand Colors Extracted from myLB Logo */
    --brand-orange: #EF5B25; 
    --brand-red: #C1272D;
    --brand-yellow: #F7931E;
    
    --bg-color: #FFFCFA; /* Warm off-white */
    --text-color: #1A1A1A; /* Near black */
    --text-muted: #555555;
    --card-bg: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .logo, .brand {
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgb(138, 137, 137);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--brand-orange);
}

/* --- App Store Badges --- */
.app-store-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.center-buttons {
    justify-content: center;
}

.store-btn {
    text-decoration: none;
    background: var(--text-color);
    color: white;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.store-btn.dark {
    background: white;
    color: var(--text-color);
}

.store-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: var(--brand-yellow);
}

.coming-soon-text {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--brand-orange);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.dashboard-mockup {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    background: #FFF5F2;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.mockup-illustration {
    width: 100%;
    height: 100%;
}

/* --- Shared Layout for Sections --- */
section {
    padding: 100px 5%;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

/* --- Steps Grid (How it works) --- */
.steps-grid, .feature-grid {
    display: grid;
    gap: 30px;
}

.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    text-align: center;
}

.step-card, .feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.step-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
}

/* --- Features Grid --- */
.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.feature-card {
    border-top: 5px solid var(--brand-red);
}

.feature-icon {
    width: 42px;
    height: 42px;
    color: var(--brand-red);
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* --- Multiplayer Gamification Layout --- */
.multiplayer-section {
    background-color: #FFF5F2; 
}

.gamification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--brand-red);
}

.text-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.placeholder-trophy-room {
    width: 100%;
    height: 350px;
    background: var(--card-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px;
}

.placeholder-trophy-room svg {
    width: 100%;
    max-width: 280px;
    height: auto;
}

/* --- Final CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
    color: white;
    text-align: center;
}

.cta-section h2, .cta-section p {
    color: white;
}

/* --- Footer --- */
.site-footer {
    background: #1A1A1A;
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-content .brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-links a {
    color: #AAAAAA;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-orange);
}

.copyright {
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .app-store-buttons {
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
        padding-right: 0;
    }
    
    .gamification-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 15px;
    }
}

/* --- Privacy Policy Page --- */

.privacy-policy {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 5% 100px;
}

.privacy-policy-header {
    text-align: center;
    margin-bottom: 70px;
}

.privacy-policy-header h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        var(--brand-orange),
        var(--brand-red)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-policy-header p {
    max-width: 750px;
    margin: 0 auto 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.effective-date {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}


/* --- Privacy Policy Sections --- */

.privacy-section {
    padding: 0;
    margin-bottom: 55px;
}

.privacy-section h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.privacy-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--brand-red);
}

.privacy-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.privacy-section ul {
    margin: 15px 0 25px;
    padding-left: 25px;
}

.privacy-section li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
}

.privacy-section strong {
    color: var(--text-color);
}

.privacy-section a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 500;
}

.privacy-section a:hover {
    color: var(--brand-red);
    text-decoration: underline;
}


/* --- Privacy Policy Section Divider --- */

.privacy-section + .privacy-section {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 45px;
}


/* --- Mobile Privacy Policy --- */

@media (max-width: 768px) {

    .privacy-policy {
        padding: 50px 6% 70px;
    }

    .privacy-policy-header {
        margin-bottom: 50px;
    }

    .privacy-policy-header h1 {
        font-size: 2.4rem;
    }

    .privacy-policy-header p {
        font-size: 1rem;
    }

    .privacy-section {
        margin-bottom: 40px;
    }

    .privacy-section h2 {
        font-size: 1.7rem;
    }

    .privacy-section h3 {
        font-size: 1.1rem;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 0.95rem;
    }

}
