/* --- 1. VARIABILI & RESET (Design System) --- */
:root {
    /* Colore Principale: Verde Neon */
    --neon-green: #00f260; 
    /* Colore Secondario: Blu Tech */
    --tech-blue: #0575e6;
    
    /* Sfondi */
    --bg-dark: #080c14;          
    --bg-glass: rgba(8, 12, 20, 0.6); 
    
    /* Testi */
    --text-white: #ffffff;
    --text-dim: #b3b9c5;          
    
    /* Effetti */
    --neon-glow: 0 0 20px rgba(0, 242, 96, 0.6);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* --- UTILITY CLASSES --- */
.text-neon { color: var(--neon-green); }
.text-neon-glow { 
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 242, 96, 0.5);
}
.ml-2 { margin-left: 0.5rem; }


/* --- 2. NAVIGAZIONE (Clean & No Dots) --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

/* Reset per togliere puntini e sottolineature globalmente nella nav */
nav ul {
    list-style: none !important; 
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none !important;
}

/* Effetto Scrolled */
nav.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    height: 90px;
    border-bottom: 1px solid rgba(0, 242, 96, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Logo */
.logo-container { flex: 1; }
.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0, 242, 96, 0.2));
}
.logo-img:hover { transform: scale(1.05); }

/* MENU LINK (Centro) */
.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex: 2;
    list-style-type: none; 
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-smooth);
    text-decoration: none; 
}

/* Effetto Hover: Solo luce, NIENTE linea sotto */
.nav-link:hover {
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 242, 96, 0.8); 
    transform: translateY(-1px);
}

/* Azioni a destra (Telegram) */
.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-nav-neon {
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    background: rgba(0, 242, 96, 0.05);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    text-decoration: none; 
}

