:root {
    --color-bg: #000000;
    --color-text: #ffffff;
    --color-accent: #2563eb;
    /* Royal Blue-ish generic match */
    --color-border: #333333;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --container-width: 1200px;
    --nav-height: 80px;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: white;
    color: black;
}

.btn-primary:hover {
    background-color: #e5e5e5;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Announcement Bar */
#announcement-bar {
    background-color: var(--color-accent);
    color: white;
    font-size: 0.875rem;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.news-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hiring-link {
    text-decoration: underline;
    opacity: 0.9;
}

.hiring-link:hover {
    opacity: 1;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    user-select: none;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 0.9rem;
    color: #a1a1aa;
    /* Light gray */
    transition: color 0.2s;
    font-weight: 500;
}

.main-nav a:hover {
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: calc(var(--nav-height) * -1);
    /* Pull up behind header */
    padding-top: var(--nav-height);
}

.hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay for text readability */
    z-index: 1;
}

.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Widened slightly */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-logo-large {
    font-size: 8rem;
    /* Very large */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure centered if flex container width > content */
    gap: 20px;
    /* Increased gap for visual balance */
}

.hero-logo-img {
    height: 1em;
    /* Matches font size */
    width: auto;
    object-fit: contain;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 120px;
    /* Space before Chinese text */
    letter-spacing: 0.02em;
}

.hero-desc-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-desc-cn {
    font-size: 1.5rem;
    font-weight: 400;
    color: #e5e5e5;
    letter-spacing: 0.05em;
}

.hero-link {
    font-size: 1.25rem;
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.8;
    margin-top: 10px;
}

.hero-link:hover {
    opacity: 1;
}

/* Mission Section */
.mission-section {
    padding: 120px 20px;
    max-width: 1200px;
    /* Increased max-width for side-by-side */
}

.mission-section h2 {
    font-size: 3rem;
    margin-bottom: 48px;
    line-height: 1.1;
    text-align: center;
}

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

@media (min-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mission-module-single {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Distinct gap between paragraphs */
}

.mission-module-single p {
    font-size: 1.1rem;
    color: #a1a1aa;
    line-height: 1.6;
    text-align: justify;
}

/* Industries / Applications Section */
.industries-section {
    padding: 80px 0;
}

.industries-section h2 {
    margin-bottom: 40px;
    padding-left: 20px;
}

/* Horizontal Scroll Container for Industries */
.industries-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 20px 40px 20px;
    /* Bottom padding for scrollbar space */
    scrollbar-width: none;
    /* Firefox */
}

.industries-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.industry-card {
    flex: 0 0 400px;
    /* Fixed width cards */
    height: 500px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: center;
    background-color: #111;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-desc {
    color: #a1a1aa;
    font-size: 1rem;
}

/* Deploy Section */
.deploy-section {
    padding: 120px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.deploy-section h2 {
    margin-bottom: 48px;
    text-align: center;
}

.deploy-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #a1a1aa;
}

.form-group input {
    background: transparent;
    border: 1px solid #333;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: white;
}

.file-drop-zone {
    border: 2px dashed #333;
    border-radius: 8px;
    padding: 48px;
    text-align: center;
    color: #666;
    cursor: pointer;
    transition: border-color 0.2s;
}

.file-drop-zone:hover {
    border-color: #666;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Footer */
.main-footer {
    border-top: 1px solid #333;
    padding: 48px 0;
    margin-top: 80px;
    font-size: 0.9rem;
    color: #666;
}

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

.socials {
    display: flex;
    gap: 16px;
}

.socials a:hover {
    color: white;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Typography Adjustments */
    .h1 {
        font-size: 2.5rem;
    }

    .h2 {
        font-size: 2rem;
    }

    .h3 {
        font-size: 1.25rem;
    }

    /* Header Adjustments */
    .main-header {
        height: auto;
        padding: 15px 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo {
        margin-bottom: 5px;
    }

    /* Hero Section Adjustments */
    .hero-section {
        margin-top: 0;
        padding-top: 20px;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 15px;
    }

    .hero-logo-large {
        font-size: 3.5rem; /* Reduced from 8rem */
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .hero-subtitle {
        font-size: 1.5rem; /* Reduced from 2.5rem */
        margin-bottom: 60px;
    }

    .hero-desc-cn {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Mission Section Adjustments */
    .mission-section {
        padding: 60px 20px;
    }

    .mission-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .mission-module-single {
        padding: 20px;
        gap: 20px;
    }

    /* Deploy Section Adjustments */
    .deploy-section {
        padding: 60px 20px;
    }

    .deploy-form {
        grid-template-columns: 1fr; /* Stack form inputs */
    }

    /* Footer Adjustments */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .socials {
        justify-content: center;
    }
}