:root {
  --accent-light: rgba(201, 115, 255, 1);
  --accent-light-glow: rgba(201, 115, 255, 0.4);
  --accent-dark: rgba(26, 15, 46, 1);
  --bg-deep: #0a0512;
  --text-main: #e2d8ee;
  --glass-bg: rgba(26, 15, 46, 0.45);
  --glass-border: rgba(201, 115, 255, 0.2);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* FOND 3D & LUMIÈRES */
.bg-grid {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: 
    linear-gradient(rgba(201, 115, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 115, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
  z-index: -2;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 40px; }
}

.bg-orbs {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  animation: floatOrb 10s ease-in-out infinite alternate;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--accent-light);
  top: -200px; left: -100px;
}

.orb-2 {
  width: 500px; height: 500px;
  background: #2be4ea;
  bottom: -100px; right: -100px;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

/* LAYOUT & CONTAINERS */
.app-layout {
  display: flex;
  gap: 3rem;
  max-width: 1300px;
  margin: 4rem auto;
  padding: 0 2rem;
  z-index: 10;
  position: relative;
}

.sidebar {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem; /* Légèrement augmenté pour aérer */
}

.content-area {
  flex: 1;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* TYPOGRAPHIE & NAVIGATION */
.brand-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--accent-light-glow));
  margin-bottom: 2rem;
  text-align: center;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; height: 100%; width: 4px;
  background: var(--accent-light);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 4px;
}

.nav-link:hover {
  color: #fff;
  background: rgba(201, 115, 255, 0.05);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(201,115,255,0.15) 0%, transparent 100%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05);
}

.nav-link.active::before {
  transform: scaleY(1);
  box-shadow: 0 0 15px var(--accent-light);
}

/* NOUVEAUX STYLES DE CONTENU (Pro & Détendu) */
.page-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.text-lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.text-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #c9bcdc;
  margin-bottom: 1.5rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(201,115,255,0.4) 0%, transparent 100%);
  margin: 3rem 0;
}

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

.pillar {
  border-left: 2px solid var(--accent-light);
  padding-left: 1.5rem;
}

.pillar-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pillar-text {
  font-size: 1rem;
  color: #a89bb9;
  line-height: 1.6;
}

/* ROADMAP (TIMELINE) */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 6px; width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--accent-light), transparent);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  background: rgba(0, 0, 0, 0.15); /* Fond très léger, détendu */
  border: 1px solid rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(5px);
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(201, 115, 255, 0.2);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px; left: -34px; width: 15px; height: 15px;
  background: var(--accent-dark);
  border: 3px solid var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-light);
}

.timeline-date {
  font-family: 'Rajdhani', sans-serif;
  color: var(--accent-light);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-item h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* BOUTONS DE CONTACT */
.btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(201, 115, 255, 0.1), rgba(26, 15, 46, 0.5));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.btn-contact span {
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  color: #a89bb9;
  font-weight: 400;
  margin-top: 0.5rem;
}

.btn-contact:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(201, 115, 255, 0.2), rgba(26, 15, 46, 0.7));
  border-color: rgba(201, 115, 255, 0.5);
  box-shadow: 0 15px 30px rgba(201, 115, 255, 0.15);
}
