/* css/style.css */
:root {
    --primary: #1890e6;
    --primary-dark: #096dd9;
    --primary-light: #e6f7ff;
    --shadow: 0 8px 30px rgba(24, 144, 230, 0.35);
    --radius: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
    background: #f8faff;
    color: #1a1a2e;
    padding-bottom: 100px; /* 为底部悬浮留空间 */
}

a { text-decoration: none; color: var(--primary); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ===== 顶部导航 ===== */
.header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.logo img { height: 38px; width: auto; display: block; }
.logo span { color: #222; font-weight: 700; }

.nav-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
}
.nav-links a {
    color: #555;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}
.nav-links a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.nav-links .tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 12px;
    border-radius: 20px;
    border: none;
}

/* ===== Hero 区域 ===== */
.hero {
    text-align: center;
    padding: 40px 0 20px;
}
.hero h1 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #1890e6, #096dd9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 16px;
    color: #666;
    margin: 12px auto 28px;
    max-width: 500px;
}

/* ===== 下载按钮 ===== */
.download-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0 15px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    min-width: 160px;
    box-shadow: var(--shadow);
}
.btn:active { transform: scale(0.95); }
.btn-android { background: linear-gradient(135deg, #3ddc84, #00a86b); }
.btn-ios { background: linear-gradient(135deg, #5856d6, #3a38a0); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.btn-white:hover { background: #f0f7ff; }

/* ===== 截图区 ===== */
.screenshots { padding: 30px 0; }
.screenshots h2 { text-align: center; font-size: 24px; margin-bottom: 24px; }
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}
.screenshot-grid img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border: 2px solid #fff;
    transition: transform 0.2s;
    background: #e9ecef;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}
.screenshot-grid img:hover { transform: scale(1.02); }

/* ===== 功能亮点 ===== */
.features { padding: 20px 0 30px; }
.features h2 { text-align: center; font-size: 24px; margin-bottom: 24px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}
.feature-item {
    background: #fff;
    padding: 24px 16px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary);
}
.feature-item .icon { font-size: 32px; display: block; margin-bottom: 8px; }
.feature-item h3 { font-size: 16px; margin-bottom: 4px; }
.feature-item p { font-size: 13px; color: #888; }

/* ===== 页脚 & 免责声明 ===== */
.site-footer {
    background: #fff;
    padding: 30px 0 20px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}
.footer-disclaimer {
    background: #fff7e6;
    border-left: 5px solid #fa8c16;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    color: #d46b08;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-disclaimer strong { color: #d4380d; }

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 15px;
    color: #555;
    padding: 12px 0;
    background: #f8faff;
    border-radius: 12px;
    margin: 10px 0;
}
.footer-stats strong { color: var(--primary); font-size: 18px; }
.footer-copy { text-align: center; font-size: 13px; color: #aaa; padding-top: 16px; }

/* ===== 悬浮底部下载栏 (滚动时固定) ===== */
.download-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(24, 144, 230, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(24, 144, 230, 0.3);
    border-top: 1px solid rgba(255,255,255,0.2);
}
.download-fixed .btn {
    flex: 1;
    max-width: 180px;
    padding: 12px 16px;
    font-size: 15px;
    min-width: unset;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-radius: 40px;
}
.download-fixed .btn-android { background: #fff; color: #00a86b; }
.download-fixed .btn-ios { background: #fff; color: #3a38a0; }
.download-fixed .btn span { font-size: 18px; }

/* ===== 响应式 (移动优先) ===== */
@media (max-width: 600px) {
    .hero h1 { font-size: 26px; }
    .btn { padding: 14px 24px; font-size: 16px; min-width: 130px; }
    .download-fixed .btn { font-size: 14px; padding: 10px 12px; }
    .footer-stats { gap: 16px; font-size: 13px; }
    .nav-links { gap: 8px; font-size: 12px; }
    .logo { font-size: 17px; }
    .logo img { height: 30px; }
    .screenshot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
    .download-group .btn { width: 100%; }
    .download-fixed { flex-direction: column; align-items: center; gap: 8px; }
    .download-fixed .btn { max-width: 100%; width: 100%; }
    body { padding-bottom: 140px; }
}
/* ===== 隐藏友链（视觉淡化，安全可抓取） ===== */
..hidden-friendly-links {
    text-align: center;
    font-size: 12px;
    color: #fafafa;           /* 调到最淡，几乎看不见 */
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
}
.hidden-friendly-links a {
    color: #f5f5f5;           /* 链接颜色也调到最淡 */
    text-decoration: none;
    margin: 0 4px;
}
.hidden-friendly-links a:hover {
    color: #1890e6;           /* 鼠标悬停时才显示 */
}