/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #ffffff;
    --accent-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-tertiary: #000000;
    --border-color: rgba(255, 255, 255, 0.4);
    --shadow-color: rgba(255, 255, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, #ffffff, #000000);
    --gradient-secondary: linear-gradient(135deg, #ffffff, #000000);
    --font-primary: 'Space Grotesk', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

body {
    font-family: var(--font-primary);
    background: #050505; /* Fallback */
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 300;
}

footer {
    position: relative;
    z-index: 10;
}

/* ===== 宇宙背景 ===== */
#canvas-container, #canvas-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #050505;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Premium Loading System ===== */
.loading-container {
    text-align: center;
    padding: 60px 0;
}

.loading-text {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.digital-pulse {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: relative;
    vertical-align: middle;
}

.digital-pulse div {
    position: absolute;
    border: 2px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: digital-pulse-ani 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.digital-pulse div:nth-child(2) {
    animation-delay: -0.7s;
}

@keyframes digital-pulse-ani {
    0% {
        top: 25px;
        left: 25px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skeleton-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.skeleton-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: skeleton-shimmer-ani 2s infinite;
}

@keyframes skeleton-shimmer-ani {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-title { width: 60%; height: 24px; margin-bottom: 18px; }
.skeleton-line { width: 100%; height: 12px; }
.skeleton-line.short { width: 40%; }

/* ===== 导航栏 ===== */
/* ===== 导航栏 (Silicon Valley Designer Style) ===== */
.header {
    position: fixed;
    top: 50%;
    right: 2rem;
    left: auto;
    width: auto;
    z-index: 50;
    transform: translateY(-50%);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: transparent !important;
}

@media (max-width: 1024px) {
    .header {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0.8rem 1.2rem;
        transform: none;
        background: rgba(5, 5, 5, 0.85) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav {
        flex-direction: row !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        cursor: pointer;
        z-index: 1010;
        margin-left: 10px;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(25px);
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-links.open {
        right: 0;
    }

    .logo {
        flex-direction: row !important;
        align-items: center !important;
        margin-bottom: 0 !important;
        gap: 0.8rem !important;
    }

    .logo-text {
        font-size: 0.9rem !important;
        letter-spacing: 2px !important;
        color: #fff !important;
    }
}

.nav-toggle {
    display: none; /* Hide on Desktop */
}

.nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align items to the right */
    background: transparent;
    padding: 0;
    width: auto;
    height: auto;
    overflow: visible;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Disable hover expansion logic */
.nav:hover {
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    border: none;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
    margin-bottom: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline for link */
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    filter: grayscale(1);
    transition: all 0.5s ease;
}

.logo:hover .logo-img {
    filter: grayscale(0);
    transform: rotate(90deg) scale(1.1);
    border-color: #fff;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    height: auto;
    transform: none;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.logo:hover .logo-text {
    color: #fff;
    opacity: 1;
    letter-spacing: 6px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 1.5rem;
    width: 100%;
    opacity: 1;
    transform: none;
    align-items: flex-end;
}

.nav:hover .nav-links {
    opacity: 1;
    transform: none;
}

.nav-link {
    font-family: var(--font-display); /* Using Orbitron for tech feel */
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    padding: 0.4rem 0;
    text-align: right;
    display: block;
    /* Glitch-like digital shadow */
    text-shadow: 0 0 5px rgba(255, 255, 255, 0);
}

.nav-link:hover {
    color: #ffffff;
    letter-spacing: 6px;
    padding-right: 20px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.2);
}

/* Digital Scanline Effect on hover */
.nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    width: 0;
    height: 1px;
    background: #fff;
    transition: all 0.4s ease;
    opacity: 0;
}

.nav-link:hover::before {
    width: 12px;
    opacity: 1;
}

/* Mobile Toggle - Hidden on desktop */
.nav-toggle {
    display: none;
}

/* ===== 英雄区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

/* Hero Greeting Bubble */
.hero-greeting {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 40px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero-greeting.show {
    opacity: 1;
    transform: translate(-50%, -120%) scale(1);
}

.hero-content {
    max-width: 500px;
}

.hero-badge {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: 10px;
}

.title-word {
    display: block;
    animation: titleReveal 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word:nth-child(2) {
    animation-delay: 0.4s;
}

.title-word:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    border-radius: 0; /* Boxy sci-fi look from snippet (snippet didn't specify radius but implied void style usually is sharp, snippet had no radius) - actually snippet default is 0 for buttons usually unless user agent. Snippet didn't have border-radius. */
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}



.btn-secondary {
    /* Inherits base btn styles */
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ===== 宇宙球体 ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== Quantum Singularity Orb ===== */
.quantum-singularity {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    perspective: 1000px;
    transform: rotateX(60deg) rotateZ(-20deg);
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 10;
}

/* Accretion Disk */
.accretion-disk {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: diskSpin 20s linear infinite;
}

.disk-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.ring-1 {
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    filter: blur(0.5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.ring-2 {
    width: 280px;
    height: 280px;
    border: 8px solid rgba(255, 255, 255, 0.05);
    border-left: 8px solid rgba(255, 255, 255, 0.3);
    border-right: 8px solid rgba(255, 255, 255, 0.3);
    filter: blur(4px);
    animation: pulseRing 6s ease-in-out infinite alternate;
}

.ring-3 {
    width: 200px;
    height: 200px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    animation: spinReverse 20s linear infinite;
}

@keyframes diskSpin {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

@keyframes spinReverse {
    0% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
}

@keyframes pulseRing {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Event Horizon */
.event-horizon {
    position: absolute;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    transform: rotateX(-60deg);
    /* Counteract container rotation to face viewer */
    z-index: 10;
}

.singularity-core {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 50%;
    box-shadow:
        0 0 20px #000,
        0 0 40px rgba(255, 255, 255, 0.1),
        0 0 80px rgba(255, 255, 255, 0.1);
}

.photon-ring {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 15px #fff, 0 0 30px rgba(255, 255, 255, 0.3);
    opacity: 0.9;
    animation: photonPulse 3s ease-in-out infinite;
}

@keyframes photonPulse {

    100% {
        box-shadow: 0 0 15px #fff, 0 0 30px rgba(255, 255, 255, 0.3);
        opacity: 0.9;
    }

    50% {
        box-shadow: 0 0 20px #fff, 0 0 40px rgba(255, 255, 255, 0.5);
        opacity: 1;
    }
}

/* Energy Jets */
.energy-jets {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    pointer-events: none;
}

.jet {
    position: absolute;
    left: 50%;
    width: 4px;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    filter: blur(2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform-origin: bottom center;
}

.jet-top {
    bottom: 50%;
    transform: translateX(-50%) rotateX(-90deg);
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
}

.jet-bottom {
    top: 50%;
    transform: translateX(-50%) rotateX(90deg);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), transparent);
}

/* 3D Particles */
.particles-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: particleCloudSpin 30s linear infinite;
}

.p3d {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff;
}

.p1 {
    top: 20%;
    left: 20%;
    transform: translateZ(50px);
}

.p2 {
    top: 80%;
    left: 80%;
    transform: translateZ(-50px);
}

.p3 {
    top: 20%;
    left: 80%;
    transform: translateZ(20px);
}

.p4 {
    top: 80%;
    left: 20%;
    transform: translateZ(-20px);
}

@keyframes particleCloudSpin {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

/* ===== 通用容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== 章节样式 ===== */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== 关于区域 (Redesigned: High-End HUD Style) ===== */
.about {
    padding: 10rem 0;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
    position: relative;
}

/* 装饰性背景光晕 - 代替方框 */
.about-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: auraPulse 8s ease-in-out infinite alternate;
}

@keyframes auraPulse {
    from { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    to { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.about-text-wrapper {
    max-width: 900px;
    text-align: center;
    position: relative;
    cursor: default;
    z-index: 1;
}

.about-paragraph {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.2) 50%, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 12s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.about-text-wrapper:hover .about-paragraph {
    color: #fff;
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

.about-sub-paragraph {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.6s ease;
    filter: blur(0.5px);
}

.about-text-wrapper:hover .about-sub-paragraph {
    color: rgba(255, 255, 255, 0.8);
    filter: blur(0);
}

/* 数据展示 - 悬浮式 constellations */
.about-stats {
    display: flex;
    justify-content: center;
    gap: 10rem;
    padding-top: 4rem;
    width: 100%;
    position: relative;
}

/* 使用极细线条作为装饰，而非方框 */
.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon-wrapper {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: rgba(255, 255, 255, 0.4);
}

/* 响应式适配 */
@media (max-width: 992px) {
    .about-stats {
        gap: 4rem;
        flex-wrap: wrap;
    }
    .about-paragraph {
        font-size: 1.8rem;
    }
}

/* ===== AI Lab (Redesigned: Floating HUD Style) ===== */
.projects {
    padding: 10rem 0;
}

/* ===== AI Lab Header (HUD Redesign) ===== */
.lab-header {
    position: relative;
    text-align: center;
    margin-bottom: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.lab-title-bg {
    position: absolute;
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: 1.5rem;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.lab-header:hover .lab-title-bg {
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: 2.5rem;
    transform: scale(1.05);
    filter: blur(2px);
}

.lab-title-wrapper {
    position: relative;
    z-index: 1;
    transition: transform 0.6s ease;
}

.lab-header:hover .lab-title-wrapper {
    transform: translateY(-5px);
}

.lab-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.2) 50%, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 12s linear infinite;
}

.lab-header:hover .lab-title {
    color: #fff;
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    letter-spacing: 0.8rem;
}

.lab-line-decoder {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}

.lab-header:hover .lab-line-decoder {
    width: 200px;
    background: #fff;
    box-shadow: 0 0 15px #fff;
}

.lab-line-decoder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: decoderSweep 3s infinite;
}

@keyframes decoderSweep {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.projects-grid {
    display: flex;
    justify-content: center;
    gap: 8rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.project-card {
    position: relative;
    width: 280px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: none;
    border: none;
    border-radius: 0;
}

.project-visual {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 3rem;
    transition: all 0.6s ease;
}

.project-orb {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbFloat 4s ease-in-out infinite alternate;
}

.project-orb::after {
    content: '';
    width: 30%;
    height: 30%;
    background: #fff;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.project-orb::before {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    transition: all 0.5s ease;
}

.project-card.category-health .project-orb {
    background: radial-gradient(circle at 40% 40%, rgba(90, 255, 170, 0.25) 0%, rgba(20, 60, 40, 0.15) 45%, transparent 72%);
    border-color: rgba(90, 255, 170, 0.45);
    box-shadow: 0 0 30px rgba(90, 255, 170, 0.12);
}

.project-orb.category-health {
    background: radial-gradient(circle at 40% 40%, rgba(90, 255, 170, 0.25) 0%, rgba(20, 60, 40, 0.15) 45%, transparent 72%);
    border-color: rgba(90, 255, 170, 0.45);
    box-shadow: 0 0 30px rgba(90, 255, 170, 0.12);
}

.project-card.category-health .project-orb::after {
    background: rgba(90, 255, 170, 0.9);
    box-shadow: 0 0 18px rgba(90, 255, 170, 0.5);
}

.project-orb.category-health::after {
    background: rgba(90, 255, 170, 0.9);
    box-shadow: 0 0 18px rgba(90, 255, 170, 0.5);
}

.project-card.category-health .project-orb::before {
    content: '✿';
    color: rgba(120, 255, 190, 0.9);
    text-shadow: 0 0 12px rgba(90, 255, 170, 0.6);
}

.project-orb.category-health::before {
    content: '✿';
    color: rgba(120, 255, 190, 0.9);
    text-shadow: 0 0 12px rgba(90, 255, 170, 0.6);
}

.project-card.category-health h3 {
    color: rgba(90, 255, 170, 0.6);
}

.project-card.category-cognition .project-orb {
    background: radial-gradient(circle at 35% 35%, rgba(120, 190, 255, 0.28) 0%, rgba(30, 55, 90, 0.18) 45%, transparent 72%);
    border-color: rgba(120, 190, 255, 0.5);
    box-shadow: 0 0 30px rgba(120, 190, 255, 0.12);
}

.project-orb.category-cognition {
    background: radial-gradient(circle at 35% 35%, rgba(120, 190, 255, 0.28) 0%, rgba(30, 55, 90, 0.18) 45%, transparent 72%);
    border-color: rgba(120, 190, 255, 0.5);
    box-shadow: 0 0 30px rgba(120, 190, 255, 0.12);
}

.project-card.category-cognition .project-orb::after {
    background: rgba(120, 190, 255, 0.9);
    box-shadow: 0 0 18px rgba(120, 190, 255, 0.5);
}

.project-orb.category-cognition::after {
    background: rgba(120, 190, 255, 0.9);
    box-shadow: 0 0 18px rgba(120, 190, 255, 0.5);
}

.project-card.category-cognition .project-orb::before {
    content: '◎';
    color: rgba(150, 210, 255, 0.95);
    text-shadow: 0 0 12px rgba(120, 190, 255, 0.6);
}

.project-orb.category-cognition::before {
    content: '◎';
    color: rgba(150, 210, 255, 0.95);
    text-shadow: 0 0 12px rgba(120, 190, 255, 0.6);
}

.project-card.category-cognition h3 {
    color: rgba(120, 190, 255, 0.6);
}

.project-card.category-learning .project-orb {
    background: radial-gradient(circle at 45% 40%, rgba(255, 210, 120, 0.3) 0%, rgba(85, 60, 25, 0.18) 45%, transparent 72%);
    border-color: rgba(255, 210, 120, 0.5);
    box-shadow: 0 0 30px rgba(255, 210, 120, 0.12);
}

.project-orb.category-learning {
    background: radial-gradient(circle at 45% 40%, rgba(255, 210, 120, 0.3) 0%, rgba(85, 60, 25, 0.18) 45%, transparent 72%);
    border-color: rgba(255, 210, 120, 0.5);
    box-shadow: 0 0 30px rgba(255, 210, 120, 0.12);
}

.project-card.category-learning .project-orb::after {
    background: rgba(255, 210, 120, 0.9);
    box-shadow: 0 0 18px rgba(255, 210, 120, 0.5);
}

.project-orb.category-learning::after {
    background: rgba(255, 210, 120, 0.9);
    box-shadow: 0 0 18px rgba(255, 210, 120, 0.5);
}

.project-card.category-learning .project-orb::before {
    content: '△';
    color: rgba(255, 220, 150, 0.95);
    text-shadow: 0 0 12px rgba(255, 210, 120, 0.6);
}

.project-orb.category-learning::before {
    content: '△';
    color: rgba(255, 220, 150, 0.95);
    text-shadow: 0 0 12px rgba(255, 210, 120, 0.6);
}

.project-card.category-learning h3 {
    color: rgba(255, 210, 120, 0.6);
}

@keyframes orbFloat {
    from { transform: translateY(0) scale(1.0); }
    to { transform: translateY(-15px) scale(1.05); }
}

.project-card:hover .project-orb {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.project-card:hover .project-orb::after {
    opacity: 1;
    width: 50%;
    height: 50%;
    filter: blur(12px);
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    transition: all 0.5s ease;
    text-align: center;
}

.project-card:hover h3 {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.project-card:hover::before {
    width: 100px;
    background: rgba(255, 255, 255, 0.8);
}

.more-projects {
    text-align: center;
    margin-top: 2rem;
}

.contact {
    padding: 10rem 0;
}

.contact-nexus {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    padding: 2.6rem 2.4rem;
    min-width: 260px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.node-top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.6rem;
}

.node-icon {
    font-size: 3rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    filter: none;
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.node-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.contact-node:hover .node-icon {
    transform: scale(1.15) translateY(-10px);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

.node-content h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.node-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.node-cta {
    margin-top: 1.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.contact-node:hover .node-content h3 {
    color: #fff;
    letter-spacing: 0.5rem;
}

.contact-node:hover .node-content p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-node:hover .node-cta {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.contact-node::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transition: all 0.6s ease;
}

.contact-node:hover::after {
    transform: translateX(-50%) scaleX(2.5);
    box-shadow: 0 0 20px #fff;
}

.node--explore {
    position: relative;
}

.node--explore::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.6s ease;
}

.node--explore:hover::before {
    opacity: 1;
    animation: explorePulse 2s infinite;
}

@keyframes explorePulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.2; }
}

.footer {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== 项目内容样式 (Shared) ===== */
.project-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: left; /* Ensure left alignment for content */
}

.project-content h1,
.project-content h2,
.project-content h3,
.project-content h4,
.project-content h5,
.project-content h6 {
    color: var(--text-primary);
    font-family: var(--font-display);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.project-content h1 { font-size: 2rem; }
.project-content h2 { font-size: 1.75rem; }
.project-content h3 { font-size: 1.5rem; }
.project-content h4 { font-size: 1.25rem; }
.project-content h5 { font-size: 1.125rem; }
.project-content h6 { font-size: 1rem; }

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.project-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.2rem auto;
    border-radius: 10px;
}

.project-content code {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.project-content pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.project-content pre code {
    background: none;
    color: var(--text-primary);
    padding: 0;
}

.project-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

.project-content ul,
.project-content ol {
    color: var(--text-secondary);
    margin: 1rem 0;
    padding-left: 2rem;
}

.project-content li {
    margin-bottom: 0.5rem;
}

.project-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-content a:hover {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Glass Panel Utility (Shared) */
.glass-panel {
    background: rgba(10, 15, 30, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* ===== 移动端响应式适配 (Restored) ===== */
@media (max-width: 1024px) {
    /* Header & Navigation */
    .header {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 1rem 1.5rem;
        transform: none;
        background: rgba(5, 5, 5, 0.85) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        margin-bottom: 0;
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }

    .logo-img {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    /* Visitor Stats in Navbar (Desktop) */
    .visitor-stats {
        display: flex;
        align-items: center;
        gap: 15px;
        background: rgba(255, 255, 255, 0.05);
        padding: 6px 12px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-right: 15px;
        margin-left: auto; /* Push to right in flex container */
    }

    .visitor-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.2;
    }

    .visitor-label {
        font-size: 0.6rem;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        display: block;
    }

    .visitor-value {
        font-family: 'Orbitron', sans-serif;
        font-size: 0.9rem;
        color: #00ff88;
        font-weight: bold;
    }

    /* Important: Fix visitor-stats visibility and positioning on mobile */
    @media (max-width: 1024px) {
        .visitor-stats {
            display: flex !important;
            visibility: visible !important;
            position: relative !important;
            margin-left: auto !important;
            margin-right: 0.8rem !important; /* Slightly reduced to make room for toggle */
            gap: 10px !important;
            background: rgba(255, 255, 255, 0.08) !important;
            padding: 4px 12px !important;
            border-radius: 6px !important;
            border: 1px solid rgba(255, 255, 255, 0.15) !important;
            z-index: 1005 !important;
            opacity: 1 !important;
            flex-direction: row !important;
            transform: scale(0.9); /* Scale down slightly for mobile */
            transform-origin: right center;
        }

        .visitor-item {
            display: flex !important;
            align-items: center !important;
            flex-direction: row !important;
            gap: 5px !important;
        }

        .visitor-label {
            display: block !important; /* Restore label on mobile */
            font-size: 0.65rem !important;
            color: rgba(255, 255, 255, 0.4) !important;
            margin-right: 2px;
        }

        .visitor-value {
            font-family: 'Orbitron', sans-serif !important;
            font-size: 0.85rem !important;
            color: #00ff88 !important;
            font-weight: bold !important;
        }

        /* Show online count with a green dot on mobile */
        #online-count::before {
            content: '';
            display: inline-block;
            width: 7px;
            height: 7px;
            background: #00ff88;
            border-radius: 50%;
            margin-right: 4px;
            box-shadow: 0 0 6px #00ff88;
        }
        /* Show today visitor with a blue dot */
        #today-visitor-count::before {
            content: '';
            display: inline-block;
            width: 7px;
            height: 7px;
            background: #0088ff;
            border-radius: 50%;
            margin-right: 4px;
            box-shadow: 0 0 6px rgba(0, 136, 255, 0.5);
        }
    }

    /* Mobile Menu Toggle */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        z-index: 1002;
    }

    .nav-toggle span {
        width: 100%;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Mobile Nav Links Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 1001;
        padding: 0;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        text-align: center;
        padding-right: 0;
        letter-spacing: 4px;
    }

    .nav-link:hover {
        padding-right: 0;
        letter-spacing: 6px;
    }

    /* Hero Section */
    .hero {
        padding-top: 80px; /* Offset fixed header */
        min-height: auto; /* Allow natural height */
        padding-bottom: 4rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .hero-content {
        order: 1; /* Text below visual */
    }

    .hero-visual {
        order: 0; /* Visual on top */
        transform: scale(0.85);
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* About Section */
    .about-stats {
        flex-direction: column;
        gap: 3rem;
        padding-top: 2rem;
    }

    .about-paragraph {
        font-size: 1.5rem;
    }
    
    .about-stats::before {
        display: none; /* Remove horizontal line on mobile */
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lab-title-bg {
        font-size: 4rem;
        letter-spacing: 10px;
    }

    /* Contact Section */
    .contact-node {
        width: 100%;
    }

    /* Admin/Project Content */
    .project-content {
        padding: 1.5rem;
    }
    
    .project-content h1 { font-size: 1.5rem; }
    .project-content h2 { font-size: 1.3rem; }
}

/* =========================================
   Mobile Layout Fixes - Added by Assistant
   ========================================= */
@media (max-width: 1024px) {
    /* --- Header & Navigation Fixes --- */
    /* Force header to be a top bar with flex row layout */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding: 0.8rem 1.2rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        transform: none !important;
        background: rgba(5, 5, 5, 0.95) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 1000 !important;
    }
    
    /* Ensure Nav container doesn't force column layout */
    .nav {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        background: transparent !important;
    }

    /* Fix Logo alignment */
    .logo {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.8rem !important;
        margin-bottom: 0 !important;
    }
    
    /* Ensure toggle button is visible */
    .nav-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 1010 !important;
        margin-left: auto !important; /* Push to right if needed */
    }

    /* --- Global Layout Fixes --- */
    /* Prevent horizontal scroll */
    body, html {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure main content doesn't overflow */
    main {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    /* --- Hero Section Fixes --- */
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 8rem 1.5rem 2rem !important; /* More top padding for fixed header */
        gap: 3rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-visual {
        order: -1 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }
    
    .hero-actions {
        justify-content: center !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        letter-spacing: 2px !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 2rem !important;
    }

    /* Resize 3D Orb to fit screen */
    .quantum-singularity {
        width: 280px !important;
        height: 280px !important;
        margin: 0 auto !important;
    }
    
    .ring-1 { width: 260px !important; height: 260px !important; }
    .ring-2 { width: 200px !important; height: 200px !important; }
    .ring-3 { width: 150px !important; height: 150px !important; }
    
    /* Fix particle container */
    #hero-3d-container {
        min-height: 300px !important;
    }

    /* --- About Section Fixes --- */
    .about-stats {
        flex-direction: column !important;
        gap: 3rem !important;
    }
    
    .about-paragraph {
        font-size: 1.5rem !important;
    }
    
    /* --- Project/Grid Fixes --- */
    .skeleton-grid {
        grid-template-columns: 1fr !important;
        padding: 0 1rem !important;
    }
    
    .projects-grid {
        gap: 3rem !important;
    }
}
