/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.logo-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo-china {
    color: #e60012;
    font-weight: 700;
}

.logo-white {
    color: #fff;
    font-weight: 700;
}

.logo-red {
    color: #e60012;
    font-weight: 700;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.3rem;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e60012;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.lang-switch a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.lang-switch a.active,
.lang-switch a:hover {
    color: #fff;
}

.lang-switch span {
    color: #444;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1565043666747-69f6646db940?w=1920') center/cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    color: #e60012;
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .line {
    display: block;
}

.hero h1 .highlight {
    color: #fff;
}

.hero-desc {
    color: #999;
    font-size: 1rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #e60012;
    color: #fff;
}

.btn-primary:hover {
    background: #c4000f;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid #666;
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #666;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* Introduction Section */
.intro {
    padding: 120px 0;
    background: #0a0a0a;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.intro-en {
    color: #e60012;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.intro-desc {
    color: #999;
    font-size: 1rem;
    line-height: 2;
}

.intro-visual {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: absolute;
    width: 200px;
    height: 280px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.visual-card.red {
    display: none;
}

.visual-card.blue {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d1f33 100%);
    right: 0;
    top: 70px;
    z-index: 1;
}

.intro-photo {
    position: absolute;
    right: 80px;
    top: 0;
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Companies Section */
.companies {
    padding: 100px 0;
    background: #0f0f0f;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-en {
    color: #e60012;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 3px;
    background: #e60012;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.company-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border:0.2px solid transparent;
}

.company-card:hover {
    transform: translateY(-5px);
    border-color: #e60012;
}

.card-image {
    height: 180px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.company-card:nth-child(2) .card-image {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=600') center/cover;
}

.company-card:nth-child(3) .card-image {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=600') center/cover;
}

.card-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.card-icon {
    font-size: 3rem;
    z-index: 1;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-desc {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.card-tags span {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.card-link {
    color: #e60012;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.card-link:hover {
    color: #ff1a2e;
}

/* Global Section */
.global {
    padding: 120px 0;
    background: #0a0a0a;
}

.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.global-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.global-en {
    color: #e60012;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.global-desc {
    color: #999;
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 40px;
}

.global-flow {
    display: flex;
    gap: 40px;
}

.flow-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.flow-code {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.flow-label {
    color: #666;
    font-size: 0.85rem;
}

.global-map {
    position: relative;
    height: 350px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.map-point::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #e60012;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(230, 0, 18, 0.5);
}

.map-point.japan {
    top: 20%;
    right: 15%;
}

.map-point.dalian {
    top: 45%;
    right: 35%;
    z-index: 20;
}

.point-label {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
}

.map-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-line {
    fill: none;
    stroke: #e60012;
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    opacity: 0.6;
}

/* 地球图标样式 */
.earth-icon {
    position: absolute;
    left: 30px;
    top: 67%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    z-index: 10;
}

.earth-svg {
    width: 100%;
    height: 100%;
    animation: earthRotate 20s linear infinite;
}

@keyframes earthRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 连接线样式 */
.connection-lines {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.conn-line {
    stroke: #e60012;
    stroke-width: 2;
    stroke-dasharray: 8, 4;
    opacity: 0.8;
    animation: lineFlow 2s linear infinite;
}

.conn-line:nth-child(2) {
    animation-delay: 0.3s;
}

.conn-line:nth-child(3) {
    animation-delay: 0.6s;
}

.conn-line.japan-dalian {
    animation-delay: 0.9s;
    stroke-width: 1.5;
}

@keyframes lineFlow {
    0% {
        stroke-dashoffset: 24;
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-slogan {
    color: #666;
    font-size: 0.9rem;
}

.footer-contact h4,
.footer-japan h4,
.footer-nav h4 {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after,
.footer-japan h4::after,
.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #e60012;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item strong {
    color: #fff;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-japan p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-japan a {
    color: #e60012;
    text-decoration: none;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #444;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #444;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-grid,
    .global-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .intro-visual {
        order: -1;
    }

    .intro-photo {
        right: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 260px;
    }
    
    .visual-card.blue {
        right: 20%;
        top: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .global-flow {
        flex-direction: column;
        gap: 20px;
    }
}
