
        /* --- RESET & VARIABLES --- */
        :root {
            /* Palette "Forest Sanctuary" */
            --col-primary: #1f3b32;      /* Verde Foresta Profondo */
            --col-secondary: #8da399;    /* Salvia Polveroso */
            --col-accent: #d6c6b0;       /* Sabbia/Oro antico */
            --col-bg: #fdfcf8;           /* Crema/Carta */
            --col-bg-alt: #f4f7f6;       /* Ghiaccio leggero */
            --col-text: #2c2c2c;         /* Antracite morbido */
            --transition-zen: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            --font-head: 'Playfair Display', serif;
            --font-body: 'Inter', sans-serif;
            
            --radius: 4px;
            --container: 1100px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: var(--font-body);
            background-color: var(--col-bg);
            color: var(--col-text);
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* Texture "Carta" per effetto Editoriale */
        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 9999;
        }

        /* --- TYPOGRAPHY --- */
        h1, h2, h3, h4 {
            font-family: var(--font-head);
            font-weight: 400;
            color: var(--col-primary);
        }

        h1 {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            line-height: 1.1;
            letter-spacing: -0.02em;
        }

        h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 1.5rem;
        }

        p {
            margin-bottom: 1.5rem;
            font-weight: 300;
            font-size: 1.05rem;
            color: #4a4a4a;
        }

        .drop-cap::first-letter {
            font-family: var(--font-head);
            font-size: 3.5rem;
            float: left;
            line-height: 0.8;
            margin-right: 0.1em;
            color: var(--col-primary);
        }

        .text-accent { color: var(--col-secondary); font-style: italic; font-family: var(--font-head); }

        /* --- UTILS & LAYOUT --- */
        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }

        .section-padding { padding: 100px 0; }

        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        /* --- COMPONENTS --- */
        
        /* Navbar Minimal */
        .nav-wrapper {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 100;
            background: rgba(253, 252, 248, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(31, 59, 50, 0.05);
            transition: all 0.3s ease;
        }
        
        nav {
            height: 80px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: var(--font-head);
            font-size: 1.5rem;
            color: var(--col-primary);
            text-decoration: none;
            letter-spacing: -0.5px;
        }

        .menu-link {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--col-primary);
            text-decoration: none;
            margin-left: 30px;
            position: relative;
        }
        .menu-link::after {
            content: '';
            position: absolute;
            bottom: -5px; left: 0; width: 0%; height: 1px;
            background: var(--col-primary);
            transition: width 0.3s;
        }
        .menu-link:hover::after { width: 100%; }

        /* Bottoni High Conversion */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 32px;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            border-radius: 2px;
            cursor: pointer;
        }

        .btn-primary {
            background-color: var(--col-primary);
            color: white;
            border: 1px solid var(--col-primary);
        }
        .btn-primary:hover {
            background-color: transparent;
            color: var(--col-primary);
            transform: translateY(-2px);
        }

        .btn-outline {
            border: 1px solid var(--col-primary);
            color: var(--col-primary);
        }
        .btn-outline:hover {
            background-color: var(--col-primary);
            color: white;
        }

        /* --- HERO --- */
        .hero {
            height: 90vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            background-color: #e8eceb; /* Fallback */
            overflow: hidden;
        }

        .hero-img {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
            opacity: 0.8; /* Leggera trasparenza per leggere il testo */
            z-index: 0;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            padding: 40px;
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255,255,255,0.4);
        }

        /* --- CARDS & SECTIONS --- */
        .value-card {
            padding: 30px;
            border-left: 2px solid rgba(31, 59, 50, 0.1);
            transition: 0.3s;
        }
        .value-card:hover {
            border-left-color: var(--col-secondary);
            background: var(--col-bg-alt);
        }

        .path-card {
            background: white;
            border: 1px solid rgba(31, 59, 50, 0.08);
            padding: 40px;
            text-align: center;
            transition: transform 0.4s ease;
            position: relative;
        }
        .path-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.05);
            border-color: var(--col-secondary);
        }

        .testimonial-box {
            font-family: var(--font-head);
            font-size: 1.4rem;
            line-height: 1.5;
            color: var(--col-primary);
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        /* --- ANIMATIONS --- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- MOBILE --- */
        @media (max-width: 768px) {
            .grid-2 { grid-template-columns: 1fr; gap: 40px; }
            h1 { font-size: 2.8rem; }
            .desktop-only { display: none; }
            .hero-content { margin: 0 15px; }
        
        }
        /* --- NAVBAR MODIFICATA: GLASSY, ROUNDED & FLOATING --- */
.nav-wrapper {
    position: fixed;
    top: 20px; /* Galleggia staccata dal bordo superiore */
    left: 50%;
    transform: translateX(-50%); /* Centrata perfettamente */
    width: 90%; /* Larghezza ridotta per effetto 'isola' */
    max-width: 1000px;
    z-index: 1000;
    
    /* Effetto Vetro Satinato Premium */
    background: rgba(255, 255, 255, 0.65); 
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    
    /* Bordi e Ombre */
    border-radius: 100px; /* Arrotondamento massimo */
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px 0 rgba(31, 59, 50, 0.1);
    
    transition: all 0.3s ease;
    padding: 0 10px; /* Spazio interno laterale */
}

/* Modifica l'altezza della nav interna */
nav {
    height: 70px; /* Leggermente più compatta ed elegante */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Adattamento Mobile per la Navbar */
@media (max-width: 768px) {
    .nav-wrapper {
        width: 95%;
        top: 10px;
    }
}
/* --- MODIFICA QUESTO CSS --- */

/* 1. Navbar Button (Stondato a pillola) */
.nav-wrapper .btn {
    border-radius: 50px !important; /* Arrotondamento completo */
    padding: 12px 30px; /* Più "cicciotto" per essere cliccabile */
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(31, 59, 50, 0.15); /* Ombra morbida */
}

/* 2. Nuove Zen Cards (High Converting) */
.path-card {
    background: white;
    border: 1px solid rgba(31, 59, 50, 0.08);
    padding: 50px 35px; /* Più spazio interno */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    
    /* MODIFICA: Arrotondamento "Zen" molto accentuato */
    border-radius: 32px; 
}

/* Effetto Hover: Si solleva e illumina */
.path-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(31, 59, 50, 0.1);
    border-color: var(--col-secondary);
}

/* Decorazione "Zen" in alto a destra delle card */
.zen-decor {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--col-secondary) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
}

