/* Styles pour amu00e9liorer la profondeur et l'aspect moderne de la landing page MOBILE */

/* Du00e9gradu00e9 amu00e9lioru00e9 avec meilleure profondeur - VERSION MOBILE UNIQUEMENT */
@media (max-width: 991px) {
  .hero {
    position: relative;
    background: linear-gradient(135deg, #6d71ca 0%, #803ebc 50%, #c660cd 100%) !important;
    overflow: hidden;
  }
  
  /* Overlay subtilement texturé pour créer de la profondeur */
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.03) 0%, transparent 30%),
                      radial-gradient(circle at 80% 40%, rgba(255,255,255,0.05) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
  }
  
  /* Container pour les éléments décoratifs */
  .decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
  }
  
  /* Styles communs aux éléments décoratifs */
  .decorative-element {
    position: absolute;
    opacity: 0.15;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.15));
    pointer-events: none;
  }
  
  /* Positionnement des éléments individuels */
  .element-gear {
    top: 15%;
    right: 5%;
    width: 80px;
    height: 80px;
    transform: rotate(15deg);
    animation: float-slow 12s ease-in-out infinite;
  }
  
  .element-screen-coding {
    bottom: 35%;
    left: 5%;
    width: 60px;
    height: 60px;
    transform: rotate(-10deg);
    animation: float-slow 8s ease-in-out infinite reverse;
  }
  
  .element-code-connect {
    top: 40%;
    right: 10%;
    width: 70px;
    height: 70px;
    transform: rotate(5deg);
    animation: float-slow 10s ease-in-out infinite 2s;
  }
  
  .element-code-windows {
    bottom: 15%;
    right: 25%;
    width: 55px;
    height: 55px;
    transform: rotate(-5deg);
    animation: float-slow 7s ease-in-out infinite 1s;
  }
  
  /* Animation de flottement lent pour les éléments décoratifs */
  @keyframes float-slow {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0); }
  }
  
  /* Assurer que le contenu principal est au-dessus des décorations */
  .hero-content {
    position: relative;
    z-index: 10;
  }
  
  /* Amélioration des boutons avec ombre portée */
  .cta-buttons .btn {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
  }
  
  .cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  }
  
  /* Effet de parallaxe léger sur le SVG principal */
  .mobile-only img {
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.15));
    transition: transform 0.5s ease;
  }
}

/* Optimisations pour très petits écrans */
@media (max-width: 480px) {
  .element-gear {
    width: 60px;
    height: 60px;
  }
  
  .element-screen-coding,
  .element-code-windows {
    width: 45px;
    height: 45px;
  }
  
  .element-code-connect {
    width: 55px;
    height: 55px;
  }
}
