:root {
    --primary-bg: #F0F2F5;
    --secondary-bg: #D3D8DE;
    --accent-indigo: #3F51B5;
    --accent-purple: #673AB7;
    --accent-teal: #009688;
    --text-main: #4A4A4A;
    --text-muted: #888888;
    --white: #FFFFFF;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    padding-top: 70px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 700; border-left: 5px solid var(--accent-indigo); padding-left: 15px; }
h3 { font-size: 1.5rem; font-weight: 700; color: var(--accent-purple); }

.brand-name {
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-indigo);
}

.accent-line::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-teal);
    margin-top: 8px;
}

section {
    padding: 100px 0;
}

.hero-section {
    background: linear-gradient(rgba(240, 242, 245, 0.8), rgba(240, 242, 245, 0.8)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.overlay-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-habit {
    background: var(--white);
    border: none;
    border-radius: 0;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--accent-indigo);
}

.card-habit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--secondary-bg);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--accent-purple);
    border-radius: 50%;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.matrix-item {
    background: var(--white);
    padding: 25px;
    border: 1px solid #eee;
}

.glossary-rail {
    background: var(--white);
    padding: 20px;
    border-right: 3px solid var(--accent-teal);
}

.mind-map {
    border: 2px dashed var(--secondary-bg);
    padding: 40px;
    text-align: center;
}

.img-fluid-custom {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 10px 10px 0px var(--secondary-bg);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1050;
    display: none;
    border-top: 1px solid var(--secondary-bg);
}

.btn-primary { background-color: var(--accent-indigo); border-color: var(--accent-indigo); border-radius: 0; }
.btn-primary:hover { background-color: var(--accent-purple); border-color: var(--accent-purple); }

.table-custom {
    width: 100%;
    background: var(--white);
}

.table-custom th {
    background: var(--accent-indigo);
    color: var(--white);
    padding: 15px;
}

.table-custom td {
    padding: 15px;
    border-bottom: 1px solid var(--primary-bg);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}