:root {
  --brand-green-deep: #2e7d32;
  --bg-black: #000;
  --border-gray-light: #eee;
  --text-gray-blue: #94a3b8;
}

/* 主容器 */
.container {
    max-width: 1200px; /* PC端宽屏显示 */
    margin: 0 auto;
    padding: 20px;
}
a:hover{text-decoration: none;}
.top_container{text-align: center; padding: 50px 0 0 0;}
/* --- Header / Hero --- */
/* 页面无自有 <header>，需排除统一导航栏的 <header class="head-mobile">，避免污染导航 */
header:not(.head-mobile) {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--card-bg);
    position: relative;
}
.app-logo {  margin-bottom: 20px; }
h1 { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.intro-text { font-size: 18px; color: var(--brand-green); font-weight: 600; }

/* --- 下载区域 --- */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}
.download-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}
.download-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.05); border-color: var(--brand-green); }
.platform-name { font-size: 16px; font-weight: 700; margin-bottom: 15px; display: block; }
.btn-dl {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    background: var(--text-dark);
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}
.btn-dl:hover{color:rgba(255,255,255,0.6); text-decoration: none;}
.dl-ios { background: var(--bg-black); }
.dl-android { background: var(--brand-green); }
.dl-harmony { background: linear-gradient(135deg, var(--bg-black), #1a237e); }

/* 安卓双入口：应用商店(主，实心绿) + 官方安装包(次，描边绿) 上下排列、视觉分主次 */
.dl-android, .dl-android-official { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.dl-android-official {
    background: transparent;
    color: var(--brand-green);
    border: 1.5px solid var(--brand-green);
    padding: 8.5px 24px; /* 抵消边框厚度，与主按钮保持等高 */
}
.dl-android-official:hover { background: var(--brand-green); color: var(--text-white); }

.qr-small { width: 100px; height: 100px; margin: 0 auto; display: block; border: 1px solid var(--border-gray-light); padding: 5px; border-radius: 8px; }

/* --- 内容排版区 --- */
.content-section { padding: 40px 0; }

/* 核心卖点卡片布局 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.text-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    height: 100%;
}
.text-card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}
.text-card h2::before {
    content: "";
    width: 4px;
    height: 20px;
    background: var(--brand-green);
    margin-right: 12px;
    border-radius: 2px;
}
.text-card p { font-size: 15px; color: var(--text-muted); margin-bottom: 10px; }
.highlight-blue { color: var(--brand-blue); font-weight: 600; text-decoration: none; }

/* 特殊：情感化全宽卡片 */
.full-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-deep) 100%);
    color: var(--text-white);
    border: none;
}
.full-card h2 { color: var(--text-white); }
.full-card h2::before { background: var(--text-white); }
.full-card p { color: rgba(255,255,255,0.9); }

/* 引导区域 */
.cta-box {
    text-align: center;
    padding: 80px 0;
    margin-top: 40px;
}
.cta-box h3 { font-size: 24px; margin-bottom: 25px; }
.btn-huge {
    background: var(--brand-green);
    color: var(--text-white);
    padding: 18px 60px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
    transition: var(--transition);
}
.btn-huge:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(76, 175, 80, 0.4); color:rgba(255,255,255,0.6); text-decoration: none;}

/* 页脚 */
footer { text-align: center; color: var(--text-gray-blue); font-size: 12px; padding: 20px 0; border-top: 1px solid var(--border-gray-light); }

/* 响应式调整 */
@media (max-width: 760px) {
    .download-grid, .feature-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 26px; }
    .qr-small { display: none; } /* 移动端隐藏二维码节省空间 */
}
@media (prefers-color-scheme: dark) {
    :root {
        /* 背景与基础色 */
        --bg-body: #12141a;       /* 极深蓝黑背景 */
        --card-bg: #1c1f26;       /* 卡片背景，比底色稍浅，增加浮现感 */
        --bg-gray: #252932;       /* 搜索框、输入框、表头等次级背景 */

        /* 文字色 */
        --text-dark: #e2e8f0;     /* 主文字：浅灰白 */
        --text-muted: #94a3b8;    /* 辅助文字：中灰蓝 */

        /* 边框与线 */
        --border-soft: #2d333f;   /* 线条：深灰色 */

        /* 品牌色在深色下的微调 */
        --brand-green: #4ade80;   /* 调亮一点的绿色，增加对比 */
        --brand-green-light: rgba(74, 222, 128, 0.15);
        --brand-blue: #60a5fa;
        --brand-orange: #fbbf24;
    }
    .platform-name{color: var(--text-muted);}
    .text-card h2{color: var(--text-muted);}
    .text-card p{color: var(--text-dark);}
}

