:root {
    --bg-dark: #050510;
    --primary: #00f2ff;
    --primary-dim: rgba(0, 242, 255, 0.1);
    --secondary: #7000ff;
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    opacity: 0;
    /* JS will fade this in */
    pointer-events: none;
}

.overlay {
    position: relative;
    z-index: 1;
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

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

.links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

.links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-dim);
}

.nav-cta {
    border: 1px solid var(--primary);
    padding: 10px 24px;
    color: var(--primary) !important;
    border-radius: 2px;
    background: rgba(0, 242, 255, 0.05);
    transition: all 0.3s;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--primary-dim);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background: radial-gradient(circle at 75% 50%, rgba(112, 0, 255, 0.08), transparent 50%);
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    border: 1px solid var(--primary);
    padding: 8px 12px;
    margin-bottom: 25px;
    background: var(--primary-dim);
    box-shadow: 0 0 10px var(--primary-dim);
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    background: linear-gradient(to right bottom, #fff, #a5a5a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 45px;
    line-height: 1.6;
    font-weight: 300;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 20px;
}

.primary-btn {
    position: relative;
    padding: 18px 45px;
    background: var(--text-main);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 2px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s;
}

.primary-btn:hover .btn-shine {
    left: 150%;
    transition: left 0.5s 0.1s;
}

.secondary-btn {
    padding: 18px 45px;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--glass);
    backdrop-filter: blur(5px);
    transition: all 0.3s;
    border-radius: 2px;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Features/Technology Section */
.features {
    padding: 120px 10%;
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a18);
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 70px;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 4px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.glass-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s, border-color 0.4s;
    cursor: default;
    overflow: hidden;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    transition: border-color 0.4s;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.glass-card:hover .card-border {
    border-color: var(--primary);
    box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 30px;
}

.glass-card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.glass-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Mission Section */
.mission {
    padding: 120px 10%;
    background: #020205;
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mission-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.mission-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.mission-stat {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--secondary);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Team Section Styles */
.team-card {
    padding: 30px 20px;
    text-align: center;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.team-card .affiliation {
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    width: 40px;
    height: 40px;
    transition: all 0.3s;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    margin-top: 5px;
}

.linkedin-link:hover {
    color: var(--text-main);
    border-color: var(--primary);
    background: var(--primary-dim);
}

/* Footer */
footer {
    padding: 60px 10%;
    border-top: 1px solid var(--glass-border);
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #444;
    letter-spacing: 2px;
}

/* Utilities */
.glitch-text {
    position: relative;
}

/* Responsive */
@media (max-width: 900px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .glass-nav {
        padding: 20px;
    }

    .links a:not(.nav-cta) {
        display: none;
    }

    .hero {
        padding: 100px 20px;
        text-align: center;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}