.btn-nav-neon:hover {
    background: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* Mobile Menu Reset */
@media (max-width: 900px) {
    .nav-menu {
        list-style: none; 
    }
    .nav-link {
        text-decoration: none;
    }
}

/* --- 3. HERO SECTION INNOVATIVA --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
}

.video-bg-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

.video-bg-container video {
    width: 100%; height: 100%;
    object-fit: cover;
}

.tech-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    background: 
        radial-gradient(circle at center, rgba(8, 12, 20, 0.6) 0%, rgba(8, 12, 20, 0.9) 100%),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzQnIHZpZXdCb3g9JzAgMCA0IDQnPgo8cmVjdCB3aWR0aD0nNCcgaGVpZ2h0PSc0JyBmaWxsPSd0cmFuc3BhcmVudCcgLz4KPHJlY3Qgd2lkdGg9JzEnIGhlaWdodD0nMScgZmlsbD0nIzAwZjI2MCcgb3BhY2l0eT0nMC4wNScgLz4KPC9zdmc+') repeat;
}

.hero-content {
    z-index: 10;
    max-width: 1000px;
    margin-top: 60px; 
}

.hero-sup-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.hero-main-title {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--text-white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero-sub-title {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    color: #dbe2ef;
    margin-bottom: 3.5rem;
}

.btn-neon-hero {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 3.5rem;
    background-color: var(--neon-green);
    color: #080c14;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 0 30px rgba(0, 242, 96, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-neon-hero:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 242, 96, 0.7), 0 0 20px rgba(255, 255, 255, 0.2) inset;
}
.btn-neon-hero i { transition: transform 0.3s ease; }
.btn-neon-hero:hover i { transform: translateX(5px); }

/* --- ANIMAZIONI --- */
.animate-stagger {
    opacity: 0;
    transform: translateY(30px);
}

.hero-visible .animate-stagger {
    animation: fadeInUp 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

.hero-visible .animate-stagger:nth-child(1) { animation-delay: 0.2s; }
.hero-visible .animate-stagger:nth-child(2) { animation-delay: 0.4s; }
.hero-visible .animate-stagger:nth-child(3) { animation-delay: 0.6s; }
.hero-visible .animate-stagger:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE RESPONSIVE --- */
.mobile-only { display: none; }
.hamburger-menu { display: none; font-size: 1.5rem; cursor: pointer; color: white; }

@media (max-width: 992px) {
    .hero-main-title { font-size: 4rem; }
    .hero-sub-title { font-size: 1.3rem; }
}

@media (max-width: 900px) {
    /* Menu Mobile Full Screen */
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(8, 12, 20, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        z-index: -1;
    }
    
    .nav-menu.active { right: 0; }

    .hamburger-menu { display: block; z-index: 1001; }
    .desktop-only { display: none; }
    .mobile-only { display: block; margin-top: 2rem; }
    
    .nav-link { font-size: 1.3rem; margin: 1rem 0; }
    .logo-img { height: 50px; } /* Logo un po' più piccolo su mobile per non coprire tutto */
    nav { padding: 0.5rem 5%; height: 80px; }
}
/* --- RESPONSIVE HERO SECTION (Mobile Fix) --- */
@media (max-width: 768px) {
    
    .hero-section {
        padding: 0 20px; 
        height: auto;    
        min-height: 100vh;
        padding-top: 100px; /* Spazio per la navbar fissa */
        padding-bottom: 50px;
    }

    /* 2. Titolo Piccolo sopra (Migliora il tuo trading...) */
    .hero-sup-title {
        font-size: 0.75rem; /* Molto più piccolo */
        letter-spacing: 1px;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    /* 3. TITOLO GIGANTE (FORMAZIONE E ASSISTENZA) */
    .hero-main-title {
        font-size: 2.3rem; /* Ridotto drasticamente (era troppo grande) */
        line-height: 1.1;
        margin-bottom: 1rem;
        word-wrap: break-word; /* Evita che parole lunghe rompano il layout */
    }

    /* 4. Sottotitolo (Consulenza personalizzata...) */
    .hero-sub-title {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        padding: 0 10px; /* Margine interno per non toccare i bordi */
    }

    /* 5. Bottone Verde */
    .btn-neon-hero {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        width: 100%; /* Bottone a tutta larghezza su mobile è più bello */
        justify-content: center; /* Testo centrato */
    }
    
    /* 6. Aggiustamento Navbar Mobile */
    nav {
        padding: 0.5rem 5%;
        height: 70px; /* Navbar più compatta */
    }
    
    .logo-img {
        height: 45px; /* Logo proporzionato */
    }
}
/* --- SEZIONE CHI SONO (About) --- */
.about-section {
    padding: 8rem 5%;
    position: relative;
    background-color: var(--bg-dark);
    /* Pattern di sfondo molto sottile (griglia tech) */
    background-image: 
        linear-gradient(rgba(8, 12, 20, 0.95), rgba(8, 12, 20, 0.95)),
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwgMjQyLCA5NiwgMC4wMykiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNhKSIvPjwvc3ZnPg==');
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Più spazio al testo */
    gap: 4rem;
    align-items: center;
}

/* Glass Box per il testo */
.glass-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
}

/* Decorazione linea verde laterale */
.glass-box::before {
    content: '';
    position: absolute;
    top: 30px; left: 0;
    width: 4px; height: 60px;
    background: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green);
    border-radius: 0 4px 4px 0;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 800;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text strong {
    color: var(--text-white);
    font-weight: 600;
}

/* Bottone Outline (variante per non appesantire) */
.btn-neon-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 2rem;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition-smooth);
    margin-top: 1rem;
    background: transparent;
}

.btn-neon-outline:hover {
    background: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.4);
}

/* --- IMMAGINE & EFFETTI --- */
.image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    /* Effetto maschera o bordo */
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.1);
    /* Filtro leggero per amalgamare la foto al dark mode */
    filter: contrast(1.1) brightness(0.9); 
    transition: var(--transition-smooth);
}

.profile-img:hover {
    transform: scale(1.02);
    filter: contrast(1.1) brightness(1);
}

