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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #1a1a2e;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
}

.nav-menu a:hover {
    color: #4a90e2;
}

.lang-switcher {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.arrow {
    font-size: 0.7rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 0.7rem 1rem;
    color: #333;
    cursor: pointer;
}

.lang-dropdown li:hover {
    background: #f0f0f0;
}

.lang-dropdown li:first-child {
    border-radius: 4px 4px 0 0;
}

.lang-dropdown li:last-child {
    border-radius: 0 0 4px 4px;
}

.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%), 
                url('https://images.unsplash.com/photo-1677442136019-21780ecad995?w=1600') center/cover;
    color: #fff;
    padding: 150px 2rem 100px;
    text-align: center;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

section {
    padding: 80px 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.product-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.features {
    background: #f8f9fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    min-width: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: bold;
}

.feature-item ul {
    list-style: none;
    padding: 0;
}

.feature-item ul li {
    padding: 0.8rem 0;
    padding-left: 0;
    position: relative;
    line-height: 1.8;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item ul li:last-child {
    border-bottom: none;
}

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 行业解决方案 */
.solutions {
    text-align: center;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.solution-card {
    position: relative;
    min-height: 280px;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1557821552-17105176677c?w=800');
}

.solution-card:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1511512578047-dfb367046420?w=800');
}

.solution-card:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1485846234645-a62644f84728?w=800');
}

.solution-card:nth-child(4) {
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=800');
}

.solution-card:nth-child(5) {
    background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=800');
}

.solution-card:nth-child(6) {
    background-image: url('https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=800');
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.solution-card > * {
    position: relative;
    z-index: 2;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1.5rem;
}

.solution-card p {
    color: #fff !important;
    line-height: 1.8;
    font-size: 0.95rem;
}

.solutions h2 {
    font-size: 2rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 2rem;
}

.product-card, .news-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card h3, .news-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-item ul li:before {
    content: none;
}

.news-item .date {
    display: block;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.about {
    background: linear-gradient(rgba(248, 249, 250, 0.92), rgba(248, 249, 250, 0.92)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600') center/cover;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.contact {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600') center/cover;
    text-align: center;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

footer {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

/* 资讯中心页面样式 */
.news-section {
    padding: 60px 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1600') center/cover;
    border-radius: 8px;
}

.news-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.8rem 2rem;
    border: none;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #4a5568;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    color: #fff;
}

.category-btn:hover::before {
    opacity: 1;
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.news-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .product-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .news-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
