:root {
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #3b82f6;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --container-width: 1100px;
    --transition-speed: 0.3s;
}

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

.mobile-br {
    display: none;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Glow Effect */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(147, 51, 234, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header */
header {
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.lang-link {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-family: var(--font-main);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
}

.hero {
    text-align: center;
}

.slogan {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: #fafafa;
    border-top: 1px solid #eeeeee;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-info .label {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity var(--transition-speed);
}

.contact-info a:hover {
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.beian a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

.beian a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    header .container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .page-cn .company-name {
        font-size: 1.0rem;
    }

    .page-en .company-name {
        font-size: 0.8rem;
    }

    .lang-link {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    main {
        padding: 3rem 0;
    }

    .slogan {
        text-align: center;
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .page-cn .slogan {
        font-size: clamp(2.5rem, 12vw, 3.25rem);
        letter-spacing: 0;
        /* Remove offset from letter-spacing */
        line-height: 1.4;
        padding-left: 30px;
        /* Offset to center visually due to punctuation */
    }

    .page-en .slogan {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        letter-spacing: -0.02em;
        line-height: 1.3;
    }

    .mobile-br {
        display: block;
    }

    footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-content {
        gap: 1rem;
    }

    .contact-info p {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding-top: 1rem;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
    
    .beian a {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .company-name {
        font-size: 0.8rem;
    }
}
