* { margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; background: #0a0e27; }

/* Hero Section */
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10,14,39,0.85), rgba(88,28,135,0.4), rgba(236,72,153,0.2));
    z-index: 0;
    animation: overlayShift 15s ease-in-out infinite;
}
@keyframes overlayShift {
    0%, 100% { background: linear-gradient(135deg, rgba(10,14,39,0.85), rgba(88,28,135,0.4), rgba(236,72,153,0.2)); }
    50% { background: linear-gradient(135deg, rgba(10,14,39,0.8), rgba(139,92,246,0.35), rgba(168,85,247,0.25)); }
}

/* Accent Colors */
.accent { color: #a78bfa; transition: all 0.3s ease; }
.accent:hover { color: #e879f9; text-shadow: 0 0 20px rgba(232,121,249,0.6); }
.bg-accent { background: linear-gradient(135deg, #a78bfa, #d946ef); transition: all 0.3s ease; }
.bg-accent:hover { box-shadow: 0 0 30px rgba(217,70,239,0.6), inset 0 0 20px rgba(255,255,255,0.1); }
.hover-accent:hover { color: #e879f9; }

/* Header */
.header-bg {
    background: linear-gradient(180deg, rgba(15,23,42,0.95), rgba(15,23,42,0.85));
    backdrop-filter: blur(10px);
}
.header-link {
    color: rgba(255,255,255,0.85);
    position: relative;
    transition: all 0.3s ease;
}
.header-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #e879f9);
    transition: width 0.3s ease;
}
.header-link:hover::after { width: 100%; }
.header-link:hover { color: #e879f9; }

/* Sections */
.section-bg { background: linear-gradient(135deg, #0f1b2a 0%, #1a0f2e 50%, #0a0e27 100%); }
.alt-section-bg { background: linear-gradient(135deg, #1a0f2e 0%, #0f1b2a 50%, #0a0e27 100%); }

/* Cards */
.card {
    background: linear-gradient(135deg, rgba(167,139,250,0.1), rgba(217,70,239,0.05));
    border: 1px solid rgba(167,139,250,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(217,70,239,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    border-color: rgba(217,70,239,0.6);
}

/* Decorative Line */
.decorative-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #a78bfa, #d946ef, transparent);
    margin: 30px auto;
    width: 150px;
    animation: glowLine 3s ease-in-out infinite;
}
@keyframes glowLine {
    0%, 100% { box-shadow: 0 0 10px rgba(167,139,250,0.3); }
    50% { box-shadow: 0 0 30px rgba(217,70,239,0.6); }
}

/* Fade In */
.fade-in {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for elements */
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* Section headings */
h2 {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(167, 139, 250, 0.2);
    animation: titleFadeIn 0.8s ease-out;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa, #d946ef);
    animation: expandWidth 0.8s ease-out 0.2s forwards;
}
@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}
@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button styles */
button, a.bg-accent {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
button::before, a.bg-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
button:hover::before, a.bg-accent:hover::before {
    left: 100%;
}

/* Text glow on hover */
.glow-on-hover {
    transition: all 0.3s ease;
}
.glow-on-hover:hover {
    color: #e879f9;
    text-shadow: 0 0 20px rgba(232,121,249,0.5);
}

/* Glassmorphism effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
