/* Base Styles */
:root {
    --background: #000000;
    --foreground: #f8fafc;
    --card: #111111;
    --card-foreground: #f8fafc;
    --primary: #00c853;
    --primary-foreground: #f8fafc;
    --secondary: #131313;
    --secondary-foreground: #f8fafc;
    --muted: #1e1e1e;
    --muted-foreground: #94a3b8;
    --accent: #1e1e1e;
    --accent-foreground: #f8fafc;
    --destructive: #991b1b;
    --destructive-foreground: #f8fafc;
    --border: #222222;
    --input: #1e1e1e;
    --ring: #00c853;
    --radius: 0.75rem;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  }
  
  body {
    background-color: var(--background);
    color: var(--foreground);
    background-image: 
      radial-gradient(circle at 25% 10%, rgba(0, 200, 83, 0.15) 0%, transparent 25%),
      radial-gradient(circle at 75% 80%, rgba(0, 200, 83, 0.15) 0%, transparent 25%);
    background-attachment: fixed;
    min-height: 100vh;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 1.25rem 0;
  }
  
  .navbar.scrolled {
    padding: 0.75rem 0;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  
  .logo:hover {
    opacity: 0.8;
  }
  
  .logo-icon {
    position: relative;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo-background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c853 0%, #69f0ae 100%);
    opacity: 0.8;
    animation: pulse 2s infinite ease-in-out;
  }
  
  .logo-icon span {
    position: relative;
    color: white;
    font-weight: bold;
    z-index: 10;
  }
  
  .logo-text {
    font-weight: bold;
    font-size: 1.25rem;
    color: white;
  }
  
  .desktop-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
  }
  
  .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
  }
  
  .nav-link:hover {
    color: white;
    background-color: rgba(0, 200, 83, 0.1);
  }
  
  .nav-link.active {
    background-color: rgba(0, 200, 83, 0.2);
    color: white;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .mobile-menu-btn:hover {
    color: white;
  }
  
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 49;
    background-color: var(--background);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  
  .mobile-menu.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    margin-bottom: 0.25rem;
  }
  
  .mobile-nav-link:hover {
    color: white;
    background-color: rgba(0, 200, 83, 0.1);
  }
  
  .mobile-nav-link.active {
    background-color: rgba(0, 200, 83, 0.2);
    color: white;
  }
  
  /* Hero section */
  .hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    animation: fadeIn 1s ease-out;
  }
  
  .hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
  }
  
  /* Tiles Grid */
  .tiles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
  }
  
  /* Glass Tile */
  .glass-tile {
    position: relative;
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    min-height: 16rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
                0 8px 10px -6px rgba(0, 0, 0, 0.1);
  }
  
  .glass-tile:hover {
    transform: scale(1.02);
    border-color: rgba(0, 200, 83, 0.4);
    box-shadow: 0 20px 25px -5px rgba(0, 200, 83, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  .tile-content {
    z-index: 2;
  }
  
  .tile-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: transform 0.5s;
  }
  
  .glass-tile:hover .tile-icon-container {
    transform: scale(1.1);
  }
  
  .green-gradient {
    background: linear-gradient(135deg, #00c853 0%, #69f0ae 100%);
  }
  
  .orange-gradient {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  }
  
  .tile-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
  }
  
  .tile-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
  }
  
  .glass-tile:hover .tile-title {
    color: white;
  }
  
  .tile-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    max-width: 20ch;
    margin: 0 auto;
  }
  
  .disabled {
    cursor: not-allowed;
    opacity: 0.8;
  }
  
  .tile-disabled-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
  }
  
  .tile-disabled-overlay span {
    background-color: rgba(30, 30, 30, 1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
  }
  
  .shine-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      to bottom right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg) translateY(-100px);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: 1;
  }
  
  .glass-tile:hover .shine-effect {
    transform: rotate(45deg) translateY(300px);
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      opacity: 0.7;
      transform: scale(1);
    }
    50% {
      opacity: 0.9;
      transform: scale(1.05);
    }
  }
  
  @keyframes shimmer {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  /* Responsive */
  @media (min-width: 640px) {
    .hero-title {
      font-size: 3rem;
    }
    
    .tiles-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 768px) {
    .desktop-nav {
      display: flex;
    }
    
    .mobile-menu-btn {
      display: none;
    }
  }
  
  @media (min-width: 1024px) {
    .hero-title {
      font-size: 3.5rem;
    }
  }
  
  .language-selector {
    display: flex;
    align-items: center;
  }
  .language-selector img {
    width: 20px; /* Taille des drapeaux */
    height: 15px; /* Taille des drapeaux */
    margin-left: 5px; /* Espacement entre les drapeaux */
    cursor: pointer; /* Curseur pointer pour les drapeaux */
  }
  