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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Fullscreen Background Video */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-link:hover {
    color: #888;
}

.nav-link.active {
    color: #fff;
    font-weight: 600;
}

.nav-link.btn-register {
    background: linear-gradient(45deg, #444, #666);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
}

.nav-link.btn-register:hover {
    background: linear-gradient(45deg, #555, #777);
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Logo Section */
.logo-section {
    margin-top: 130px;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

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

/* Video Section */
.video-section {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.669);
    animation: fadeIn 1.5s ease-out;
}

#iq-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Tagline Section */
.tagline {
    margin-top: 50px;
    animation: fadeInUp 2s ease-out;
}

.tagline h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline p {
    font-size: 1.3rem;
    color: #aaa;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Call to Action Buttons */
.cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    animation: fadeInUp 2.5s ease-out;
}

.btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #fff, #ddd);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ddd, #bbb);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .nav-link.btn-register {
        padding: 8px 20px;
    }

    .logo {
        max-width: 150px;
    }

    .tagline h1 {
        font-size: 2rem;
    }

    .tagline p {
        font-size: 1rem;
    }

    .video-section {
        max-width: 100%;
        border-radius: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 10px;
    }

    .logo {
        max-width: 120px;
    }

    .tagline h1 {
        font-size: 1.5rem;
    }

    .tagline p {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
}
