/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: rgb(19,19,39);
    --secondary-color: rgb(34,34,59);
    --accent-color: rgb(205,196,151);
    --white: #ffffff;
    --text-light: rgb(80,80,100);
    --text-lighter: rgb(100,100,120);
    
    /* Couleurs inspirées adalane.fr */
    --adalane-bg: #f8f9fa;
    --adalane-section-light: #ffffff;
    
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE (polices adalane.fr) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: var(--adalane-bg);
    color: var(--primary-color);
    min-height: 100vh;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER (hauteur réduite) ===== */
.header {
    background: var(--white);
    padding: 12px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 45px;
    width: auto;
}

.logo-sm {
    height: 40px;
    width: auto;
}

.brand-text {
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.brand-text-sm {
    color: var(--primary-color);
    font-size: 1em;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.ai-badge {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.65em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 8px;
    display: inline-block;
}

/* ===== NAVIGATION ===== */
.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    font-size: 0.95em;
}

.nav-link:hover {
    background: rgba(19,19,39,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-text {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95em;
}

/* ===== HERO SECTION (hauteur réduite) ===== */
.hero {
    padding: 50px 0;
    text-align: center;
    background: var(--white);
}

.hero h1 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.hero p {
    color: var(--text-light);
    font-size: 1.05em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.ai-highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ===== MAIN CONTENT (espacement réduit) ===== */
.main-content {
    padding: 40px 0;
    background: var(--adalane-bg);
}

.section {
    margin-bottom: 50px;
    background: var(--adalane-section-light);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 35px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.section-title-dark {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== CARDS (taille réduite) ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: var(--accent-color);
    border-radius: var(--border-radius-lg);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-title {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.5;
    font-size: 0.95em;
}

.card-features {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.card-features li {
    color: var(--primary-color);
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9em;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9em;
}

.ai-features {
    background: rgba(19,19,39,0.05);
    padding: 12px;
    border-radius: var(--border-radius-md);
    margin-top: 12px;
}

.ai-features-title {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.ai-features-list {
    font-size: 0.8em;
    color: var(--text-light);
    list-style: none;
}

.ai-features-list li::before {
    content: '⚙️';
    margin-right: 6px;
    font-size: 0.9em;
}

/* ===== BUTTONS (taille réduite) ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(19,19,39,0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--accent-color);
}

.btn-small {
    padding: 6px 14px;
    font-size: 0.85em;
}

.logout-btn {
    background: var(--primary-color);
    color: var(--accent-color);
    border: none;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9em;
}

.logout-btn:hover {
    background: var(--secondary-color);
}

/* ===== DASHBOARD SPECIFIC (tailles réduites) ===== */
.dashboard-title {
    color: var(--primary-color);
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.85em;
}

.sections-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.section-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-light);
}

/* ===== EVALUATIONS ===== */
.evaluation-list {
    display: grid;
    gap: 12px;
}

.evaluation-item {
    background: rgba(205,196,151,0.1);
    padding: 16px;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.evaluation-item:hover {
    background: rgba(205,196,151,0.2);
    transform: translateX(3px);
}

.evaluation-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 1em;
}

.evaluation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.evaluation-status {
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.75em;
    text-transform: uppercase;
}

.status-available {
    background: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

.status-completed {
    background: rgba(33, 150, 243, 0.2);
    color: #1976d2;
}

.status-in-progress {
    background: rgba(255, 152, 0, 0.2);
    color: #f57c00;
}

.status-new {
    background: rgba(156, 39, 176, 0.2);
    color: #7b1fa2;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(19,19,39,0.15);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Reste du CSS... */

/* ===== HEADER ===== */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    width: auto;
}

.logo-sm {
    height: 50px;
    width: auto;
}

.brand-text {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: 700;
}

.brand-text-sm {
    color: var(--primary-color);
    font-size: 1.5em;
    font-weight: 700;
}

.ai-badge {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== NAVIGATION ===== */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(19,19,39,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.hero h1 {
    color: var(--primary-color);
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    color: var(--text-light);
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ai-highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ===== MAIN CONTENT (style adalane) ===== */
.main-content {
    padding: 60px 0;
    background: var(--adalane-bg);
}

.section {
    margin-bottom: 80px;
    background: var(--adalane-section-light);
    padding: 60px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-title-dark {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--accent-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card-title {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.card-features li {
    color: var(--primary-color);
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.ai-features {
    background: rgba(19,19,39,0.05);
    padding: 15px;
    border-radius: var(--border-radius-md);
    margin-top: 15px;
}

.ai-features-title {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.ai-features-list {
    font-size: 0.8em;
    color: var(--text-light);
    list-style: none;
}

.ai-features-list li::before {
    content: '🤖';
    margin-right: 8px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19,19,39,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--accent-color);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9em;
}

.logout-btn {
    background: var(--primary-color);
    color: var(--accent-color);
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.logout-btn:hover {
    background: var(--secondary-color);
}

/* ===== DASHBOARD SPECIFIC ===== */
.dashboard-title {
    color: var(--accent-color);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--accent-color);
    padding: 25px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sections-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.section-card {
    background: var(--accent-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-heavy);
}

/* ===== EVALUATIONS ===== */
.evaluation-list {
    display: grid;
    gap: 15px;
}

.evaluation-item {
    background: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.evaluation-item:hover {
    background: rgba(255,255,255,0.9);
    transform: translateX(5px);
}

.evaluation-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.evaluation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: var(--text-lighter);
    margin-bottom: 10px;
}

.evaluation-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8em;
    text-transform: uppercase;
}

.status-available {
    background: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

.status-completed {
    background: rgba(33, 150, 243, 0.2);
    color: #1976d2;
}

.status-in-progress {
    background: rgba(255, 152, 0, 0.2);
    color: #f57c00;
}

.status-new {
    background: rgba(156, 39, 176, 0.2);
    color: #7b1fa2;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(19,19,39,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* ===== FORMS ===== */
.login-section {
    background: rgba(205,196,151,0.1);
    padding: 60px 0;
    border-radius: var(--border-radius-lg);
    margin: 40px 0;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--accent-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-heavy);
}

.login-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(19,19,39,0.2);
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
}

.modal-title {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--primary-color);
}

/* ===== BENEFITS & FEATURES ===== */
.benefits {
    background: rgba(205,196,151,0.05);
    padding: 60px 0;
    margin: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.benefit-title {
    color: var(--accent-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-text {
    color: rgba(205,196,151,0.8);
    line-height: 1.6;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    background: rgba(205,196,151,0.1);
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin-top: 40px;
}

.quick-actions-title {
    color: var(--accent-color);
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-card {
    background: var(--accent-color);
    padding: 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.action-icon {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.action-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
}

.footer-text {
    color: var(--accent-color);
}

/* ===== UTILITIES ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .brand-text {
        font-size: 1.4em;
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .sections-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .dashboard-title {
        font-size: 2em;
    }

    .actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .container {
        padding: 0 15px;
    }
}