* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0f0f12;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Conteneur principal */
.main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

/* Style de l'en-tête */
.header {
    text-align: center;
    margin-bottom: 40px;
}

/* Logo Chari-V */
.brand-logo {
    width: 90px;
    height: auto;
    margin-bottom: 12px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

.main-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.slogan {
    color: #a0a0ab;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Grille des cartes */
.split-container {
    display: flex;
    gap: 24px;
    width: 100%;
}

/* Style des cartes */
.card {
    flex: 1;
    background: #18181c;
    border: 1px solid #2a2a32;
    border-radius: 16px;
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card p {
    color: #a0a0ab;
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.4;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

/* Carte Viewer */
.card-viewer .card-icon {
    color: #3b82f6;
}

.card-viewer .action-btn {
    background: #3b82f6;
    color: #ffffff;
}

.card-viewer:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
    background: #19202e;
}

.card-viewer:hover .action-btn {
    background: #2563eb;
}

/* Carte Créateur */
.card-creator .card-icon {
    color: #8b5cf6;
}

.card-creator .action-btn {
    background: #8b5cf6;
    color: #ffffff;
}

.card-creator:hover {
    transform: translateY(-6px);
    border-color: #8b5cf6;
    background: #211c30;
}

.card-creator:hover .action-btn {
    background: #7c3aed;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-logo {
        width: 75px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .slogan {
        font-size: 0.95rem;
    }

    .split-container {
        flex-direction: column;
    }

    .card {
        padding: 35px 20px;
    }
}