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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main Navigation Container */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container.scrolled {
    padding: 10px 40px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Navigation Wrapper */
.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    border-radius: 30px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    border-radius: 30px;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    transform: scale(1);
}

.nav-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Active Indicator */
.nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

/* CTA Button */
.nav-cta {
    margin-left: 20px;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    margin: 6px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-container {
    animation: slideDown 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 100%);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        margin: 10px 0;
        opacity: 0;
        animation: slideIn 0.4s ease forwards;
    }

    .nav-menu.active .nav-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active .nav-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-menu.active .nav-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav-menu.active .nav-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .nav-menu.active .nav-item:nth-child(5) {
        animation-delay: 0.5s;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        margin: 20px 0 0 0;
        width: 100%;
    }

    .cta-button {
        width: 100%;
    }
}

/* Demo Content */
.demo-content {
    padding: 120px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    color: white;
}

.demo-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-section p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}