/* Montserrat Font Faces with font-display: swap */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/montserrat/Montserrat-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/montserrat/Montserrat-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #000;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transition: opacity 1s ease;
    will-change: opacity;
}

.video-background.playing {
    opacity: 1;
}

/* Basic reset */
body {
    margin: 0;
    padding: 0;
    background-color: #161616;
}

/* Video background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Video overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 910px; /* Aumentato da 700px a 910px (30% in più) */
    /* Aumentato da 480px per allargare il contenuto */
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    height: 300px;
    /* Aumentato l'altezza del banner */
    border-radius: 20px;
    margin: 30px 0 50px 0;
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.profile-overlay {
    position: absolute;
    bottom: -60px;
    /* Spostato più in basso per compensare l'altezza aumentata del banner */
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    /* Aumentato da 100px */
    height: auto;
    background: #000;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    /* Aggiunto spazio sotto il logo */
}

.profile-overlay img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Hero content removed - using banner image only */

.hero-logo {
    font-size: 48px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero-logo .italy-green {
    color: #009246;
}

.hero-logo .italy-red {
    color: #ce2b37;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-top: 70px;
    /* Margine originale per desktop */
    margin-bottom: 20px;
}

.profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.profile-handle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.info-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 15px 0;
    padding: 0 20px;
    line-height: 1.5;
}

.sub-info-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin: 0 0 30px 0;
    padding: 0 25px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Social Icons */
/* Social Icons in Content Section 3 */
.content-section-3 .social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 10px 0 5px;
}

.content-section-3 .social-icon {
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-section-3 .social-icon:hover {
    color: #00ffd1;
    transform: translateY(-2px) scale(1.1);
}

.content-section-3 h4 {
    text-align: center;
    margin-bottom: 20px;
    color: #00ffd1;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.content-section-3 h4 i {
    color: #00ffd1;
}

/* Original social icons (keeping for backward compatibility) */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    /* Increased from 18px */
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #00ffd1;
    transform: translateY(-2px) scale(1.1);
}

