:root {
    --color-primary: rgb(6, 1, 16);
    --color-secondary: red;
    --color-texte: rgb(255, 255, 255);
    --color-texte-2: rgb(255, 206, 227);
    --color-tertiary: rgb(249, 59, 141);

    --linear-1: linear-gradient(-50deg, #1100ff 10%, #ff00f2);
}

html,
*,
body {
    padding: 0;
    margin: 0;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Hedvig Letters Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    background: var(--color-texte);
    overflow-x: hidden;
    background: var(--color-primary);
    color: var(--color-texte);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.btn-primary-header {
    background: var(--linear-1);
    color: var(--color-texte);
    padding: 10px;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
}

.btn-primary-header i {
    margin-left: 10px;
}

.header-section {
    background: var(--color-primary);
    padding-top: 130px;
}


header {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 5;
}

header a {
    z-index: 10;
    color: var(--color-texte) !important;
}

header nav {
    position: fixed;
    background: var(--color-primary);
    padding: 25px 10px !important;

}

.header-section h1 {
    color: var(--color-texte);
    font-size: 80px;
    line-height: 75px;
}

.header-section .row {
    align-items: center;
    justify-content: space-between;
}

.img-header div {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.header-section .btn-primary {
    margin-top: 20px;
}

.btn-primary {
    padding: 20px 30px;
    background: var(--linear-1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-primary i {
    margin-left: 10px;
}

.intro-img-content img {
    width: 100%;
}

.list-introduction ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
    display: flex;
    grid-gap: 10px;
}

.list-introduction ul li {
    border: 1px solid rgba(149, 149, 149, 0.315);
    color: var(--color-texte);
    width: 50%;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 40px;
    border-radius: 10px;
}

.list-introduction {
    margin-bottom: 20px;
}

#introduction .introduction-content div {
    background: linear-gradient(71deg, rgb(6, 1, 16), rgb(16, 9, 32));
    background-clip: border-box;
    background-clip: padding-box;
    padding: 0;
    padding: 20px;
    height: 100%;
}

#statistiques .row h2 {
    margin-bottom: 40px;
    width: 75%;
}


#statistiques .row ul {
    padding: 0;
    list-style-type: none;
}

#statistiques .row ul li {
    margin-bottom: 15px;
}

#statistiques .row ul li .bg-text {
    background: var(--linear-1);
    padding: 0 10px;
}







.gradient-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 30px;
}


.container-title {
    text-align: center;
    padding: 0 !important;
    margin-bottom: 40px;
    font-size: 40px;
    color: #fff;
    font-weight: 600;
    line-height: 60px;
}

.card {
    max-width: 550px;
    border: 0;
    width: 100%;
    margin-inline: auto;
    background: none;
}


.container-card {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(71deg, rgb(6, 1, 16), rgb(16, 9, 32), rgb(6, 1, 16));
    background-clip: padding-box;
    border-radius: 45px;
    padding: 40px;
}


.bg-green-box,
.bg-white-box,
.bg-yellow-box,
.bg-blue-box {
    position: relative;
}

.bg-green-box::after,
.bg-white-box::after,
.bg-yellow-box::after,
.bg-blue-box::after {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    content: "";
    z-index: -1;
    border-radius: 45px;
}