/* Cerchio Neon dietro la testa */
.neon-circle-bg {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0,242,96,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* Badge Fluttuanti */
.floating-badge {
    position: absolute;
    background: rgba(8, 12, 20, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 242, 96, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.badge-top {
    top: 10%;
    right: 0;
    animation: float 3s ease-in-out infinite;
}

.badge-bottom {
    bottom: 15%;
    left: -20px;
    animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Responsive Chi Sono */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .glass-box { padding: 2rem 1.5rem; }
    
    .glass-box::before { 
        top: 0; left: 50%; 
        width: 60px; height: 4px; 
        transform: translateX(-50%);
        border-radius: 0 0 4px 4px;
    }
    
    .section-title { font-size: 2.2rem; }
    
    .badge-bottom { left: 0; }
    .badge-top { right: 0; }
}
/* --- SEZIONE CTA SUPPORTO (Call To Action) --- */
.cta-section {
    position: relative;
    padding: 8rem 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Gestione Sfondo */
.cta-bg-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Effetto leggero zoom al caricamento o fisso */
    transform: scale(1.05); 
}

/* Overlay Scuro + Blu Tech per uniformare */
.cta-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to bottom, 
        var(--bg-dark), 
        rgba(5, 117, 230, 0.3), 
        var(--bg-dark)
    );
    z-index: 1;
    backdrop-filter: blur(2px); /* Leggera sfocatura immagine sfondo */
}

/* Utility per posizionamento sopra l'overlay */
.relative { position: relative; }
.z-10 { z-index: 10; }

/* --- GLASS CARD CENTRALE --- */
.glass-card-center {
    background: rgba(8, 12, 20, 0.75); /* Sfondo scuro semitrasparente */
    backdrop-filter: blur(16px);       /* Effetto vetro potente */
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(0, 242, 96, 0.3); /* Bordo superiore verde */
    border-bottom: 1px solid rgba(0, 242, 96, 0.3); /* Bordo inferiore verde */
    padding: 4rem 3rem;
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.glass-card-center:hover {
    transform: translateY(-5px); /* Leggero sollevamento hover */
    box-shadow: 0 30px 60px -12px rgba(0, 242, 96, 0.15); /* Glow verde diffuso */
}

/* Tipografia */
.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--text-white);
}

.cta-text {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text strong {
    color: var(--text-white);
    font-weight: 600;
}

.cta-btn-wrapper {
    margin-top: 3rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta-section { padding: 5rem 5%; }
    .glass-card-center { padding: 2.5rem 1.5rem; }
    .cta-title { font-size: 1.8rem; }
    .cta-text { font-size: 1rem; }
}
/* --- SEZIONE PRICING (Link Esclusivi) --- */
.pricing-section {
    padding: 8rem 5%;
    background-color: #05080f; /* Un nero leggermente diverso per stacco visivo */
}

.text-center { text-align: center; }

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

/* Griglia Grid Layout */
.pricing-grid {
    display: grid;
    /* Crea colonne automatiche (minimo 280px) per adattarsi a 4 card */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* STILE DELLA CARD */
.price-card {
    position: relative;
    height: 450px; /* Altezza fissa per uniformità */
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    background: #000;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Effetto Hover Card Completa */
.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 242, 96, 0.2);
}

/* Immagine di Sfondo */
.card-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

/* Zoom immagine all'hover */
.price-card:hover .card-bg-img {
    transform: scale(1.1);
}

/* Sfumatura scura per leggere il testo (dal basso verso l'alto) */
.card-overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
}

/* Contenuto della Card (Prezzo, Titolo...) */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Prezzo */
.price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 242, 96, 0.4);
}

.period {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 5px;
}

/* Titolo Piano */
.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Descrizione */
.plan-desc {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    min-height: 45px; /* Per allineare i bottoni anche se il testo è corto */
}

