#hero {
  /*opacity: 0.69;*/
  /*background: var(--bs-cyan);*/
  margin-top: 0.7em;
}

/* === OTTIMIZZAZIONI HERO MOBILE === */
@media (max-width: 767.98px) {
  #hero {
    margin-top: 0.5rem;
  }
  
  #hero .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Logo più spazio sotto su mobile */
  #logo-hero-full-block-sm {
    margin-bottom: 2rem !important;
  }
  
  /* Titolo Full Stack AI Developer Strategist - più compatto */
  #hero h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  #hero h1 span {
    display: block;
    line-height: 1.2;
  }
  
  /* Nascondi il pulsante "Watch how I work" su mobile */
  #div-btn-custom-animate {
    display: none !important;
  }
  
  /* Mostra il pulsante "Start your project" in alto (hero) su mobile */
  #hero-cta-mobile {
    display: block !important;
    margin: 2rem auto;
    text-align: center;
  }
  
  #hero-cta-mobile .btn {
    font-size: 1.15rem !important;
    padding: 1.25rem 2.5rem !important;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
    min-width: 250px;
  }
}

/* Nascondi il CTA mobile hero su desktop */
@media (min-width: 768px) {
  #hero-cta-mobile {
    display: none !important;
  }
}

#main_container {
  opacity: 1;
}

#logo-hero {
  background: url("../../assets/img/saintchannel_logo_ico_square_268.png") center / contain no-repeat;
  width: 34px;
  height: 40px;
}

.menu-hero-active {
  color: var(--bs-primary) !important;
  font-weight: bold;
}

#hero-navbar {
  height: 50px;
  /*position: sticky;*/
}

.btn-custom-full {
  border-radius: 30px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 10px;
  padding-left: 10px;
  --bs-light-rgb: 255,255,255;
  color: var(--bs-black) !important;
  margin-left: 15px;
}

body {
  /*background: url("../../assets/img/Saint_Channel_Bozza_Num_33.jpg") top / cover no-repeat;*/
  /*filter: blur(0px);*/
  /*opacity: 1;*/
  /*transform: perspective(0px);*/
  /*backdrop-filter: opacity(1) blur(0px) hue-rotate(0deg);
  -webkit-backdrop-filter: opacity(1) blur(0px) hue-rotate(0deg);*/
  height: 4000px;
}

#render-check {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#header-image {
  max-width: 100%;
  left: 1%;
  position: relative;
}

#cta-ida-big-div {
  /*background-color: red;*/
  border-radius: 100px;
  display: inline-block !important;
}

#cta-ida-big-btn {
  border-radius: 100px;
  padding: 20px;
}

#cta-big-block {
  position: relative;
}

.p-around-cta-ida-big {
  font-size: 0.7em;
}

/* === OTTIMIZZAZIONI MOBILE PER CTA BLOCK === */
@media (max-width: 767.98px) {
  /* Nascondi il blocco CTA centrale su mobile (abbiamo già il CTA nell'hero) */
  #cta-big-block {
    display: none !important;
  }
}

.logo-hero-full {
  margin-top: -5%;
  z-index: 3;
}

@media (max-width: 767px) {
  #logo-hero-full-block {
    display: none !important;
  }
}

@media (min-width: 767px) {
  #logo-hero-full-block-sm {
    display: none !important;
  }
}

#laser-div {
  position: relative;
}

#laser-lamp {
  width: max-content;
}

#laser-lamp::after {
  content: '';
  background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(0,103,213,1) 50%, rgba(0,212,255,0) 100%);
  position: absolute;
  width: 45vw;
  height: 3px;
  margin-top: 2.5em;
  left: 50%;
  transform: translateX(-50%);
  z-index: -5;
}

/* Extra small devices (phones, less than 576px) */

@media (max-width: 575.98px) {
  #laser-lamp {
    width: 80vw;
  }
}

/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) and (max-width: 767.98px) {
  #laser-lamp {
    width: 70vw;
  }
}

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) {
  #laser-lamp {
    width: clamp(200px, 80%, 350px);
  }
}

#space-to-header {
  height: 9em;
}

/* ========================================
   REGOLE TIPOGRAFICHE PER TAG HTML
   ======================================== */

