/* === style.css amélioré === */

/* 1. Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px; /* Augmentation générale pour lisibilité */
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f4f4f8;
  color: #333;
  line-height: 1.8;
  scroll-behavior: smooth;
  transition: background 0.3s, color 0.3s;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

.intro {
  border-left: 5px solid #9333ea;
  background: #ede9fe;
  padding: 2rem;
  border-radius: 8px;
}

/* 2. Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(to right, #4f46e5, #7c3aed);
  color: #fff;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.logo img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.nav-links a {
  color: #fff;
  margin: 0 1.2rem;
  font-size: 1.05rem;
  text-decoration: none;
  position: relative;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #fff;
  transition: width 0.3s ease;
}

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

.btn {
  background: #fff;
  color: #6d28d9;
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  font-size: 1.05rem;
}

.btn:hover {
  background: #c4b5fd;
  color: #1e1b4b;
}

/* 3. Hero Section */
.hero {
  text-align: center;
  padding: 15rem 1rem 10rem;
  background: linear-gradient(to bottom, #7c3aed, #4c1d95);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease forwards;
}

.hero p {
  font-size: 1.4rem;
  max-width: 750px;
  margin: auto;
  margin-bottom: 4rem;
  animation: fadeInUp 1.2s ease forwards;
}

.hero .cta-btn {
  margin-top: 3rem;
  background: #fff;
  color: #6d28d9;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  animation: fadeInUp 1.4s ease forwards;
}

/* 4. Sections */
.section {
  padding: 6rem 1rem;
  background: #fff;
  position: relative;
  margin-top: 2rem;
}

.section h2 {
  font-size: 2.3rem;
  margin-bottom: 2rem;
  color: #4c1d95;
}

.section p,
.section ul,
.section ol {
  font-size: 1.15rem;
  color: #444;
}

.section ul li,
.section ol li {
  padding: 0.6rem 0;
}

/* Tokenomics */
.tokenomics {
  background: #ede9fe;
  border-left: 6px solid #7c3aed;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 1.05rem;
}

thead th {
  background-color: #6d28d9;
  color: #fff;
  padding: 1rem;
  text-align: left;
}

tbody td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

tbody tr:nth-child(even) {
  background-color: #f3e8ff;
}

.section h3 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  color: #5b21b6;
}

/* 5. Socials */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}

.social-links a {
  text-decoration: none;
  color: #6d28d9;
  padding: 0.9rem 1.4rem;
  border: 2px solid #6d28d9;
  border-radius: 10px;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #6d28d9;
  color: white;
}

/* 6. Footer */
footer {
  background: #f5f3ff;
  padding: 3rem 2rem;
  text-align: center;
  font-size: 1rem;
  color: #555;
  border-top: 2px solid #ddd;
}

/* 7. Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.3s;
}

.delay-2 {
  transition-delay: 0.6s;
}

/* 8. Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .btn, .cta-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section h2 {
    font-size: 1.7rem;
  }
}