/* 信息页：以行动与阅读层级为主，避免让装饰性卡片抢走下载入口。 */
.container {
    padding: 0 20px 56px;
}
.top_container {
    max-width: 700px;
    margin: 0 auto;
    padding: 64px 0 42px;
}
.app-logo {
    width: auto;
    height: 48px;
    margin: 0 0 18px;
}
.app-eyebrow,
.section-eyebrow {
    margin: 0 0 8px;
    color: var(--brand-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.app-download-title {
    margin: 0 0 14px;
    color: var(--text-dark);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.intro-text {
    margin: 0;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
}
.platform-summary {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}
.download-section {
    margin-top: 12px;
}
.section-intro {
    max-width: 620px;
    margin: 0 0 20px;
}
.section-intro h2 {
    margin: 0 0 8px;
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}
.section-intro > p:last-child {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}
.download-grid {
    gap: 16px;
    margin: 0;
}
.download-card {
    min-height: 280px;
    padding: 24px 20px 20px;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.download-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 193, 87, 0.45);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.platform-name {
    display: block;
    margin: 0 0 6px;
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
}
.download-guide {
    min-height: 42px;
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}
.btn-dl {
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.android-download-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.android-download-actions .btn-dl {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 13px;
    white-space: nowrap;
}
.qr-small {
    width: 92px;
    height: 92px;
    margin: 4px auto 0;
    padding: 4px;
}
.feature-section {
    margin-top: 56px;
}
.feature-intro {
    margin-bottom: 20px;
}
.feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.text-card {
    padding: 22px;
    border-radius: 14px;
}
.text-card h2 {
    margin: 0 0 12px;
    font-size: 17px;
}
.text-card h2::before {
    width: 3px;
    height: 17px;
    margin-right: 10px;
}
.text-card p {
    margin: 0 0 8px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}
.text-card p:last-child {
    margin-bottom: 0;
}
.full-card {
    grid-column: span 2;
    background: #f2fbf5;
    border-color: #ccefd8;
}
.full-card h2 {
    color: var(--text-dark);
}
.full-card h2::before {
    background: var(--brand-green);
}
.full-card p {
    color: #587066;
}
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 56px;
    padding: 28px 32px;
    background: #073b2b;
    border-radius: 16px;
    text-align: left;
}
.cta-box .section-eyebrow {
    color: #8ce8b5;
}
.cta-box h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}
.cta-box p:last-child {
    margin: 0;
    color: rgba(255,255,255,0.74);
    font-size: 14px;
    line-height: 1.7;
}
.btn-huge {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: none;
}
.btn-huge:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 193, 87, 0.24);
    color: #fff;
}
@media (max-width: 760px) {
    .container {
        padding: 0 16px 36px;
    }
    .top_container {
        padding: 42px 0 30px;
    }
    .app-download-title {
        font-size: 28px;
    }
    .intro-text {
        font-size: 16px;
    }
    .download-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .download-card {
        min-height: 0;
        padding: 20px;
    }
    .download-guide {
        min-height: 0;
    }
    .android-download-actions {
        gap: 8px;
    }
    .android-download-actions .btn-dl {
        flex: 1 1 0;
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
    }
    .feature-section {
        margin-top: 40px;
    }
    .full-card {
        grid-column: auto;
    }
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 40px;
        padding: 24px;
    }
    .btn-huge {
        width: 100%;
        text-align: center;
    }
}
@media (prefers-color-scheme: dark) {
    .full-card {
        background: rgba(74, 222, 128, 0.08);
        border-color: rgba(74, 222, 128, 0.24);
    }
    .full-card p {
        color: var(--text-muted);
    }
}
