/* --- Global & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }

/* Utilizing variables from the landing page for consistency */
:root {
    --primary: #E91E63;
    --primary-dark: #C2185B;
    --accent: #8E24AA;
    --bg-dark: #0F172A;
    --surface: #ffffff;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-light: #e2e8f0;
}

body#terms-page {
    background-color: #f8fafc;
    color: var(--text-main);
    line-height: 1.6;
    padding-top: 80px; /* Space for the fixed navbar */
}

/* --- Navigation --- */
/* Re-using the landing page navbar logic */
.navbar {
    position: fixed;
    top: 0; 
    width: 100%;
    padding: 15px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
    width: 100%;
    max-width: 1100px;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.join-now-btn {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.join-now-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Content Layout --- */
.main-content {
    padding: 60px 5%;
    min-height: 80vh;
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 60px;
    border-radius: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
}

/* --- Typography --- */
.terms-container h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.terms-container p strong {
    color: var(--primary);
}

.terms-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Accent line for headers */
.terms-container h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 10px;
}

.terms-container p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.terms-container ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.terms-container li {
    margin-bottom: 12px;
    color: var(--text-muted);
    position: relative;
    list-style: none;
}

/* Custom list markers */
.terms-container li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

.terms-container b {
    color: var(--bg-dark);
}

/* --- Footer --- */
.footer {
    padding: 40px 8%;
    background: white;
    text-align: center;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .terms-container {
        padding: 40px 24px;
        border-radius: 20px;
    }
    
    .terms-container h1 {
        font-size: 2rem;
    }
}