/*=========================*/
/*        GÉNÉRAL         */
/*=========================*/
body {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', monospace;
    background: url('/static/img.jpg') no-repeat center center/cover;
    background-repeat: no-repeat;
    background-size: 177%;
    background-position: center top;
    background-attachment: scroll; 
    overflow-y: auto;
    overflow: auto;
}

/* Pour upgrade.html */
body.upgrade-page {
  background-image: url('/static/japan.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow-y: auto;
  overflow: auto;
}

/* Pour upgrade.html */
body.supgrade-page {
  background-image: url('/static/moon.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow-y: auto;
  overflow: auto;
}

/* Pour upgrade.html */
body.verify-page {
  background-image: url('/static/whale.jpg');
  background-size: cover;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  overflow-y: auto;
  overflow: auto;
}


/*=========================*/
/*        SECTIONS        */
/*=========================*/
.fenec-section {
  min-height: 100vh;
  width: 100%;
  padding: 80px 20px 0px;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.features-section {
  min-height: 100vh;
  width: 100%;
  padding: 90px 20px 60px;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.pricing-section {
  min-height: 80vh;
  width: 100%;
  padding:100px 20px 60px;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.contact-section {
  min-height: 30vh;
  width: 100%;
  padding:70px 20px 60px;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.essai-section {
  min-height: 30vh;
  width: 100%;
  padding: 80px 20px 0px;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

/*______ TITRES H2 ______*/
h2 {
  color: #00ffcc;
}


/*=========================*/
/*     BLOCS DE CONTENU   */
/*=========================*/
.section-content {
  max-width: 1000px;
  width: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  color: white;
  animation: fadeInUp 1.2s ease-out forwards;
}

/* Exceptions si besoin */
.fenec-content {
  max-width: 1000px;
}

.features-content {
  max-width: 600px;
}

.pricing-content {
  max-width: 1100px;
}

.essai-content {
  max-width: 555px;
  text-align: center; /* 👈 Centre tout le texte horizontalement */
}

.contact-content {
  max-width: 710px;
}
/*=========================*/
/*      PRICING CARDS     */
/*=========================*/
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  background: #1e1e2f;
  border-radius: 1rem;
  padding: 1.5rem;
  color: white;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  margin: 0.5rem 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
}

.pricing-card button {
  margin-top: 1rem;
  background: #ffb347;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
}

.pricing-card button:hover {
  background: #ffa726;
}

/*=========================*/
/*      SECTION CONTACT   */
/*=========================*/
.contact-info {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.contact-info li {
  margin: 0.5rem 0;
}
.contact-info a {
  color: #ffb347;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

/*=========================*/
/*     SECTION INTRO      */
/*=========================*/
.intro-box {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  background: transparent;
  padding: 0;
}

.intro-logo {
  flex: 1 1 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-logo img {
  max-width: 150px;
  height: auto;
}

.intro-text {
  flex: 2 1 500px;
}

.intro-text h1 {
  font-size: 22px;
  margin-bottom: 20px;
  color: white;
}

.intro-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #f1f1f1;
}

/*=========================*/
/*    FEATURES STACK      */
/*=========================*/
.features-stack h2 {
  margin-top: 40px;
  font-size: 22px;
  color: #00ffcc;
}

.features-stack ul {
  padding-left: 20px;
  margin: 10px 0 30px;
}

.features-stack li {
  margin: 5px 0;
  line-height: 1.6;
}

/*=========================*/
/*       ANIMATIONS       */
/*=========================*/
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*=========================*/
/*     TITRES & TEXTES    */
/*=========================*/
.page-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #00ffcc !important;
}

.section-content h2 {
  margin-top: 30px;
  font-size: 24px;
  color: #00ffcc;
}

.section-content p {
  font-size: 16px;
  margin: 10px 0;
  line-height: 1.6;
}

/*=========================*/
/*     LOGIN / SIGNUP     */
/*=========================*/





html {
    scroll-behavior: smooth;
}

.scroll-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

section {
    scroll-snap-align: start;
    min-height: 100vh;
    padding: 60px 20px;
    box-sizing: border-box;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 20px;

    background: rgba(0, 0, 0, 0.1); /* Fond semi-transparent */
    backdrop-filter: blur(25px); /* Flou */
    -webkit-backdrop-filter: blur(10px); /* Support Safari */

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Légère ombre */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
}

.nav-center {
    gap: 20px;
}

nav a {
    text-decoration: none;
    padding: 6px 15px;
    color: #fff;
    border-radius: 20px;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #00ffcc;
}

nav a:hover::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid #00ffcc;
    border-radius: 20px;
    z-index: -1;
}

/* Pour éviter que le contenu soit caché sous la barre */


.verify-container {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 260px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    margin-top: -40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 100px;
}

/* Boîte d'inscription */
.login-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 40px 30px;
    width: 100%; /* Permet une meilleure adaptabilité */
    max-width: 500px;
    min-height: auto;
    text-align: center;
    margin: 0 auto; /* centré horizontalement */
    transform: translateY(100%);
    animation: slideUp 1.2s ease-out forwards;
}

/* Animation d'apparition */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Titres */
.login-box h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Champs de saisie */
.input-box {
    margin-bottom: 20px;
}

.input-box input {
    width: 80%;
    padding: 12px 15px;
    border: none;
    border-radius: 15px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2);
}

.input-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Bouton d'inscription */
.login-btn {
    background: linear-gradient(45deg, #00ff7f, #00cc66);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Message de validation */
#message {
    margin-top: 20px;
    color: #fff;
    font-size: 14px;
}


/* Boîte de vérification */
.verify-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 40px 30px;
    width: 90%; /* Permet une meilleure adaptabilité */
    max-width: 400px; /* Garde une limite raisonnable */
    text-align: center;
    transform: translateY(100%);
    min-height: auto;
    animation: slideUp 1s ease-out forwards;
}

/* Bouton de validation */
.verify-btn {
    background: rgba(0, 255, 127, 0.8);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 255, 127, 0.4);
}


/* Boîte d'upsell */
.upsell-box {
    background: rgba(255, 215, 0, 0.2); /* Fond légèrement doré */
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    margin: 20px auto; /* <-- centré */
    width: 90%; /* Permet une meilleure adaptabilité */
    max-width: 400px; /* Garde une limite raisonnable */
    min-height: auto;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    animation: fadeIn 1.2s ease-in-out;
    text-align: center; /* 👈 Centre tout le texte horizontalement */
}

.upsell-box h3 {
    color: #ffd700; /* Doré */
    font-size: 22px;
    margin-bottom: 10px;
}

.upsell-box p {
    color: #fff;
    font-size: 14px;
}

/* Bouton premium */
.premium-btn {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.premium-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.5);
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Liste des avantages */
.benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    color: #fff;
    margin-bottom: 20px;
}

.benefits li {
    color: black;
    margin: 8px 0;
    font-size: 16px;
}

/* Prix */
.price {
    font-size: 20px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 20px;
}



.back-btn {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.3);
}

.trial-btn {
    background: linear-gradient(45deg, #00ff7f, #00cc66);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.trial-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 127, 0.5);
}


/* Par défaut : les éléments mobile-only sont cachés */
.mobile-only {
    display: none;
}

/* Positionner correctement le burger menu */
.burger-menu {
    position: absolute;
    display: none;  /* Ne pas l'afficher en desktop */
    top: 15px;
    right: 20px;
    z-index: 100;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* On s'assure que le nav permet le positionnement absolu */
nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* Afficher les mobile-only uniquement en mobile */
@media screen and (max-width: 768px) {
    body {
        background-size: auto;  /* Pas de zoom, taille originale */
        background-repeat: repeat;  /* Répéter l'image */
        background-position: top left;  /* Démarre la répétition depuis le coin */
    }
    .mobile-only {
        display: block;
    }

    .burger-menu {
        display: block;  /* Le bouton burger sera visible en mobile */
    }
    
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 60px; /* Laisse de l’espace pour le bouton en haut */
    }


    .nav-left,
    .nav-right {
        display: none;
    }

    .nav-center {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 10px 0;
    }

    .nav-center.open {
        display: flex;
    }

    .nav-center a:hover {
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease-in-out;
    display: inline-block;
    }


    .nav-center a {
        padding: 10px 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;

        /* Modifie ici : */
        width: auto;           /* Ne pas forcer à 100% */
        min-width: 150px;      /* Garde quand même une taille décente */
        max-width: 90%;        /* Pour ne pas dépasser sur petits écrans */
        text-align: center;    /* Centrer le texte */
        margin: 0 auto;        /* Centrer le lien horizontalement */
    }
}