:root {
    --bg-color: #0d1117;
    /* Dark blue/black */
    --text-color: #ffffff;
    --accent-cyan: #00ffff;
    --accent-magenta: #ff00ff;
    --accent-yellow: #ffff00;
    --text-muted: #8b949e;
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Grid Effect */
.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Fire/Glow Animation */
.fire-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(255, 80, 0, 0.8) 0%, rgba(139, 0, 0, 0.4) 40%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    /* Behind content but above grid if desired, or same level */
    opacity: 1;
    mix-blend-mode: screen;
    animation: firePulse 4s infinite alternate;
    pointer-events: none;
}

@keyframes firePulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
        filter: blur(60px) hue-rotate(0deg);
    }

    50% {
        opacity: 1;
        filter: blur(50px) hue-rotate(-10deg) brightness(1.3);
    }

    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
        filter: blur(60px) hue-rotate(0deg);
    }
}

/* Header */
.site-header {
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image-container {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 48px;
    /* Adjust based on preference */
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
}

.demo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-label {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s, text-shadow 0.3s;
    font-weight: 400;
}

.nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

/* Main Logo Animation/Replica */
.main-logo {
    margin-bottom: 2rem;
}

.main-logo-image {
    width: 150px;
    /* Adjust size as needed */
    height: auto;
    margin: 0 auto;
    display: block;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}


/* Typography */
.brand-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-subtitle {
    font-size: 1.2rem;
    color: var(--accent-magenta);
    margin-bottom: 3rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.slogan-cn {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.slogan-en {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    /* Reduced from 4rem to make space */
    font-weight: 300;
}

.contact-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--text-color);
}

/* Footer */
.site-footer {
    padding: 2rem;
    text-align: center;
    color: #4a5058;
    font-size: 0.8rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .brand-name {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .demo-group {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        gap: 0.8rem;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    .brand-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .main-logo-image {
        width: 120px;
    }

    .slogan-cn {
        font-size: 1.2rem;
    }

    .slogan-en {
        font-size: 1rem;
    }
}