:root {
    --brand-magenta: #9d1a76;
    --brand-green: #83b727;
    --brand-gold: #e5c523;
    --ui-magenta: #e859b5;
    --ui-green: #a3e635;
    --ui-gold: #facc15;
    --bg-dark: #21065c;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.12);
    --glow-primary: radial-gradient(circle at center, rgba(157, 26, 118, 0.5) 0%, transparent 70%);
    --text-main: #ffffff;
    --text-muted: #d2d7de;
    --text-secondary: #a7f3d0;
    --gradient-text: linear-gradient(to right, #fff, var(--ui-magenta), var(--ui-gold));
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px;

}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

.glow-blob {
    position: fixed;
    width: 700px;
    height: 700px;
    background: var(--glow-primary);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -2;
    opacity: 0.25;
    animation: float 15s infinite ease-in-out;
}

.blob-1 {
    top: -200px;
    left: -100px;
}

.blob-2 {
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--brand-green), transparent 40%);
    opacity: 0
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 40px); }
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-custom {
    background-color: var(--brand-magenta);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(157, 26, 118, 0.4);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-custom:hover {
    background-color: var(--ui-magenta);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 89, 181, 0.5);
}

.btn-outline-custom {
    background: rgba(255, 255, 255, 0.08);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);

}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.card-custom {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

.card-custom:hover {
    border-color: var(--ui-magenta);
    transform: translateY(-5px);
}

.progress-fill {
    height: 100%;
    background: var(--ui-green);
    width: 0%;
    transition: width 1.5s ease-out;
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.5);
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
}

.fill-low {
    width: 20%;
    background: #ef4444;
}

.fill-high {
    width: 95%;
    background: var(--ui-green);
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.6);
}

.step-marker {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--ui-magenta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--ui-magenta);
    box-shadow: 0 0 15px rgba(232, 89, 181, 0.2);
    z-index: 2;
    flex-shrink: 0;
}

.roadmap-line {
    background: linear-gradient(to bottom, var(--ui-magenta), rgba(255, 255, 255, 0.05));
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
}

.story-highlight {
    color: var(--ui-magenta);
    font-weight: 600;
}

.comparator-ui {
    background: #08050e;
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.ui-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    color: white;
    font-weight: 700;
    border-bottom: 1px solid var(--border-glass);
}

.ui-row {
    padding: 25px 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vignico-col {
    color: var(--ui-magenta);
    font-weight: 800;
    font-size: 1.1rem;
}

.bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 100%;
    margin-top: 10px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--ui-magenta);
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 89, 181, 0.2);
}

.alert-custom {
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 600;
}

.alert-success-custom {
    background: rgba(163, 230, 53, 0.2);
    border: 1px solid var(--ui-green);
    color: var(--ui-green);
}

.alert-info-custom {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    color: white;
}

.text-green {
    color: var(--ui-green);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted) !important;
}

.opacity-7 {
    opacity: 0.7;
}

.story-section {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.story-section h2 {
    font-family: var(--font-serif);
    font-style: italic;

}

.story-section p {
    color: var(--text-muted);
}

.icon-gradient-magenta {
    background: linear-gradient(to right, #ef4444, #f87171);
    -webkit-background-clip: text;
    color: transparent;
}

.icon-gradient-gold {
    background: linear-gradient(to right, var(--ui-gold), #fde047);
    -webkit-background-clip: text;
    color: transparent;
}

.icon-gradient-white {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    color: transparent;
}

.solution-icon {
    color: var(--ui-green);
    font-size: 2rem;
    background: rgba(163, 230, 53, 0.1);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(163, 230, 53, 0.2);
}

.text-magenta {
    color: var(--ui-magenta);
}

.border-magenta {
    border-color: var(--ui-magenta);
}

.border-opacity-25 {
    border-opacity: 0.25;
}


nav {
        height: 80px;
}
/* Logo toujours visible */
.header-logo {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
    width: 150px;
}

nav.sticky .header-logo {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

.hero-logo {
     opacity: 1 !important;
    transition: opacity 0.3s ease;

}


.hero-logo.hide{
     opacity: 0 !important;
    transition: opacity 0.3s ease;

}

/* Sticky Navigation */
nav.sticky {
    backdrop-filter: blur(10px);
    background-color: rgba(18, 10, 31, 0.25) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

/* Amélioration du contraste pour les cartes */
.card-custom {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-custom p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.card-custom h3 {
    color: var(--text-main);
    font-weight: 300;
}

/* Amélioration du contraste pour les sections */
section {
    padding: 100px 0;
}
section h2 {
    color: var(--text-main);
    font-weight: 300;
    margin-bottom: 2rem;
}

section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ui-header, .ui-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .ui-header span:nth-child(2), .ui-row div:nth-child(2) {
        display: none;
    }

    section {
        padding: 60px 0;
    }
}

footer {
    border-top: 1px solid var(--border-glass);
    margin-top: 50px;
    padding: 40px 0;
    color: var(--text-muted);
    text-align: center;
}

.badge {
    display: inline-block;
    background: rgba(232, 89, 181, 0.15) !important;
    color: var(--ui-magenta) !important;
    padding: 1em !important;
    border-radius: 50px;
    font-size: 1rem !important;
    font-weight: 300;
    border: 1px solid rgba(232, 89, 181, 0.3) !important;
    margin-bottom: 25px;
}





    .icon-gradient-green {
        background: linear-gradient(to right, var(--ui-green), #a3e635);
        -webkit-background-clip: text;
        color: transparent;
    }












    