:root {
    --bg: #0b0b2f;
    --card: #12121a;
    --ink: #f5f7fb;
    --muted: #c9ced6;
    --accent: #e20787;
    --accent-2: #6cf0c2;
    --max: 1120px;
    --rad: 18px;
    --shadow: 0 10px 30px rgba(0,0,0,0.25);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 'Raleway', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: clamp(16px, 3vw, 32px); }
.btn { display: inline-block; padding: 0.8rem 1.1rem; border-radius: 999px; border: 1px solid transparent; box-shadow: var(--shadow); font-weight: 600; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { border-color: #ffffff33; background: transparent; }

/* Hero */
#section1 { background: var(--bg); padding: 40px 0; text-align: center; }
#section1 picture { display: block; }
#section1 img { border-radius: var(--rad); width: 100%; max-width: 1200px; height: auto; object-fit: contain; }
@media (max-width: 768px) {
    #section1 { padding: 20px 0; }
    #section1 img { max-width: 675px; aspect-ratio: 9 / 16; }
    @supports not (aspect-ratio: 9 / 16) { #section1 img { height: calc(100% * 16 / 9); } }
}

/* Logo band */
#section1a { background: linear-gradient(to top, #3cab7e, var(--bg)); padding: 50px 0; min-height: 300px; display: flex; justify-content: center; align-items: center; }
#section1a .container { text-align: center; }
#section1a img { max-width: 400px; height: auto; border-radius: var(--rad); aspect-ratio: 2 / 1; }
@media (max-width: 768px) { #section1a { padding: 30px 0; min-height: 200px; } #section1a img { max-width: 150px; } }

/* Intro split with background */
#section1b {
    position: relative;
    background-image: url("https://assets.zyrosite.com/AwvJgLbDZvFzaeWW/studio-foto-YZ9bzkppRXhkwkgR.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
    color: #ffffff;
}
@media (max-width: 768px) { #section1b { background-attachment: scroll; } }
#section1b::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1; }
#section1b .container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
#section1b .left-content { flex: 1; text-align: left; }
#section1b .left-content img { max-width: 400px; margin-bottom: 20px; }
#section1b .left-content p { font-size: 1.2rem; line-height: 1.5; max-width: 500px; }
#section1b .right-content { flex: 1; max-width: 400px; }
#section1b .right-content img { max-width: 400px; margin-bottom: 20px; }
.info-item { display: flex; align-items: center; margin-bottom: 20px; font-family: 'Raleway', sans-serif; }
.info-item img { width: 60px; height: 60px; object-fit: contain; margin-right: 10px; flex-shrink: 0; }
.info-text { font-size: 18px; color: #ffffff; line-height: 1.4; flex-grow: 1; }
@media (max-width: 768px) {
    #section1b .container { flex-direction: column; align-items: center; }
    #section1b .left-content, #section1b .right-content { flex: none; width: 100%; max-width: 90%; text-align: center; }
    #section1b .left-content img, #section1b .right-content img { max-width: 200px; margin: 0 auto 20px; }
    .info-item { justify-content: flex-start; text-align: left; }
    .info-text { font-size: 16px; }
}

/* Toggleable extra info */
#section1c { background: var(--bg); padding: 40px 0; text-align: center; }
#section1c .info-toggle-container { margin: 30px 0; }
#section1c .info-toggle-button { padding: 15px 30px; background-color: #3cab7e; color: white; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; font-weight: bold; }
#section1c .info-content { display: none; margin-top: 30px; padding: 30px; border-radius: 12px; background-color: #575c5a; text-align: left; max-width: 800px; margin-left: auto; margin-right: auto; font-size: 1.05rem; line-height: 1.6; }
#section1c .info-content h3 { color: #1d3557; margin-top: 1.5rem; }
@media (max-width: 768px) { #section1c .info-toggle-button { width: 100%; } }

/* Early Access */
#early-access { background-color: #fad430; border-radius: 16px; padding: 40px; margin-top: 35px; text-align: center; }
#early-access h2 { color: #3cab7e; }
#early-access p { font-size: 1.5rem; color: #000000; }
@media (max-width: 768px) { #early-access { padding: 20px; } #early-access p { font-size: 1.2rem; } }

/* Avviso Section */
#avviso { background: #fafafa; padding: 40px 0; text-align: center; }
#avviso .avviso-container { max-width: 700px; margin: 0 auto; background: #fff; padding: 30px 25px; border-radius: var(--rad); box-shadow: var(--shadow); }
#avviso .avviso-icon { font-size: 45px; color: var(--accent); margin-bottom: 15px; }
#avviso h3 { font-size: 22px; color: var(--accent); margin-bottom: 15px; font-weight: 700; }
#avviso p { font-size: 17px; line-height: 1.6; color: #333; margin-bottom: 15px; }
#avviso .faq-toggle-button { padding: 10px 20px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; font-family: 'Raleway', sans-serif; }
@media (max-width: 768px) { #avviso { padding: 20px 0; } #avviso p { font-size: 16px; } }

/* FAQ Section */
#faq { background: var(--bg); padding: 40px 0; display: none; }
#faq .faq-container { max-width: 800px; margin: 0 auto; background: #fff; padding: 30px 25px; border-radius: var(--rad); box-shadow: var(--shadow); }
#faq h2 { color: var(--accent); margin-bottom: 20px; font-size: clamp(1.8rem, 4vw, 2.2rem); }
#faq .faq-item { margin-bottom: 15px; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; }
#faq .faq-question { width: 100%; padding: 15px; text-align: left; background: #f7f7f7; border: none; font-size: 1.1rem; font-family: 'Raleway', sans-serif; cursor: pointer; }
#faq .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding: 0 15px; background: #0b0b2f; font-size: 1rem; line-height: 1.5; }
#faq .faq-answer.open { padding: 15px; }
@media (max-width: 768px) { #faq { padding: 20px 0; } #faq .faq-container { padding: 20px 15px; } }

/* Section 2 */
#section2 { background: var(--bg); padding: 40px 0; text-align: center; }
#section2 h1 { font-size: clamp(2rem, 5vw, 2.5rem); margin-bottom: 10px; }
#section2 h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-top: 40px; color: var(--accent); }
#section2 p { max-width: 800px; margin: 0 auto 20px; }
@media (max-width: 768px) { #section2 { padding: 20px 0; } }

/* Reviews Section */
#reviews { background: #fafafa; padding: 60px 0; text-align: center; }
#reviews .reviews-container { max-width: 900px; margin: 0 auto; }
#reviews .reviews-icon { font-size: 50px; color: var(--accent); margin-bottom: 15px; }
#reviews h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); color: var(--accent); margin-bottom: 40px; }
#reviews .reviews-carousel { position: relative; overflow: hidden; }
#reviews .reviews-track { display: flex; transition: transform 0.5s ease; }
#reviews .review-card { flex: 0 0 100%; padding: 20px; box-sizing: border-box; }
#reviews .review-card-inner { background: #fff; padding: 20px; border-radius: var(--rad); box-shadow: var(--shadow); }
#reviews .review-stars { font-size: 20px; color: gold; margin-bottom: 10px; }
#reviews .review-text { font-size: 1rem; line-height: 1.5; color: #333; margin-bottom: 15px; }
#reviews .review-author { font-size: 1.1rem; color: #111; font-weight: bold; }
#reviews .review-source { font-size: 0.9rem; color: #555; }
#reviews .review-link { display: inline-block; margin-top: 10px; font-size: 0.9rem; font-weight: bold; color: var(--accent); text-decoration: none; }
#reviews .review-link:hover { text-decoration: underline; }
#reviews .carousel-controls { margin-top: 20px; }
#reviews .carousel-controls button { padding: 10px 15px; margin: 0 5px; border: none; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; font-family: 'Raleway', sans-serif; font-size: 16px; }
@media (max-width: 768px) {
    #reviews { padding: 30px 0; }
    #reviews .review-card { padding: 15px; }
    #reviews .review-text { font-size: 0.9rem; }
    #reviews .review-author { font-size: 1rem; }
    #reviews .review-source { font-size: 0.8rem; }
}

/* Plans */
#section3 { background: var(--bg); padding: 40px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
#section3 .card { background: #ffffff; border-radius: var(--rad); padding: 20px; width: 300px; min-height: 300px; box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2); text-align: left; }
#section3 .card h3, #section3 .card ul li, #section3 .card p { color: #000000; }
#section3 .plan-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; margin-top: 20px; padding: 0 20px; }
#section3 .plan-content.open { /* just for state tracking */ }
@media (max-width: 768px) { #section3 .card { width: 90%; } #section3 .plan-content { padding: 0 10px; } }

/* Video */
#video-section { background: #ffffff; padding: 40px 0; text-align: center; }
#video-section h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); color: var(--bg); margin-bottom: 40px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 812px; margin: 30px auto; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.text-content { text-align: left; max-width: 812px; margin: 30px auto; padding: 0 20px; }
.text-content h3 { font-size: 1.5rem; color: var(--bg); margin-bottom: 15px; }
.text-content p { font-size: 1rem; color: #333333; line-height: 1.6; }
.text-content .imdb-link { color: var(--accent); text-decoration: underline; }
.text-content .imdb-link:hover { text-decoration: none; }
.button-container { display: flex; justify-content: flex-end; max-width: 812px; margin: 20px auto 30px; padding: 0 20px; }
.video-toggle-button { display: inline-block; background-color: var(--accent); color: #fff; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: bold; cursor: pointer; text-align: center; font-family: 'Raleway', sans-serif; font-size: 18px; }
.video-section { display: none; margin-top: 20px; }
@media (max-width: 768px) {
    #video-section { padding: 20px 0; }
    #video-section h2 { margin-bottom: 30px; }
    .video-wrapper { max-width: 100%; margin: 20px auto; }
    .text-content { max-width: 100%; margin: 20px auto; padding: 0 15px; }
    .button-container { max-width: 100%; margin: 15px auto 20px; padding: 0 15px; justify-content: center; }
}

/* Masterclass */
#masterclass-section { background: var(--bg); padding: 40px 0; text-align: center; }
#masterclass-section h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); color: var(--accent); margin-bottom: 40px; }
#masterclass-section .masterclass-carousel { position: relative; overflow: hidden; max-width: 300px; margin: 0 auto; }
#masterclass-section .masterclass-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; will-change: transform; }
#masterclass-section .masterclass-slide { flex: 0 0 100%; padding: 10px; box-sizing: border-box; display: flex; justify-content: center; }
#masterclass-section .masterclass-slide img { width: 300px; height: 300px; object-fit: cover; border-radius: var(--rad); }
#masterclass-section .carousel-controls { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
#masterclass-section .carousel-controls button { padding: 10px 15px; margin: 0 5px; border: none; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; font-size: 16px; font-family: 'Raleway', sans-serif; }
#masterclass-section .carousel-controls button:hover { background: #c10674; }
#masterclass-section .carousel-controls button:focus { outline: 2px solid var(--accent-2); outline-offset: 2px; }
@media (max-width: 768px) {
    #masterclass-section { padding: 20px 0; }
    #masterclass-section .masterclass-carousel { max-width: 100%; }
    #masterclass-section .masterclass-slide img { width: 100%; max-width: 400px; height: auto; }
    #masterclass-section .masterclass-slide:not(:first-child) { display: none; } /* Fallback per no-JS */
}
@supports (display: flex) {
    #masterclass-section .masterclass-slide:not(:first-child) { display: flex; }
}

/* Inserimento Lavorativo e Teatro OFF Studio */
#inserimento-section { background: #ffffff; padding: 40px 0; text-align: center; }
#inserimento-section .container { max-width: 900px; margin: 0 auto; }
#inserimento-section .inserimento-item { margin-bottom: 40px; background: #ffffff; border-radius: var(--rad); padding: 30px; box-shadow: var(--shadow); }
#inserimento-section .inserimento-icon { font-size: 60px; margin-bottom: 15px; font-family: 'Dancing Script', cursive; color: #000000; text-align: center; }
#inserimento-section .location-icon { font-size: 50px; margin-bottom: 15px; text-align: center; }
#inserimento-section h3 { font-size: 24px; color: var(--accent); margin-bottom: 15px; font-weight: 700; text-align: center; }
#inserimento-section p { font-size: 18px; line-height: 1.6; color: #333; max-width: 700px; margin: 0 auto; text-align: center; }
#inserimento-section a { color: var(--accent); text-decoration: underline; }
#inserimento-section a:hover { text-decoration: none; }
#inserimento-section .transport-info { font-size: 16px; color: #333; margin-top: 15px; text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
#inserimento-section .transport-info p { margin-bottom: 10px; text-align: center; }
@media (max-width: 768px) {
    #inserimento-section { padding: 20px 0; }
    #inserimento-section .inserimento-item { padding: 20px; }
    #inserimento-section .inserimento-icon { font-size: 50px; }
    #inserimento-section .location-icon { font-size: 40px; }
    #inserimento-section h3 { font-size: 20px; }
    #inserimento-section p { font-size: 16px; }
    #inserimento-section .transport-info { font-size: 14px; }
}

/* Contact */
#contatti { background: var(--bg); padding: 40px 0; text-align: center; }
#contatti .card { background: var(--card); border-radius: var(--rad); padding: 20px; min-height: 400px; max-width: 500px; margin: 0 auto; }
#contatti .card label { display: block; margin-top: 10px; color: var(--ink); }
#contatti .card input, #contatti .card select, #contatti .card textarea { width: 100%; padding: 0.7rem; border-radius: 10px; border: 1px solid #ffffff22; background: #0d0d15; color: #fff; margin-top: 0.3rem; font-family: 'Raleway', sans-serif; }
#contatti .card select { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 1rem; }
#contatti .card select:invalid { color: #888; }
#contatti .card select option { color: #fff; background: #0d0d15; }
#contatti .card button { margin-top: 10px; }
#contatti .eyebrow { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }
#contatti .form-message { margin-top: 10px; color: var(--accent); font-size: 1rem; }
@media (max-width: 768px) { #contatti .card { width: 90%; } }

/* Footer */
footer { background: var(--bg); display: flex; justify-content: center; align-items: center; padding: 40px 0; }
footer img { max-width: 400px; height: auto; border-radius: var(--rad); aspect-ratio: 2 / 1; }
@media (max-width: 768px) { footer img { max-width: 150px; } }

/* Cookie banner */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #111; color: #fff; padding: 1rem; z-index: 9999; display: none; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; border-top: 4px solid var(--accent); }
#cookie-banner button { border: none; border-radius: 999px; padding: 0.6rem 1rem; cursor: pointer; }
#cookie-preferences { display: none; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
/* Aggiungi alla fine del file */

/* Stili per i messaggi del form */
#formMessage.success {
    color: green;
    font-weight: bold;
}
#formMessage.error {
    color: var(--accent); /* Rosso #e20787 */
    font-weight: bold;
}


