
/* Conteneur principal de la roadmap */
#roadmap {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
}

.timeline-horizontal {
    display: flex;
    justify-content: center; /* centre les étapes horizontalement */
    align-items: stretch; /* aligne les hauteurs */
    flex-wrap: wrap; /* permet le retour à la ligne */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(105deg, rgb(61, 155, 252), rgba(61, 156, 253, 0.05));
    box-shadow: 0 0 20px var(--accent-color), 0 0 40px var(--accent-light-color);
    animation: pulse 2s infinite alternate;
    z-index: 1;
}

/* Chaque étape */
.timeline-step {
    flex: 1 1 300px;
    display: flex;
    justify-content: center; /* centre le contenu horizontalement */
    align-items: center;
}

/* Carte de contenu */
.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    height: 100%; /* prend toute la hauteur dispo */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease;
    display: flex; /* permet d’équilibrer le contenu */
    flex-direction: column;
    justify-content: center;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

/* Texte */
.timeline-date {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--accent-color, #00f);
}

.timeline-content h3 {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-horizontal {
        flex-direction: column;
        align-items: center;
    }

    .timeline-step {
        width: 100%;
        justify-content: center;
    }

    .timeline-content {
        text-align: center;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px var(--accent-color);
    }
    100% {
        box-shadow: 0 0 40px var(--accent-light-color);
    }
}


.timeline-point {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-color), 0 0 24px var(--accent-light-color);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px var(--accent-color);
    }
    100% {
        box-shadow: 0 0 25px var(--accent-light-color);
    }
}

.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 1.5rem;
    border-radius: 14px;
    color: var(--heading-color);
    width: 200px;
    position: relative;
    z-index: 2;
}

.glass.top {
    margin-bottom: 2rem;
}

.glass.bottom {
    margin-top: 2rem;
}

.timeline-date {
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent-color);
    display: block;
    margin-bottom: .5rem;
}

.timeline-content {
    width: 270px; /* largeur fixe plus grande */
    height: 200px; /* hauteur fixe */
    display: flex; /* pour centrer le contenu */
    flex-direction: column;
    justify-content: center; /* centrage vertical */
    align-items: center; /* centrage horizontal */
    text-align: center;
    background: rgb(253, 253, 254);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    box-sizing: border-box;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content ul li {
    font-size: .9rem;
    margin-bottom: .3rem;
    color: var(--default-color);
}

@media (max-width: 900px) {
    .timeline-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-horizontal::before {
        top: 0;
        left: 25px;
        height: 100%;
        width: 4px;
        background: linear-gradient(180deg, var(--accent-color), var(--heading-color));
    }

    .timeline-step {
        width: 100%;
        display: flex;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .timeline-point {
        margin: 0 1rem 0 0;
    }

    .glass {
        width: auto;
        margin: 0;
    }
}

/* Section futuriste */
#difference {
    background: linear-gradient(135deg, rgb(250, 250, 250), rgba(61, 156, 253, 0.05));
    padding: 4rem 0;
}

/* Items */
.difference-item {
    background: linear-gradient(135deg, rgb(250, 250, 250), rgba(61, 156, 253, 0.05));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(61, 156, 253, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 0 15px rgba(61, 156, 253, 0.1);
    transition: all 0.3s ease;
}

.difference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(61, 156, 253, 0.25);
}

/* Image mobile au centre */
#difference .text-center img {
    filter: drop-shadow(0 0 12px rgba(61, 156, 253, 0.4));
}

#target {
    background: linear-gradient(135deg, rgb(250, 250, 250), rgba(61, 156, 253, 0.05));
    padding: 4rem 0;
}

.target-card {
    background-color: var(--surface-color);
    box-shadow: 0 0 20px rgba(61, 156, 253, 0.1);
    padding: 30px;
    position: relative;
    height: 100%;
    text-align: center;
    border-radius: 16px;
}

.target-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 55px rgba(61, 156, 253, 0.25);
}

.target-card i {
    font-size: 1.8rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(61, 156, 253, 0.8);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.target-card h4 {
    color: #2a5684;
    font-weight: 600;
    margin-top: 0.5rem;
}

.target-card img {
    border-radius: 12px;
    border: 1px solid rgba(61, 156, 253, 0.15);
    filter: drop-shadow(0 0 12px rgba(61, 156, 253, 0.4));
}

#solution {
    background: linear-gradient(135deg, var(--accent-light-color) 0%, var(--background-color) 100%);
    padding: 4rem 0;
}