/* Bottone Azione Card */
.btn-card-action {
    padding: 0.8rem 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Hover Bottone */
.btn-card-action:hover {
    background: var(--neon-green);
    color: #000;
    border-color: var(--neon-green);
}

@media (max-width: 1200px) {
    /* Tablet/Laptop: 2 colonne comode */
    .pricing-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    /* MOBILE: FORZIAMO 2 COLONNE */
    .pricing-grid { 
        grid-template-columns: repeat(2, 1fr); /* Mantiene 2 colonne */
        gap: 10px; /* Riduciamo lo spazio tra le card per farcele stare */
    }

    /* Adattiamo la Card per spazi stretti */
    .price-card { 
        height: 380px; /* Riduciamo leggermente l'altezza */
    }

    .card-content {
        padding: 1rem; /* Meno padding interno (era 2rem) */
    }

    /* Riduciamo i testi per evitare che vadano a capo male */
    .price-tag { 
        font-size: 1.3rem; /* Prezzo più piccolo */
    }
    
    .period {
        font-size: 0.8rem;
    }

    .plan-name { 
        font-size: 0.95rem; /* Titolo più compatto */
        margin-bottom: 0.5rem;
    }

    .plan-desc { 
        font-size: 0.75rem; /* Descrizione piccola ma leggibile */
        line-height: 1.3;
        margin-bottom: 1rem;
        min-height: 30px;
    }

    .btn-card-action {
        font-size: 0.75rem; /* Bottone più piccolo */
        padding: 0.6rem 0;
    }
    
    /* Icona nel bottone un po' più piccola */
    .btn-card-action i {
        font-size: 0.7rem;
    }
}
/* --- SEZIONE SUPPORTO (Accordion Tech FIX) --- */
.support-section {
    padding: 6rem 5%;
    background-color: var(--bg-dark);
    position: relative;
    background-image: radial-gradient(circle at 50% 50%, rgba(5, 117, 230, 0.05) 0%, transparent 50%);
}

.tech-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- STATO 1: CHIUSO (Default) --- */
.accordion-item {
    /* Colore di base: Grigio/Trasparente */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Bordo GRIGIO spento */
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: none; /* Nessun bagliore quando è chiuso */
}

/* --- STATO 2: APERTO (Active) --- */
/* Questo stile si applica SOLO se c'è la classe .active */
.accordion-item.active {
    background: rgba(8, 12, 20, 0.95); /* Sfondo più scuro e solido */
    border-color: var(--neon-green) !important; /* Bordo VERDE NEON forzato */
    box-shadow: 0 0 25px rgba(0, 242, 96, 0.2); /* Bagliore verde */
}

/* Header */
.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.03); /* Leggero effetto hover mouse */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Icone Sinistra */
.header-left i {
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
    color: var(--text-dim); /* Icona grigia quando chiuso */
    transition: color 0.3s ease;
}

/* Icona diventa verde quando attivo */
.accordion-item.active .header-left i {
    color: var(--neon-green);
}

.accordion-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

/* Freccia Destra */
.arrow-icon {
    color: var(--text-dim);
    transition: transform 0.4s ease, color 0.3s ease;
}

/* Rotazione e colore freccia quando attivo */
.accordion-item.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--neon-green);
}

/* Body (Contenuto nascosto) */
.accordion-body {
    max-height: 0; /* Altezza zero = nascosto */
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    opacity: 0.5; /* Leggermente trasparente mentre si apre */
}

/* Quando è attivo, il contenuto diventa visibile e opaco */
.accordion-item.active .accordion-body {
    opacity: 1;
}

.body-content {
    padding: 0 2rem 2rem 5rem;
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 0.5rem;
    padding-top: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .accordion-header { padding: 1.2rem 1rem; }
    .header-left { gap: 1rem; }
    .accordion-header h3 { font-size: 1rem; }
    .body-content { padding: 0 1rem 1.5rem 1rem; }
}
/* --- SEZIONE VANTAGGI (Benefits) --- */
.benefits-section {
    padding: 8rem 5%;
    background-color: var(--bg-dark);
    position: relative;
    /* Un pattern di sfondo leggermente diverso per staccare */
    background-image: 
        linear-gradient(rgba(8, 12, 20, 0.9), rgba(8, 12, 20, 0.9)),
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMCwgMjQyLCA5NiwgMC4wNSkiLz48L3N2Zz4=');
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Card Style */
.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: left; /* Allineamento a sinistra come nell'immagine originale */
}

/* Hover Effect: Bordo verde e sollevamento */
.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-green);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Linea decorativa in alto che appare all'hover */
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: var(--neon-green);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--neon-green);
}

.benefit-card:hover::before {
    width: 100%;
}

/* Icona nel cerchio luminoso */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(0, 242, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--neon-green);
    border: 1px solid rgba(0, 242, 96, 0.3);
    transition: var(--transition-smooth);
}

