/* 基础样式重置 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    padding-top: 70px;
    color: #333;
    line-height: 1.5;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
}

.header__logo {
    height: 46px;
    margin: auto;
}

/* 主要内容区域 */
.main-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 顶部横幅区域 */
.hero {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}

.hero__info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 600;
}
.hero__title > img {
    display: inline-block;
    width: 24px;
    padding-right: 8px;
    box-sizing: content-box;
}

.hero__subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.8;
}

.hero__image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.hero__image>img {
    border-radius: 15px;
    border: 1px solid #eee;
    padding: 5px;
}

/* 下载按钮区域 */
.download-buttons {
    margin-top: 20px;
}

.download-buttons__list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0;
}

.download-button {
    display: block;
    padding: 12px 20px;
    color: white;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 160px;
}

.download-button--primary {
    background-color: #3b82f6;
}

.download-button--primary:hover {
    background-color: #2563eb;
}

.download-button--secondary {
    background-color: #10b981;
}

.download-button--secondary:hover {
    background-color: #059669;
}


/* 内容板块 */
.content-section {
    margin: 30px auto;
    max-width: 960px;
}

.section-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 内容卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
    align-items: stretch;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-3px);
}

.card__content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c3e50;
    border-left: 4px solid #ae65f4;
    padding-left: 12px;
}

.card__text {
    font-size: 16px;
    font-weight: 300;
    color: #555;
    line-height: 1.8;
    flex: 1;
}

/* 页脚样式 */
.footer {
    text-align: center;
    background: #f1f5f9;
    padding: 25px 20px;
    color: #666;
    font-size: 14px;
    margin-top: 40px;
}

.footer__copyright {
    margin-top: 8px;
}

/* 相关链接 */
.related-links {
    margin-top: 30px;
}

.related-links__title {
   

    text-align: center;
    margin-bottom: 40px;
    color: #555;
    font-weight: 300;
    font-size: 2.2em;
    letter-spacing: 1px;
}

.related-links__list {
    padding: 0;
}

.related-links__item {
    margin-bottom: 8px;
}

.related-links__link {
    display: block;
    padding: 10px 12px;
    background-color: #f1f5f9;
    color: #334155;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.related-links__link:hover {
    background-color: #e2e8f0;
}



.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f1f5f9;
    color: #3b82f6;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.tag:hover {
    background-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.2);
}

/* 响应式调整 */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
    }

    .hero__info {
        padding: 40px 30px 40px 80px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 22px;
        font-weight: 300;
    }
}

@media (max-width: 767px) {
    .hero {
        flex-direction: column-reverse;
    }

    .hero__info {
        padding: 25px 20px;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__subtitle {
        font-size: 15px;
        margin-bottom: 10px;
        font-weight: 300;
    }

    .download-buttons__list {
        flex-direction: column;
    }

    .download-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }

    .header__logo {
        height: 40px;
    }

    .main-content {
        padding: 15px;
    }

    .section-title {
        font-size: 22px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* 手风琴折叠 */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-title {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
    font-weight: 300;
    font-size: 2.2em;
    letter-spacing: 1px;
}

.accordion-item {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}


.accordion-question {
    background-color: #f1f5f9;
    color: #555;
    padding: 18px 25px;
    cursor: pointer;
    position: relative;
    font-weight: 300;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.accordion-question:hover {
    background-color: #e2e8f0;
    color: #444;
}

.accordion-item.active .accordion-question {
    background-color: #e2e8f0;
    border-left-color: rgba(174,101,244,.6);
}

.accordion-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

.accordion-item.active .accordion-question::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion-answer {
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content {
    padding: 0 25px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease 0.1s;
}

.accordion-item.active .accordion-answer {
    max-height: 500px;
}

.accordion-item.active .accordion-content {
    opacity: 1;
    transform: translateY(0);
    padding: 25px;
    line-height: 1.8;
    padding-top: 15px;
}