/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    font-weight: 300;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
}

section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 1.8em;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

/* 简介部分 */
.intro-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.intro-content p {
    margin-bottom: 15px;
}

.intro-content strong {
    color: #667eea;
}

/* 功能特点网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.3em;
    color: #667eea;
    margin-bottom: 10px;
    text-align: center;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* 联系方式 */
.contact-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.contact-info {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.footer-content a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #3498db;
    text-decoration: underline;
}

.beian-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #ecf0f1;
}

.beian-container a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-container a:hover {
    color: #3498db;
    text-decoration: underline;
}

.separator {
    color: #7f8c8d;
    user-select: none;
}

.icp-info {
    color: #ecf0f1;
    font-size: 0.9em;
}

#icp-number {
    color: #3498db;
    font-weight: 600;
}

.domain-info {
    color: #bdc3c7;
    font-size: 0.85em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    section {
        padding: 20px;
    }

    section h2 {
        font-size: 1.5em;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .intro-content,
    .contact-content {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 30px 15px;
    }

    .logo h1 {
        font-size: 1.8em;
    }

    section {
        padding: 15px;
    }

    .feature-card {
        padding: 15px;
    }
}
