/* 全局样式 */
* {
    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;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    text-align: center;
    padding: 80px 0 60px 0; /* 上下间距加大 */
    margin-bottom: 48px;   /* 底部间距加大 */
}

.header h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.2em;
    color: #7f8c8d;
}

/* 主要内容区域 */
.main-content {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.10);
    padding: 48px 40px 40px 40px; /* 四周间距加大 */
    margin-bottom: 60px;   /* 底部间距加大 */
}

/* 搜索框样式 */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

#qqInput {
    width: 300px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

#qqInput:focus {
    border-color: #3498db;
}

#searchBtn {
    padding: 15px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

#searchBtn:hover {
    background: #2980b9;
}

/* 结果容器样式 */
.result-container {
    display: none;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.result-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* 特征网格样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-card p {
    color: #7f8c8d;
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 32px 0 24px 0; /* 上下间距加大 */
    color: #7f8c8d;
}

/* 首页弹窗模块（可一键隐藏/删除，便于客户部署时管理） */
.copyright-modal {
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.18);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}
.copyright-modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(52,152,219,0.18);
    padding: 38px 32px 28px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    color: #2c3e50;
    position: relative;
}
copyright-modal-content h2 {
    color: #3498db;
    margin-bottom: 18px;
    font-size: 1.5em;
}
copyright-modal-content p {
    color: #7f8c8d;
    font-size: 1.08em;
    margin-bottom: 18px;
}
copyright-modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.2s;
}
copyright-modal-close:hover {
    background: #c0392b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 40px 0 24px 0;
        margin-bottom: 24px;
    }

    .search-box {
        flex-direction: column;
    }

    #qqInput {
        width: 100%;
    }

    .main-content {
        padding: 20px 8px 20px 8px;
        margin-bottom: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 16px 0 12px 0;
    }
}