/* Animazione icona all'hover */
.benefit-card:hover .icon-wrapper {
    background: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.6);
    transform: scale(1.1) rotate(5deg);
}

/* Tipografia */
.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Evidenzio leggermente il titolo all'hover della card */
.benefit-card:hover .benefit-title {
    color: var(--neon-green);
    transition: color 0.3s ease;
}

.benefit-text {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .benefit-card { padding: 2rem; }
}
/* --- SEZIONE SERVIZI DETTAGLIATI --- */
.services-detail-section {
    padding: 8rem 5%;
    background-color: var(--bg-dark);
    position: relative;
    /* Background diverso per staccare */
    background-image: linear-gradient(to bottom, rgba(8,12,20,1), rgba(5, 117, 230, 0.05), rgba(8,12,20,1));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Colonne su Desktop */
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Container */
.service-card {
    position: relative;
    border-radius: 20px;
    padding: 1px; /* Per il bordo sfumato se necessario, qui usiamo glass */
    transition: var(--transition-smooth);
    display: flex; /* Per far allungare il contenuto */
}

/* Contenuto Glass */
.card-glass-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 19px;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

/* Hover Effect */
.service-card:hover .card-glass-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Highlight Card (La terza, quella del coaching) */
.highlight-card .card-glass-content {
    border-color: rgba(0, 242, 96, 0.3);
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(0,242,96,0.02) 100%);
}

/* Icona sopra il titolo */
.icon-header {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--neon-green);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.text-dim-small {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.service-card p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1; /* Spinge il bottone in basso */
}

/* Contenitore Bottone in basso */
.card-action-bottom {
    margin-top: auto;
}

/* Bottone Piccolo Outline (Per Box 1 e 4) */
.btn-neon-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    transition: var(--transition-smooth);
    padding-bottom: 5px;
    border-bottom: 1px solid var(--neon-green);
}

.btn-neon-outline-sm:hover {
    color: var(--neon-green);
    gap: 15px; /* Freccia si muove */
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 Colonna su Tablet/Mobile */
        gap: 1.5rem;
    }
    
    .card-glass-content {
        padding: 1.5rem;
    }
}
/* --- SEZIONE CORSO PSICOLOGIA (Coming Soon) --- */
.course-section {
    padding: 8rem 5%;
    position: relative;
    background-color: var(--bg-dark);
    /* Sfumatura leggera Viola/Blu scuro per dare profondità */
    background-image: radial-gradient(circle at 80% 50%, rgba(76, 29, 149, 0.15) 0%, rgba(8, 12, 20, 1) 60%);
    overflow: hidden;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Badge Prossimamente --- */
.badge-wrapper { margin-bottom: 1.5rem; }

.badge-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: rgba(255, 193, 7, 0.1); /* Sfondo Oro leggero */
    border: 1px solid #ffc107;          /* Bordo Oro */
    color: #ffc107;                     /* Testo Oro */
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Tipografia */
.course-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.course-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* --- Visual Image (Destra) --- */
.course-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-glass-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 24px;
    padding: 10px;
    /* Bordo Vetro */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-5deg); /* Leggera rotazione 3D */
    transition: transform 0.5s ease;
}

