body {
    margin: 0;
    background: #0A0613;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
        -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 8vw;
    position: fixed;
    width: 84%;
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: 800;
}

.logo span {
    color: #FF8A00;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

h1 {
    font-size: 4rem;
    max-width: 900px;

}

h1 span {
    background: linear-gradient(90deg, #FF8A00, #9C58E5);
    -webkit-background-clip: text;
    color: transparent;
}

.cta,
.ghost,
.btn {
    padding: 14px 26px;
    border-radius: 14px;
    border: 0;
    margin: 8px;
    cursor: pointer;
    transition: 0.3s ease;

}

.cta,
.btn {
    background: #FF8A00;
    color: #fff;
    font-weight: 700;

}

.cta:hover {
    background: #8d4a06;
}

.ghost {
    background: #CC181E;
    color: #fff;
    font-weight: 700;

}

.ghost:hover {
    background: #440606;
}

.stats,
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 60px;
    flex-wrap: wrap;
}



.stats div,
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    background-color: #7A2CCB;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.35;
}

.b1 {
    background: #FF8A00;
    left: -100px;
    top: 100px;
}

.b2 {
    background: #7A2CCB;
    right: -100px;
    bottom: 100px;
}

footer {
    text-align: center;
    padding: 50px;
    color: #aaa;
}


.arrows {
	width: 60px;
	height: 72px;
	position: absolute;
	left: 50%;
	margin-left: -30px;
	bottom: 20px;

}

.arrows:hover{
    cursor: pointer;
}



.arrows path {
	stroke: #ffffff;
	fill: transparent;
	stroke-width: 1px;
	animation: arrow 2s infinite;
	-webkit-animation: arrow 2s infinite;
}

@keyframes arrow
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

.arrows path.a1 {
	animation-delay:-1s;
	-webkit-animation-delay:-1s; /* Safari 和 Chrome */
}

.arrows path.a2 {
	animation-delay:-0.5s;
	-webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
}

.arrows path.a3 {
	animation-delay:0s;
	-webkit-animation-delay:0s; /* Safari 和 Chrome */
}

.service-card{
    min-width: 1000px;
    max-width: 1000px;
}
/* 
.image-popup {
    position: fixed;
    bottom: -100%;
    left: 10%;
    transform: translateX(-50%);
    z-index: 999;
    animation: popUpBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.image-popup img {
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.image-popup:hover{
    size: 10%;
}

@keyframes popUpBounce {
    0% {
        bottom: -100%;
        opacity: 0;
    }
    60% {
        bottom: 5%;
        opacity: 1;
    }
    80% {
        bottom: -2%;
    }
    100% {
        bottom: 0%;
    }
} */

.image-popup {
    position: fixed;
    bottom: -100%;
    left: 10%;
    transform: translateX(-50%);
    z-index: 999;
    animation: popUpBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.image-popup img {
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: block;
}

.image-popup:hover img {
    transform: scale(1.08);
}

.image-popup .speech-bubble {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) translateY(0) scale(0);
    background: white;
    color: #333;
    padding: 10px 16px;
    border-radius: 16px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    pointer-events: none;
}

.image-popup:hover .speech-bubble {
    transform: translateX(-50%) translateY(-20px) scale(1);
    opacity: 1;
}

@keyframes popUpBounce {
    0% {
        bottom: -100%;
        opacity: 0;
    }
    60% {
        bottom: 5%;
        opacity: 1;
    }
    80% {
        bottom: -2%;
    }
    100% {
        bottom: 0%;
    }
}



/* learn */
#courses {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    background: #1c1c22;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #333; /* fallback se l'immagine non carica */
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: 16px;
    text-align: center;
}

.video-info h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: #fff;
}

.platform {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background: #a435f0;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.video-info .cta {
    display: block;
    text-decoration: none;
    text-align: center;
}