* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF2691;
    --primary-dark: #E01F7D;
    --primary-light: #FF5FB3;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FAFAFA;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(255, 38, 145, 0.15);
    --shadow-hover: 0 6px 20px rgba(255, 38, 145, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.bx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .bx-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a.nav-active {
    color: #FF2691;
}

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFF0F7 0%, #FFE8F2 100%);
}

.hero .bx-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-features {
    margin-bottom: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-dark);
}

.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 38, 145, 0.2);
    border-bottom: 1px solid rgba(255, 38, 145, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 280px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(255, 38, 145, 0.2);
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--text-dark);
    color: var(--white);
    min-width: 200px;
}

.btn-large:hover {
    background: #222;
    transform: translateY(-2px);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    background: #FFFFFF;
    color: #FF2691;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #FF2691;
    min-width: 200px;
}

.btn-download:hover {
    background: #FF2691;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 38, 145, 0.25);
}

@media (max-width: 768px) {
    .btn-download {
        width: 100%;
        max-width: 280px;
    }
}

.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

.screenshots {
    padding: 80px 0;
    background: var(--white);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.screenshot-card {
    text-align: center;
}

.screenshot-card img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    max-height: 500px;
    object-fit: contain;
}

.screenshot-card:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.screenshot-card p {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 16px;
}

.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFE8F2 0%, #FFF0F7 100%);
    text-align: center;
}

.download-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 旧 footer 已被下方共享页脚覆盖 */

@media (max-width: 768px) {
    .hero .bx-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-features {
        text-align: left;
    }

    .hero-stats {
        gap: 20px;
        padding: 15px 0;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 220px;
    }

    .nav {
        display: none;
    }

    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 280px;
    }
}

/* ========== 共享页脚 ========== */
.footer {
    background: #2D1B28;
    color: #999999;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    line-height: 2;
}

.footer a {
    color: #999999;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-legal-row {
    margin: 6px 0;
}

.footer-legal-row a {
    margin: 0 4px;
}

.footer-copyright {
    margin-top: 16px;
}

.footer-report {
    margin-top: 16px;
}

.footer-report a {
    color: #999999;
}

/* ========== 关于我们页 ========== */
.about-page {
    padding: 120px 0 80px;
    background: #FAFAFA;
}

.about-page .bx-container {
    max-width: 860px;
}

.about-hero-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 48px;
}

.about-section {
    background: #FFFFFF;
    padding: 36px 40px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.about-section-title {
    font-size: 20px;
    font-weight: bold;
    color: #FF2691;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FFE8F2;
}

.about-section p {
    font-size: 15px;
    color: #333333;
    line-height: 2;
    margin: 10px 0;
    text-indent: 2em;
}

.about-section p:first-of-type {
    margin-top: 0;
}

/* 联系我们按钮模块 */
.about-section-contact {
    text-align: center;
    background: linear-gradient(135deg, #FFF0F7 0%, #FFE8F2 100%);
}

.about-section-contact p {
    text-indent: 0;
    color: #666666;
    margin-bottom: 24px;
}

.about-contact-btn {
    display: inline-block;
    padding: 13px 40px;
    background: #FF2691;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.about-contact-btn:hover {
    background: #E01F7D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 38, 145, 0.25);
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-item {
    padding: 14px 0 14px 18px;
    border-left: 3px solid #FF2691;
    margin-bottom: 18px;
}

.advantage-item:last-child {
    margin-bottom: 0;
}

.advantage-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
}

.advantage-item-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    font-size: 15px;
    color: #333333;
    line-height: 2;
    margin: 8px 0;
    padding-left: 18px;
    position: relative;
}

.contact-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF2691;
}

.contact-list li a {
    color: #3a7bd5;
    text-decoration: none;
}

.contact-list li a:hover {
    text-decoration: underline;
}

.qualification-list {
    list-style: none;
    padding: 0;
}

.qualification-list li {
    font-size: 14px;
    color: #666666;
    line-height: 2;
    padding-left: 18px;
    position: relative;
}

.qualification-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF2691;
}

@media (max-width: 768px) {
    .about-page {
        padding: 100px 0 60px;
    }

    .about-hero-title {
        font-size: 28px;
    }

    .about-section {
        padding: 24px 20px;
    }

    .about-section-title {
        font-size: 18px;
    }

    .about-section p {
        text-indent: 1.5em;
    }
}

/* ========== 用户协议页 ========== */
.policy-page {
    padding: 120px 0 40px;
    background: #FAFAFA;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

.policy-page .bx-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
}

.policy-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 0 24px;
}

.policy-tab {
    padding: 10px 28px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #CCCCCC;
    background: #FFFFFF;
    color: #666666;
    transition: all 0.2s;
    outline: none;
}

.policy-tab:first-child {
    border-radius: 4px 0 0 4px;
}

.policy-tab:last-child {
    border-radius: 0 4px 4px 0;
}

.policy-tab:hover {
    border-color: #FF2691;
    color: #FF2691;
}

.policy-tab.active {
    background: #FF2691;
    color: #FFFFFF;
    border-color: #FF2691;
}

.policy-frame-wrapper {
    flex: 1;
    width: 100%;
}

.policy-frame {
    width: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .policy-page {
        padding: 100px 0 0;
    }

    .policy-tab {
        padding: 8px 18px;
        font-size: 14px;
    }

    .policy-frame {
        min-height: 400px;
    }
}