/* Link Buttons */
.link-button {
    display: flex;
    justify-content: center;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-button:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Button base styles */
.discord-button,
.tiktok-button,
.kofi-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.discord-button {
    background: rgba(88, 101, 242, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tiktok-button {
    background: rgba(255, 0, 80, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Animated border effect */
.link-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.8));
    background-size: 200% 200%;
    border-radius: 17px;
    /* Slightly larger than button border-radius */
    opacity: 0;
    transition: 0.5s;
    animation: none;
}

/* Discord specific hover effects */
.discord-button:hover::before {
    background: linear-gradient(45deg,
            #5865F2,
            #7289DA,
            #4277bb,
            #5865F2);
    background-size: 300% 300%;
    opacity: 1;
    animation: gradientBG 3s ease infinite;
}

/* TikTok specific hover effects */
.tiktok-button:hover::before {
    background: linear-gradient(45deg,
            #FF0050,
            #D40043,
            #c02355,
            #FF0050);
    background-size: 300% 300%;
    opacity: 1;
    animation: gradientBG 2.5s ease infinite;
}

/* Ko-fi specific hover effects */
.kofi-button:hover::before {
    background: linear-gradient(45deg,
            #FF5E5E,
            #E04E4E,
            #C03F3F,
            #FF5E5E);
    background-size: 300% 300%;
    opacity: 1;
    animation: gradientBG 3s ease infinite;
}

/* Button hover states */
.discord-button:hover {
    background: rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.tiktok-button:hover {
    background: rgba(255, 0, 80, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.3);
}

/* Animation keyframes */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Ko-fi Button */
.kofi-button {
    background: rgba(255, 121, 121, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kofi-button:hover {
    background: rgba(255, 121, 121, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 94, 94, 0.3);
}

.kofi-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kofi-svg {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.kofi-count {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.kofi-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.button-content {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
}

.button-icon {
    width: 50px;
    /* Increased from 40px */
    height: 50px;
    /* Increased from 40px */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    /* Increased from 20px */
    color: white;
}

.discord-icon {
    background: transparent;
}

.tiktok-icon {
    background: transparent;
}

.button-text {
    flex: 1;
    text-align: left;
}

.button-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.button-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.tiktok-count {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.tiktok-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Stile per il footer mobile */
.mobile-footer {
    display: none;
    /* Nascosto di default */
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    margin: 20px 0 0;
}

@media (max-width: 767px) {

    /* Nascondi il footer desktop su mobile */
    .footer {
        display: none;
    }

    /* Stile per il footer mobile */
    .mobile-footer {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 30px 0 0;
        padding: 10px 15px;
        z-index: 1;
        color: rgba(255, 255, 255, 0.8);
    }

    .mobile-footer .footer-icon {
        margin-right: 8px;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.9);
    }
}


.try-button:hover {
    background: rgba(0, 0, 0, 1);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {

    /* Modificato il breakpoint per adattarsi al nuovo max-width */
    .container {
        max-width: 90%;
        /* Rende il container più flessibile su schermi più piccoli */
        padding: 15px;
    }

    .hero-banner {
        height: 250px;
        /* Regolazione dell'altezza del banner per schermi medi */
    }

    .profile-overlay {
        width: 100px;
        /* Regolazione della larghezza dell'immagine di profilo per schermi medi */
        bottom: -50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .hero-logo {
        font-size: 36px;
    }

    .profile-name {
        font-size: 28px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icon {
        width: 43px;
        height: 43px;
        font-size: 19px;
    }
}

/* Notification Bar */
.notification-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 6px 0;
    z-index: 1000;
    overflow: hidden;
}

.notification-container {
    max-width: 100%;
    overflow: hidden;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .notification-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 60px;
    }
}

.notification-content {
    display: flex;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
    font-size: 14px;
    font-weight: 500;
    width: max-content;
}

.notification-content span {
    margin-right: 50px;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(calc(-100% - 100px));
    }
}

/* Mostra subito il testo all'inizio dell'animazione */
.notification-content {
    animation: scroll 30s linear infinite;
    animation-delay: -3s;
    /* Inizia l'animazione dal 5° secondo indietro */
}

/* Stili desktop */
@media (min-width: 768px) {
    .notification-content {
        padding: 0 60px;
    }
}

/* Velocizza l'animazione solo su mobile */
@media (max-width: 767px) {
    .notification-content {
        animation: scroll 30s linear infinite;
        animation-delay: -10s;
        /* Inizia l'animazione dal 5° secondo indietro */
        padding: 0 20px;
    }
}

/* Video fallback */
/* Cookie Consent Banner */
.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 15px;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie icon in cookie banner */
.cookie-consent-banner .fa-cookie-bite {
    color: rgba(0, 255, 209, 0.6) !important;
    margin-right: 10px;
    -webkit-text-fill-color: rgba(0, 255, 209, 0.6) !important;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cookie-text i {
    font-size: 18px;
    color: #7289da;
    margin-top: 2px;
}

.cookie-text p {
    margin: 0;
    line-height: 1.5;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.accept-btn {
    background-color: transparent;
    color: #ccc;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.accept-btn:hover {
    background-color: rgba(0, 255, 209, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 242, 209, 0.3);
}

.decline-btn {
    background-color: transparent;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.decline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .cookie-consent-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        width: auto;
    }

    .cookie-buttons {
        justify-content: space-between;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

.video-fallback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    z-index: -3;
}

/* Hide only banner image on mobile */
@media (max-width: 767px) {
    .banner-image {
        display: none;
    }

    .hero-banner {
        height: auto;
        margin: 20px 0 30px 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .profile-overlay {
        position: relative;
        bottom: 0;
        margin: 0 auto 20px;
        transform: none;
        left: auto;
    }
}

/* Content Section Styles */
.content-section,
.content-section-2 {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    color: #ffffff;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.7;
}

.content-section-2,
.content-section-3 {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 40px;
    margin: 0 auto 40px;
    color: white;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

.content-section-3 {
    padding: 20px 40px;
}

/* Content Section Headings */
.content-section h3,
.content-section h4,
.content-section h5,
.content-section-2 h3,
.content-section-2 h4,
.content-section-2 h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.content-section h3,
.content-section-2 h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.content-section h4,
.content-section-2 h4,
.content-section-3 h4 {
    font-size: 1.5em;
    margin: 35px 0 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.content-section h5,
.content-section-2 h5,
.content-section-3 h5 {
    font-size: 1.2em;
    margin: 25px 0 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
}

.helix-intro h3,
.community-section h3 {
    /* color: #00ffd1; */
    margin-bottom: 20px;
    font-size: 1.8em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.helix-intro h3 i {
    color: #00ffd1;
}

.helix-intro p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.highlight {
    color: #00ffd1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.highlight:hover {
    text-decoration: underline;
    color: #00ccaa;
}

.helix-features {
    margin: 40px 0;
}

.helix-features h4 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.helix-features h4 i {
    color: #00ffd1;
}

.feature-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-item h5 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item h5 i {
    color: #00ffd1;
    width: 24px;
    text-align: center;
}

.feature-item p {
    margin: 0;
    line-height: 1.6;
}

.community-section h4 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.community-section h5 {
    color: #fff;
    font-size: 1.2em;
    margin: 25px 0 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.features-list li {
    margin-bottom: 12px;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
}

.features-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #00ffd1;
    width: 24px;
    text-align: center;
}

.cta-box {
    background: rgba(0, 255, 209, 0.1);
    padding: 15px 20px;
    margin: 30px 0 15px;
    border-radius: 0 8px 8px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-box:hover {
    /* transform: translateX(5px); */
    background: rgba(0, 255, 209, 0.15);
}

.cta-box p {
    margin: 0;
    font-weight: 600;
    color: #fff !important;
    font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-section {
        padding: 20px 15px;
    }

    .helix-intro h3,
    .helix-features h4,
    .community-section h4 {
        font-size: 1.4em;
    }

    .feature-item h5,
    .community-section h5 {
        font-size: 1.1em;
    }

    .feature-item {
        padding: 15px;
    }
}

.content-section h3 {
    /* color: #00ffd1; */
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-section h4 {
    color: #00ffd1;
    margin: 25px 0 15px 0;
    font-size: 1.3em;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #e0e0e0;
}

.features-list,
.benefits-list {
    list-style: none;
    padding-left: 5px;
}

.features-list li,
.benefits-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.features-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #00ffd1;
    width: 22px;
    text-align: center;
}

.benefits-list li:before {
    content: '•';
    color: #00ffd1;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.5em;
}

.cta-box {
    background: rgba(0, 255, 209, 0.1);
    padding: 15px 20px;
    margin: 30px 0 15px 0;
    border-radius: 5px;
    text-align: center;
}

.cta-box p {
    margin: 0;
    font-weight: 600;
    color: #fff !important;
    font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-section {
        padding: 20px 15px;
    }

    .content-section h3 {
        font-size: 1.5em;
    }

    .content-section h4 {
        font-size: 1.2em;
        margin: 0 auto 20px;
        transform: none;
        left: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .profile-section {
        margin-top: 20px;
        /* Ridotto solo per mobile */
    }
}

/* ==========================================================================
   Partners & Testimonials Section
   ========================================================================== */
.partners-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-section h4 {
    color: #00ffd1;
    font-size: 1.5em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partners-section h4 i {
    color: #00ffd1;
}

.investors,
.testimonials {
    margin-bottom: 40px;
}

.investors h5,
.testimonials h5 {
    color: #fff;
    font-size: 1.2em;
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonials h5 i {
    color: #00ffd1;
}

.investors p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.investors strong {
    color: #00ffd1;
    font-weight: 600;
}

.testimonial-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-header i {
    color: #00ffd1;
    font-size: 1.5em;
    margin-right: 15px;
    opacity: 0.7;
}

.testimonial-header h6 {
    margin: 0;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-section h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 28px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.faq-section h3 i {
    margin-right: 10px;
    color: #00ffd1;
}

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

.faq-item {
    background: rgba(30, 30, 30, 0.6);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 209, 0.1);
}

.faq-item:hover {
    border-color: rgba(0, 255, 209, 0.3);
    box-shadow: 0 5px 15px rgba(0, 255, 209, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h4 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-question i {
    color: #00ffd1;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(40, 40, 40, 0.5);
    border-radius: 0 0 10px 10px;
    margin-top: 0;
    padding: 0 15px;
    box-sizing: border-box;
    display: block !important; /* Forza il display block */
    visibility: hidden; /* Nasconde l'elemento mantenendo il layout */
    overflow-y: auto; /* Aggiunge lo scroll se necessario */
}

.faq-item.active .faq-answer {
    visibility: visible;
    padding: 0 25px 25px;
    max-height: 1000px; /* Un valore abbastanza grande da contenere il contenuto */
}

.faq-answer p {
    margin: 0;
    padding: 0 20px 0px;
    color: #fff;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.faq-answer p:first-child {
    padding-top: 15px;
}

.faq-answer p:not(:last-child) {
    margin-bottom: 16px;
}

.faq-answer a {
    color: #00ffd1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0 2px;
}

.faq-answer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ffd1, transparent);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.faq-answer a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 255, 209, 0.5);
}

.faq-answer a:hover::after {
    opacity: 1;
    transform: scaleX(1.1);
}

/* System Requirements Styles */
.system-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px 0;
    justify-content: space-between;
}

.requirements-col {
    flex: 1;
    min-width: 280px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(0, 255, 209, 0.1);
    transition: all 0.3s ease;
}

.requirements-col:hover {
    border-color: rgba(0, 255, 209, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 209, 0.1);
}

.requirements-col h5 {
    color: #00ffd1;
    margin: 0 0 15px 0;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 209, 0.2);
}

.requirements-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-col li {
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
    padding-left: 10px;
    position: relative;
}

.requirements-col li:before {
    content: '•';
    color: #00ffd1;
    margin-right: 8px;
    font-size: 20px;
    line-height: 1;
    position: relative;
    top: 2px;
}

.requirements-col strong {
    color: #fff;
    font-weight: 600;
}

.requirements-note {
    font-size: 14px;
    color: #aaa;
    font-style: italic;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

@media (max-width: 768px) {
    .system-requirements {
        flex-direction: column;
        gap: 20px;
    }
    
    .requirements-col {
        width: 100%;
    }
}

/* Active state */
.faq-item.active .faq-question {
    background: rgba(0, 255, 209, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.testimonial-role {
    color: #aaa;
    font-size: 0.9em;
    margin-left: 10px;
    font-style: italic;
}

.testimonial-content p {
    margin: 0;
    line-height: 1.7;
    font-style: italic;
    color: #e0e0e0;
    position: relative;
    padding-left: 15px;
}

.testimonial-content p:before {
    content: '"';
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 3em;
    color: rgba(0, 255, 209, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p:after {
    content: '"';
    position: absolute;
    right: -5px;
    bottom: -20px;
    font-size: 3em;
    color: rgba(0, 255, 209, 0.2);
    font-family: Georgia, serif;
    line-height: 0;
}

/* Future Vision Section */
.future-vision-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.future-vision-section h4 {
    color: #00ffd1;
    font-size: 1.5em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.future-vision-section h4 i {
    color: #00ffd1;
}

.future-vision-section p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.future-vision-section .cta-box {
    margin-top: 30px;
}

.future-vision-section .cta-box p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.future-vision-section .cta-box i {
    color: #00ffd1;
    font-size: 1.2em;
}

/* System Requirements Styling */
.system-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.requirements-col {
    flex: 1;
    min-width: 250px;
    background: rgba(50, 50, 50, 0.3);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(0, 255, 209, 0.1);
}

.requirements-col h5 {
    color: #00ffd1;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.requirements-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-col li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #fff;
    font-size: 14px;
}

.requirements-col strong {
    color: #00ffd1;
    font-weight: 500;
}

.requirements-note {
    font-size: 13px !important;
    color: #aaa !important;
    font-style: italic;
    margin-top: 10px !important;
}

/* Responsive adjustments for FAQ Section */
@media (max-width: 768px) {
    .faq-section {
        padding: 20px 15px;
        margin: 20px 10px;
        border-radius: 10px;
    }
    
    .faq-question {
        padding: 16px 15px;
    }
    
    .faq-question h4 {
        font-size: 16px;
        line-height: 1.4;
        padding-right: 15px;
    }
    
    .faq-answer {
        padding: 0 10px !important;
    }
    
    .faq-answer p {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 10px !important;
        margin-bottom: 14px !important;
    }
    
    .faq-answer p:first-child {
        padding-top: 12px !important;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 20px !important;
    }
    
    .faq-section h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* System Requirements Mobile Styles */
    .system-requirements {
        flex-direction: column;
        gap: 15px;
        margin: 15px 0;
        width: 100%;
    }
    
    .requirements-col {
        width: 100%;
        min-width: 100%;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
    
    .requirements-col:last-child {
        margin-bottom: 0;
    }
    
    .requirements-col h5 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .requirements-col li {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .requirements-note {
        font-size: 12px !important;
    }
}

/* Responsive adjustments for Partners & Testimonials */
@media (max-width: 768px) {
    .partners-section {
        padding-top: 20px;
    }

    .partners-section h4 {
        font-size: 1.3em;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-content p {
        font-size: 0.95em;
    }
}