/* * "Apple-Style" 灵感设计
 * 1. 重置与全局字体
 * 2. 布局与容器
 * 3. 导航栏
 * 4. 英雄(Hero)区域
 * 5. 功能(Features)区域
 * 6. 下载(Download)区域
 * 7. 页脚(Footer)
 * 8. 辅助类与响应式
 * 9. 原始微信提示样式
*/

/* 1. 重置与全局字体 */
:root {
    --apple-blue: #0071e3;
    --apple-gray: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-light: #86868b;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #fff;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. 布局与容器 */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    box-sizing: border-box;
}

section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

section:last-of-type {
    border-bottom: none;
}

h1, h2, h3, h4, p {
    margin: 0;
}

h1 {
    font-size: 2.8rem; /* 44px */
    font-weight: 600;
    letter-spacing: .004em;
    margin-top: 12px;
}

h2 {
    font-size: 2.2rem; /* 36px */
    font-weight: 600;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

/* 3. 导航栏 */
.global-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #ddd;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    font-size: 14px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
}
.nav-logo img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
}
.nav-links a:hover {
    color: var(--apple-blue);
}
.nav-links .lang-active {
    color: var(--text-primary);
    font-weight: 500;
}

/* 4. 英雄(Hero)区域 */
.hero {
    padding-top: 80px;
    padding-bottom: 80px;
}
.hero .app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hero .tagline {
    font-size: 1.5rem; /* 24px */
    color: var(--text-secondary);
    margin-top: 15px;
    font-weight: 400;
}
.hero .quote {
    font-size: 1.2rem; /* 19px */
    color: var(--text-primary);
    margin-top: 25px;
    font-weight: 500;
    line-height: 1.6;
}
.hero-cta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.cta-button {
    display: inline-block;
    background-color: var(--apple-blue);
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 980px; /* Pill shape */
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.cta-button:hover {
    background-color: #0077ed;
    transform: scale(1.05);
}
.cta-button.secondary {
    background-color: var(--apple-gray);
    color: var(--apple-blue);
}
.cta-button.secondary:hover {
    background-color: #e8e8ed;
}

/* 5. 功能(Features)区域 */
.features {
    background-color: var(--apple-gray);
    text-align: left;
}
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.feature-card ul {
    list-style-type: none;
    padding-left: 0;
    color: var(--text-secondary);
    line-height: 1.8;
}
.feature-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}
.feature-card li::before {
    content: '✓'; /* 使用 ✓ 或 ★ 符号 */
    position: absolute;
    left: 0;
    color: var(--apple-blue);
    font-weight: 600;
}
.feature-card.cute li::before {
    content: '✨';
}

/* 6. 下载(Download)区域 */
.download-stores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background-color: var(--apple-gray);
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
}
.store-link:hover {
    background-color: #e8e8ed;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.store-link strong {
    color: var(--apple-blue);
    display: block;
    font-size: 0.9em;
    margin-top: 4px;
}
.xiaomi-note {
    margin-top: 30px;
    padding: 15px;
    background-color: #fff8e1;
    border: 1px solid #ffecb3;
    border-radius: 8px;
    color: #614a00;
    font-size: 14px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* 7. 页脚(Footer) */
footer {
    background-color: var(--apple-gray);
    padding: 40px 0;
    font-size: 12px;
    color: var(--text-light);
}
.footer-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    text-align: center;
}
.footer-links {
    margin-bottom: 15px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 10px;
}
.footer-links a:hover {
    color: var(--apple-blue);
}
.legal-links {
    margin-top: 15px;
    line-height: 1.6;
}
.legal-links a {
    color: var(--text-light);
    text-decoration: none;
}
.legal-links a:hover {
    text-decoration: underline;
}
.legal-links img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin: 0 3px;
}

/* 8. 辅助类与响应式 */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; } /* 36px */
    h2 { font-size: 1.8rem; } /* 30px */
    .hero .tagline { font-size: 1.2rem; } /* 19px */

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

/* 9. 原始微信提示样式 */
#open-in-browser-tip {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 14px 15px;
    border-radius: 10px;
    z-index: 1000;
    font-size: 14px;
    line-height: 1.55;
}
#open-in-browser-tip:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0,0,0,0.7);
    position: absolute;
    bottom: 100%;
    right: 10px;
}