.step-card {
    display: flex;
    gap: 1rem;
    backdrop-filter: blur(12px);
    text-align: center;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(61, 156, 253, 0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(61, 156, 253, 0.25);
}

.step-number {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(61, 156, 253, 0.4);
    flex-shrink: 0;
}

.step-card h3 {
    color: var(--heading-color);
    margin-bottom: 0.25rem;
}

.step-card p {
    color: var(--default-color);
}

.highlight-text {
    font-weight: 600;
    color: var(--accent-color);
}

#problem {
    background: linear-gradient(135deg, var(--accent-light-color) 0%, var(--background-color) 100%);
    padding: 4rem 0;
}

.quote-card {
    background: linear-gradient(135deg, rgb(250, 250, 250), rgba(61, 156, 253, 0.05));
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(61, 156, 253, 0.1);
    transition: all 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(61, 156, 253, 0.25);
}

.quote-card i {
    font-size: 2rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.quote-card p {
    color: var(--default-color);
    font-weight: 500;
}

/* Section Features */
#features {
    background: var(--background-color);
    color: var(--default-color);
    font-family: --default-font, serif;
}

#features .section-title p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--default-color);
    margin-bottom: 3rem;
}

.difference-card {
    background-color: var(--surface-color);
    box-shadow: 0 0 20px rgba(61, 156, 253, 0.1);
    padding: 30px;
    position: relative;
    height: 100%;
    text-align: center;
    border-radius: 16px;
}

.difference-card:hover {
    transform: translateY(-50%);
    box-shadow: 0 0 55px rgba(61, 156, 253, 0.25);
}

.difference-card .icon-wrapper {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: transform 0.5s ease, color 0.5s ease;
}

.difference-card h3 {
    color: #2a5683;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
    .difference-card {
        min-height: auto;
        padding: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Animation fluide du dégradé */
@keyframes gradient-flow {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.animated-gradient-h2 {
    font-family: --default-font, serif;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    background: linear-gradient(
        90deg,
        var(--accent-color),
        var(--heading-color),
        var(--accent-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300%;
    animation: gradient-flow 8s ease-in-out infinite;
    cursor: pointer;
    transition: transform 1s ease;
}

/* Interaction avec la souris */
.animated-gradient-h2:hover {
    transform: scale(1.05);
    animation-duration: 3s; /* accélère l’animation */
}

@keyframes cyberScan {
    0% {
        opacity: 0;
        clip-path: inset(100% 0 0 0);
    }
    50% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        box-shadow: 0 0 20px rgba(61, 156, 253, 0.5);
    }
    100% {
        clip-path: inset(0 0 0 0);
        box-shadow: 0 0 10px rgba(61, 156, 253, 0.2);
    }
}

.btn-floating-demo {
    position: fixed;
    top: 90%;
    left: -200px; /* caché hors de l'écran au départ */
    transform: translateY(-50%);
    background-color: #3d9bfc; /* couleur Bootstrap primary */
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: left 0.4s ease;
    z-index: 9999;
}

.btn-floating-demo:hover {
    background-color: #fdfdfe;
    text-decoration: none;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* pousse le bouton en bas */
    height: 100%; /* occupe toute la hauteur de la colonne */
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--surface-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pricing .pricing-card.free {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .pricing-card.free h3,
.pricing .pricing-card.free p,
.pricing .pricing-card.free h4 {
    color: var(--contrast-color);
}

.pricing .pricing-card.free .price .currency,
.pricing .pricing-card.free .price .amount,
.pricing .pricing-card.free .price .period {
    color: var(--contrast-color);
}

.pricing .pricing-card.free .features-list li {
    color: var(--contrast-color);
}

.pricing .pricing-card.free .features-list li i {
    color: var(--contrast-color);
}

.pricing .pricing-card.free .btn-light {
    background: var(--contrast-color);
    color: var(--accent-color);
}

.pricing .pricing-card.free .btn-light:hover {
    background: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.pricing .pricing-card.premium {
    background: var(--premium-color);
    color: var(--contrast-color);
}

.pricing .pricing-card.premium h3,
.pricing .pricing-card.premium p,
.pricing .pricing-card.premium h4 {
    color: var(--contrast-color);
}

.pricing .pricing-card.premium .price .currency,
.pricing .pricing-card.premium .price .amount,
.pricing .pricing-card.premium .price .period {
    color: var(--contrast-color);
}

.pricing .pricing-card.premium .features-list li {
    color: var(--contrast-color);
}

.pricing .pricing-card.premium .features-list li i {
    color: var(--contrast-color);
}

.pricing .pricing-card.premium .btn-light {
    background: var(--contrast-color);
    color: var(--accent-color);
}

.pricing .pricing-card.premium .btn-light:hover {
    background: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.pricing-card .btn {
    margin-top: 1rem; /* espace entre la liste et le bouton */
    align-self: flex-start; /* ou flex-end si tu veux que le bouton soit à droite */
}

[class^="particles-"],
[class*=" particles-"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.logo-solution {
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
}
