/*
Theme Name: 鸿裕助手主题
Theme URI: https://newczb.cn/
Author: 您的名字
Author URI: https://yourdomain.com
Description: 体育数据服务平台落地页风格主题，适配鸿裕助手/乐达助手类项目，支持响应式+邀请制展示+双端下载引导
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: hongyu-assistant
Tags: sports, landing-page, responsive, mobile-first
*/

/* 全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}
a { text-decoration: none; color: #1890ff; transition: 0.3s; }
a:hover { color: #096dd9; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 顶部品牌区 */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.site-logo {
    font-size: 22px;
    font-weight: 700;
    color: #1890ff;
}
.site-logo span { color: #fa8c16; }

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.hero-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.hero-desc {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 30px;
}
.download-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-download {
    background: #fff;
    color: #1890ff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}
.btn-download:hover {
    transform: translateY(-2px);
    color: #096dd9;
}
.btn-download.ios { background: #1d1d1f; color: #fff; }

/* 功能卡片区 */
.features-section { padding: 60px 0; background: #fff; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #1890ff;
    margin: 12px auto 0;
    border-radius: 2px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    transition: 0.3s;
    border: 1px solid #eee;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(24,144,255,0.12);
    border-color: #1890ff;
}
.feature-icon {
    width: 56px;
    height: 56px;
    background: #e6f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    color: #1890ff;
}
.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.feature-desc { color: #666; font-size: 0.95rem; }

/* 常见问题（折叠） */
.faq-section { padding: 60px 0; background: #f8f9fa; }
.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
}
.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: #1890ff;
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
    content: "−";
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
    background: #fafafa;
    color: #555;
}
.faq-item.active .faq-answer {
    padding: 0 24px 18px;
    max-height: 500px;
}

/* 产品优势 */
.advantages-section { padding: 60px 0; background: #fff; }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.advantage-item {
    text-align: center;
    padding: 20px;
}
.advantage-icon {
    width: 48px;
    height: 48px;
    background: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #1890ff;
    font-weight: 700;
}
.advantage-title {
    font-weight: 600;
    margin-bottom: 6px;
}
.advantage-desc { color: #777; font-size: 0.9rem; }

/* 页脚 */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 0 20px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-qrcode {
    margin: 20px 0;
}
.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin: 0 auto;
    background: #fff;
    padding: 8px;
}
.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 1rem; padding: 0 16px; }
    .download-btns { flex-direction: column; align-items: center; }
    .btn-download { width: 100%; max-width: 300px; justify-content: center; }
    .section-title { font-size: 1.5rem; }
    .features-grid, .advantages-grid { grid-template-columns: 1fr; }
}