:root {
    --bg: #050505;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --primary: #00ff88;
    /* Neon Green */
    --primary-dim: rgba(0, 255, 136, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --blur: blur(12px);
    --font-main: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ambient Glow Background */
.ambient-glow {
    position: fixed;
    top: -20%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.07) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

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

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text);
}

.logo i {
    color: var(--primary);
}

.nav-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.btn-nav {
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--text) !important;
    transition: 0.3s;
}

.btn-nav:hover {
    border-color: var(--primary);
    background: var(--primary-dim);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    text-align: center;
    padding-top: 80px;
}

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

.badge-capsule {
    display: inline-block;
    font-family: var(--font-code);
    font-size: 0.75rem;
    background: var(--primary-dim);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid var(--primary);
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--text);
    color: #000;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

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

.btn-text {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-text:hover {
    color: var(--primary);
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.page-header {
    padding-top: 120px;
    padding-bottom: 4rem;
    text-align: center;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

/* Grid Systems */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--blur);
    padding: 2.5rem;
    border-radius: 16px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.glass-card:hover {
    border-color: var(--text-muted);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.card-icon.pulse {
    color: var(--primary);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tags span {
    font-family: var(--font-code);
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-muted);
}

.card-link {
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    font-size: 0.9rem;
    transition: 0.2s;
    width: fit-content;
}

.card-link:hover {
    color: var(--primary);
}

/* Core Services */
.services-layout {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    align-items: flex-start;
}

.service-item:last-child {
    border-bottom: 1px solid var(--glass-border);
}

.svc-number {
    font-family: var(--font-code);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.svc-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.svc-info p {
    color: var(--text-muted);
    max-width: 600px;
}

/* Stats Grid (About Page) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-family: var(--font-code);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Research Scroller */
.research-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2rem;
}

.r-card {
    min-width: 280px;
    background: linear-gradient(145deg, #0a0a0a, #050505);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
}

.r-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.r-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: #000;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-family: var(--font-code);
}

.footer-nav,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav span,
.footer-social span {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-nav a:hover,
.footer-social a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #333;
    font-family: var(--font-code);
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* --- RESPONSIVE MOBILE STYLES --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 2000;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
        z-index: 1500;
        border-left: 1px solid var(--glass-border);
    }

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

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

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

    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-flex {
        flex-direction: column;
        text-align: left;
    }
}