.visual-glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    filter: brightness(0.8) contrast(1.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Bagliore dietro l'immagine */
.glow-backdrop {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: var(--neon-green);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    
    .visual-glass-card {
        transform: none; /* Rimuovi 3D su mobile */
        height: 300px;
        margin: 0 auto;
    }
    
    .course-title { font-size: 2.5rem; }
}
/* --- SEZIONE TESTIMONIALS --- */
.testimonials-section {
    padding: 8rem 5%;
    background-color: var(--bg-dark);
    /* Pattern a punti sottili per richiamare l'originale ma in stile dark */
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 40px 40px;
    background-color: #05080f; /* Fondo leggermente più scuro per contrasto punti */
    /* Rendo i punti molto tenui (quasi invisibili) */
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.testimonials-grid {
    display: grid;
    /* 3 Colonne automatiche */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card Stile Vetro */
.testimonial-card {
    background: rgba(18, 22, 30, 0.7); /* Scuro semi-trasparente */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

/* Hover: Luce verde */
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 96, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Icona Virgolette */
.quote-icon {
    font-size: 2rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Testo Recensione */
.testimonial-text {
    font-size: 0.95rem;
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1; /* Spinge il nome in basso */
}

/* Autore (Nome) */
.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-green); /* Verde Neon al posto del giallo */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto; /* Si ancora in basso */
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr; /* 1 Colonna su mobile */
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}
/* --- SEZIONE YOUTUBE --- */
.youtube-section {
    padding: 8rem 5%;
    position: relative;
    background-color: var(--bg-dark);
    overflow: hidden;
}

/* Gestione Sfondo */
.youtube-bg-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.youtube-bg-container .bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Immagine molto scura */
    filter: grayscale(100%) contrast(1.2); /* Bianco e nero per non disturbare il neon */
}

/* Overlay Gradiente */
.youtube-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(8, 12, 20, 0.95) 20%, rgba(8, 12, 20, 0.8) 100%);
    z-index: 1;
}

/* Utilità Z-Index */
.relative { position: relative; }
.z-10 { z-index: 10; }

/* Grid Layout */
.youtube-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Video un po' più grande del testo */
    gap: 4rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* --- VIDEO STYLING --- */
.video-wrapper-neon {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect Ratio 16:9 */
    height: 0;
    border-radius: 20px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 2;
}

.video-wrapper-neon iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 20px;
    z-index: 3;
}

/* Effetto Glow dietro il video */
.neon-backdrop {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 105%; height: 105%;
    background: var(--neon-green);
    filter: blur(60px);
    opacity: 0.25; /* Intensità del bagliore */
    z-index: 1;
    border-radius: 30px;
    animation: pulseVideo 4s infinite alternate;
}

@keyframes pulseVideo {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 0.35; transform: translate(-50%, -50%) scale(1.05); }
}

/* --- TESTO STYLING --- */
.section-subtitle-large {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.youtube-text {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.youtube-cta {
    margin-top: 2.5rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .video-column {
        order: 1; /* Video sopra */
    }
    
    .content-column {
        order: 2; /* Testo sotto */
    }

    .section-subtitle-large { font-size: 1.5rem; }
    
    /* Ridurre bagliore su mobile per performance */
    .neon-backdrop { width: 90%; height: 90%; opacity: 0.15; filter: blur(40px); }
}
/* --- SEZIONE FINALE CTA & PARTNERS --- */
.final-cta-section {
    padding: 8rem 5% 4rem; /* Padding bottom ridotto per i loghi */
    position: relative;
    background-color: var(--bg-dark);
    overflow: hidden;
    text-align: center;
}

/* Decorazioni Angolari (Luci Neon soffuse) */
.corner-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--neon-green);
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    border-radius: 50%;
}
.top-left { top: -100px; left: -100px; }
.top-right { top: -100px; right: -100px; }

/* 1. GLASS CARD CENTRALE */
.final-cta-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto 5rem auto; /* Margine sotto per staccare dai social */
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cta-title-large {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Bottone Outline Grande */
.btn-neon-outline-large {
    padding: 1.1rem 2.5rem;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition-smooth);
    background: transparent;
    display: inline-flex;
    align-items: center;
}

.btn-neon-outline-large:hover {
    background: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 242, 96, 0.4);
}

