/* Import des polices Haniva */
@font-face {
    font-family: 'Haniva';
    src: url('assets/font/Haniva-Medium.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Haniva';
    src: url('assets/font/Haniva-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Haniva', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
}

/* tsParticles container */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.hero-title,
.section-title {
    font-weight: 700;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem;
    position: relative;
    z-index: 1001;
}

.logo {
    position: absolute;
    left: 2rem;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    position: relative;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 1rem;
    background: linear-gradient(
        90deg,
        #888888 0%,
        #ffffff 25%,
        #ffffff 50%,
        #ffffff 75%,
        #888888 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 4.5rem;
    opacity: 0.6;
}

.btn-hero {
    color: #ffffff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    border: 0.15rem solid #ffffff;
    background-color: rgba(255, 255, 255, 0);
    text-decoration: none;
}

.btn-hero:hover {
    color: rgb(0, 0, 0);
    background: #ffffff;
}

/* Sections */
.section {
    padding: 10rem 2rem;
    position: relative;
    z-index: 1;
}

/* Réduire l'espace pour About Us (première section après hero) */
#about {
    padding-top: 8rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -2px;
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.glass-card.large {
    padding: 4rem;
}

/* About Section */
.about-intro {
    margin-bottom: 4rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.about-text:last-of-type {
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-item p {
    opacity: 0.6;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card-icon {
    display: none;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    opacity: 0.7;
    line-height: 1.6;
}

/* Token Section - Complete Redesign */
/* Token Hero */
.token-hero {
    margin-bottom: 6rem;
}

.token-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.token-hero-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.token-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
}

.token-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.token-hero-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Token Stats Grid */
.token-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.token-stat {
    text-align: center;
    padding: 2rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Tokenomics Section */
.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 4rem;
    color: #ffffff;
}

.tokenomics-section-wrapper {
    margin-bottom: 8rem;
}

.tokenomics-section {
    margin-bottom: 6rem;
}

.tokenomics-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
}

.tokenomics-chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tokenomics-image {
    width: 250px;
    height: auto;
}

.tokenomics-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tokenomics-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.tokenomics-icon {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.7rem;
}

.tokenomics-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tokenomics-text p {
    opacity: 0.7;
    line-height: 1.6;
}

/* Utility Section */
.utility-section {
    margin-top: 2rem;
}

.utility-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.utility-card {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
    transition: all 0.3s;
}

.utility-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.launch-feature .utility-badge {
    background: rgba(255, 255, 255, 0);
    border: solid 1px;
}

.future-feature {
    opacity: 0.7;
}

.future-feature .utility-badge {
    background: rgba(255, 255, 255, 0);
    border: solid 1px;
    border-color: #888888;
    color: #888888;
}

.utility-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: none;
}

.utility-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    margin-top: 1.4rem;
}

.utility-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 968px) {
    .token-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .token-hero-image img {
        max-width: 300px;
    }
    
    .tokenomics-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Roadmap */
.roadmap-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Timeline centrale */
.roadmap-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent,
        rgba(255, 255, 255, 0.3) 10%,
        rgba(255, 255, 255, 0.3) 90%,
        transparent
    );
    transform: translateX(-50%);
}

.roadmap-item {
    position: relative;
    width: 45%;
    margin-bottom: 4rem;
}

/* Alternance gauche/droite */
.roadmap-item:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
    padding-right: 3rem;
}

.roadmap-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
    padding-left: 3rem;
}

/* Point sur la timeline */
.roadmap-item::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 4px solid #000000;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.roadmap-item:nth-child(odd)::before {
    right: -13px;
}

.roadmap-item:nth-child(even)::before {
    left: -13px;
}

/* Ligne connectrice horizontale */
.roadmap-item::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.roadmap-item:nth-child(odd)::after {
    right: -3.2rem;
}

.roadmap-item:nth-child(even)::after {
    left: -3.2rem;
}

.phase-badge {
    background: #ffffff;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.roadmap-item h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.roadmap-item ul {
    list-style: none;
}

.roadmap-item li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.8;
}

.roadmap-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(0.75rem + 0.5em);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

/* Animation au hover */
.roadmap-item .glass-card {
    transition: all 0.4s ease;
}

.roadmap-item:hover .glass-card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .roadmap-container::before {
        left: 30px;
    }
    
    .roadmap-item {
        width: 100%;
        padding-left: 4rem !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .roadmap-item::before {
        left: 20px !important;
        right: auto !important;
    }
    
    .roadmap-item::after {
        left: 40px !important;
        right: auto !important;
        width: 2rem;
    }
}

/* Vision Section */
.vision-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.pillar {
    text-align: center;
}

.pillar h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pillar p {
    opacity: 0.7;
    line-height: 1.6;
}

/* ===== JOIN US SECTION (NOUVEAU) ===== */

.join-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 100px;
}

.join-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.social-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
}

.social-btn {
    color: #ffffff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    border: solid 0.15rem;
    background-color: rgba(255, 255, 255, 0);
    text-decoration: none;

}

.social-btn:hover {
    color: rgb(0, 0, 0);
    background: #ffffff;
}

.twitter-btn {
border-color: #179CF0;
color: #179CF0;
}

.twitter-btn:hover {
background-color: #179CF0;

}

.discord-btn {
border-color: #5865F2;
color: #5865F2;
}
.discord-btn:hover {
background-color: #5865F2;
}


.telegram-btn {
border-color: #2CAADF;
color: #2CAADF;
}
.telegram-btn:hover {
background-color: #2CAADF;
}




/* Footer */
.footer {
    background: rgba(0, 0, 0, 1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

/* ===== FOOTER LOGO (NOUVEAU) ===== */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-logo-section p {
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.5;
}

/* =========================================
   FIX POUR LENIS (SMOOTH SCROLL)
   ========================================= */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .logo {
        position: static;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .glass-card.large {
        padding: 2rem;
    }
    
    /* Roadmap mobile déjà géré dans sa section */
    
    .roadmap-container::before {
        left: 30px;
    }
    
    .roadmap-item {
        width: 100%;
        padding-left: 4rem !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .roadmap-item::before {
        left: 20px !important;
        right: auto !important;
    }
    
    .roadmap-item::after {
        left: 40px !important;
        right: auto !important;
        width: 2rem;
    }
    
    /* Join Us responsive */
    .join-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .social-btn span {
        font-size: 0.95rem;
    }
}