
  :root {
    --brand-pink: #ff0066;
    --brand-pink-hover: #d90057;
    --brand-black: #000000;
    --brand-dark-gray: #121212;
  }

  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--brand-black);
    color: #fff;
    overflow-x: hidden;
    margin: 0;
  }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #111;
  }
  ::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--brand-pink);
  }

  /* Utilities */
  .text-brand-pink { color: var(--brand-pink) !important; }
  .bg-brand-pink { background-color: var(--brand-pink) !important; }
  .bg-glass {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
  }
  .neon-text-hover:hover { text-shadow: 0 0 10px rgba(255, 0, 102, 0.5); }
  .neon-shadow { box-shadow: 0 0 15px rgba(255, 0, 102, 0.4); }

  .glow-blob {
    position: absolute;
    background: rgba(255, 0, 102, 0.4);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
  }

  /* Animations */
  @keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  .animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }

  @keyframes spin-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }
  .animate-spin-slow { animation: spin-slow 4s linear infinite; }

  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  .fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
  }
  /* Staggered delays classes */
  .delay-100 { animation-delay: 0.1s; }
  .delay-300 { animation-delay: 0.3s; }
  .delay-500 { animation-delay: 0.5s; }

  /* Components */
  .conic-spinner {
    background: conic-gradient(transparent 20%, var(--brand-pink));
    width: 150%;
    height: 150%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .btn-brand-primary {
    background-color: var(--brand-pink);
    color: white;
    border: 1px solid transparent;
    transition: all 0.3s ease;
  }
  .btn-brand-primary:hover {
    background-color: var(--brand-pink-hover);
    color: white;
    box-shadow: 0 0 20px rgba(255,0,102,0.6);
  }

  .btn-brand-outline {
    background-color: transparent;
    color: var(--brand-pink);
    border: 2px solid var(--brand-pink);
    transition: all 0.3s ease;
  }
  .btn-brand-outline:hover {
    background-color: var(--brand-pink);
    color: white;
  }

  .btn-brand-ghost {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .btn-brand-ghost:hover {
    border-color: rgba(255,0,102,0.5);
    color: var(--brand-pink);
  }

  .text-gradient {
    background: linear-gradient(to right, #fff, #f06);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .text-gradient1 {
    background: linear-gradient(to left, #fff, #f06);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Toggle Switch Specifics */
  .toggle-bg-slider {
    transition: all 0.3s ease-out;
  }
  .toggle-btn {
    z-index: 10;
    letter-spacing: 0.5px;
  }
  .toggle-btn.active {
    color: white;
  }
  .toggle-btn:not(.active) {
    color: #6c757d;
  }
  .toggle-btn:not(.active):hover {
    color: white;
  }

  .hover-pink:hover {
    color: var(--brand-pink) !important;
  }

  /* Navbar Specifics */
  .navbar-fixed-custom {
    z-index: 10000;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    transition: background 0.3s ease;
  }

  /* --- SCROLL SNAP & FULL SCREEN UTILS --- */
  .snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
  }

  /* --- HORIZONTAL SLIDER ARCHITECTURE --- */
  .section-slider {
    display: flex;
    width: 200%;
    height: 100vh;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
  }

  .section-slider.show-details {
    transform: translateX(-50%);
  }

  .slide-pane {
    width: 50%; /* Default for slider panes */
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 80px;
    padding-right: 80px;
    padding-top: 4rem;
    padding-bottom: 4rem;
    box-sizing: border-box;
    backface-visibility: hidden;
  }

  /* Utility to force full width on standalone sections (Hero, CTA, Footer) */
  .slide-pane.w-100 {
    width: 100% !important;
  }

  /* --- BACKGROUNDS (CSS ANIMATIONS) --- */
  .bg-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    transform: translateZ(0);
    will-change: opacity;
  }

  /* 1. AURORA NEON (Hero, Footer) - Accelerated & More Vivid */
  .bg-anim-aurora {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #2a0014, #000000 90%);
    position: relative;
  }
  /* Layer 1 */
  .bg-anim-aurora::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,0,102,0.6) 60deg, transparent 120deg);
    animation: rotateAurora 8s linear infinite; /* Sped up from 20s */
    opacity: 0.7; /* Increased opacity */
    mix-blend-mode: screen;
  }
  /* Layer 2 - Counter rotation for chaos */
  .bg-anim-aurora::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255,0,102,0.2) 80deg, transparent 160deg);
    animation: rotateAuroraReverse 12s linear infinite;
    opacity: 0.5;
    mix-blend-mode: screen;
  }
  @keyframes rotateAurora { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes rotateAuroraReverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }


  /* 2. CYBER GRID (Search, Portfolio) - Fast & Bright */
  .bg-anim-grid {
    width: 100%;
    height: 100%;
    background-color: #050505;
    background-image:
      linear-gradient(rgba(255, 0, 102, 0.3) 1px, transparent 1px), /* Increased line opacity */
      linear-gradient(90deg, rgba(255, 0, 102, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: panGrid 3s linear infinite; /* Sped up from 15s to 3s */
  }
  @keyframes panGrid {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
  }

  /* 3. FLOATING ORBS (Calendar, Agenda, Networking) - Active & Glowy */
  .bg-anim-orbs {
    width: 100%; height: 100%;
    background: #080808;
    position: relative;
  }
  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px); /* Less blur for more definition */
    opacity: 0.6; /* Increased opacity */
    animation: floatOrb 5s ease-in-out infinite; /* Sped up from 10s */
  }
  .orb-1 { width: 400px; height: 400px; background: #ff0066; top: 0%; left: 0%; animation-delay: 0s; }
  .orb-2 { width: 300px; height: 300px; background: #333; top: 50%; right: 0%; animation-delay: -1s; }
  .orb-3 { width: 200px; height: 200px; background: #880033; bottom: 10%; left: 20%; animation-delay: -2.5s; }
  @keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.2); }
    66% { transform: translate(-20px, 20px) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
  }

  /* 4. DIGITAL RAIN (Trends, Analytics, Marketing) - Matrix Style Speed */
  .bg-anim-rain {
    width: 100%; height: 100%;
    background: #000;
    /* Increased opacity of the "drops" to 0.15 */
    background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, .15) 25%, rgba(255, 255, 255, .15) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .15) 75%, rgba(255, 255, 255, .15) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .15) 25%, rgba(255, 255, 255, .15) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .15) 75%, rgba(255, 255, 255, .15) 76%, transparent 77%, transparent);
    background-size: 40px 40px;
    animation: rainAnim 0.8s linear infinite; /* Very fast */
  }
  @keyframes rainAnim { 0% { background-position: 0 0; } 100% { background-position: 0 40px; } }

  /* 5. STARDUST (Reviews, VIP, Events) - Dynamic Twinkle */
  .bg-anim-stardust {
    width: 100%; height: 100%;
    background: radial-gradient(circle at bottom, #222 0%, #000 100%);
  }
  .star-layer {
    position: absolute; width: 100%; height: 100%;
    background-image: radial-gradient(white 2px, transparent 2px); /* Larger stars */
    background-size: 60px 60px;
    opacity: 0.5;
  }
  .star-layer-1 { animation: twinkle 1s infinite alternate; } /* Sped up */
  .star-layer-2 { background-size: 100px 100px; animation: twinkle 1.5s infinite alternate-reverse; }
  @keyframes twinkle { from { opacity: 0.2; transform: scale(0.8); } to { opacity: 0.8; transform: scale(1.1); } }


  .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Sit above video */
    /* Made gradient lighter at top to show off animations more */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.95));
    pointer-events: none;
  }

  /* Ensure content sits above overlay */
  .container.position-relative.z-1 {
    z-index: 10 !important; /* Force content on top */
  }

  /* --- NAVIGATION ARROWS (HORIZONTAL) --- */
  /* Definisci l'animazione */
  @keyframes pulse-border {
    0% {
      border-color: rgba(255, 255, 255, 0.4); /* Bianco semitrasparente */
      box-shadow: 0 0 0 0 rgba(255, 0, 102, 0);
    }
    50% {
      border-color: #f06; /* Il tuo rosa #f06 */
      box-shadow: 0 0 8px rgba(255, 0, 102, 0.5); /* Leggero alone rosa */
    }
    100% {
      border-color: rgba(255, 255, 255, 0.4);
      box-shadow: 0 0 0 0 rgba(255, 0, 102, 0);
    }
  }

  .slide-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: rgba(0,0,0,0.4);
    /* Applichiamo l'animazione qui: 2 secondi, infinita, movimento morbido */
    border: 1px solid rgba(255,255,255,0.2); /* Fallback */
    animation: pulse-border 2s infinite ease-in-out;

    color: var(--brand-pink); /* O usa direttamente #f06 se la var non è definita */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
  }

  .slide-arrow-btn:hover {
    background: var(--brand-pink); /* #f06 */
    color: white;
    border-color: var(--brand-pink); /* Assicura che il bordo sia rosa in hover */
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.6);
    transform: translateY(-50%) scale(1.1);

    /* Importante: Blocchiamo l'animazione in hover per evitare sfarfallii */
    animation: none;
  }
  /* 1. Definiamo l'animazione del "battito" */