/* Foto Circolare Shishir */
.guru-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
/* Stile per l'avatar del Dr. Shishir */
.guru-avatar {
    width: 120px; /* Dimensione ben visibile */
    height: 120px;
    border-radius: 50%; /* Perfettamente rotondo */
    object-fit: cover; /* Ritaglia la foto senza deformarla */
    border: 4px solid white; /* Bordo bianco per stacco */
    box-shadow: 0 10px 30px rgba(31, 59, 50, 0.15); /* Ombra morbida "Zen" */
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.guru-avatar:hover {
    transform: scale(1.05); /* Leggero zoom all'hover */
}
/* --- HIGH CONVERTING ZEN CARDS --- */

/* La Griglia */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center; /* Centra verticalmente per far risaltare quella centrale */
}

/* Base Card Style */
.zen-card {
    background: #ffffff;
    border: 1px solid rgba(31, 59, 50, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effetto "Molla" delicato */
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover Effect: Galleggiamento */
.zen-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px -10px rgba(31, 59, 50, 0.12);
    border-color: var(--col-secondary);
}

/* Card in Evidenza (La Centrale) */
.zen-card.highlight {
    background: #fafcfb; /* Bianco leggermente più freddo/prezioso */
    border: 2px solid var(--col-primary);
    transform: scale(1.05); /* Più grande di default */
    box-shadow: 0 25px 50px -12px rgba(31, 59, 50, 0.15);
    z-index: 10;
}

.zen-card.highlight:hover {
    transform: scale(1.05) translateY(-8px); /* Mantiene la scala ma sale */
}

/* Icona Cerchio */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--col-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: background 0.3s;
}

.zen-card:hover .icon-circle {
    background: #e8f0eb; /* Diventa verde chiaro all'hover */
}

.highlight .icon-circle {
    background: var(--col-primary);
    color: white;
}

/* Badge "Consigliato" */
.badge-best {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--col-primary);
    color: white;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(31,59,50,0.2);
}

/* Liste Benefit */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    flex-grow: 1; /* Spinge il bottone in basso */
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Separatore Elegante */
.card-divider {
    height: 1px;
    width: 50px;
    background: var(--col-accent);
    margin: 20px 0;
}

/* Sfondo "Noise" sottile per le card (Opzionale, effetto carta) */
.zen-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
/* Assicura che il contenuto sia sopra il noise */
.zen-card > * { position: relative; z-index: 1; }
/* --- FIXED & WIDER ZEN CARDS --- */

/* La Griglia - Ora più larga e reattiva */
.cards-grid {
    display: grid;
    /* Minimo 350px per card invece di 300px, così non si schiacciano */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 40px; /* Spazio tra le card */
    align-items: stretch; /* Tutte le card stessa altezza */
    margin-top: 40px;
}

/* Base Card Style */
.zen-card {
    background: #ffffff;
    /* Bordo sottilissimo ed elegante */
    border: 1px solid rgba(31, 59, 50, 0.06); 
    border-radius: 20px; /* Meno arrotondato dell'immagine per sembrare più professionale */
    padding: 50px 40px; /* Più spazio ai lati per allargarle visivamente */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.zen-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 59, 50, 0.08);
    border-color: var(--col-light);
}

