/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    background-color: #111111;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4CAF50;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #4CAF50;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.btn-secondary:hover {
    background-color: #4CAF50;
    color: #ffffff;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: #888888;
}

.breadcrumb a {
    color: #4CAF50;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 英雄区域 */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23333333" stroke-width="0.5"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
    opacity: 0.8;
}

/* 特性区域 */
.features {
    padding: 4rem 0;
    background-color: #111111;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.feature-card p {
    color: #cccccc;
}

/* 新闻区域 */
.news-section {
    padding: 4rem 0;
    background-color: #0a0a0a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: #111111;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.875rem;
    color: #888888;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.news-card p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.news-card a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.news-card a:hover {
    text-decoration: underline;
}

/* 统计数据 */
.stats {
    padding: 4rem 0;
    background-color: #111111;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333333;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #cccccc;
}

/* 安全保障 */
.security {
    padding: 4rem 0;
    background-color: #0a0a0a;
}

.security-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.security-text {
    flex: 1;
    min-width: 300px;
}

.security-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.security-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.security-features {
    list-style: none;
    margin-bottom: 2rem;
}

.security-features li {
    margin-bottom: 1rem;
    color: #cccccc;
    display: flex;
    align-items: center;
}

.security-features li::before {
    content: '✓';
    color: #4CAF50;
    margin-right: 0.5rem;
    font-weight: bold;
}

.security-image {
    flex: 1;
    min-width: 300px;
}

.security-image img {
    width: 100%;
    border-radius: 8px;
}

/* 页脚 */
.footer {
    background-color: #111111;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333333;
    color: #888888;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-links {
        margin: 1rem 0;
        flex-direction: column;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .cta-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-image {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .news-card, .stat-item {
    animation: fadeIn 0.5s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}