@keyframes pulse-pink-shadow {
0% {
box-shadow: 0 0 0 0 rgba(255, 0, 102, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(255, 0, 102, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(255, 0, 102, 0);
}
}

/* 2. Creiamo la classe da dare al bottone */
.btn-accedi-pulse {
/* Stile base del bottone (adattalo al tuo design) */
background-color: #f06; /* Colore Bloomeet */
color: #ffffff;
border: none;
border-radius: 50px; /* Rotondo funziona meglio col pulse */
padding: 10px 25px;
font-weight: bold;
cursor: pointer;

/* L'animazione vera e propria */
animation: pulse-pink-shadow 2s infinite;

/* Transizione dolce per l'hover */
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Opzionale: Effetto quando passi sopra col mouse */
.btn-accedi-pulse:hover {
animation: none; /* Ferma il battito */
transform: scale(1.05); /* Ingrandisce leggermente */
box-shadow: 0 0 15px rgba(255, 0, 102, 0.8); /* Glow fisso */
}
  .btn-next { right: 20px; }
  .btn-prev { left: 80px; }

  /* --- VIDEO/DETAIL PLACEHOLDER --- */
  .detail-box {
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    max-width: 900px;
    width: 100%;
  }

  .video-placeholder {
    background: #000;
    border-radius: 12px;
    aspect-ratio: 16/9;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
  }

  .play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 0, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
  }
  .video-placeholder:hover .play-btn {
    transform: scale(1.1);
  }

  /* --- VERTICAL NAVIGATION --- */
  #vertical-nav {
    position: fixed;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
  }

  .nav-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
  }

  .nav-dot.active {
    background-color: var(--brand-pink);
    border-color: var(--brand-pink);
    box-shadow: 0 0 15px var(--brand-pink);
    transform: scale(1.6);
  }

  /* Mobile Adaptation */
  @media (max-width: 768px) {
    #vertical-nav {
      display: flex;
      left: 10px;
      gap: 15px;
    }
    .nav-dot {
      width: 10px;
      height: 10px;
    }
    .slide-pane {
      padding-left: 3rem;
      padding-right: 3rem;
    }
    .btn-next { right: 10px; }
    .btn-prev { left: 40px; }

    .reveal-circle-wrapper {
      width: 220px !important;
      height: 220px !important;
    }
  }

  /* --- SCROLL REVEAL ANIMATIONS --- */
  .reveal-circle-wrapper {
    opacity: 0;
    transform: scale(0.5) translateY(50px) rotate(-15deg);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .reveal-circle-wrapper.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
  }

  .reveal-img-inner {
    transform: scale(1.3);
    transition: transform 1.2s ease-out;
  }

  .reveal-circle-wrapper.is-visible .reveal-img-inner {
    transform: scale(1);
  }

  .reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
  }
  .reveal-text.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* --- STILE BLOOMEET FIX --- */

  /* --- OVERRIDE TOTALE PER BLOOMEET ACCORDION --- */

  /* 1. Forza la "Bolla" Nera e Tonda */
  #accordionFlushExample .accordion-item {
      background-color: #000000 !important; /* Sfondo Nero puro */
      border: none !important;              /* Rimuove i bordi grigi di default */
      border-radius: 20px !important;       /* Forza l'arrotondamento */
      margin-bottom: 2px !important;        /* Il margine tra una domanda e l'altra */
      overflow: hidden !important;          /* TAGLIA tutto ciò che esce dal tondo (essenziale!) */

      /* ATTENZIONE: Se lo sfondo della tua pagina è NERO (#000),
         non vedrai lo stacco di 2px.
         Se è questo il caso, scommenta la riga qui sotto per vedere i bordi:
      */
      /* border: 1px solid #333 !important; */
  }

  /* 2. Resetta stili specifici di 'accordion-flush' che rimuovono i bordi */
  #accordionFlushExample.accordion-flush .accordion-item .accordion-button {
      border-radius: 0 !important; /* Lasciamo che sia l'item a fare da "maschera" tonda */
  }

  /* 3. Stile del Bottone (Domanda chiusa) */
  #accordionFlushExample .accordion-button {
      background-color: #000000 !important; /* Nero */
      color: #ffffff !important;            /* Testo bianco */
      font-size: 13px !important;
      box-shadow: none !important;          /* Rimuove alone blu/focus */
      padding: 12px 15px !important;        /* Spaziatura interna */
  }

  /* 4. Stile del Bottone (Domanda APERTA) */
  #accordionFlushExample .accordion-button:not(.collapsed) {
      background-color: #ff0066 !important; /* Rosa Bloomeet (#f06) */
      color: #ffffff !important;
      box-shadow: none !important;
  }

  /* 5. Corpo della risposta */
  #accordionFlushExample .accordion-body {
      background-color: #000000 !important; /* Nero */
      color: #ffffff !important;            /* Bianco */
      font-size: 13px !important;
      line-height: 1.5 !important;
      padding: 15px !important;
  }

  /* 6. Icona freccia bianca */
  #accordionFlushExample .accordion-button::after {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
      filter: none !important; /* Assicura che rimanga bianca */
  }
