:root {
  --bg-color: #040614; /* Plus foncé */
  --card-bg: rgba(10, 15, 45, 0.4);
  --text-main: #E8ECFF;
  --text-muted: #8F9EED;
  --accent-purple: #3B5BDB; /* Bleu légèrement plus foncé */
  --accent-purple-glow: rgba(59, 91, 219, 0.3);
  --accent-blue: #3B5BDB;
  --deep-blue: #121C55;
  --border-light: rgba(232, 236, 255, 0.05);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
}

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

section {
  padding: 8rem 0;
  position: relative;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-purple), #6D28D9);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-purple-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}

.glow-purple {
  background: var(--accent-purple);
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.glow-blue {
  background: var(--accent-blue);
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -100px;
  opacity: 0.2;
}

header {
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(11, 11, 15, 0.95);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--accent-purple);
}

.brand-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em; /* Coller les lettres */
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
}

.brand-title .blue-e {
  color: #4A6FFF;
}

.brand-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-weight: 400;
  letter-spacing: 0.15em;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #fff;
}

.brand-subtitle .blue-text {
  color: #4A6FFF;
}

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

.hero-main-logo {
  max-width: 300px;
  height: auto;
  margin: 0 auto 2rem auto;
  filter: drop-shadow(0 0 20px #3B5BDB);
  animation: logoFadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
  mix-blend-mode: screen; /* Rend le fond noir/sombre de l'image transparent */
}

@keyframes logoFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-main-logo {
    max-width: 200px;
  }
}

.hero {
  padding-top: 14rem;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero p {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  padding-left: 4rem !important;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 2.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 15px var(--accent-purple);
  transform: translateX(-50%);
}

footer {
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-purple);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual {
  margin-top: 5rem;
  position: relative;
}

.abstract-ui {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  height: 400px;
  background: rgba(25, 25, 30, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.abstract-sidebar {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.abstract-main {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-number {
  color: transparent;
  background: linear-gradient(135deg, #fff, #9CA3AF);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

/* Icons styling */
.icon-container {
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.icon-container i {
  font-size: 1.5rem;
  color: var(--accent-purple);
}

file: ///Users/clarenskylycaon/Desktop/EGAPIA3/index.html