/* ==========================================================================
   1. BASE ET TYPOGRAPHIE
   ========================================================================== */
body {
    background-color: #34485C;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    padding-top: 60px; /* Evite que le header cache le début du contenu */
}

html {
    scroll-behavior: smooth;
}

.btn-ping-sm {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border: none;
    color: white !important;
    padding: 10px 20px;
    border-radius: 3px
}

/* ==========================================================================
   2. HEADER (TON STYLE ORIGINAL ADAPTÉ)
   ========================================================================== */
  .header {    
      color: #fff;
      position: fixed;
      top: 0;
      right: 0;
      left: 0;    
      z-index: 16000;
      
      /* Couleur avec transparence (Alpha à 0.8) pour laisser passer le flou */
      background-color: rgba(48, 63, 83, 0.8) !important; 
      
      /* L'effet de flou magique */
      backdrop-filter: blur(10px); 
      -webkit-backdrop-filter: blur(10px); /* Pour la compatibilité Safari */
      
      height: 60px;
      display: flex;
      align-items: center;
      
      /* Bordure subtile en bas pour accentuer l'effet de vitre */
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

#why {
  padding-top:60px;
  padding-bottom:90px;
}

/* Bouton Menu (Barres) */
.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menuBar:hover .bar {
    background-color: #00d2ff;
}

/* Liens de navigation Desktop */
.header .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0 15px;
    transition: all 0.3s ease;
    position: relative;
}

/* État Actif (Lien bleu) */
.header .nav-link.active, 
.mobile-side-menu .nav-link.active {
    color: #00d2ff !important;
    font-weight: 700;
}


/* ==========================================================================
   3. MENU MOBILE LATÉRAL
   ========================================================================== */
/* On applique aussi le flou au menu mobile pour la cohérence */
.mobile-side-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    background-color: rgba(48, 63, 83, 0.9); /* Transparence ici aussi */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 15999;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-side-menu.active {
    left: 0;
}

/* ==========================================================================
   4. SECTIONS ET COMPOSANTS (CARDS, BOUTONS)
   ========================================================================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 800;
    margin-bottom: 50px;
    background: linear-gradient(to right, #ffffff, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Bouton Principal Blue Gradient */
.btn-ping {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border: none;
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-ping:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

/* ==========================================================================
   5. CARROUSEL ET IMAGES
   ========================================================================== */
.app-screenshot {
    border: 6px solid #2c3e50;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

#appCarousel .carousel-item {
    padding: 20px 0;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.footer-ping {
    background-color: #263544;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links a {
    color: #a5a5a5;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00d2ff;
    padding-left: 5px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: #00d2ff;
    transform: translateY(-3px);
}