.accordion-flush .accordion-item .accordion-button, .accordion-flush .accordion-item .accordion-button.collapsed {
  border-radius: 25px;margin-bottom:2px;
}

/* Stili per layout su schermi grandi (es. laptop ) */
      @media (min-width: 992px) {
        .detail-box .row {
          display: flex;
        }
        .detail-box .col-lg-6 {
          width: 50%;
        }
      }

      /* Stili per il video su mobile */
      @media (max-width: 991.98px) {
        .video-placeholder {
          height: 250px; /* Aumenta l'altezza del video su mobile */
          margin-bottom: 1.5rem; /* Aggiunge spazio sotto il video */
        }
      }

      /* Posizionamento del pulsante di chiusura 'X' */
      .slide-pane .btn-prev {
        position: absolute;
        top: 120;
        right: 1rem;
        z-index: 10;
        /* Rimuove le vecchie proprietà di posizionamento se presenti */
        bottom: auto;
        left: auto;
      }
      /* Stili per il blocco della rotazione */
#rotation-blocker {
  display: none; /* Nascosto di default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* Sfondo nero */
  color: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  padding: 20px;
}

/* Media query per mostrare il blocco solo in landscape su mobile */
@media screen and (orientation: landscape) {
    #rotation-blocker {
      display: flex; /* Mostra il messaggio */
    }
    #root {
      display: none; /* Nasconde il contenuto del sito */
    }
  }
