:root {
    --primary: #4e21b7;
    --primary-light: #9579f0;
    --primary-dark: #2b1166;
    --secondary: #7745e8;
    --white: #ffffff;
    --black: #151515;
    --grey: #f5f5f5;
    --dark-grey: #666666;
    --gradient: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.complexity-heading {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(78, 33, 183, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

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

.nav-links a.btn-primary {
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--grey);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
    font-weight: 600;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 0 10px;
    background: linear-gradient(120deg, rgba(149, 121, 240, 0.2) 0%, rgba(78, 33, 183, 0.2) 100%);
    border-left: 3px solid var(--primary);
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-animation {
    position: relative;
    width: 350px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.brain-hemisphere {
    width: 140px;
    height: 200px;
    border-radius: 70px 70px 90px 90px;
    position: relative;
    animation: pulse 3s ease-in-out infinite;
}

.brain-hemisphere.left {
    background: linear-gradient(135deg, #4e21b7 0%, #7745e8 100%);
    animation-delay: 0s;
}

.brain-hemisphere.right {
    background: linear-gradient(135deg, #7745e8 0%, #9579f0 100%);
    animation-delay: 0.2s;
}

.synapse {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: synapse-fire 2s ease-in-out infinite;
}

.synapse-1 {
    top: 30%;
    left: 48%;
    animation-delay: 0.5s;
}

.synapse-2 {
    top: 50%;
    left: 46%;
    animation-delay: 1s;
}

.synapse-3 {
    top: 70%;
    left: 52%;
    animation-delay: 1.5s;
}

.brain-animation-stylized {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-animation-stylized svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(78, 33, 183, 0.3));
}

.brain-left {
    animation: pulse-left 3s ease-in-out infinite;
    transform-origin: center;
}

.brain-right {
    animation: pulse-right 3s ease-in-out infinite;
    transform-origin: center;
}

.neuron {
    animation: neuron-pulse 2s ease-in-out infinite;
}

.neuron.n1 {
    animation-delay: 0s;
}

.neuron.n2 {
    animation-delay: 0.4s;
}

.neuron.n3 {
    animation-delay: 0.8s;
}

.neuron.n4 {
    animation-delay: 1.2s;
}

.neuron.n5 {
    animation-delay: 0.2s;
}

.connection {
    animation: connection-flash 2s ease-in-out infinite;
}

.connection.c1 {
    animation-delay: 0s;
}

.connection.c2 {
    animation-delay: 0.5s;
}

.connection.c3 {
    animation-delay: 1s;
}

.connection.c4 {
    animation-delay: 1.5s;
}

@keyframes pulse-left {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes pulse-right {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.95;
    }
}

@keyframes neuron-pulse {
    0%, 100% {
        r: 3;
        opacity: 0.6;
    }
    50% {
        r: 5;
        opacity: 1;
    }
}

@keyframes connection-flash {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes synapse-fire {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Constat Section */
.constat {
    background-color: var(--white);
}

.stats-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 auto 50px;
    max-width: 1000px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.stat-impact {
    font-size: 0.95rem;
    color: var(--dark-grey);
    line-height: 1.6;
    padding-top: 20px;
    border-top: 1px solid var(--grey);
}

.constat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.constat-item {
    text-align: center;
    padding: 30px;
    background: var(--grey);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.constat-item:hover {
    transform: translateY(-10px);
}

.stat {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
}

/* Mission Section */
.mission {
    background-color: var(--grey);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.mission-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-item h3 {
    color: var(--primary-dark);
}

.mission-item .btn-secondary {
    align-self: center;
    margin-top: 15px;
}

/* Solutions Section */
.solutions {
    background-color: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.solution-card {
    background: var(--grey);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.solution-icon i {
    font-size: 2rem;
    color: var(--white);
}

.solution-card h3 {
    color: var(--primary-dark);
}

.solution-card p {
    margin-bottom: 20px;
}

.solutions-cta {
    text-align: center;
    margin-top: 30px;
}

/* Appointment Section */
.appointment {
    background-color: var(--grey);
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: var(--primary);
    font-weight: 500;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    border-radius: var(--border-radius);
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    font-weight: normal;
    box-shadow: var(--shadow);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-dark) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Back Button */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    z-index: 1000;
    box-shadow: var(--shadow);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 33, 183, 0.3);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--dark-grey);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--grey);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
    background: rgba(149, 121, 240, 0.1);
}

.modal-title {
    color: var(--primary);
    margin: 0;
    padding: 30px 30px 20px;
    border-bottom: 2px solid var(--grey);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title i {
    font-size: 1.3rem;
}

.modal-body {
    padding: 30px;
}

.modal-intro {
    font-size: 1.05rem;
    color: var(--dark-grey);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-tool {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--grey);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.modal-tool:hover {
    background: rgba(149, 121, 240, 0.05);
    transform: translateX(5px);
}

.modal-tool-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.modal-tool-content h4 {
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.modal-tool-content p {
    margin: 0;
    color: var(--dark-grey);
    line-height: 1.5;
}

.modal-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--grey);
    text-align: center;
}

.modal-footer p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.modal-footer .btn-primary {
    display: inline-block;
    margin-top: 10px;
}

.modal-results-example {
    background: white;
    border: 2px solid var(--grey);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
}

.modal-results-example h4 {
    color: var(--primary-dark);
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    text-align: center;
}

.profile-dominant {
    text-align: center;
    padding: 15px;
    background: var(--grey);
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.profile-dominant strong {
    color: var(--primary);
    font-size: 1.05rem;
}

.profile-bars {
    margin-bottom: 25px;
}

.profile-bar {
    margin-bottom: 15px;
}

.bar-label {
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.bar-container {
    position: relative;
    height: 28px;
    background: var(--grey);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.bar-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.profile-description {
    background: rgba(149, 121, 240, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary);
}

.profile-description p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.profile-description p:last-child {
    margin-bottom: 0;
}

.profile-description strong {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .modal-title {
        padding: 25px 20px 15px;
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-tool {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modal-tool-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.5rem;
    }
}

/* Mission Container in About Section */
.mission-container {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-left: 5px solid var(--primary);
}

.mission-container h2 {
    margin-bottom: 25px;
    color: var(--primary);
}

.mission-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-content p {
    margin-bottom: 20px;
}

.mission-content p:last-child {
    font-style: italic;
    color: var(--primary-dark);
}

/* Foundations Page Styles */
.foundations-hero {
    padding: 150px 0 60px;
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
}

.foundations-hero h1 {
    color: white;
    margin-bottom: 20px;
}

.foundations-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

.foundations-main {
    padding: 80px 0;
}

.foundations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.foundation-card {
    background: var(--grey);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.foundation-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.foundation-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.foundation-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.foundation-details {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.foundation-details h4 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.foundation-details ul {
    list-style: disc;
    margin-left: 20px;
}

.foundation-details li {
    margin-bottom: 8px;
}

.research-section, 
.methodology-section {
    margin-top: 80px;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.research-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    margin-bottom: 20px;
}

.research-item h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.research-authors {
    font-style: italic;
    margin-bottom: 10px;
}

.research-journal {
    font-size: 0.9rem;
    color: var(--dark-grey);
    margin-top: 10px;
    margin-bottom: 10px;
}

.methodology-content {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.methodology-image {
    margin: 30px 0;
    text-align: center;
}

.techno-image {
    max-width: 75%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.methodology-content ol {
    margin: 20px 0 20px 20px;
}

.methodology-content li {
    margin-bottom: 15px;
}

/* Cases Page Styles */
.cases-hero {
    padding: 150px 0 60px;
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
}

.cases-hero h1 {
    color: white;
    margin-bottom: 20px;
}

.cases-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

.cases-main {
    padding: 80px 0;
}

.case-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--grey);
    padding-bottom: 15px;
}

.case-tab {
    background: none;
    border: none;
    padding: 10px 25px;
    margin: 0 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-grey);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.case-tab:after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.case-tab.active {
    color: var(--primary);
}

.case-tab.active:after {
    width: 100%;
}

.case-content {
    display: none;
}

.case-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.case-icon {
    flex: 0 0 80px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-icon i {
    font-size: 2rem;
    color: var(--white);
}

.case-details {
    flex: 1;
    padding: 25px;
}

.case-details h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.case-scenario {
    font-style: italic;
    color: var(--dark-grey);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--grey);
}

.case-solution h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.case-results {
    display: flex;
    margin-top: 20px;
    gap: 15px;
}

.case-result {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    background: var(--grey);
    border-radius: var(--border-radius);
}

.result-stat {
    display: none;
}

.result-text {
    font-size: 0.95rem;
    color: var(--dark-grey);
    text-align: center;
}

.cases-cta {
    text-align: center;
    margin-top: 80px;
    padding: 50px;
    background: var(--grey);
    border-radius: var(--border-radius);
}

.cases-cta h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.cases-cta p {
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Packs Page Styles */
.packs-hero {
    padding: 150px 0 60px;
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
}

.packs-hero h1 {
    color: white;
    margin-bottom: 20px;
}

.packs-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

.packs-main {
    padding: 80px 0;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pack-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pack-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.pack-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.pack-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius);
}

.pack-header {
    background: var(--grey);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pack-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pack-icon i {
    font-size: 2rem;
    color: var(--white);
}

.pack-header h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.pack-price {
    font-size: 1.1rem;
    color: var(--dark-grey);
}

.pack-price strong {
    font-size: 1.4rem;
    color: var(--primary);
}

.pack-body {
    padding: 30px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pack-description {
    margin-bottom: 25px;
    text-align: center;
    font-style: italic;
    color: var(--dark-grey);
}

.pack-features {
    margin-bottom: 30px;
}

.pack-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.pack-features i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 4px;
}

.pack-features .fa-times {
    color: var(--dark-grey);
}

.pack-optional {
    color: var(--dark-grey);
    font-style: italic;
}

.pack-features .fa-plus {
    color: var(--primary-light);
}

.pack-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.pack-testimonial {
    background: rgba(149, 121, 240, 0.1);
    padding: 20px;
    font-style: italic;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.testimonial-author {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-weight: 600;
    font-style: normal;
}

.packs-comparison {
    margin: 80px 0;
}

.comparison-table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--grey);
}

.comparison-table th {
    background: var(--primary-dark);
    color: white;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--grey);
}

.comparison-table .fa-check {
    color: var(--primary);
}

.comparison-table .fa-times {
    color: var(--dark-grey);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.faq-item h4:before {
    content: "Q:";
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.packs-cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: var(--grey);
    border-radius: var(--border-radius);
}

.packs-cta-section h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.packs-cta-section p {
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .packs-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pack-card.featured {
        transform: scale(1);
    }
    
    .pack-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* New styles for the enhanced packs page */
.pack-highlight {
    background-color: rgba(149, 121, 240, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    border-left: 3px solid var(--primary);
}

.pack-highlight h4 {
    color: var(--primary);
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.pack-highlight h4 i {
    margin-right: 10px;
    color: var(--primary-light);
}

.pack-subtitle {
    color: var(--primary);
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pack-features li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.pack-features i {
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.pack-features li div {
    flex: 1;
}

.pack-features li strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.pack-features li p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.pack-features.value-added i {
    color: var(--primary-light);
}

.pack-optional div strong {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .pack-features li {
        flex-direction: column;
    }
    
    .pack-features li i {
        margin-bottom: 8px;
    }
}

/* Tools Table */
.tools-table-container {
    overflow-x: auto;
    margin: 40px 0;
}

.tools-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tools-table thead {
    background: var(--gradient);
    color: white;
}

.tools-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
}

.tools-table tbody tr {
    border-bottom: 1px solid var(--grey);
    transition: background 0.3s ease;
}

.tools-table tbody tr:hover {
    background: rgba(149, 121, 240, 0.05);
}

.tools-table tbody tr:last-child {
    border-bottom: none;
}

.tools-table td {
    padding: 25px 20px;
    vertical-align: top;
}

.tools-table td:first-child {
    font-size: 1.1rem;
    color: var(--primary);
}

.tools-table td:nth-child(2) {
    font-weight: 600;
    color: var(--primary-dark);
}

.tools-table td:nth-child(3) {
    line-height: 1.6;
    color: var(--dark-grey);
}

.tools-table td:last-child {
    text-align: center;
    min-width: 100px;
}

@media (max-width: 768px) {
    .tools-table {
        font-size: 0.9rem;
    }
    
    .tools-table th,
    .tools-table td {
        padding: 15px 12px;
    }
    
    .tools-table td:first-child {
        font-size: 1rem;
    }
}

.tools-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.tool-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tool-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--grey);
}

.tool-header h3 {
    color: var(--primary);
    margin: 0 0 10px 0;
    font-size: 2rem;
    text-align: center;
}

.tool-objective {
    color: var(--primary-dark);
    font-weight: 600;
    margin: 0;
    font-size: 1.05rem;
}

.tool-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-description {
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-body .btn-secondary {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .tools-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Section Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 120px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 3rem;
    color: var(--white);
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.blog-date {
    color: var(--dark-grey);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content .btn-secondary {
    margin-top: auto;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
    background: white;
    padding: 8px;
    border-radius: 4px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.footer-logo p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: var(--primary-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-dots {
    color: var(--primary-dark);
}

.footer-links a,
.footer-contact p {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-light);
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* White background specifically for LinkedIn icon */
.social-icons a[href*="linkedin"] {
    background: white;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a[href*="linkedin"]:hover {
    background: var(--primary-light);
}

.social-icons a[href*="linkedin"] img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icons a[href*="linkedin"] i {
    display: none;
}

.social-icons i {
    font-size: 1.3rem;
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
    }
    .nav-links {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        background: var(--white);
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        height: 350px;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .mission-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .case-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .case-tab {
        margin-bottom: 10px;
    }
    
    .case-tab:after {
        bottom: -5px;
    }
    
    .case-card {
        flex-direction: column;
    }
    
    .case-icon {
        flex: 0 0 60px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .constat-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .foundations-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .methodology-content {
        padding: 30px 20px;
    }
}

.foundation-btn {
    margin-top: 20px;
    text-align: center;
}

.synthese-btn {
    display: inline-block;
    padding: 8px 20px;
}

.conseiller-dashboard-example {
    background: white;
    border: 2px solid var(--grey);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
}

.conseiller-dashboard-example h4 {
    color: var(--primary-dark);
    margin: 0 0 25px 0;
    font-size: 1.2rem;
    text-align: center;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.metric-card {
    background: var(--grey);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-change {
    font-size: 0.75rem;
    color: #28a745;
    margin-top: 5px;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.chart-card {
    background: var(--grey);
    padding: 15px;
    border-radius: var(--border-radius);
}

.chart-card h5 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.mini-chart {
    height: 80px;
}

.donut-chart {
    display: flex;
    align-items: center;
    gap: 15px;
}

.donut-legend {
    font-size: 0.75rem;
}

.donut-legend div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.donut-legend span {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 6px;
    display: inline-block;
}

.market-mood {
    background: var(--grey);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.market-mood h5 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.mood-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.mood-item {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mood-prudent {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.mood-attention {
    background: rgba(255, 193, 7, 0.1);
    color: #ff9800;
}

.mood-optimiste {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.mood-opportuniste {
    background: rgba(78, 33, 183, 0.1);
    color: var(--primary);
}

.client-activity {
    margin-top: 20px;
}

.client-activity h5 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.activity-table {
    font-size: 0.85rem;
}

.activity-row {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr 2fr 1fr;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--grey);
    align-items: center;
}

.activity-header {
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--grey);
    border-radius: var(--border-radius);
}

.activity-row small {
    color: var(--dark-grey);
    font-size: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.badge-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.badge-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ff9800;
}

@media (max-width: 768px) {
    .dashboard-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-charts {
        grid-template-columns: 1fr;
    }

    .mood-indicators {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .activity-header {
        display: none;
    }

    .activity-row > div::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 5px;
        color: var(--primary-dark);
    }

    .donut-chart {
        flex-direction: column;
    }
}

.conseiller-example {
    background: white;
    border: 2px solid var(--grey);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
}

.conseiller-example h4 {
    color: var(--primary-dark);
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    text-align: center;
}

.example-scenario {
    background: var(--grey);
    border-radius: var(--border-radius);
    padding: 20px;
}

.scenario-header {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.05rem;
}

.scenario-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scenario-step {
    display: flex;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content {
    flex: 1;
}

.step-content h5 {
    color: var(--primary-dark);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-content h5 i {
    color: var(--primary);
}

.profile-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.limbique-droit {
    background: rgba(149, 121, 240, 0.1);
    color: var(--primary);
}

.step-description {
    font-size: 0.95rem;
    color: var(--dark-grey);
    margin: 0;
    line-height: 1.5;
}

.recommendations-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recommendations-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.recommendations-list i {
    color: var(--primary);
    margin-top: 2px;
}

.communication-example {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comm-wrong, .comm-right {
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.comm-wrong {
    background: rgba(149, 121, 240, 0.05);
    border-left: 3px solid var(--primary-light);
}

.comm-right {
    background: rgba(78, 33, 183, 0.05);
    border-left: 3px solid var(--primary);
}

.comm-wrong strong {
    color: var(--primary-light);
}

.comm-right strong {
    color: var(--primary);
}

.comm-wrong p, .comm-right p {
    margin: 8px 0 0 0;
    font-style: italic;
    line-height: 1.5;
}

.scenario-result {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.scenario-result h5 {
    color: var(--primary-dark);
    margin: 0 0 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.result-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: var(--grey);
    border-radius: var(--border-radius);
}

.metric-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--dark-grey);
    text-align: center;
}

@media (max-width: 768px) {
    .scenario-step {
        flex-direction: column;
    }

    .result-metrics {
        grid-template-columns: 1fr;
    }

    .communication-example {
        gap: 12px;
    }
}

.fund-dimensions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.dimension-card {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 2px solid var(--grey);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}

.dimension-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 3px 10px rgba(78, 33, 183, 0.1);
}

.dimension-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.dimension-content {
    flex: 1;
}

.dimension-content h6 {
    margin: 0 0 8px 0;
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

.dimension-bar {
    height: 8px;
    background: var(--grey);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.dimension-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.dimension-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dark-grey);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .fund-dimensions {
        grid-template-columns: 1fr;
    }
}

.allocation-recommendation {
    background: white;
    border: 2px solid var(--grey);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 25px;
}

.allocation-recommendation h4 {
    color: var(--primary);
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.allocation-intro {
    color: var(--dark-grey);
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.allocation-bars {
    margin-bottom: 20px;
}

.allocation-item {
    margin-bottom: 20px;
}

.allocation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.allocation-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.allocation-percent {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.allocation-bar-container {
    height: 24px;
    background: var(--grey);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 5px;
}

.allocation-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.6s ease;
}

.allocation-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dark-grey);
    font-style: italic;
    padding-left: 5px;
}

.allocation-note {
    background: rgba(149, 121, 240, 0.05);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary);
}

.allocation-note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.allocation-note i {
    color: var(--primary);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .allocation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
}

.team-section {
    background-color: var(--white);
    padding: 80px 0;
}

.team-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
    color: var(--dark-grey);
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-member {
    background: var(--grey);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.member-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(78, 33, 183, 0.1);
}

.member-header h3 {
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.member-role {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.member-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-grey);
}

.team-footer {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    font-style: italic;
    margin-top: 30px;
}

/* Article Template Styles */
.article-header {
    background: var(--gradient);
    padding: 150px 0 60px;
    color: white;
    text-align: center;
}

.article-header h1 {
    color: white;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 8px;
}

.article-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.article-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-content ul {
    margin-bottom: 20px;
    list-style-type: disc;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-content ol {
    margin-bottom: 20px;
    list-style-type: decimal;
    padding-left: 20px;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 30px 0;
}

.article-highlight {
    background-color: rgba(149, 121, 240, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
    margin: 30px 0;
}

.article-highlight strong {
    color: var(--primary-dark);
}

.article-quote {
    font-style: italic;
    color: var(--primary-dark);
    padding: 20px;
    border-left: 3px solid var(--primary-light);
    background: var(--grey);
    margin: 30px 0;
}

.article-quote cite {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-weight: 500;
    font-style: normal;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--grey);
}

.article-share {
    display: flex;
    gap: 15px;
}

.article-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.article-share a:hover {
    background: var(--primary);
    color: white;
}

.related-articles {
    background-color: var(--grey);
    padding: 60px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Article-specific component styles */
.system-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.system-box {
    background: var(--grey);
    border-radius: var(--border-radius);
    padding: 25px;
    border-top: 4px solid var(--primary);
}

.system-box h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.system-box h4 i {
    margin-right: 10px;
}

.system-characteristics {
    margin-top: 15px;
}

.system-characteristics li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.decision-example {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.decision-example h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.social-diagram {
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
}

.bubble-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0;
}

.bubble {
    background: rgba(149, 121, 240, 0.1);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 15px;
    padding: 20px;
    font-weight: 500;
    color: var(--primary-dark);
    border: 2px solid var(--primary-light);
}

.steps-container {
    counter-reset: step-counter;
    margin: 30px 0;
}

.step-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 70px;
}

.step-item:before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.brain-wave {
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
}

.volatility-graph {
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
}

.technique-box {
    background: var(--grey);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 25px 0;
    border-left: 3px solid var(--primary);
}

.technique-box h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.score-chart {
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
}

.mindscore-diagram {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 30px 0;
}

.score-category {
    flex-basis: 45%;
    background: var(--grey);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
}

.score-category h4 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.score-category h4 i {
    margin-right: 10px;
}

.score-category p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.result-example {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.result-example h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--grey);
}

.result-label {
    font-weight: 500;
}

.result-value {
    color: var(--primary);
    font-weight: 600;
}

.figure-container {
    margin: 30px 0;
    text-align: center;
}

.figure-container img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.figure-caption {
    font-size: 0.9rem;
    color: var(--dark-grey);
    margin-top: 10px;
    font-style: italic;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.article-table th {
    background-color: var(--primary);
    color: white;
    padding: 12px;
    text-align: left;
}

.article-table td {
    padding: 12px;
    border-bottom: 1px solid var(--grey);
}

.article-table tr:nth-child(even) {
    background-color: var(--grey);
}

.code-example {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    margin: 20px 0;
    overflow-x: auto;
    border-left: 3px solid var(--primary);
}

.ai-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}

.ai-diagram svg {
    max-width: 100%;
    height: auto;
}

.diagram-caption {
    font-size: 0.8rem;
    color: var(--dark-grey);
    margin-top: 10px;
    text-align: center;
}

.learning-path {
    margin: 30px 0;
    position: relative;
}

.learning-path-timeline {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background: var(--primary-light);
}

.learning-stage {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.learning-stage:before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
}

.learning-stage h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.learning-type {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.learning-type-item {
    flex-basis: 48%;
    background: var(--grey);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
}

.learning-type-item h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.learning-type-item h4 i {
    margin-right: 10px;
}

.adaptive-example {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.adaptive-example h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.example-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.example-column {
    flex: 1;
    min-width: 250px;
}

.example-card {
    background: var(--grey);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.example-card h5 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1rem;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ai-feature {
    background: var(--grey);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 3px solid var(--primary);
}

.ai-feature h4 {
    display: flex;
    align-items: center;
    color: var(--primary);
    margin-bottom: 15px;
}

.ai-feature h4 i {
    margin-right: 10px;
}

.ai-feature p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.conversation-example {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 30px 0;
    overflow: hidden;
}

.conversation-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
}

.conversation-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.conversation-body {
    padding: 20px;
}

.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.message:last-child {
    margin-bottom: 0;
}

.message-user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message-ai .message-content {
    background: var(--grey);
    border-bottom-left-radius: 5px;
}

.message-user .message-content {
    background: rgba(149, 121, 240, 0.1);
    border-bottom-right-radius: 5px;
    text-align: right;
}

.use-cases {
    margin: 30px 0;
}

.use-case {
    background: var(--grey);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
}

.use-case h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.use-case p {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .system-comparison {
        grid-template-columns: 1fr;
    }
    
    .score-category {
        flex-basis: 100%;
    }
    
    .learning-type-item {
        flex-basis: 100%;
    }
    
    .example-column {
        flex-basis: 100%;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
    }
    
    .message-content {
        max-width: 90%;
    }
}

/* Clickable biais cognitifs styling */
.biais-cognitifs-link {
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: var(--primary-light);
    transition: all 0.3s ease;
}

.biais-cognitifs-link:hover {
    color: var(--primary-dark);
    text-decoration-style: solid;
}