/* Card Centrale (Highlight) */
.zen-card.highlight {
    background: #fcfdfc; /* Bianco caldo/verdino impercettibile */
    border: 2px solid var(--col-primary); /* Bordo deciso */
    box-shadow: 0 25px 50px -10px rgba(31, 59, 50, 0.15);
    z-index: 2;
    transform: scale(1.03); /* Leggermente più grande */
}

.zen-card.highlight:hover {
    transform: scale(1.03) translateY(-8px);
}

/* Badge Consigliato - Più elegante */
.badge-best {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--col-primary);
    color: white;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 24px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 4px 15px rgba(31, 59, 50, 0.2);
}

/* Intestazione Card (Icona + Titolo) */
.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.icon-box {
    width: 60px; height: 60px;
    margin: 0 auto 20px auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background-color: var(--col-bg-alt);
    color: var(--col-primary);
    transition: background 0.3s;
}

.highlight .icon-box {
    background-color: var(--col-primary);
    color: white;
}

/* Liste più ordinate */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 1rem;
    color: #555;
    text-align: left; /* Importante per la leggibilità */
}

/* Fix Mobile */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr; /* Una colonna su mobile */
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .zen-card.highlight {
        transform: scale(1); /* Niente zoom su mobile */
    }
}
/* --- NYT STYLE PRICING GRID --- */

.nyt-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nyt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Colonne fisse su desktop */
    gap: 0; /* Nessun gap per un look "tabella editoriale" unito */
    border: 1px solid rgba(31, 59, 50, 0.15); /* Bordo cornice esterno */
    background: #fff;
    border-radius: 4px; /* Angoli poco smussati, molto "print" */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(31, 59, 50, 0.05);
}

/* Stile Base Card */
.nyt-card {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(31, 59, 50, 0.1); /* Linea divisoria verticale */
    background: #fff;
    transition: background 0.3s ease;
    position: relative;
}

.nyt-card:last-child {
    border-right: none;
}

/* Card Centrale (Highlight - Inverted) */
.nyt-card.highlight {
    background: var(--col-primary); /* Verde Foresta Pieno */
    color: #fff;
    z-index: 10;
    transform: scaleY(1.05); /* Leggermente più alta per impatto */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-right: none;
}

/* Header della Card */
.nyt-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.highlight .nyt-header { border-bottom-color: rgba(255,255,255,0.15); }

.nyt-kicker {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #888;
    display: block;
}
.highlight .nyt-kicker { color: var(--col-accent); }

.nyt-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    margin: 10px 0;
    line-height: 1;
}

/* Icona */
.nyt-icon-wrap {
    margin: 0 auto 20px auto;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
}
.nyt-icon-wrap i { stroke-width: 1px; } /* Icone sottili ed eleganti */

/* Prezzo / Descrizione breve */
.nyt-price {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    min-height: 60px; /* Allinea i pulsanti */
}
.highlight .nyt-price { color: #d1d5db; }

/* Lista */
.nyt-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.nyt-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 400;
}
.highlight .nyt-list li { color: #f4f4f4; }

/* Button */
.nyt-btn {
    width: 100%;
    padding: 18px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--col-primary);
    transition: all 0.3s;
}

/* Button Standard */
.btn-standard {
    background: transparent;
    color: var(--col-primary);
}
.btn-standard:hover {
    background: var(--col-primary);
    color: white;
}

/* Button Inverted (sulla card scura) */
.btn-inverted {
    background: #fff;
    color: var(--col-primary);
    border-color: #fff;
}
.btn-inverted:hover {
    background: var(--col-accent); /* Oro/Sabbia */
    border-color: var(--col-accent);
    color: var(--col-primary);
}

/* Badge Recommended */
.nyt-badge {
    position: absolute;
    top: 0; left: 0; width: 100%;
    background: var(--col-accent);
    color: var(--col-primary);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 0;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .nyt-grid {
        grid-template-columns: 1fr; /* Una colonna */
        border: none;
        background: transparent;
        box-shadow: none;
        gap: 30px;
    }
    .nyt-card {
        border: 1px solid rgba(31,59,50,0.1);
        border-radius: 4px;
    }
    .nyt-card.highlight {
        transform: scaleY(1);
    }
}
/* --- NUOVO STILE CARDS (SPAZIOSE & DARK HIGHLIGHT) --- */
.cards-grid {
    display: grid;
    /* Aumentato il gap a 60px per "allontanarle" come richiesto */
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 60px; 
    align-items: center;
    margin-top: 60px;
    padding: 0 20px;
}

.zen-card {
    background: #ffffff;
    border: 1px solid rgba(31, 59, 50, 0.08);
    border-radius: 24px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.zen-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 59, 50, 0.1);
}

/* CARD CENTRALE (Dark Theme High Converting) */
.zen-card.highlight {
    background: var(--col-primary); /* Verde Scuro */
    color: white;
    border: none;
    transform: scale(1.1); /* Più grande */
    box-shadow: 0 30px 60px rgba(31, 59, 50, 0.25);
    z-index: 10;
}