/* 2. SOCIAL SECTION */
.social-follow-section {
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.social-title {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    color: var(--bg-dark);
    transform: translateY(-5px);
}

/* Colori Social Hover */
.social-icon-btn.facebook:hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 0 20px rgba(24, 119, 242, 0.4); }
.social-icon-btn.telegram:hover { background: #0088cc; border-color: #0088cc; box-shadow: 0 0 20px rgba(0, 136, 204, 0.4); }
.social-icon-btn.youtube:hover { background: #FF0000; border-color: #FF0000; box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); }
.social-icon-btn.instagram:hover { background: #E1306C; border-color: #E1306C; box-shadow: 0 0 20px rgba(225, 48, 108, 0.4); }

/* --- 3. PARTNERS LOGOS (Aggiornato: Arrotondati e Verdi) --- */
.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.partner-logo img {
    height: 90px; /* Grandezza logo */
    width: auto;
    object-fit: contain;
    
    /* STILE BORDO VERDE E ARROTONDATO */
    border: 2px solid var(--neon-green); /* Bordo Verde Neon */
    border-radius: 20px;                 /* Bordi Arrotondati */
    padding: 15px;                       /* Spazio tra logo e bordo */
    background: rgba(0, 242, 96, 0.05);  /* Sfondo verde chiarissimo dentro il bordo */
    
    /* Visibilità */
    filter: none; 
    opacity: 1; 
    cursor: default; /* Non cliccabile */
    
    /* Ombra/Glow Verde */
    box-shadow: 0 0 15px rgba(0, 242, 96, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover: Leggero effetto "Acceso" */
.partner-logo img:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 242, 96, 0.4);
    background: rgba(0, 242, 96, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .partners-row { gap: 1.5rem; }
    .partner-logo img { 
        height: 70px; /* Un po' più piccoli su mobile */
        padding: 10px;
        border-radius: 15px;
    }
}
/* --- SIDE NAVIGATION (Menu Laterale Destro) --- */
.side-navigation {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1001; /* Sopra a tutto */
    padding: 10px;
    border-radius: 30px;
    transition: all 0.4s ease;
}

/* Effetto Hover sul contenitore: Si crea lo sfondo vetro */
.side-navigation:hover {
    background: rgba(8, 12, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    padding: 20px 15px; /* Si allarga leggermente */
}

.side-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end; /* Allinea tutto a destra */
}

.side-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    cursor: pointer;
}

/* Il Pallino (Dot) */
.side-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* Il Testo (Etichetta) */
.side-label {
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Nascosto di default */
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none; /* Non cliccabile finché non appare */
}

/* --- INTERAZIONI --- */

/* 1. Quando passi il mouse sopra il menu, mostra i testi */
.side-navigation:hover .side-label {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* 2. Hover sul singolo link */
.side-link:hover .side-dot {
    background-color: var(--neon-green);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--neon-green);
}

.side-link:hover .side-label {
    color: var(--neon-green);
}

/* 3. Stato ATTIVO (Sezione corrente) */
.side-link.active .side-dot {
    background-color: var(--neon-green);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--neon-green);
    border: 1px solid #fff; /* Doppio cerchio per risaltare */
}

.side-link.active .side-label {
    /* Opzionale: se vuoi che l'etichetta attiva si veda sempre anche senza hover, togli il commento sotto */
    /* opacity: 1; transform: translateX(0); */
    color: var(--neon-green);
}

/* RESPONSIVE: Nascondi su mobile (troppo poco spazio) */
@media (max-width: 900px) {
    .side-navigation { display: none; }
}
.nav-link:hover, .nav-link.active { 
    color: var(--neon-green); 
    text-shadow: 0 0 10px rgba(0, 242, 96, 0.5); 
}
/* --- RESPONSIVE SIDE NAV (Barra Laterale su Mobile) --- */
@media (max-width: 900px) {
    
    /* 1. Rendiamo la barra VISIBILE su mobile */
    .side-navigation { 
        display: block !important; /* Forza la visualizzazione */
        right: 5px; /* Più vicina al bordo destro */
        padding: 5px; /* Meno padding per non ingombrare */
        background: rgba(8, 12, 20, 0.3); /* Sfondo semi-trasparente leggero */
        backdrop-filter: blur(3px);
        border-radius: 20px;
    }

    /* 2. Nascondiamo le SCRITTE (troppo ingombranti su schermo piccolo) */
    .side-navigation .side-label {
        display: none !important;
    }

    /* 3. Ottimizziamo i pallini per il tocco (Touch) */
    .side-navigation ul {
        gap: 20px; /* Più spazio tra i pallini per non sbagliare click */
    }

    .side-link {
        padding: 5px; /* Area di tocco leggermente più grande */
    }

    .side-dot {
        width: 10px; /* Pallini un po' più grandi per vederli meglio */
        height: 10px;
        background-color: rgba(255, 255, 255, 0.5); /* Più visibili di default */
        box-shadow: 0 0 5px rgba(0,0,0,0.8); /* Ombra per contrasto sullo sfondo */
    }

    /* Stato attivo (Pallino verde) */
    .side-link.active .side-dot {
        background-color: var(--neon-green);
        transform: scale(1.4); /* Si ingrandisce bene quando attivo */
        border: 1px solid #fff;
    }
}
/* --- BUTTON PIÙ INFORMAZIONI --- */
.btn-info-outline {
    width: 100%;
    padding: 0.6rem 0;
    margin-bottom: 0.8rem; /* Spazio dal tasto acquista */
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}

.btn-info-outline:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    background: rgba(0, 242, 96, 0.05);
}

/* --- MODAL POPUP STYLES --- */
.modal-overlay {
    display: none; /* Nascosto di default */
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Sfondo scuro dietro */
    backdrop-filter: blur(5px);
    align-items: center; justify-content: center;
    padding: 20px;
}

/* Quando attivo, usa display flex per centrare */
.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #0d111a;
    border: 1px solid var(--neon-green);
    border-radius: 16px;
    width: 100%; max-width: 800px;
    max-height: 90vh; /* Non più alto del 90% dello schermo */
    display: flex; flex-direction: column;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 242, 96, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}
