        /* Variables et Reset */
        :root {
          --primary: #2563eb;
          --primary-dark: #1d4ed8;
          --secondary: #4f46e5;
          --gray-100: #f3f4f6;
          --gray-200: #e5e7eb;
          --gray-300: #d1d5db;
          --gray-600: #4b5563;
          --gray-800: #1f2937;
          --success: #10b981;
          --error: #ef4444;
          --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
      }

      * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
          font-family: 'Inter', system-ui, sans-serif;
      }

      body {
          background: #f8fafc;
          color: var(--gray-800);
          line-height: 1.5;
      }

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

      /* Navigation */
      .nav {
          background: white;
          padding: 1rem 0;
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          position: fixed;
          width: 100%;
          top: 0;
          z-index: 100;
      }

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

      .logo {
          font-size: 1.5rem;
          font-weight: 700;
          background: var(--gradient);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
      }

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

      .nav-link {
          color: var(--gray-600);
          text-decoration: none;
          font-weight: 500;
          transition: color 0.2s;
      }

      .nav-link:hover {
          color: var(--primary);
      }

      /* Hero Section */
      .hero {
          padding: 8rem 0 4rem;
          text-align: center;
      }

      .hero h1 {
          font-size: 3rem;
          font-weight: 800;
          margin-bottom: 1.5rem;
          background: var(--gradient);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
      }

      .hero p {
          font-size: 1.25rem;
          color: var(--gray-600);
          max-width: 600px;
          margin: 0 auto 3rem;
      }

      /* Converter Section */
      .converter {
          margin: -4rem auto 4rem;
          border-radius: 1rem;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          padding: 2rem;
          position: relative;
          max-width: 800px;
          background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);

      }

      .converter {
  position: relative;
  z-index: 1001; /* Z-index encore plus élevé que format-options */
}

      .upload-zone {
          border: 2px dashed var(--gray-200);
          padding: 3rem;
          border-radius: 0.75rem;
          text-align: center;
          cursor: pointer;
          transition: all 0.3s;
      }

      .upload-zone:hover {
          border-color: var(--primary);
          background: #f8fafc;
      }

      .upload-icon {
          font-size: 3rem;
          color: var(--primary);
          margin-bottom: 1rem;
      }

      /* Features */
      .features {
          padding: 4rem 0;
          background: white;
      }

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

      .feature-card {
  padding: 2rem;
  border-radius: 0.75rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  position: relative;
  z-index: 1; /* Ajout d'un z-index plus bas */
}

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

      .feature-icon {
          width: 48px;
          height: 48px;
          background: var(--gradient);
          border-radius: 12px;
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          font-size: 1.5rem;
          margin-bottom: 1rem;
      }

      /* Steps */
      .steps {
          padding: 4rem 0;
          background: #f8fafc;
      }

      .step {
          display: flex;
          align-items: flex-start;
          gap: 2rem;
          margin-bottom: 3rem;
      }

      .step-number {
          width: 40px;
          height: 40px;
          background: var(--gradient);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          color: white;
          font-weight: 600;
          flex-shrink: 0;
      }

      /* Buttons */
      .button {
          display: inline-flex;
          align-items: center;
          padding: 0.75rem 1.5rem;
          border-radius: 0.5rem;
          font-weight: 500;
          text-decoration: none;
          transition: all 0.3s;
          gap: 0.5rem;
          border: none;
          cursor: pointer;
      }

      .button-primary {
          background: var(--gradient);
          color: white;
      }

      .button-primary:hover {
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
      }

      /* Footer */
      .footer {
          background: var(--gray-800);
          color: white;
          padding: 4rem 0;
      }

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

      .footer-links {
          list-style: none;
      }

      .footer-link {
          color: var(--gray-300);
          text-decoration: none;
          margin-bottom: 0.5rem;
          display: block;
          transition: color 0.2s;
      }

      .footer-link:hover {
          color: white;
      }

      /* Responsive */
      @media (max-width: 768px) {
          .hero h1 {
              font-size: 2rem;
          }

          .nav-links {
              display: none;
          }

          .container {
              padding: 0 1rem;
          }
      }

      /* Particules */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.3;
}

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



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

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Appliquer les animations */
.feature-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.upload-zone {
  position: relative;
  overflow: hidden;
}

.upload-zone::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      45deg,
      transparent 0%,
      rgba(255,255,255,0.1) 30%,
      transparent 100%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite linear;
  pointer-events: none;
}

.converter {
  animation: float 6s ease-in-out infinite;
}



/* Loading animation */
.loading-circle {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Hover effects améliorés */
.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      45deg,
      transparent 0%,
      rgba(255,255,255,0.2) 50%,
      transparent 100%
  );
  transform: rotate(45deg);
  transition: 0.3s;
  opacity: 0;
}

.button-primary:hover::after {
  opacity: 1;
  animation: shine 1s forwards;
}

.format-selector {
  margin-top: 2rem;
  width: 100%;
  position: relative;
}

.format-dropdown {
  background: white;
  border: 2px solid var(--gray-200);
  padding: 1rem;
  border-radius: 12px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: var(--gray-800);
}

.format-dropdown:hover {
  border-color: var(--primary);
}

.format-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000; /* Augmentation du z-index */
}



.format-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.format-option {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.format-option:hover {
  background: var(--gray-100);
}

.format-option-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--primary);
}

.format-option-info {
  flex: 1;
}

.format-option-title {
  font-weight: 500;
  color: var(--gray-800);
}

.format-option-description {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.arrow-icon.active {
  transform: rotate(180deg);
}

.format-badge {
  background: var(--gray-100);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--gray-600);
}
