* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, 'Roboto', 'Helvetica Neue', sans-serif;
    background-color: #fefef7;
    color: #1e1a2f;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 头部样式 */
header {
    background: #0a0a1a;
    color: #e6c87e;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #e6c87e, #c9a545);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo span {
    color: #e6c87e;
    background: none;
    -webkit-background-clip: unset;
}
.logo a {
    color: inherit;
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.nav-links a {
    color: #f0e6d2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #e6c87e;
}

/* 按钮通用 */
.btn-primary {
    display: inline-block;
    background: linear-gradient(95deg, #c9a545, #e6c87e);
    color: #0a0a1a;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(95deg, #e0b55a, #f5da8b);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #e6c87e;
    font-weight: bold;
    padding: 10px 26px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #e6c87e;
    cursor: pointer;
}
.btn-outline:hover {
    background: rgba(230, 200, 126, 0.1);
    transform: translateY(-2px);
    color: #f5da8b;
    border-color: #f5da8b;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, #0f0e1c 0%, #1f1b2e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e6c87e, #ffdd99);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #cfcfdf;
}
/* 模块标题 */
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 16px;
    color: #1e1a2f;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #c9a545;
    border-radius: 3px;
}
section {
    padding: 70px 0;
}
.bg-light {
    background: #f9f7f0;
}
/* 卡片网格 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.card {
    background: white;
    border-radius: 24px;
    padding: 28px 20px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: all 0.2s;
    text-align: center;
    border: 1px solid #f0e2c0;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #c9a545;
}
/* 评价网格 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.testimonial {
    background: white;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-left: 6px solid #e6c87e;
}
.testimonial p {
    font-style: italic;
    margin-bottom: 16px;
}
.user {
    font-weight: bold;
    color: #c9a545;
}
/* FAQ */
.faq-item {
    background: white;
    margin-bottom: 16px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee3cc;
}
.faq-question {
    background: #ffffff;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}
.faq-question:hover {
    background: #fef7e8;
}
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fefbf5;
    border-top: 1px solid transparent;
}
.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 20px 24px;
    border-top-color: #f0e0be;
}
.toggle-icon {
    font-size: 1.4rem;
    font-weight: 300;
}
/* 文章卡片 */
.article-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.article-img {
    height: 180px;
    background: #e9ddc7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(145deg, #e9ddc7, #dacaa8);
}
.article-content {
    padding: 20px;
}
.article-content h3 {
    margin-bottom: 12px;
    color: #1e1a2f;
}
/* 页脚 */
footer {
    background: #0a0a1a;
    color: #cccbd6;
    padding: 48px 0 24px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #e6c87e;
}
.footer-links a {
    color: #ddd;
    text-decoration: none;
    margin-right: 20px;
}
.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #2a253a;
}
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .header-flex {
        flex-direction: column;
    }
    .nav-links {
        justify-content: center;
    }
    .btn-primary {
        padding: 10px 20px;
    }
    .btn-outline {
        padding: 8px 18px;
    }
    section {
        padding: 50px 0;
    }
}
/* app下载指南样式 */
.download-area {
    background: linear-gradient(120deg, #1e2a3a, #0f1722);
    border-radius: 40px;
    padding: 40px;
    color: white;
    text-align: center;
}
.badge-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.badge {
    background: #2d2f42;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 600;
}
.rule-list {
    list-style: none;
    padding: 0;
    text-align: left;
}
.rule-list li {
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
}
.rule-list li:before {
    content: "✦";
    color: #c9a545;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pagination a {
    transition: all 0.3s;
}
.pagination a:hover {
    background: #f0e2c0 !important;
}
.pagination span.page-current {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #c9a545;
    color: white;
    border: 1px solid #c9a545;
    border-radius: 8px;
}
.pagination a.page-num {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: white;
    border: 1px solid #f0e2c0;
    border-radius: 8px;
    text-decoration: none;
    color: #1e1a2f;
}

/* 底部悬浮及回到顶部 */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e6c87e, #c9a545);
    color: #0a0a1a;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}
#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.fixed-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #0a0a1a;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #2a253a;
}
.fixed-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}
.fixed-bottom-nav > div {
    flex: 1;
    text-align: center;
    padding: 10px 0;
}
.fixed-bottom-nav a {
    color: #f0e6d2;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}
.fixed-bottom-nav a:hover, .fixed-bottom-nav a.active {
    color: #e6c87e;
}
.fixed-bottom-nav .icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}
.fixed-bottom-nav .text {
    font-size: 0.75rem;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 65px; /* 防止内容被固定导航遮挡 */
    }
    .fixed-bottom {
        display: block !important;
    }
    #back-to-top {
        bottom: 80px; /* 移动端调整回到顶部按钮位置 */
        right: 20px;
    }
}
@media (min-width: 768px) {
    .fixed-bottom {
        display: none !important;
    }
}