/* Headings principali */
h1 {
  color: var(--st-text-primary, #ffffff);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  color: var(--st-text-primary, #ffffff);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

h3 {
  color: var(--st-text-accent, #f0f6fc);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

h4 {
  color: var(--st-text-accent, #f0f6fc);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

h5 {
  color: var(--st-text-secondary, #a0a0a0);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

h6 {
  color: var(--st-text-secondary, #a0a0a0);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

/* Paragrafi e testo di base */
p {
  color: var(--st-text-secondary, #a0a0a0);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Paragrafi con classe lead */
.lead {
  color: var(--st-text-accent, #f0f6fc);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Testo piccolo */
small {
  color: var(--st-text-muted, #666666);
  font-size: 0.875rem;
}

/* Enfasi e strong */
strong, b {
  color: var(--st-text-primary, #ffffff);
  font-weight: 600;
}

em, i {
  color: var(--st-text-accent, #f0f6fc);
}

/* Collegamenti */
a {
  color: var(--st-primary, #00ff9d);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--st-primary-light, #33ffac);
  text-shadow: 0 0 8px rgba(var(--st-primary-rgb), 0.3);
}

/* Code e preformatted */
code {
  color: var(--st-green-neon, #00ff41);
  background-color: var(--st-dark-card, #111111);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

pre {
  background-color: var(--st-dark-card, #111111);
  color: var(--st-text-accent, #f0f6fc);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--st-primary, #00ff9d);
  overflow-x: auto;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--st-primary, #00ff9d);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--st-text-accent, #f0f6fc);
  font-style: italic;
  background-color: rgba(var(--st-primary-rgb), 0.05);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
}

/* Liste */
ul, ol {
  color: var(--st-text-secondary, #a0a0a0);
  line-height: 1.6;
}

li {
  margin-bottom: 0.3rem;
}

/* Liste con marker personalizzato */
ul li::marker {
  color: var(--st-primary, #00ff9d);
}

ol li::marker {
  color: var(--st-primary, #00ff9d);
  font-weight: 600;
}

/* Divisori */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--st-primary, #00ff9d) 50%, 
    transparent 100%);
  margin: 2rem 0;
  opacity: 0.3;
}

/* Override per elementi con classi text-* di Bootstrap */
.text-primary {
  color: var(--st-primary, #00ff9d) !important;
}

.text-secondary {
  color: var(--st-text-secondary, #a0a0a0) !important;
}

.text-muted {
  color: var(--st-text-muted, #666666) !important;
}

.text-white {
  color: var(--st-text-primary, #ffffff) !important;
}

/* Classi utili per testi speciali */
.text-glow {
  text-shadow: 0 0 10px rgba(var(--st-primary-rgb), 0.5);
}

.text-neon {
  color: var(--st-green-neon, #00ff41);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* ========================================
   STILI PULSANTI STCHANNEL CON EFFETTI NEON
   Tutti i pulsanti hanno:
   - Alone neon progressivo al hover (4-5 livelli)
   - Elevazione e leggero scaling
   - Transizioni fluide per icone e colori
   - Feedback tattile al click
   - Animazione pulse-glow per elementi CTA
   ======================================== */

/* Pulsante primary StChannel con animazione futuristica */
.btn-stchannel-primary {
  background: var(--st-gradient-primary, linear-gradient(135deg, #00ff9d 0%, #00cc7d 100%));
  border: 2px solid var(--st-primary, #00ff9d);
  color: var(--st-dark, #0a0a0a) !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  letter-spacing: 0.5px;
  box-shadow: var(--st-shadow-primary, 0 4px 6px rgba(0, 255, 157, 0.1));
}

.btn-stchannel-primary:hover {
  background: var(--st-gradient-primary-intense, linear-gradient(135deg, #00ff41 0%, #00ff9d 50%, #33ffac 100%));
  border-color: var(--st-green-neon, #00ff41);
  color: var(--st-dark, #0a0a0a) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 0 25px rgba(0, 255, 157, 0.8),
    0 0 50px rgba(0, 255, 157, 0.6),
    0 0 75px rgba(0, 255, 157, 0.4),
    0 0 100px rgba(0, 255, 157, 0.2);
}

.btn-stchannel-primary:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 
    0 0 15px rgba(0, 255, 157, 0.6),
    0 0 30px rgba(0, 255, 157, 0.4);
}

/* Icone scure per pulsante primary (sempre visibili) */
.btn-stchannel-primary i,
.btn-stchannel-primary .fas,
.btn-stchannel-primary .fab,
.btn-stchannel-primary .bi {
  color: var(--st-dark, #0a0a0a) !important;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.btn-stchannel-primary:hover i,
.btn-stchannel-primary:hover .fas,
.btn-stchannel-primary:hover .fab,
.btn-stchannel-primary:hover .bi {
  color: var(--st-dark, #0a0a0a) !important;
  opacity: 1;
  text-shadow: 0 0 5px rgba(10, 10, 10, 0.3);
}

/* Pulsante secondary con bordo luminoso e effetto neon */
.btn-stchannel-secondary {
  background: transparent;
  border: 2px solid var(--st-primary, #00ff9d);
  color: var(--st-primary, #00ff9d) !important;
  font-weight: 500;
  border-radius: 50px;
  padding: 12px 24px;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: inset 0 0 0 0 var(--st-primary, #00ff9d);
}

.btn-stchannel-secondary:hover {
  color: var(--st-dark, #0a0a0a) !important;
  box-shadow: 
    inset 0 0 0 50px var(--st-primary, #00ff9d),
    0 0 25px rgba(0, 255, 157, 0.8),
    0 0 50px rgba(0, 255, 157, 0.6),
    0 0 75px rgba(0, 255, 157, 0.4),
    0 0 100px rgba(0, 255, 157, 0.2);
  border-color: var(--st-green-neon, #00ff41);
  text-shadow: none;
  transform: translateY(-3px) scale(1.02);
}

/* Pulsante ghost per elementi meno evidenti */
.btn-stchannel-ghost {
  background: rgba(var(--st-primary-rgb), 0.1);
  border: 1px solid rgba(var(--st-primary-rgb), 0.3);
  color: var(--st-primary, #00ff9d) !important;
  font-weight: 400;
  border-radius: 25px;
  padding: 8px 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-stchannel-ghost:hover {
  background: rgba(var(--st-primary-rgb), 0.2);
  border-color: var(--st-primary, #00ff9d);
  color: var(--st-primary-light, #33ffac) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 0 20px rgba(0, 255, 157, 0.6),
    0 0 40px rgba(0, 255, 157, 0.4),
    0 0 60px rgba(0, 255, 157, 0.3);
  backdrop-filter: blur(15px);
}

.btn-stchannel-secondary:active {
  transform: translateY(-1px) scale(1.01);
  color: var(--st-dark, #0a0a0a) !important; /* Mantiene il testo scuro per contrasto */
  background: var(--st-primary, #00ff9d) !important; /* Sfondo pieno per visibilità - !important per sovrascrivere */
  border-color: var(--st-green-neon, #00ff41) !important;
  box-shadow: 
    inset 0 0 0 2px var(--st-green-neon, #00ff41), /* Bordo interno per rinforzo */
    0 0 15px rgba(0, 255, 157, 0.6),
    0 0 30px rgba(0, 255, 157, 0.4) !important;
}

.btn-stchannel-ghost:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 
    0 0 10px rgba(0, 255, 157, 0.5),
    0 0 20px rgba(0, 255, 157, 0.3);
}

/* Dimensioni personalizzate con effetti neon scalabili */
.btn-stchannel-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 60px;
}

.btn-stchannel-lg:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    0 0 30px rgba(0, 255, 157, 0.8),
    0 0 60px rgba(0, 255, 157, 0.6),
    0 0 90px rgba(0, 255, 157, 0.4),
    0 0 120px rgba(0, 255, 157, 0.2);
}

.btn-stchannel-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: 30px;
}

.btn-stchannel-sm:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 0 15px rgba(0, 255, 157, 0.6),
    0 0 30px rgba(0, 255, 157, 0.4),
    0 0 45px rgba(0, 255, 157, 0.2);
}

/* Icone nei pulsanti StChannel */
.btn-stchannel-primary i,
.btn-stchannel-secondary i,
.btn-stchannel-ghost i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.btn-stchannel-primary:hover i,
.btn-stchannel-secondary:hover i,
.btn-stchannel-ghost:hover i {
  transform: translateX(3px);
}

/* Cambio colore specifico per l'icona del pulsante secondary */
.btn-stchannel-secondary:hover i {
  color: var(--st-dark, #0a0a0a) !important;
  transform: translateX(3px);
}

/* Assicura che le icone siano visibili anche al click */
.btn-stchannel-secondary:active i {
  color: var(--st-dark, #0a0a0a) !important;
  transform: translateX(3px);
}

/* Stato pressed per mantenere consistenza durante pressioni prolungate */
.btn-stchannel-secondary:active:focus,
.btn-stchannel-secondary.pressed {
  color: var(--st-dark, #0a0a0a) !important;
  background: var(--st-primary, #00ff9d) !important;
  border-color: var(--st-green-neon, #00ff41) !important;
  box-shadow: 
    inset 0 0 0 2px var(--st-green-neon, #00ff41),
    0 0 15px rgba(0, 255, 157, 0.6),
    0 0 30px rgba(0, 255, 157, 0.4) !important;
}

/* Effetto glow al focus per accessibilità */
.btn-stchannel-primary:focus,
.btn-stchannel-secondary:focus,
.btn-stchannel-ghost:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--st-primary-rgb), 0.3);
}

/* Stato disabled */
.btn-stchannel-primary:disabled,
.btn-stchannel-secondary:disabled,
.btn-stchannel-ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Integrazione con il sistema di animazione esistente */
.btn-custom-animate {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Effetti intensificati per tutti i pulsanti con animazione */
.btn-custom-animate.btn-stchannel-primary:hover,
.btn-custom-animate.btn-stchannel-secondary:hover,
.btn-custom-animate.btn-stchannel-ghost:hover {
  animation: none; /* Rimuovi l'animazione di base durante l'hover */
}

/* Effetto CTA principale ancora più drammatico */
.btn-custom-animate.btn-stchannel-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 0 30px rgba(0, 255, 157, 0.9),
    0 0 60px rgba(0, 255, 157, 0.7),
    0 0 90px rgba(0, 255, 157, 0.5),
    0 0 120px rgba(0, 255, 157, 0.3);
}

/* Effetto specifico per portfolio button con alone neon intensificato */
.portfolio-button.btn-stchannel-secondary {
  position: relative;
  overflow: hidden;
}

.portfolio-button.btn-stchannel-secondary:hover {
  animation: none; /* Rimuovi l'animazione di base durante l'hover */
  box-shadow: 
    inset 0 0 0 50px var(--st-primary, #00ff9d),
    0 0 25px rgba(0, 255, 157, 0.8),
    0 0 50px rgba(0, 255, 157, 0.6),
    0 0 75px rgba(0, 255, 157, 0.4),
    0 0 100px rgba(0, 255, 157, 0.2);
  border-color: var(--st-green-neon, #00ff41);
  text-shadow: none;
  transform: translateY(-3px) scale(1.02);
}

.portfolio-button.btn-stchannel-secondary:active {
  transform: translateY(-1px) scale(1.01);
  color: var(--st-dark, #0a0a0a) !important; /* Mantiene il testo scuro per contrasto */
  background: var(--st-primary, #00ff9d) !important; /* Sfondo pieno per visibilità - !important per sovrascrivere */
  border-color: var(--st-green-neon, #00ff41) !important;
  box-shadow: 
    inset 0 0 0 2px var(--st-green-neon, #00ff41), /* Bordo interno per rinforzo */
    0 0 15px rgba(0, 255, 157, 0.6),
    0 0 30px rgba(0, 255, 157, 0.4) !important;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 
      0 4px 6px rgba(0, 255, 157, 0.1),
      0 0 10px rgba(0, 255, 157, 0.2);
  }
  50% {
    box-shadow: 
      0 10px 25px rgba(0, 255, 157, 0.15),
      0 0 20px rgba(0, 255, 157, 0.4),
      0 0 40px rgba(0, 255, 157, 0.2);
  }
}