body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: transparent; /* Ensure body is see-through */
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Keep canvas in the background */
    background-color: #111118; /* Apply background here */
}

.main-nav {
    position: fixed;
    top: 20px; /* Position from top */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 40px; /* Space between links */
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 1rem;
}

.main-nav a {
    color: #a9a9a9; /* A slightly dimmer, more subtle grey */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #fff;
}

.logo-container {
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 10;
}

.main-logo {
    height: 47px;
    width: auto;
}

/* Responsive Design for balls.css */
@media (max-width: 768px) {
    .main-nav {
        top: 15px;
        gap: 20px;
        padding: 0 0.5rem;
    }
    
    .main-nav a {
        font-size: 14px;
    }
    
    .logo-container {
        top: 15px;
        left: 20px;
    }
    
    .main-logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        top: 10px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 10px;
        backdrop-filter: blur(10px);
    }
    
    .main-nav a {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .logo-container {
        top: 10px;
        left: 15px;
    }
    
    .main-logo {
        height: 35px;
    }
}

.dynamic-island-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 50px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90vw;
    overflow: hidden;
}

.dynamic-island-nav.scrolled {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border-color: rgba(234, 179, 8, 0.15);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(234, 179, 8, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-links a:hover,
.nav-links a.active {
    color: #EAB308;
    background: rgba(234, 179, 8, 0.08);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(234, 179, 8, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-radius: 20px;
    padding: 4px;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    color: #000;
    background: linear-gradient(135deg, #EAB308, #F59E0B);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    box-shadow: 
        0 2px 8px rgba(234, 179, 8, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.auth-buttons {
    display: flex;
    gap: 8px;
}

.auth-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.auth-btn:hover {
    background: rgba(234, 179, 8, 0.08);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-color: rgba(234, 179, 8, 0.2);
    color: #EAB308;
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(234, 179, 8, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.register-btn svg {
    stroke-width: 1.5;
}

.login-btn svg {
    stroke-width: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dynamic-island-nav {
        padding: 6px 12px;
        border-radius: 40px;
    }
    
    .nav-content {
        gap: 16px;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 6px 8px;
    }
    
    .lang-btn {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .auth-btn {
        width: 32px;
        height: 32px;
}

/* Note: Hero section styles moved to style.css for responsive design */

.btn-primary {
    background-color: #e3b454;
    color: #111;
}

.btn-primary:hover {
    background-color: #f0c36a;
}

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

.btn-secondary:hover {
    background-color: #222;
    border-color: #777;
}

.content-wrapper {
    position: relative;
    z-index: 5;
    padding-top: 100vh; /* Push content below the hero section */
}

.content-section {
    max-width: 960px;
    margin: 0 auto 10rem auto;
    padding: 2rem;
    text-align: center;
    opacity: 0; /* Initially hidden for animation */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: #e3b454;
}

}

/* Note: All section styles moved to style.css for responsive design */

.btn-primary {

/* Tech Section */
.tech-section ul {
    list-style: none;
    padding: 0;
    font-size: 1.5rem;
    line-height: 2;
}

/* Performance Section */
.performance-links a {
    color: #e3b454;
    text-decoration: none;
    margin: 0 0.5rem;
}

.performance-links a:hover {
    text-decoration: underline;
}

/* Licenses & Partners Section */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.logo-grid span {
    font-size: 1.2rem;
    color: #a9a9a9;
    border: 1px solid #444;
    padding: 1rem 1.5rem;
    border-radius: 5px;
}

/* Contact Section */
.contact-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    color: #a9a9a9;
}

.email-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e3b454;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}
}