:root {
  --primary-blue: #2E86AB;
  --ocean-blue: #3DA5D9;
  --sky-blue: #87CEEB;
  --deep-blue: #1B4D72;
  --accent-orange: #FF6B35;
  --accent-gold: #FFD700;
  --purple-ui: #6B46C1;
  --dark-purple: #4C1D95;
  --pink-accent: #E91E63;
  --success-green: #10B981;
  --white: #FFFFFF;
  --text-dark: #333;
  --text-light: #555;
  --footer-bg: #1B4D72;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: rgba(0, 0, 0, 0.05);
  --glass-glow: rgba(255, 255, 255, 0.2);
  --font-space: 'Space Grotesk', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

/* Styles de base pour l'ensemble du site */
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-inter);
  color: var(--text-dark);
  scroll-behavior: smooth;
  min-height: 100vh;
}

body {
  overflow-x: hidden;
  background: linear-gradient(135deg, var(--deep-blue), var(--ocean-blue));
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-space);
  color: var(--white);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--deep-blue);
}

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

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

section {
  padding: 80px 0;
}

/* ----------------------------------
  -- Header --
-------------------------------------*/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  backdrop-filter: blur(10px);
  background: transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-text {
  font-family: var(--font-space);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-inter);
  color: var(--white);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.action-buttons {
  display: flex;
  gap: 15px; /* Correction de l'espacement */
}

.btn {
  padding: 12px 24px; /* Correction du padding */
  border-radius: 50px; /* Correction du border-radius */
  font-weight: 500;
  transition: transform 0.3s ease;
  font-family: var(--font-inter);
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #FF8B5E;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--white);
  color: var(--deep-blue);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-items {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 15px;
  }
  .nav-items.active {
    display: flex;
  }
  .nav-link, .btn {
    color: var(--deep-blue);
  }
  .btn-secondary {
    border-color: var(--deep-blue);
  }
  .menu-toggle {
    display: block;
  }
}

/* ----------------------------------
  -- Sections --
-------------------------------------*/

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 150px 0;
  height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.glass-morphism-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--glass-glow);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { top: 10%; left: 20%; width: 20px; height: 20px; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 60%; width: 30px; height: 30px; animation-delay: 2s; }
.particle:nth-child(3) { top: 70%; left: 80%; width: 15px; height: 15px; animation-delay: 4s; }
.particle:nth-child(4) { top: 25%; left: 90%; width: 25px; height: 25px; animation-delay: 6s; }
.particle:nth-child(5) { top: 85%; left: 10%; width: 35px; height: 35px; animation-delay: 8s; }

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

#features, #testimonials {
  padding: 80px 0;
  background-color: transparent;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px var(--glass-shadow);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
  background: var(--sky-blue);
  color: var(--deep-blue);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

#about {
  padding: 80px 0;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 5px 20px var(--glass-shadow);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--deep-blue);
}

/* ----------------------------------
  -- Footer --
-------------------------------------*/

footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-orange);
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 20px;
}

/* Custom Message Box */
.message-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  color: var(--text-dark);
  font-family: var(--font-inter);
}

.message-box.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.message-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--deep-blue);
}

.message-text {
  margin-bottom: 20px;
}

.message-box .close-btn {
  background-color: var(--accent-orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.message-box .close-btn:hover {
  background-color: #FF8B5E;
}
