* {
    font-family: 'Poppins', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #e8e6f5 0%, #f5f3ff 30%, #ede9fe 70%, #ddd6fe 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animated-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.animated-lines svg {
    position: absolute;
    width: 100%;
    height: 120%;
    top: -10%;
}

.tech-line {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
    opacity: 0.7;
}

.line-1 {
    stroke: url(#gradient1);
    animation: drawLine1 15s ease-in-out infinite;
}

.line-2 {
    stroke: url(#gradient2);
    animation: drawLine2 12s ease-in-out infinite 2s;
}

.line-3 {
    stroke: url(#gradient3);
    animation: drawLine3 18s ease-in-out infinite 4s;
}

.line-4 {
    stroke: url(#gradient4);
    animation: drawLine4 14s ease-in-out infinite 1s;
}

.line-5 {
    stroke: url(#gradient5);
    animation: drawLine5 16s ease-in-out infinite 3s;
}

@keyframes drawLine1 {
    0%, 100% {
        d: path("M 100 400 Q 300 250, 500 450 T 900 350");
        opacity: 0.5;
    }
    50% {
        d: path("M 150 500 Q 400 200, 600 400 T 1000 300");
        opacity: 0.8;
    }
}

@keyframes drawLine2 {
    0%, 100% {
        d: path("M 1100 250 Q 800 400, 500 300 T 100 500");
        opacity: 0.5;
    }
    50% {
        d: path("M 1050 300 Q 750 500, 450 350 T 50 450");
        opacity: 0.8;
    }
}

@keyframes drawLine3 {
    0%, 100% {
        d: path("M 600 150 Q 500 300, 600 450 T 700 750");
        opacity: 0.5;
    }
    50% {
        d: path("M 650 200 Q 550 350, 500 550 T 450 850");
        opacity: 0.8;
    }
}

@keyframes drawLine4 {
    0%, 100% {
        d: path("M 50 300 Q 300 400, 550 300 T 950 400");
        opacity: 0.5;
    }
    50% {
        d: path("M 100 350 Q 350 250, 600 350 T 1000 300");
        opacity: 0.8;
    }
}

@keyframes drawLine5 {
    0%, 100% {
        d: path("M 300 200 Q 400 350, 600 450 T 800 800");
        opacity: 0.5;
    }
    50% {
        d: path("M 350 250 Q 350 400, 550 550 T 750 850");
        opacity: 0.8;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.8;
        r: 4;
    }
    50% {
        opacity: 1;
        r: 6;
    }
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, #a855f7, transparent);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.5;
}

.particle:nth-child(1) {
    left: 15%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 9s;
}

.particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(3) {
    left: 45%;
    top: 30%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    left: 60%;
    top: 70%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(5) {
    left: 75%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(6) {
    left: 85%;
    top: 50%;
    animation-delay: 5s;
    animation-duration: 7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -40px) scale(1.3);
        opacity: 0.7;
    }
    50% {
        transform: translate(-20px, -80px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(40px, -120px) scale(1.5);
        opacity: 0.8;
    }
}

.glow-effect {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
}

.video-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.4);
    aspect-ratio: 9/19.5;
    border: 4px solid rgba(255, 255, 255, 0.2);
    max-width: 300px;
}

@media (max-width: 768px) {
    .video-container {
        max-width: 200px;
    }
}

nav {
    backdrop-filter: blur(8px);
    background: rgba(248, 247, 255, 0.5);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