.bg-green-box::after {
    background: linear-gradient(71deg, #0d1212, #3da077, #0d1212);
}

.bg-white-box::after {
    background: linear-gradient(71deg, #121013, #b0afb0, #121013);
}

.bg-yellow-box::after {
    background: linear-gradient(71deg, #110e0e, #afa220, #110e0e);
}

.bg-blue-box::after {
    background: linear-gradient(71deg, #0c0a0e, #5f6fad, #0c0a0e);
}

.card-title {
    font-weight: 600;
    color: white;
    letter-spacing: -0.02em;
    line-height: 40px;
    font-style: normal;
    font-size: 28px;
    padding-bottom: 8px;
}

.card-description {
    font-weight: 600;
    line-height: 32px;
    color: hsla(0, 0%, 100%, 0.5);
    font-size: 16px;
    max-width: 470px;
}

.card:nth-child(1) .card-price {
    color: #47f1aa;
    font-size: 40px;
    font-weight: bolder;
}

.card:nth-child(3) .card-price {
    color: #f7e625;
    font-size: 40px;
    font-weight: bolder;
}

.card:nth-child(2) .card-price {
    color: #e3e3e3;
    font-size: 40px;
    font-weight: bolder;
}

.card-description {
    margin: 0;
}





/* Gradient CSS */
.blob {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 650px;
    height: 650px;
    border-radius: 100%;
    background-image: linear-gradient(#1100ff 10%, #ff00f2);
    filter: blur(250px);
    transition: all 450ms ease-out;
    position: absolute;
    pointer-events: none;
    right: 0;
    top: 0;
    transform: translate(calc(-50% + 15px), -50%);
    z-index: 1;
}

#caracteristiques {
    padding: 20px;
}

.h2-width {
    width: 60%;
    margin-bottom: 40px;
}

#caracteristiques ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
    margin-bottom: 20px;
}

#caracteristiques ul li i {
    color: #ff00f2;
    font-size: 25px;
}

.caracteristiques-content {
    background: linear-gradient(71deg, rgb(6, 1, 16), rgb(16, 9, 32), rgb(6, 1, 16));
    background-clip: border-box;
    background-clip: padding-box;
    padding: 25px;
    border-radius: 5px;
}

.listplans {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    grid-gap: 15px;
    margin: 30px 0;

}

.listplans li {
    width: 50%;
    padding: 20px;
}

.listplans li:nth-child(2) {
    border-left: 5px solid rgb(2, 2, 2);
    border-right: 5px solid rgb(2, 2, 2);
}

.listplans li i {
    font-size: 40px;
    display: flex;
    margin-bottom: 20px;
}

.width-50 {
    width: 65%;
    margin-bottom: 50px;
}

.width-50 h2 {
    margin-bottom: 40px;
    width: 50%;
}

.content-titre h2 {
    width: 45%;
    margin-bottom: 50px;
}

.conten-btn div {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
}

#statistiques {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(71deg, rgb(6, 1, 16), rgb(16, 9, 32), rgb(6, 1, 16));
    background-clip: border-box;
    background-clip: padding-box;
    border-radius: 10px;
    padding: 40px;
}

footer {
    background: linear-gradient(71deg, rgb(6, 1, 16), rgb(16, 9, 32), rgb(6, 1, 16));
}

.mobile-only {
    display: none;
    color: var(--color-texte);
    border-radius: 5px;
}

/* ===========================
   POPUP D'ÂGE
   =========================== */
.age-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.age-popup-content {
    background: linear-gradient(135deg, rgb(6, 1, 16) 0%, rgb(16, 9, 32) 50%, rgb(6, 1, 16) 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(59, 107, 249, 0.3);
    position: relative;
}

.age-popup-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-tertiary), rgba(59, 107, 249, 0.5), var(--color-tertiary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.7;
}

.age-popup-content h1 {
    color: var(--color-texte);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.age-popup-content p {
    color: var(--color-texte);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.age-popup-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-popup-buttons button {
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

#age-yes {
    background: linear-gradient(135deg, #28a745, #20c997, #17a2b8);
    color: white;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

#age-yes:hover {
    background: linear-gradient(135deg, #218838, #1c7d74, #138496);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
}

#age-no {
    background: linear-gradient(135deg, #dc3545, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

#age-no:hover {
    background: linear-gradient(135deg, #c82333, #d62c1a, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
}

.age-popup-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.age-popup-buttons button:hover::before {
    left: 100%;
}

/* Animation d'apparition */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.age-popup-content {
    animation: popupFadeIn 0.4s ease-out;
}

/* Responsive pour le popup */
@media (max-width: 576px) {
    .age-popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .age-popup-content h1 {
        font-size: 1.5rem;
    }
    
    .age-popup-content p {
        font-size: 1rem;
    }
    
    .age-popup-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .age-popup-buttons button {
        min-width: 100%;
        max-width: 250px;
    }
}

h2{
    font-size: 40px;
    font-weight: bold;
}   