* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #1e40af;
}
.logoimg {
    height: 70px;
    width: auto;
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 汉堡菜单动画 */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端侧边菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(20px);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 100px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 2rem 0;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 2.5rem;
}

/* 遮罩层 - 修复版本 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden; /* 关键修复：初始状态不可见 */
    transition: all 0.3s ease;
    pointer-events: none; /* 关键修复：初始状态不接收点击事件 */
}

.overlay.active {
    opacity: 1;
    visibility: visible; /* 激活时可见 */
    pointer-events: auto; /* 激活时接收点击事件 */
}

/* 响应式设计 - 修复版本 */
@media (max-width: 768px) {
    /* 隐藏桌面导航 */
    .nav-links {
        display: none;
    }
    /* 显示汉堡菜单 */
    .menu-toggle {
        display: flex;
    }
    /* 显示移动端菜单 */
    .mobile-menu {
        display: block;
    }
    /* 移除这行，因为我们在上面已经正确设置了遮罩层 */
    /* .overlay { display: block; } */
    
    .logoimg {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        right: -100%;
    }

    .mobile-menu.active {
        right: 0;
    }
}

/* Hero Section */
.hero {
    margin-top:70px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;

    background-image: url("/image/banner.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%; /* 强制铺满，允许改变长宽比 */
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 50px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e40af;
    font-weight: bold;
}

.contact-link {
    display: inline-block;
    margin-top: 1rem;
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3b82f6;
}

/* Platform Cards */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.platform-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1.2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.platform-card:hover {
    border-color: #1e40af;
    transform: scale(1.05);
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.platform-logo {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 8px;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

/* Case Studies */
.case-studies {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 100px 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.case-content {
    padding: 2rem;
}

.case-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.contact .section-title {
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 80%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

/* Article Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 100px;
    padding: 50px 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 60px;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.article-image {
    width: 100%;
    height: auto;
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-category {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #1e40af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* No Articles State */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.no-articles-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.no-articles h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.no-articles p {
    color: #64748b;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 2rem;
    }

    .article-content {
        padding: 1.5rem;
    }
}


/* Warehouse Page Styles */
.warehouse-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.warehouse-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.warehouse-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.warehouse-hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #94a3b8;
}

.warehouse-hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1rem !important;
    color: #cbd5e1 !important;
    margin-bottom: 2rem !important;
}

.warehouse-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.warehouse-icon {
    font-size: 8rem;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.flow-diagram {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 100px;
}

.step-icon {
    font-size: 2rem;
}

.flow-step span {
    font-size: 0.9rem;
    text-align: center;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #60a5fa;
}

.warehouse-advantages {
    padding: 100px 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.advantage-card h4 {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
}

.advantage-card p {
    color: #475569;
    margin-bottom: 0.5rem;
}

.en-desc {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
}

.target-audience {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.audience-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.audience-card h4 {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
}

.audience-card ul {
    list-style: none;
    padding: 0;
}

.audience-card li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.audience-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1e40af;
    font-weight: bold;
}

.warehouse-process {
    padding: 100px 0;
    background: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.step-content h4 {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.step-content p {
    color: #475569;
    line-height: 1.6;
}

.warehouse-features {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.features-text h3 {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.features-list strong {
    color: #60a5fa;
}

.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.warehouse-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    font-size: 4rem;
    opacity: 0.3;
}

.diagram-item {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* Responsive Design for Warehouse Page */
@media (max-width: 968px) {
    .hero{
        min-height: 45vh;
    }
    .warehouse-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .warehouse-hero h1 {
        font-size: 2.5rem;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flow-diagram {
        justify-content: center;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
}