.close-modal:hover { color: var(--neon-green); }

/* Header Modal */
.modal-title {
    font-size: 1.8rem; text-align: center; margin-top: 1.5rem; color: #fff;
}
.modal-subtitle {
    text-align: center; color: var(--text-dim); font-size: 1rem; margin-bottom: 0.5rem;
}
.price-highlight {
    text-align: center; font-size: 1.2rem; color: var(--neon-green); font-weight: 700;
    margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem;
}
.strike { text-decoration: line-through; color: #666; font-size: 0.9rem; margin-left: 5px; }

/* Corpo Scrollabile */
.modal-scroll-body {
    overflow-y: auto; /* Abilita scroll interno */
    padding: 0 2rem 2rem;
}

/* Blocchi Info */
.info-block { margin-bottom: 2rem; }
.info-header {
    font-size: 1.2rem; color: #fff; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 10px;
}
.info-block ul { list-style: none; padding-left: 10px; }
.info-block li {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 15px;
    border-left: 2px solid rgba(0, 242, 96, 0.3);
}
.info-block strong { color: #fff; }

/* Scrollbar personalizzata per il modal */
.modal-scroll-body::-webkit-scrollbar { width: 8px; }
.modal-scroll-body::-webkit-scrollbar-track { background: #080c14; }
.modal-scroll-body::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.modal-scroll-body::-webkit-scrollbar-thumb:hover { background: var(--neon-green); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- GRIGLIA PREZZI (2 per riga) --- */
.pricing-grid {
    display: grid;
    /* Questa regola forza esattamente 2 colonne di uguale larghezza */
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; /* Spazio tra le card */
    max-width: 1000px; /* Limita la larghezza totale per tenerle compatte */
    margin: 0 auto; /* Centra la griglia nella pagina */
    padding: 2rem 0;
}

/* --- RESPONSIVE --- */
/* Su Tablet e Mobile diventano 1 colonna per leggibilità */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr; /* 1 sola colonna */
        padding: 0 20px;
    }
}
/* --- PULSANTE FOOTER PICCOLO --- */
.btn-footer-small {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05); /* Sfondo leggero */
    border: 1px solid var(--neon-green);     /* Bordo verde neon */
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;                  /* Dimensioni contenute */
    border-radius: 8px;                      /* Angoli smussati */
    font-size: 0.9rem;                       /* Testo non troppo grande */
    line-height: 1.4;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;                   /* Spazio sotto */
    box-shadow: 0 0 10px rgba(0, 242, 96, 0.1);
}

.btn-footer-small .text-neon {
    font-weight: 700;
    /* La classe text-neon ha già il colore, qui aggiungiamo solo peso */
}

/* Effetto Hover (Passaggio mouse) */
.btn-footer-small:hover {
    background: var(--neon-green);
    color: #000; /* Testo diventa nero per leggibilità */
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.4);
    transform: translateY(-2px); /* Si alza leggermente */
}