:root {
    --primary: #2F4F4F;
    --accent-green: #8FBC8F;
    --accent-tan: #D2B48C;
    --accent-purple: #6A5ACD;
    --accent-light: #E0FFFF;
    --text-main: #333333;
    --bg-light: #FDFDFD;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Merriweather', serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.8;
    margin: 0;
}

h1, h2, h3, .nav-link {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: none;
}

h1 { font-size: 3.5rem; letter-spacing: -1px; margin-bottom: 2rem; }
h2 { font-size: 2.5rem; margin-top: 3rem; color: var(--primary); }
h3 { font-size: 1.5rem; color: var(--primary); }

.container-wide {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 100px 0; }

.navbar {
    background-color: rgba(47, 79, 79, 0.95);
    transition: var(--transition);
    padding: 1rem 2rem;
}

.nav-link { color: #fff !important; margin: 0 15px; font-size: 0.9rem; letter-spacing: 1px; }
.nav-link:hover { color: var(--accent-green) !important; }

.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-line { width: 60px; height: 3px; background: var(--accent-tan); margin: 20px auto; }

.card-custom {
    border: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    padding: 30px;
}

.card-custom:hover { transform: translateY(-10px); }

.footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer a { color: var(--accent-light); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; }

.btn-read {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-purple);
    color: white !important;
    text-decoration: none;
    border-radius: 0;
    transition: var(--transition);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-read:hover { background: #5a4db8; transform: scale(1.02); }

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    border-left: 5px solid var(--primary);
}

.img-fluid-custom {
    max-width: 100%;
    height: auto;
    box-shadow: 20px 20px 0px var(--accent-light);
    margin-bottom: 30px;
}

.timeline-item { border-left: 2px solid var(--accent-tan); padding-left: 30px; margin-bottom: 40px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -7px; top: 0; width: 12px; height: 12px; background: var(--accent-tan); border-radius: 50%; }

.glossary-rail { background: #f9f9f9; padding: 20px; border-right: 3px solid var(--accent-purple); }
.stat-strip { background: var(--accent-light); padding: 20px 0; margin: 40px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }

.habit-matrix { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 20px; }
.habit-cell { height: 30px; border: 1px solid #eee; background: #fff; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .section-padding { padding: 60px 0; }
}