@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("fontawesome-all.min.css");

/*
    Aerial by HTML5 UP
    html5up.net | @ajlkn
    Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

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

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

body {
    min-height: 100vh;
    min-width: 1024px;
    background-color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    overflow-x: auto;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(34, 211, 238, 0.1),
        rgba(168, 85, 247, 0.1),
        rgba(236, 72, 153, 0.1)
    );
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -2;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 50%;
    animation: float 20s infinite;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 30%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.site-title {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(to right, #22d3ee, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s infinite;
    white-space: nowrap;
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-size: 1.125rem;
}

.title-glow {
    position: absolute;
    inset: -0.25rem;
    background: linear-gradient(to right, #22d3ee, #a855f7, #ec4899);
    opacity: 0.3;
    filter: blur(1rem);
    z-index: -1;
}

.cards-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    width: fit-content;
    margin: 0 auto;
    padding: 0;
    white-space: nowrap;
}

.card {
    position: relative;
    width: 300px;
    height: 16rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0.75rem);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.card:hover {
    transform: scale(1.05);
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.card:hover .card-glow {
    opacity: 0.5;
}

.card:nth-child(1) .card-glow {
    background: linear-gradient(to right, rgba(34, 211, 238, 0.3), transparent);
}

.card:nth-child(2) .card-glow {
    background: linear-gradient(to right, rgba(168, 85, 247, 0.3), transparent);
}

.card:nth-child(3) .card-glow {
    background: linear-gradient(to right, rgba(236, 72, 153, 0.3), transparent);
}

.card-content {
    position: relative;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-icon {
    color: rgba(255, 255, 255, 0.9);
    width: 2rem;
    height: 2rem;
    transition: transform 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s;
}

.card:hover .card-title {
    background: linear-gradient(to right, white, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-description {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.card:hover .card-description {
    color: rgba(255, 255, 255, 0.9);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.card-overlay-content {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.video-section {
    width: 100%;
    max-width: 48rem;
    position: relative;
    cursor: pointer;
    margin-top: 2rem;
}

.video-container {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 0.75rem;
    overflow: hidden;
    backdrop-filter: blur(0.75rem);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #111827, #1f2937);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    position: relative;
    width: 4rem;
    height: 4rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.video-container:hover .play-button {
    color: white;
}

.play-button-ping {
    position: absolute;
    inset: 0;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #22d3ee, #a855f7, #ec4899);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-overlay {
    opacity: 0.3;
}

.video-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9), transparent);
}

.video-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.video-description {
    color: rgba(255, 255, 255, 0.7);
}