.zen-card.highlight:hover {
    transform: scale(1.1) translateY(-10px);
}

.zen-card.highlight h3, 
.zen-card.highlight p, 
.zen-card.highlight li,
.zen-card.highlight span {
    color: white !important;
}

.zen-card.highlight .card-divider {
    background: rgba(255,255,255,0.3);
}

.zen-card.highlight .icon-circle {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* --- NUOVA SEZIONE AI (NOTION STYLE) --- */
.ai-section {
    background: linear-gradient(135deg, #fdfcf8 0%, #eef2f0 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 120px 0 80px 0; /* Spazio extra per respirare */
}

.ai-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 10px;
    position: relative;
    overflow: hidden;
}

/* La Barra in stile Notion */
.notion-bar {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.ai-input {
    flex-grow: 1;
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    color: var(--col-text);
    background: transparent;
}

.ai-input::placeholder { color: #aaa; }

.ai-btn-group {
    display: flex;
    gap: 10px;
}

.ai-action-btn {
    background: var(--col-bg-alt);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

.ai-action-btn:hover { background: #e8e8e8; }

.ai-generate-btn {
    background: var(--col-primary);
    color: white;
    border: none;
}
.ai-generate-btn:hover { background: var(--col-secondary); color: white; }

/* Risultato AI */
.ai-result {
    padding: 30px;
    display: none; /* Nascosto di default */
    animation: fadeIn 0.5s ease;
}

.ai-tags {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.ai-tag {
    font-size: 0.8rem;
    background: #f4f4f4;
    padding: 5px 12px;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}
.ai-tag:hover {
    border-color: var(--col-secondary);
    color: var(--col-primary);
    background: white;
}

/* Animazione Typing */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cards-grid { gap: 40px; margin-top: 40px; }
    .zen-card.highlight { transform: scale(1); } /* Niente zoom eccessivo su mobile */
    .zen-card { padding: 40px 25px; }
}
/* --- 1. CARDS ALLINEATE E HIGH CONVERTING --- */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; /* Spazio tra le card */
    align-items: stretch; /* FONDAMENTALE: Forza tutte le card alla stessa altezza */
    margin-top: 60px;
    padding: 0 10px;
}

.zen-card {
    background: #ffffff;
    border: 1px solid rgba(31, 59, 50, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Spinge il bottone in fondo */
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%; /* Occupa tutta l'altezza della riga */
}

/* Hover Effect */
.zen-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 59, 50, 0.1);
    border-color: var(--col-secondary);
}

/* CARD CENTRALE (Highlight senza zoom che rompe l'allineamento) */
.zen-card.highlight {
    background: var(--col-primary); /* Verde Scuro */
    color: white;
    border: 1px solid var(--col-primary);
    /* Rimosso transform: scale per mantenere l'allineamento perfetto */
    box-shadow: 0 20px 50px rgba(31, 59, 50, 0.3); 
    z-index: 1;
}

.zen-card.highlight:hover {
    transform: translateY(-8px); /* Sale solo verso l'alto */
}

/* Testi bianchi nella card scura */
.zen-card.highlight h3, 
.zen-card.highlight p, 
.zen-card.highlight li,
.zen-card.highlight span,
.zen-card.highlight i {
    color: white !important;
}

/* Divider nella card scura */
.zen-card.highlight .card-divider {
    background: rgba(255,255,255,0.2);
}

/* Icona cerchio nella card scura */
.zen-card.highlight .icon-circle {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* Badge Consigliato */
.badge-best {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}


/* --- 2. SAMADHI AI (STYLE NOTION / INTER TIGHT) --- */

.ai-section {
    background: #fdfcf8; /* Sfondo carta pulito */
    padding: 100px 0;
    font-family: 'Inter Tight', sans-serif !important; /* Font specifico */
}

/* Forza il font su tutti gli elementi interni */
.ai-section h2, .ai-section p, .ai-section input, .ai-section button, .ai-section span {
    font-family: 'Inter Tight', sans-serif;
}

.ai-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px; /* Angoli stile Notion */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Ombra leggera */
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.notion-bar {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
    background: white;
}

.ai-input {
    flex-grow: 1;
    border: none;
    font-size: 1.05rem;
    outline: none;
    color: #37352f; /* Colore tipico Notion */
    font-weight: 400;
}

.ai-input::placeholder { color: #9b9a97; }

/* Bottoni stile Notion */
.ai-action-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    transition: 0.2s;
    color: #787774;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.ai-action-btn:hover {
    background: #efefef;
    color: #37352f;
}

/* Bottone Analizza (Highlight) */
.ai-generate-btn {
    background: #2383e2; /* Blu Notion */
    color: white !important;
}
.ai-generate-btn:hover { background: #1d6fbf; }

/* Tags stile Notion */
.ai-tag {
    font-size: 0.85rem;
    background: #f1f1ef;
    padding: 4px 10px;
    border-radius: 4px;
    color: #37352f;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
}
.ai-tag:hover {
    background: #e1e1e0;
}

.ai-result {
    background: #fbfbfa; /* Sfondo leggermente grigio */
    padding: 30px;
    display: none;
    border-top: 1px solid #f0f0f0;
}
/* Griglia Maestri */
.masters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .masters-grid {
        grid-template-columns: 1fr; /* Uno sotto l'altro su mobile */
        gap: 60px;
    }
}
/* --- ZEN CHAT INTERFACE --- */
.ai-section {
    background: linear-gradient(180deg, #fdfcf8 0%, #edf2f0 100%);
    padding: 100px 0;
    position: relative;
}

.chat-container {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px -10px rgba(31, 59, 50, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 600px; /* Altezza fissa per l'effetto chat */
}

/* Header della Chat */
.chat-header {
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.bot-avatar {
    width: 45px; height: 45px;
    background: var(--col-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(31,59,50,0.2);
}

/* Area Messaggi */
.chat-messages {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-image: radial-gradient(#dbebe4 1px, transparent 1px);
    background-size: 20px 20px;
    background-opacity: 0.5;
}

/* Bolle Messaggi */
.message {
    max-width: 80%;
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: messageSlide 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes messageSlide { to { opacity: 1; transform: translateY(0); } }

.message.bot {
    align-self: flex-start;
    background: white;
    color: #444;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.message.user {
    align-self: flex-end;
    background: var(--col-primary);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(31,59,50,0.2);
}

/* Typing Indicator (i tre puntini) */
.typing-indicator {
    display: none; /* Nascosto di default */
    align-self: flex-start;
    background: white;
    padding: 15px 20px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.dot {
    width: 8px; height: 8px; background: #ccc; border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* Prompt Bar (Fatta da Dio) */
.input-area {
    padding: 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
    position: relative;
}

.zen-input {
    flex-grow: 1;
    background: #f4f7f6;
    border: 1px solid transparent;
    padding: 15px 25px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.zen-input:focus {
    background: white;
    border-color: var(--col-secondary);
    box-shadow: 0 0 0 4px rgba(141, 163, 153, 0.1);
}

.send-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--col-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(31,59,50,0.3);
}
.send-btn:hover { transform: scale(1.05); background: var(--col-secondary); }
.send-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* Bottone WhatsApp dentro la chat */
.wa-chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s;
}
.wa-chat-btn:hover { transform: translateY(-2px); }
/* --- PERPLEXITY STYLE PROMPT BAR --- */
.prompt-wrapper {
    padding: 20px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.prompt-container {
    background: #fcfcfc;
    border: 1px solid #e5e5e5;
    border-radius: 16px; /* Bordi arrotondati moderni */
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.prompt-container:focus-within {
    background: white;
    border-color: var(--col-secondary);
    box-shadow: 0 8px 20px rgba(31, 59, 50, 0.08);
}

/* Textarea che sembra testo semplice */
.prompt-textarea {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--col-text);
    resize: none; /* Impedisce resize manuale */
    outline: none;
    max-height: 200px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.prompt-textarea::placeholder { color: #aaa; font-weight: 300; }

/* Barra Strumenti inferiore */
.prompt-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.tools-left, .tools-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bottoni Strumenti (Focus, Attach) */
.tool-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.tool-btn:hover, .tool-btn.active {
    background: #eefcf6;
    color: var(--col-primary);
}

/* Dropdown Menu (Focus) */
.tool-dropdown-wrapper { position: relative; }

.dropdown-menu {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 180px;
    display: none; /* Nascosto */
    z-index: 100;
    padding: 5px;
    animation: slideUp 0.2s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px;
    font-size: 0.85rem;
    color: #444;
    border-radius: 8px;
    cursor: pointer;
}
.dropdown-item:hover { background: #f4f7f6; }

/* Toggle Guru Mode (Stile Switch) */
.guru-toggle {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 20px;
    transition: 0.3s;
}
.toggle-switch {
    width: 32px; height: 18px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    transition: 0.3s;
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 14px; height: 14px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}
.guru-toggle.active .toggle-switch { background: var(--col-primary); }
.guru-toggle.active .toggle-switch::after { transform: translateX(14px); }
.toggle-label { font-size: 0.75rem; font-weight: 600; color: #888; text-transform: uppercase; }

/* Bottone Invio Circolare */
.send-circle-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #eee;
    color: #999;
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: not-allowed;
    transition: 0.3s;
}

.send-circle-btn:not(:disabled) {
    background: var(--col-primary);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(31,59,50,0.2);
}
.send-circle-btn:not(:disabled):hover { transform: scale(1.1); }

/* Badge File Caricato */
.file-badge {
    display: none;
    align-items: center; gap: 8px;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #555;
    position: absolute;
    top: -35px; left: 10px;
    border: 1px solid #ddd;
}
.close-file { cursor: pointer; color: #999; }
.close-file:hover { color: #d00; }
/* --- SOLID SMART TAGS (Filled Style) --- */

.tags-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.ai-tag {
    appearance: none;
    
    /* SFONDO SOLIDO (Grigio/Verdino ghiaccio) */
    background-color: #eef2f1; 
    
    /* Nessun bordo (o bordo trasparente per mantenere le dimensioni) */
    border: 1px solid transparent; 
    border-radius: 50px;
    
    /* Spaziatura comoda */
    padding: 12px 22px;
    
    /* Tipografia */
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600; /* Testo un po' più bold per contrasto */
    color: var(--col-primary); /* Colore scuro subito visibile */
    
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    
    /* Flex per icona */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Stile dell'icona all'interno */
.ai-tag i, .ai-tag svg {
    color: var(--col-secondary); /* Icona color salvia */
    stroke-width: 2px;
    transition: color 0.2s;
}

/* HOVER: Diventa leggermente più scuro per feedback */
.ai-tag:hover {
    background-color: #dcece6; /* Verde un po' più intenso */
    transform: translateY(-2px);
}

/* ACTIVE: Click premuto */
.ai-tag:active {
    transform: translateY(0);
    background-color: #cedid6;
}
/* --- NUOVO CSS PER CALENDARIO, CORSI E FAQ --- */

/* Sezione Corsi (Dettagli) */
.course-detail-card {
    background: #fff;
    border: 1px solid rgba(31,59,50,0.08);
    border-radius: 12px;
    padding: 30px;
    transition: 0.3s;
}
.course-detail-card:hover {
    border-color: var(--col-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Calendario Zen */
.calendar-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
}
.calendar-header {
    background: var(--col-primary);
    color: white;
    padding: 20px;
    text-align: center;
    font-family: var(--font-head);
    font-size: 1.2rem;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: #f0f0f0; /* Colore delle linee griglia */
}
.day-column {
    background: white;
    min-height: 200px;
}
.day-name {
    text-align: center;
    padding: 15px;
    background: #fdfcf8;
    font-weight: 600;
    color: var(--col-primary);
    border-bottom: 1px solid #eee;
}
.class-slot {
    margin: 10px;
    padding: 12px;
    background: #eef5f3;
    border-left: 3px solid var(--col-secondary);
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}
.class-slot:hover {
    background: var(--col-primary);
    color: white;
    transform: scale(1.02);
}
.class-time { font-weight: 700; display: block; margin-bottom: 4px; }
.class-name { display: block; }

/* FAQ Accordion */
.faq-item {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--col-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: #666;
    line-height: 1.6;
}
.faq-answer p { margin-bottom: 20px; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .icon-plus { transform: rotate(45deg); }

/* Mobile Calendar fix */
@media (max-width: 700px) {
    .calendar-grid { grid-template-columns: 1fr; }
    .day-column { min-height: auto; border-bottom: 10px solid #f0f0f0; }
}
/* --- POWERED BY OPTLYX STYLE --- */
.powered-by {
    text-align: center;
    margin-top: 35px;
    font-size: 0.75rem;
    font-family: var(--font-body);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.powered-by:hover {
    opacity: 1;
}

.powered-by a {
    color: var(--col-primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.powered-by a:hover {
    text-decoration: underline;
}
/* --- POWERED BY OPTLYX (LOGO VERSION) --- */
.powered-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.powered-wrapper:hover {
    opacity: 1;
}

.powered-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--col-secondary); /* Colore "Salvia" per il testo "Powered by" */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.optlyx-logo {
    height: 18px; /* Altezza discreta ed elegante */
    width: auto;
    
    /* FILTRO MAGICO: Trasforma il logo nel colore #1f3b32 (Verde Foresta) */
    filter: brightness(0) saturate(100%) invert(19%) sepia(13%) saturate(1989%) hue-rotate(113deg) brightness(91%) contrast(90%);
    
    transition: transform 0.3s;
}

.powered-wrapper:hover .optlyx-logo {
    transform: scale(1.05);
}
/* --- FOOTER PREMIUM SAMADHI --- */
footer {
    background: #1a2e27; /* Verde Foresta scurissimo */
    color: #fdfcf8;
    padding: 100px 0 40px 0;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    height: 50px; /* Regola in base al logo */
    width: auto;
    filter: brightness(0) invert(1); /* Rende il logo bianco puro */
    margin-bottom: 25px;
}

.footer-tagline {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 30px;
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--col-accent); /* Colore Oro/Sabbia */
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fdfcf8;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--col-accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--col-accent);
    color: var(--col-primary);
    border-color: var(--col-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
/* --- FOOTER FIXATO & PREMIUM --- */
footer {
    background: #1a2e27; /* Verde Foresta profondo */
    color: #fdfcf8;
    padding: 100px 0 40px 0;
    font-family: var(--font-body);
    position: relative;
    border: none; /* Rimuove bordi esterni */
}

/* Griglia principale */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
    border: none;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
    display: block;
}

.footer-tagline {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 30px;
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--col-accent);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fdfcf8;
    text-decoration: none;
    opacity: 0.6;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--col-accent);
    transform: translateX(5px);
    display: inline-block;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-icon:hover {
    background: var(--col-accent);
    color: var(--col-primary);
    border-color: var(--col-accent);
    transform: translateY(-3px);
}

/* Bottom Bar - Senza linee fantasma */
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Linea sottilissima e controllata */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.4;
}

/* Fix per Optlyx Logo nel Footer */
.footer-optlyx {
    filter: brightness(0) invert(1);
    height: 14px;
    vertical-align: middle;
    margin-left: 5px;
    transition: opacity 0.3s;
}

.footer-optlyx:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
/* --- NAVBAR LOGO FIX --- */
.logo-img {
    height: 35px; /* Dimensione bilanciata per la nav arrotondata */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Effetto delicato al passaggio del mouse */
}

/* Assicura che il link del logo sia centrato verticalmente */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
/* --- MODAL STYLE --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 46, 39, 0.8); /* Verde Samadhi scuro trasparente */
    display: none; /* Nascosta di base */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: #fdfcf8;
    padding: 40px;
    border-radius: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px; right: 20px;
    cursor: pointer;
    color: #1a2e27;
    opacity: 0.5;
}

.modal-content h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--col-primary);
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #888;
}

.modal-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-family: inherit;
    background: #f9f9f9;
}

.btn-request-new {
    display: block;
    margin: 40px auto 0;
    background: transparent;
    border: 1px dashed var(--col-primary);
    color: var(--col-primary);
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    font-weight: 500;
}

.btn-request-new:hover {
    background: var(--col-primary);
    color: white;
    border-style: solid;
}
/* Pulsante Navbar più "pulsante" e visibile */
.nav-wrapper .btn-primary {
    background: #c29d66; /* Colore oro antico per risaltare sul verde */
    border: none;
    box-shadow: 0 4px 15px rgba(194, 157, 102, 0.3);
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Floating Action Button per Mobile (High Converting) */
@media (max-width: 768px) {
    .mobile-cta-fixed {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 80px; /* Lascia spazio al tasto WhatsApp */
        background: var(--col-primary);
        color: white;
        padding: 15px;
        border-radius: 50px;
        text-align: center;
        text-decoration: none;
        font-weight: 600;
        z-index: 999;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
}
.btn, 
.zen-card, 
.nav-wrapper, 
.social-icon, 
.ai-tag, 
.logo-img, 
.footer-links a,
.faq-question,
.class-slot {
    transition: var(--transition-zen);
    will-change: transform, box-shadow; /* Ottimizza le prestazioni della GPU */
}
/* Effetto sulle Card dei Percorsi */
.zen-card:hover {
    transform: translateY(-12px) scale(1.02); /* Sale dolcemente */
    box-shadow: 0 40px 80px rgba(31, 59, 50, 0.12); /* Ombra più morbida e diffusa */
    border-color: var(--col-secondary);
}

/* Gestione speciale per la card in evidenza */
.zen-card.highlight:hover {
    transform: translateY(-12px) scale(1.04); /* Un tocco di risalto in più */
}

/* Effetto sui Bottoni (Glow & Lift) */
.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1); /* Leggera illuminazione invece di un cambio colore netto */
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(31, 59, 50, 0.2);
}
/* FAQ Accordion Smoothness */
.faq-answer {
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                padding 0.6s ease, 
                opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding-bottom: 25px; /* Spazio extra quando aperto */
}

/* Icona Plus che ruota con eleganza */
.faq-item .icon-plus {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Effetto molla leggero */
}
/* --- NAV ISLAND (GOD TIER) --- */
.nav-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 9999;
    
    background: rgba(255, 255, 255, 0.75); 
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px);
    
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px 0 rgba(31, 59, 50, 0.08);
    padding: 0 10px;
    transition: all 0.3s ease;
}

nav {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo-img { height: 35px; width: auto; transition: transform 0.3s; }
.logo-img:hover { transform: scale(1.05); }

/* Link Desktop */
.nav-links { display: flex; align-items: center; gap: 30px; }

.menu-link {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1f3b32; /* var(--col-primary) */
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}
.menu-link:hover, .menu-link.active { color: #8da399; /* var(--col-secondary) */ }

/* Bottone Prenota */
.btn-nav-primary {
    background: #1f3b32; /* var(--col-primary) */
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(31, 59, 50, 0.2);
    display: flex; align-items: center; gap: 8px;
}
.btn-nav-primary:hover {
    transform: translateY(-2px);
    background: #8da399; /* var(--col-secondary) */
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    background: none; border: none; cursor: pointer; color: #1f3b32; padding: 5px;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 900px) {
    .desktop-only { display: none !important; }
    .mobile-menu-btn { display: block; }
    .nav-wrapper { width: 95%; top: 10px; padding: 0; }
    .btn-text-desktop { display: none; } /* Solo icona prenota su mobile */
    .btn-nav-primary { padding: 10px; border-radius: 50%; width: 40px; height: 40px; justify-content: center; }
    nav { padding: 0 15px; }
}

/* --- MOBILE FULLSCREEN MENU --- */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #1f3b32; /* Colore Brand */
    z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; pointer-events: all; }

.mobile-menu-content { text-align: center; display: flex; flex-direction: column; gap: 30px; }

.mobile-links a {
    display: block; font-family: 'Playfair Display', serif; font-size: 2.5rem;
    color: white; text-decoration: none; margin: 10px 0;
    opacity: 0; transform: translateY(20px); transition: 0.4s;
}
.mobile-menu-overlay.active .mobile-links a { opacity: 1; transform: translateY(0); }

/* Ritardi animazione a cascata */
.mobile-menu-overlay.active .mobile-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-links a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-links a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-links a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-links a:nth-child(5) { transition-delay: 0.5s; }

.mobile-cta {
    font-size: 1.2rem !important; color: #d6c6b0 !important;
    border: 1px solid #d6c6b0; padding: 15px 30px; border-radius: 50px; margin-top: 30px !important;
}
.close-menu-btn {
    position: absolute; top: 30px; right: 30px; background: none; border: none; color: white; cursor: pointer;
}
/* --- FIX PRICING GRID --- */
.cards-grid {
    display: grid;
    /* Crea colonne automatiche: minimo 320px. Se ci stanno 3 card, le mette in fila. */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    /* FONDAMENTALE: 'stretch' obbliga tutte le card ad avere la stessa altezza */
    align-items: stretch; 
    margin-top: 50px;
    width: 100%;
}

.zen-card {
    display: flex;
    flex-direction: column; /* Impila il contenuto verticalmente */
    justify-content: space-between; /* Spinge il contenuto agli estremi (testo su, bottone giù) */
    
    background: #ffffff;
    border: 1px solid rgba(31, 59, 50, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%; /* Occupa tutta l'altezza della cella della griglia */
    position: relative;
    transition: all 0.4s ease;
}

/* Gestione del contenuto interno per allineare i bottoni */
.zen-card > div:first-child {
    flex-grow: 1; /* La parte superiore (testo) si espande per occupare lo spazio vuoto */
}

/* Stile Card Evidenziata */
.zen-card.highlight {
    background: var(--col-primary);
    border: 2px solid var(--col-primary);
    box-shadow: 0 25px 50px -12px rgba(31, 59, 50, 0.25);
    z-index: 2;
    /* Rimuoviamo trasformazioni che rompono la griglia a riposo */
    transform: scale(1.02); 
}

/* Testi bianchi nella card highlight */
.zen-card.highlight h3, 
.zen-card.highlight p, 
.zen-card.highlight li,
.zen-card.highlight i {
    color: white !important;
}
.zen-card.highlight .card-divider { background: rgba(255,255,255,0.2) !important; }
.zen-card.highlight .icon-circle { background: rgba(255,255,255,0.1) !important; }

/* Mobile: Una colonna */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .zen-card.highlight {
        transform: scale(1);
    }
}
/* --- STEP FLOW DESIGN --- */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    margin-top: 60px;
}

.step-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    z-index: 1;
}

/* Numero in background (Stile immagine 01, 02...) */
.step-number {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--col-primary);
    opacity: 0.04; /* Molto sfumato come in foto */
    z-index: -1;
    user-select: none;
}

/* Icona in alto a destra */
.step-icon-box {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #f8fafc;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--col-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Linee di collegamento (Flow) - Solo su Desktop */
@media (min-width: 900px) {
    .step-card:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -30px;
        width: 20px;
        height: 2px;
        background: linear-gradient(90deg, var(--col-secondary), transparent);
        z-index: -1;
    }
}
/* --- STEP FLOW DESIGN AGGIORNATO --- */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(31, 59, 50, 0.03);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--col-secondary);
}

/* Numeri grandi sfumati (stile 01, 02...) */
.step-number {
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 7rem;
    font-weight: 800;
    color: var(--col-primary);
    opacity: 0.05;
    z-index: 0;
}

.step-icon-box {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #f8fafc;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--col-primary);
    z-index: 2;
}

.step-content {
    position: relative;
    z-index: 2;
    margin-top: 45px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* Linea di flow tra le card */
@media (min-width: 1024px) {
    .step-card::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -15px;
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, rgba(141, 163, 153, 0.2), transparent);
        z-index: -1;
    }
}
