* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E83D7A;
    --primary-dark: #D22869;
    --primary-light: #FF6B9D;
    --secondary-color: #7B61FF;
    --accent-color: #FFB800;
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A68;
    --text-light: #8E8EA8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F8FC;
    --bg-gradient: linear-gradient(135deg, #FFE8F0 0%, #E8F0FF 100%);
    --bg-gradient-hero: linear-gradient(135deg, #667eea 0%, #E83D7A 100%);
    --border-color: #E5E7EB;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(232, 61, 122, 0.2);
    --shadow-primary: 0 8px 24px rgba(232, 61, 122, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    width: 100%;
    max-width: 100vw;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
}

a, button, input, textarea, select {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    touch-action: manipulation;
}

a, button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header {
    padding-top: env(safe-area-inset-top, 0px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 取消不必要的全局inline-flex，仅保留对按钮/重要交互元素 */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: unset;
    min-width: unset;
    display: inline;
    align-items: initial;
    justify-content: initial;
}

/* 保留按钮/导航链接的44px触摸标准 */
.btn,
.nav-links a,
.mobile-menu-toggle,
.faq-toggle,
.news-more,
.keyword-grid a,
.tag-link,
.version-card .btn,
.download-card-body .btn,
.breadcrumb a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-links a,
.keyword-grid a,
.tag-link,
.news-more,
.breadcrumb a {
    min-height: 40px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 12px 32px rgba(232, 61, 122, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #5B44D9 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(123, 97, 255, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #9D89FF 0%, var(--secondary-color) 100%);
    box-shadow: 0 12px 32px rgba(123, 97, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    font-size: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    margin-top: 72px;
    padding: 80px 0 100px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(80px);
}

.hero::before {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    right: -100px;
}

.hero::after {
    width: 350px;
    height: 350px;
    background: var(--secondary-color);
    bottom: -100px;
    left: -100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: rgba(232, 61, 122, 0.1);
    border: 1px solid rgba(232, 61, 122, 0.2);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.hero-tags span {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-tags span:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.hero-tags a.tag-link {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-tags a.tag-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-tip {
    font-size: 14px;
    color: var(--text-secondary);
    background: rgba(255, 184, 0, 0.08);
    border-left: 3px solid var(--accent-color);
    padding: 12px 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-tip strong {
    color: var(--primary-color);
}

/* ========= 面包屑导航 ========= */
.breadcrumb-nav {
    padding-top: 92px;
    padding-bottom: 10px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 13.5px;
    color: var(--text-light);
    padding: 10px 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li + li::before {
    content: "/";
    color: var(--text-light);
    margin-right: 10px;
    opacity: 0.6;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb li span[aria-current="page"] {
    color: var(--primary-color);
    font-weight: 500;
}

/* ========= 新闻资讯卡片 ========= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 10px;
}

.news-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 61, 122, 0.2);
}

.news-card:hover::after {
    opacity: 1;
}

.news-date {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.news-card h3 {
    font-size: 19px;
    margin-bottom: 14px;
    line-height: 1.45;
    color: var(--text-primary);
    transition: color 0.2s;
}

.news-card:hover h3 {
    color: var(--primary-color);
}

.news-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 18px;
    text-align: justify;
}

.news-more {
    display: inline-flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-more:hover {
    transform: translateX(4px);
    color: var(--primary-dark);
}

/* ========= 教程指南 ========= */
.guide-article {
    max-width: 1000px;
    margin: 0 auto;
}

.guide-article h3 {
    font-size: 22px;
    margin: 36px 0 18px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.4;
}

.guide-article h3:first-child {
    margin-top: 0;
}

.guide-article p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.95;
    margin-bottom: 16px;
    text-align: justify;
}

.guide-article p a {
    color: var(--primary-color);
    font-weight: 600;
}

.guide-article p code,
.guide-article li code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--primary-dark);
    font-family: Consolas, Monaco, "Courier New", monospace;
    border: 1px solid var(--border-color);
    word-break: break-all;
}

.guide-article ul,
.guide-article ol {
    margin: 18px 0;
    padding-left: 26px;
}

.guide-article ul li,
.guide-article ol li {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.95;
    margin-bottom: 14px;
    position: relative;
}

.guide-article ul li strong,
.guide-article ol li strong {
    color: var(--text-primary);
    background: linear-gradient(transparent 65%, rgba(232, 61, 122, 0.15) 65%);
    padding: 0 2px;
}

/* ========= 漫画排行榜 ========= */
.ranking-section {
    padding: 100px 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.ranking-section::before,
.ranking-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(80px);
}

.ranking-section::before {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: -150px;
    right: -150px;
}

.ranking-section::after {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    bottom: -150px;
    left: -150px;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.ranking-col {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 34px 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.ranking-col:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ranking-col h3 {
    font-size: 22px;
    margin-bottom: 26px;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px dashed var(--border-color);
    position: relative;
}

.ranking-col:first-child h3 {
    color: var(--primary-dark);
}

.ranking-col:last-child h3 {
    color: var(--secondary-color);
}

.ranking-col h3::before {
    content: '🔥';
    margin-right: 8px;
}

.ranking-list {
    list-style: none;
    counter-reset: manga-counter;
}

.ranking-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.25s ease;
    border-radius: var(--radius-sm);
    counter-increment: manga-counter;
}

.ranking-list li:last-child {
    border-bottom: none;
}

.ranking-list li:hover {
    background: linear-gradient(90deg, rgba(232, 61, 122, 0.06), transparent);
    transform: translateX(4px);
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: #fff;
    box-shadow: 0 4px 10px rgba(160, 160, 160, 0.3);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: #fff;
    box-shadow: 0 4px 10px rgba(205, 127, 50, 0.3);
}

.ranking-list li div {
    flex: 1;
    min-width: 0;
}

.ranking-list li a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
    text-decoration: none;
    line-height: 1.4;
}

.ranking-list li:hover a {
    color: var(--primary-color);
}

.ranking-list li small {
    display: block;
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.6;
}

.ranking-tip {
    text-align: center;
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(232, 61, 122, 0.15);
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.ranking-tip a {
    font-weight: 700;
}

/* ========= 响应式 ========= */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 10px auto 0;
    }
    .ranking-grid {
        grid-template-columns: 1fr;
    }
    .breadcrumb-nav {
        padding-top: 84px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding-top: 80px;
    }
    .breadcrumb {
        font-size: 12.5px;
    }
    .news-card {
        padding: 24px 20px;
    }
    .news-card h3 {
        font-size: 17px;
    }
    .news-card p {
        font-size: 14px;
    }
    .guide-article h3 {
        font-size: 19px;
        padding-left: 12px;
    }
    .guide-article p,
    .guide-article ul li,
    .guide-article ol li {
        font-size: 14.5px;
    }
    .ranking-section {
        padding: 60px 0;
    }
    .ranking-col {
        padding: 26px 20px;
    }
    .ranking-col h3 {
        font-size: 19px;
        margin-bottom: 20px;
        padding-bottom: 14px;
    }
    .ranking-list li {
        padding: 12px 8px;
        gap: 10px;
    }
    .ranking-list li a {
        font-size: 14px;
    }
    .ranking-list li small {
        font-size: 11.5px;
    }
    .rank-num {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 14px;
    }
    .ranking-tip {
        font-size: 14px;
        padding: 16px 18px;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(232, 61, 122, 0.2) 0%, rgba(123, 97, 255, 0.2) 100%);
    border-radius: 40px;
    transform: rotate(5deg) scale(0.95);
    z-index: -1;
}

.hero-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.keyword-links {
    padding: 40px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.keyword-title {
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.keyword-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.keyword-grid a {
    display: block;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.keyword-grid a:hover {
    background: linear-gradient(135deg, rgba(232, 61, 122, 0.08) 0%, rgba(123, 97, 255, 0.08) 100%);
    border-color: rgba(232, 61, 122, 0.2);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 61, 122, 0.1);
    background: var(--bg-primary);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 44px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.download-section {
    padding: 100px 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(100px);
    top: -200px;
    left: -200px;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.download-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.download-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(232, 61, 122, 0.25);
}

.download-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 24px 70px rgba(232, 61, 122, 0.35);
}

.download-card-header {
    padding: 28px 28px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.download-card-header h3 {
    font-size: 22px;
    margin: 8px 0 0;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-new {
    background: linear-gradient(135deg, #00C9A7 0%, #00A885 100%);
    color: #fff;
}

.badge-hot {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    animation: pulse-badge 2s ease-in-out infinite;
}

.badge-stable {
    background: linear-gradient(135deg, var(--accent-color) 0%, #FF9800 100%);
    color: #fff;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(232, 61, 122, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(232, 61, 122, 0);
    }
}

.download-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-list {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.feature-list li {
    padding: 8px 0;
    font-size: 14.5px;
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.screenshots {
    padding: 100px 0;
    background: var(--bg-primary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    transition: all 0.4s ease;
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
}

.screenshot-item img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.screenshot-item p {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.versions {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.version-card {
    padding: 36px 30px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.version-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 61, 122, 0.2);
}

.version-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: inline-block;
}

.version-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--primary-color);
}

.version-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
    text-align: left;
}

.faq {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.faq-item:hover {
    border-color: rgba(232, 61, 122, 0.1);
}

.faq-item.active {
    border-color: rgba(232, 61, 122, 0.2);
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 20px;
    user-select: none;
}

.faq-question h3 {
    font-size: 17px;
    line-height: 1.5;
    flex: 1;
}

.faq-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 3000px;
    padding: 0 28px 28px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}

.faq-answer h4 {
    font-size: 16px;
    margin: 18px 0 10px;
    color: var(--text-primary);
}

.faq-answer ul,
.faq-answer ol {
    margin: 14px 0;
    padding-left: 24px;
}

.faq-answer ul li,
.faq-answer ol li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 8px;
}

.reviews {
    padding: 100px 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(100px);
    bottom: -200px;
    right: -200px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.review-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-info {
    flex: 1;
    min-width: 0;
}

.review-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.review-date {
    font-size: 13px;
    color: var(--text-light);
}

.review-rating {
    color: var(--accent-color);
    font-size: 16px;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.review-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
}

.seo-content {
    padding: 100px 0;
    background: var(--bg-primary);
}

.seo-article {
    max-width: 900px;
    margin: 0 auto;
}

.seo-article h3 {
    font-size: 24px;
    margin: 36px 0 18px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-primary);
}

.seo-article h3:first-child {
    margin-top: 0;
}

.seo-article p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.95;
    margin-bottom: 16px;
    text-align: justify;
}

.seo-article ul,
.seo-article ol {
    margin: 18px 0;
    padding-left: 24px;
}

.seo-article ul li,
.seo-article ol li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.95;
    margin-bottom: 12px;
}

.seo-article ul li strong,
.seo-article ol li strong {
    color: var(--text-primary);
}

.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-tags a {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-tags a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.footer-links h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12.5px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.float-download {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 999;
    display: none;
}

.btn-float {
    flex-direction: column;
    gap: 4px !important;
    padding: 14px 18px !important;
    line-height: 1.2 !important;
    box-shadow: 0 12px 36px rgba(232, 61, 122, 0.5);
    animation: float-pulse 2s ease-in-out infinite;
}

.btn-float .btn-icon {
    font-size: 22px;
}

.btn-float span:last-child {
    font-size: 13px;
    font-weight: 700;
}

@keyframes float-pulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 32px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .download-card.featured {
        transform: none;
        order: -1;
    }

    .download-card.featured:hover {
        transform: translateY(-10px);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .versions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .navbar {
        height: 64px;
    }

    .logo {
        font-size: 24px;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        width: 100%;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 16px 24px;
        font-size: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-download {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        margin-top: 64px;
        padding: 50px 0 70px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-badge {
        font-size: 14px;
        padding: 8px 18px;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 34px;
        letter-spacing: -1px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .hero-tags {
        gap: 8px;
        margin-bottom: 28px;
    }

    .hero-tags span {
        font-size: 13px;
        padding: 6px 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn-lg {
        padding: 16px 24px;
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-image {
        max-width: 360px;
        margin: 0 auto;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .section-header p {
        font-size: 15px;
    }

    .keyword-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .keyword-grid a {
        padding: 12px 10px;
        font-size: 13px;
    }

    .features,
    .download-section,
    .screenshots,
    .versions,
    .faq,
    .reviews,
    .seo-content {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 28px 22px;
    }

    .feature-icon {
        font-size: 38px;
        margin-bottom: 14px;
    }

    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .download-cards {
        gap: 18px;
    }

    .download-card-header {
        padding: 22px 22px 16px;
    }

    .download-card-header h3 {
        font-size: 19px;
    }

    .download-card-body {
        padding: 22px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .screenshot-item p {
        font-size: 13px;
    }

    .versions-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .version-card {
        padding: 28px 22px;
    }

    .version-icon {
        font-size: 48px;
    }

    .version-card h3 {
        font-size: 19px;
    }

    .faq-item {
        margin-bottom: 14px;
    }

    .faq-question {
        padding: 18px 18px;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .faq-toggle {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 18px;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 20px;
    }

    .faq-answer p,
    .faq-answer ul li,
    .faq-answer ol li {
        font-size: 14.5px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .review-card {
        padding: 22px;
    }

    .review-avatar {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .seo-article h3 {
        font-size: 20px;
        margin: 28px 0 14px;
    }

    .seo-article p,
    .seo-article ul li,
    .seo-article ol li {
        font-size: 15px;
    }

    .footer {
        padding: 50px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer-logo {
        font-size: 26px;
    }

    .footer-links h4 {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .footer-bottom {
        padding: 22px 0;
    }

    .float-download {
        display: block;
        right: 14px;
        bottom: 16px;
    }

    .btn-float {
        padding: 12px 14px !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-tags span {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-stats {
        gap: 8px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

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

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    .hero-tags a.tag-link {
        font-size: 12px;
        padding: 6px 12px;
        min-height: 36px;
    }

    .hero-tip {
        font-size: 13px;
        padding: 10px 14px;
    }

    .breadcrumb-nav {
        padding-top: 72px;
    }

    .breadcrumb {
        font-size: 12px;
        gap: 4px 8px;
        padding: 6px 0;
        flex-wrap: wrap;
    }

    .breadcrumb li + li::before {
        margin-right: 8px;
    }

    .faq-toggle {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .faq-question {
        min-height: 56px;
    }

    .news-card {
        padding: 20px 18px;
    }

    .news-date {
        font-size: 11.5px;
        padding: 3px 12px;
    }

    .news-card h3 {
        font-size: 16px;
    }

    .news-card p {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .guide-article h3 {
        font-size: 17px;
        padding-left: 10px;
        border-left-width: 3px;
    }

    .guide-article p,
    .guide-article ul li,
    .guide-article ol li {
        font-size: 13.5px;
        line-height: 1.85;
    }

    .guide-article ul,
    .guide-article ol {
        padding-left: 20px;
    }

    .ranking-section {
        padding: 48px 0;
    }

    .ranking-col {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .ranking-col h3 {
        font-size: 17px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .ranking-list li {
        padding: 10px 6px;
        gap: 8px;
    }

    .rank-num {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 13px;
        margin-top: 1px;
        border-radius: 6px;
    }

    .ranking-list li a {
        font-size: 13px;
        line-height: 1.35;
    }

    .ranking-list li small {
        font-size: 11px;
        line-height: 1.45;
    }

    .ranking-tip {
        font-size: 13px;
        padding: 14px 16px;
        line-height: 1.7;
    }

    .download-card-body ul li {
        font-size: 13.5px;
        padding: 8px 0;
    }

    .feature-card {
        padding: 24px 18px;
    }

    .feature-card p {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .version-card p {
        font-size: 13.5px;
        line-height: 1.7;
    }

    .version-icon {
        font-size: 42px;
    }

    .screenshot-item p {
        font-size: 12.5px;
        padding: 8px 6px;
    }
}

/* ========== 超小屏 iPhone SE 375px 以下 ========== */
@media (max-width: 375px) {
    .container {
        padding: 0 14px;
    }

    .navbar {
        height: 58px;
    }

    .logo {
        font-size: 21px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        top: 58px;
    }

    .hero {
        margin-top: 58px;
        padding: 40px 0 56px;
    }

    .hero-content h1 {
        font-size: 25px;
        letter-spacing: -0.5px;
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-subtitle {
        font-size: 14.5px;
        margin-bottom: 18px;
        line-height: 1.65;
    }

    .hero-badge {
        font-size: 12.5px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .hero-tags {
        gap: 6px;
        margin-bottom: 22px;
    }

    .hero-tags span,
    .hero-tags a.tag-link {
        font-size: 11.5px;
        padding: 5px 10px;
        min-height: 34px;
    }

    .hero-tip {
        font-size: 12.5px;
        padding: 10px 12px;
        line-height: 1.6;
    }

    .hero-buttons {
        gap: 10px;
        margin-bottom: 32px;
    }

    .btn-lg {
        padding: 14px 18px;
        font-size: 15px;
        line-height: 1.3;
        word-break: break-all;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .stat-item {
        padding: 14px 8px;
    }

    .stat-number {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 10.5px;
        line-height: 1.3;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 13px;
        line-height: 1.65;
    }

    .features,
    .download-section,
    .screenshots,
    .versions,
    .faq,
    .reviews,
    .seo-content {
        padding: 48px 0;
    }

    .feature-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .feature-icon {
        font-size: 34px;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .download-cards {
        gap: 14px;
    }

    .download-card-header {
        padding: 18px 18px 14px;
    }

    .download-card-header h3 {
        font-size: 17px;
    }

    .download-card-header .version {
        font-size: 11.5px;
        margin-top: 2px;
    }

    .download-card-body {
        padding: 18px;
    }

    .download-card-info-item {
        padding: 8px 0;
        font-size: 12.5px;
    }

    .download-card-body ul li {
        font-size: 12.5px;
        padding: 6px 0 6px 24px;
    }

    .download-card-body ul li::before {
        left: 2px;
        top: 10px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .screenshot-item {
        border-radius: 12px;
    }

    .screenshot-item p {
        font-size: 11.5px;
        padding: 6px 4px;
    }

    .version-card {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .version-card h3 {
        font-size: 17px;
    }

    .version-icon {
        font-size: 40px;
    }

    .version-card p {
        font-size: 12.5px;
        margin-bottom: 18px;
    }

    .keyword-grid {
        gap: 8px;
    }

    .keyword-grid a {
        padding: 10px 8px;
        font-size: 12px;
        min-height: 38px;
        border-radius: 10px;
        line-height: 1.3;
    }

    .faq-question {
        padding: 14px 14px;
        min-height: 52px;
        gap: 10px;
    }

    .faq-question h3 {
        font-size: 14px;
        line-height: 1.5;
    }

    .faq-toggle {
        min-width: 36px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 14px 16px;
    }

    .faq-answer p,
    .faq-answer ul li,
    .faq-answer ol li {
        font-size: 13px;
        line-height: 1.75;
    }

    .breadcrumb-nav {
        padding-top: 66px;
    }

    .breadcrumb {
        font-size: 11.5px;
    }

    .news-card {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .news-card h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .news-card p {
        font-size: 12.5px;
        margin-bottom: 14px;
    }

    .news-date {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .guide-article h3 {
        font-size: 16px;
        margin: 26px 0 12px;
    }

    .guide-article p,
    .guide-article ul li,
    .guide-article ol li {
        font-size: 12.5px;
        line-height: 1.8;
    }

    .ranking-section {
        padding: 44px 0;
    }

    .ranking-col {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .ranking-col h3 {
        font-size: 16px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .ranking-list li {
        padding: 9px 4px;
        gap: 8px;
    }

    .rank-num {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 12.5px;
        border-radius: 5px;
    }

    .ranking-list li a {
        font-size: 12.5px;
        margin-bottom: 2px;
    }

    .ranking-list li small {
        font-size: 10.5px;
    }

    .ranking-tip {
        margin-top: 24px;
        font-size: 12px;
        padding: 12px 14px;
    }

    .review-card {
        padding: 18px;
        border-radius: 16px;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .review-header h4 {
        font-size: 14px;
    }

    .review-date {
        font-size: 11px;
    }

    .review-stars {
        font-size: 13px;
    }

    .review-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .seo-article h3 {
        font-size: 17px;
        margin: 24px 0 12px;
    }

    .seo-article p,
    .seo-article ul li,
    .seo-article ol li {
        font-size: 13px;
        line-height: 1.8;
    }

    .footer {
        padding: 42px 0 0;
    }

    .footer-content {
        gap: 26px;
        padding-bottom: 26px;
    }

    .footer-logo {
        font-size: 23px;
    }

    .footer-desc {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-links h4 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .footer-links li a {
        font-size: 13px;
        padding: 6px 0;
    }

    .footer-bottom {
        padding: 18px 0 100px;
        font-size: 12px;
    }

    .footer-bottom .container {
        gap: 8px;
    }
}

/* ========== 移动端横屏 & 折叠屏外屏适配（481-812px，短高度） ========== */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .hero {
        margin-top: 60px;
        padding: 30px 0 44px;
    }

    .hero-content h1 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .hero-buttons {
        margin-bottom: 28px;
        flex-direction: row;
    }

    .hero-buttons .btn {
        width: calc(50% - 8px);
    }

    .features,
    .download-section,
    .screenshots,
    .versions,
    .faq,
    .reviews,
    .seo-content {
        padding: 48px 0;
    }

    .features-grid,
    .screenshots-grid,
    .download-cards,
    .versions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .keyword-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== iPhone 刘海屏/灵动岛 安全区细化（iOS 11+） ========== */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        body {
            padding-left: env(safe-area-inset-left, 0px);
            padding-right: env(safe-area-inset-right, 0px);
        }

        .navbar {
            padding-left: env(safe-area-inset-left, 0px);
            padding-right: env(safe-area-inset-right, 0px);
        }

        .footer-bottom {
            padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        }

        .float-download {
            right: calc(14px + env(safe-area-inset-right, 0px));
            bottom: calc(16px + env(safe-area-inset-bottom, 0px));
            z-index: 999;
        }

        .btn-float {
            min-height: 50px !important;
            padding: 12px 18px !important;
            border-radius: 25px !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            box-shadow: 0 10px 28px rgba(232, 61, 122, 0.5) !important;
            animation: floatPulse 2.4s ease-in-out infinite;
        }

        @keyframes floatPulse {
            0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 10px 28px rgba(232, 61, 122, 0.5); }
            50% { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 36px rgba(232, 61, 122, 0.65); }
        }
    }

    @media (max-width: 375px) {
        .float-download {
            right: calc(12px + env(safe-area-inset-right, 0px));
            bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        }

        .btn-float {
            min-height: 46px !important;
            padding: 10px 16px !important;
            font-size: 14px !important;
        }
    }
}

@media (min-width: 769px) {
    .float-download {
        display: none !important;
    }
}

/* ========== 移动端滚动条美化（Chrome/Safari iOS） ========== */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(232, 61, 122, 0.3);
        border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:active {
        background: rgba(232, 61, 122, 0.6);
    }

    /* 长标题/URL不溢出 */
    h1, h2, h3, h4, h5, h6, .review-text, .news-card h3, .version-card h3, .ranking-list a,
    .faq-question h3, .section-header h2 {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* 防止代码/长串文本撑破容器 */
    code, pre, kbd, samp {
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    /* 图片点击预览优化：无选中蓝框 */
    img {
        user-select: none;
        -webkit-user-drag: none;
    }
}

/* =========================================================
 *  移动端体验专项优化 v2（仅移动端生效，不污染PC）
 *  覆盖机型：iPhone 6/7/8/SE (375) / iPhone 12/13/14 (390) /
 *           iPhone 14 Pro Max / Plus (430) / 安卓 360-500px
 * =======================================================*/

/* —— 触摸级优化：禁用 iOS 默认双击缩放、300ms 点击延迟、长按菜单 —— */
@media (max-width: 768px) {
    html {
        -ms-text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        touch-action: manipulation;
        overscroll-behavior-y: contain;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        -webkit-user-select: none;
        user-select: none;
    }

    /* 可输入/可选择文本区域恢复可选 */
    input, textarea, select, .footer-disclaimer, p, li, h1, h2, h3, h4, pre, code {
        -webkit-user-select: text;
        user-select: text;
    }

    /* 所有交互按钮轻触反馈（兼容iOS Safari） */
    .btn,
    .mobile-menu-toggle,
    .faq-question,
    .faq-toggle,
    .keyword-grid a,
    .footer-tags a,
    .footer-links a,
    .version-card .btn,
    .download-card .btn,
    .tag-link,
    .ranking-list a {
        transition: transform .12s ease, box-shadow .18s ease, background .15s ease, border-color .15s ease;
        -webkit-tap-highlight-color: rgba(232, 61, 122, 0.12);
    }

    .btn:active,
    .keyword-grid a:active,
    .footer-tags a:active,
    .footer-links a:active,
    .tag-link:active,
    .ranking-list a:active {
        transform: scale(0.97);
    }

    .mobile-menu-toggle:active,
    .faq-question:active {
        background: rgba(232, 61, 122, 0.08);
    }
}

/* —— 768px 通用移动断点：Logo / Hero / 卡片 / 导航 / Footer —— */
@media (max-width: 768px) {

    /* 顶部导航logo：显示图片+文字，不换行 */
    .logo {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        min-width: 0;
        font-weight: 800;
    }
    .logo img {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0;
        margin-right: 8px !important;
    }
    .logo span {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
        display: inline-block;
    }

    /* 移动端菜单按钮不显示「立即下载」时，把右侧空间留给汉堡按钮 */
    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        touch-action: none;
    }
    .nav-download {
        display: none;
    }

    /* H1 字号压缩 + 字间距 + 防溢出（移动端SEO标题展示） */
    .hero-content h1 {
        font-size: 29px;
        line-height: 1.28;
        letter-spacing: -0.3px;
        margin-bottom: 12px;
        padding-right: 4px;
    }
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.7;
    }
    .hero-badge {
        font-size: 12.5px;
        padding: 7px 14px;
    }

    /* Hero按钮列全宽，点击区域≥48px */
    .hero-buttons .btn {
        min-height: 50px;
        border-radius: 14px;
        font-weight: 700;
        justify-content: center;
    }

    /* 统计卡片：圆角+字号更小+不换行截断 */
    .stat-item {
        padding: 16px 10px;
        border-radius: 16px;
        text-align: center;
    }
    .stat-number {
        font-size: 22px;
        line-height: 1.1;
    }
    .stat-label {
        font-size: 11.5px;
        line-height: 1.35;
        padding: 0 4px;
        word-break: break-word;
    }

    /* 关键词网格：卡片化间距+等高+2行截断（规范写法，兼容webkit和现代浏览器） */
    .keyword-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 10px;
    }
    .keyword-grid a {
        display: -webkit-box;               /* 旧WebKit专用：配合 -webkit-line-clamp 截断 */
        display: flex;                      /* 现代浏览器优先：flex 居中 */
        -webkit-box-orient: vertical;       /* WebKit: 垂直排列（截断必备） */
        -webkit-line-clamp: 2;              /* WebKit: 2 行截断 */
        line-clamp: 2;                      /* 标准：2 行截断 */
        overflow: hidden;
        text-overflow: ellipsis;
        align-items: center;                /* flex 垂直居中（旧 box 忽略，现代有效） */
        justify-content: center;            /* flex 水平居中 */
        text-align: center;
        min-height: 48px;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 13px;
        line-height: 1.35;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    /* WebKit 内核下补充 -webkit-box-align/pack（因为 flex 属性对 -webkit-box 不生效） */
    @supports (display: -webkit-box) {
        .keyword-grid a {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-box-pack: center;
            -webkit-box-align: center;
            -webkit-line-clamp: 2;
        }
    }

    /* 功能特色卡片：两列 + 更紧凑内边距 */
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .feature-card {
        padding: 18px 14px 16px;
        border-radius: 16px;
    }
    .feature-icon {
        font-size: 26px;
        width: 48px;
        height: 48px;
        line-height: 48px;
        border-radius: 14px;
        margin-bottom: 10px;
    }
    .feature-card h3 {
        font-size: 15px;
        margin-bottom: 6px;
        line-height: 1.35;
        word-break: break-word;
    }
    .feature-card p {
        font-size: 13px;
        line-height: 1.6;
    }

    /* 下载卡片：卡片外边距+内边距压缩 */
    .download-cards {
        gap: 14px;
    }
    .download-card {
        padding: 18px 16px 16px;
        border-radius: 18px;
    }
    .download-card-header h3 {
        font-size: 17px;
    }
    .feature-list li {
        font-size: 13.5px;
        line-height: 1.6;
        padding: 3px 0;
    }
    .download-card-body .btn {
        min-height: 50px;
        border-radius: 14px;
        font-weight: 700;
        font-size: 15px;
        margin-top: 14px;
    }

    /* 四图展示：单列+居中 */
    .screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .screenshot-item {
        border-radius: 16px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 6px 18px rgba(232, 61, 122, 0.08);
    }
    .screenshot-item img {
        width: 100%;
        height: auto;
        display: block;
    }
    .screenshot-item p {
        font-size: 12.5px;
        padding: 10px 12px 12px;
        line-height: 1.5;
        text-align: center;
        margin: 0;
    }

    /* 版本大全：2列，字小一点 */
    .versions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .version-card {
        padding: 18px 14px;
        border-radius: 16px;
        text-align: center;
    }
    .version-icon {
        font-size: 32px;
        width: 56px;
        height: 56px;
        line-height: 56px;
        margin: 0 auto 10px;
        border-radius: 16px;
    }
    .version-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
        line-height: 1.35;
    }
    .version-card p {
        font-size: 12.5px;
        line-height: 1.65;
        margin-bottom: 12px;
        text-align: left;
    }
    .version-card .btn {
        min-height: 44px;
        border-radius: 12px;
        font-size: 13px;
        font-weight: 700;
        padding: 8px 10px;
    }

    /* FAQ 问答：按钮加大+文字左对齐无截断 */
    .faq-list {
        gap: 12px;
    }
    .faq-item {
        border-radius: 16px;
        overflow: hidden;
    }
    .faq-question {
        padding: 14px 12px 14px 16px;
        min-height: 60px;
        align-items: center;
    }
    .faq-question h3 {
        font-size: 15px;
        line-height: 1.5;
        padding-right: 8px;
    }
    .faq-toggle {
        width: 42px !important;
        height: 42px !important;
        flex-shrink: 0;
        border-radius: 12px;
        font-size: 22px;
    }
    .faq-answer {
        padding: 0 16px 16px;
    }
    .faq-answer p,
    .faq-answer ol li,
    .faq-answer ul li {
        font-size: 14px !important;
        line-height: 1.75 !important;
    }

    /* 排行榜：单列表格，减小排名数字 */
    .ranking-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ranking-col {
        padding: 20px 16px;
        border-radius: 18px;
    }
    .ranking-col h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }
    .rank-num {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
        flex-shrink: 0;
    }
    .ranking-list a {
        font-size: 14.5px;
        line-height: 1.4;
    }
    .ranking-list small {
        font-size: 11.5px;
        line-height: 1.4;
    }
    .ranking-tip p {
        font-size: 13px;
        line-height: 1.7;
    }

    /* SEO正文区：段落行距更疏 + h3字号控制 */
    .seo-article {
        padding: 28px 18px;
        border-radius: 20px;
    }
    .seo-article h3 {
        font-size: 17px !important;
        line-height: 1.45 !important;
        margin: 20px 0 10px;
    }
    .seo-article p,
    .seo-article li {
        font-size: 14.5px !important;
        line-height: 1.85 !important;
    }

    /* Footer：三栏合一，每块都占满 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-logo {
        display: inline-flex;
        align-items: center;
        font-size: 20px;
        font-weight: 800;
        margin-bottom: 10px;
    }
    .footer-logo img {
        width: 32px !important;
        height: 32px !important;
    }
    .footer-brand p {
        font-size: 13.5px;
        line-height: 1.75;
        word-break: break-word;
    }
    .footer-tags {
        gap: 6px;
    }
    .footer-tags a {
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 10px;
        line-height: 1.4;
        min-height: 32px;
    }
    .footer-links h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .footer-links ul li a {
        padding: 10px 0;
        font-size: 14px;
        line-height: 1.5;
        min-height: 44px;
        word-break: break-word;
    }
    .footer-bottom p {
        font-size: 12px;
        line-height: 1.7;
    }
    .footer-bottom .footer-disclaimer {
        font-size: 11.5px;
        line-height: 1.7;
    }

    /* 悬浮下载按钮：iOS底部安全区 + 不被Home指示条遮挡，可点击≥48x48 */
    .float-download {
        z-index: 999;
        right: calc(14px + env(safe-area-inset-right, 0px));
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }
    .btn-float {
        min-width: 100px;
        min-height: 48px !important;
        padding: 12px 18px !important;
        border-radius: 999px !important;
        font-size: 14px !important;
        font-weight: 700;
        box-shadow: 0 10px 28px rgba(232, 61, 122, .45), 0 0 0 6px rgba(255, 255, 255, 0.6);
    }
    .btn-float .btn-icon {
        margin-right: 6px;
    }

    /* 面包屑导航：换行+字小+防遮挡顶部 */
    .breadcrumb-nav {
        padding-top: 68px;
    }
    .breadcrumb {
        font-size: 12px;
        padding: 8px 0 6px;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }
    .breadcrumb li {
        line-height: 1.55;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .breadcrumb li:last-child {
        white-space: normal;
        word-break: break-word;
        max-width: 100%;
    }
}

/* —— 430px 以下（iPhone 14 Pro Max / 大屏安卓旗舰）再压缩 —— */
@media (max-width: 430px) {
    .hero-content h1 { font-size: 26px; line-height: 1.25; }
    .hero-subtitle { font-size: 14.5px; }
    .section-header h2 { font-size: 22px; }
    .feature-card h3 { font-size: 14.5px; }
    .screenshots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .versions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .version-card h3 { font-size: 14.5px; }
    .download-card-header h3 { font-size: 16px; }
    .keyword-grid a { font-size: 12.5px; padding: 9px 10px; min-height: 46px; }
    .footer-tags a { font-size: 11.5px; padding: 5px 9px; }
}

/* —— 375px 以下（iPhone 6/7/8/SE 小屏）极限压缩 —— */
@media (max-width: 375px) {
    .container { padding: 0 13px; }

    .logo img { width: 34px !important; height: 34px !important; margin-right: 6px !important; }
    .logo { font-size: 19px; letter-spacing: -0.3px; }
    .navbar { height: 56px; }
    .hero { margin-top: 56px; padding: 34px 0 48px; }

    .hero-content h1 { font-size: 23px; line-height: 1.25; letter-spacing: -0.5px; margin-bottom: 10px; }
    .hero-subtitle { font-size: 13.5px; line-height: 1.7; margin-bottom: 16px; }
    .hero-badge { font-size: 11.5px; padding: 6px 12px; margin-bottom: 14px; }
    .hero-tags span,
    .hero-tags a.tag-link { font-size: 11px; padding: 5px 9px; min-height: 32px; }
    .hero-tip { font-size: 12px; padding: 9px 11px; line-height: 1.6; }

    .btn-lg { padding: 13px 16px; font-size: 14.5px; min-height: 48px; border-radius: 13px; }
    .hero-stats { gap: 6px; }
    .stat-item { padding: 12px 6px; border-radius: 14px; }
    .stat-number { font-size: 17px; }
    .stat-label { font-size: 10px; }

    .section-header { margin-bottom: 24px; }
    .section-header h2 { font-size: 20px; line-height: 1.35; }
    .section-header p { font-size: 13px; }

    .keyword-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .keyword-grid a { min-height: 44px; padding: 8px 10px; font-size: 12px; line-height: 1.35; border-radius: 11px; }

    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .feature-card { padding: 15px 12px 14px; border-radius: 14px; }
    .feature-icon { width: 44px; height: 44px; line-height: 44px; font-size: 22px; border-radius: 12px; }
    .feature-card h3 { font-size: 14px; }
    .feature-card p { font-size: 12.5px; line-height: 1.6; }

    .download-cards { gap: 12px; }
    .download-card { padding: 16px 14px 14px; border-radius: 16px; }
    .download-card-header h3 { font-size: 15px; }
    .badge { font-size: 10.5px; padding: 3px 8px; }
    .feature-list li { font-size: 12.5px; padding: 2px 0; }
    .download-card-body .btn { min-height: 48px; border-radius: 13px; font-size: 14px; }

    .screenshots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .screenshot-item { border-radius: 14px; }
    .screenshot-item p { font-size: 11.5px; padding: 8px 8px 10px; }

    .versions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .version-card { padding: 16px 11px; border-radius: 14px; }
    .version-icon { width: 50px; height: 50px; line-height: 50px; font-size: 28px; border-radius: 14px; }
    .version-card h3 { font-size: 13.5px; }
    .version-card p { font-size: 12px; line-height: 1.6; margin-bottom: 10px; }
    .version-card .btn { min-height: 42px; border-radius: 11px; font-size: 12px; padding: 7px 8px; }

    .faq-list { gap: 10px; }
    .faq-item { border-radius: 14px; }
    .faq-question { padding: 12px 10px 12px 13px; min-height: 56px; }
    .faq-question h3 { font-size: 13.5px; line-height: 1.5; }
    .faq-toggle { width: 38px !important; height: 38px !important; font-size: 20px; border-radius: 10px; }
    .faq-answer { padding: 0 13px 14px; }
    .faq-answer p,
    .faq-answer ol li,
    .faq-answer ul li { font-size: 13px !important; line-height: 1.75 !important; }

    .ranking-col { padding: 18px 14px; border-radius: 16px; }
    .ranking-col h3 { font-size: 15px; margin-bottom: 12px; padding-bottom: 10px; }
    .ranking-list li { padding: 9px 0; }
    .rank-num { width: 28px; height: 28px; line-height: 28px; font-size: 12px; border-radius: 8px; }
    .ranking-list a { font-size: 13.5px; line-height: 1.4; }
    .ranking-list small { font-size: 11px; }

    .seo-article { padding: 22px 14px; border-radius: 18px; }
    .seo-article h3 { font-size: 15.5px !important; margin: 18px 0 8px; padding-left: 10px; }
    .seo-article p,
    .seo-article li { font-size: 13.5px !important; line-height: 1.8 !important; }

    .breadcrumb-nav { padding-top: 64px; }
    .breadcrumb { font-size: 11px; padding: 6px 0 4px; gap: 4px 6px; }
    .breadcrumb li { max-width: 160px; }

    .footer-content { gap: 24px; }
    .footer-logo { font-size: 18px; }
    .footer-logo img { width: 30px !important; height: 30px !important; }
    .footer-brand p { font-size: 12.5px; line-height: 1.75; }
    .footer-tags { gap: 5px; }
    .footer-tags a { font-size: 11px; padding: 5px 8px; border-radius: 9px; min-height: 30px; }
    .footer-links h4 { font-size: 14px; margin-bottom: 10px; }
    .footer-links ul li a { padding: 9px 0; font-size: 13px; min-height: 42px; }
    .footer-bottom p { font-size: 11.5px; line-height: 1.7; }
    .footer-bottom .footer-disclaimer { font-size: 10.5px; line-height: 1.7; }

    .btn-float {
        min-height: 46px !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
        min-width: 92px;
    }
    .float-download {
        right: calc(10px + env(safe-area-inset-right, 0px));
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
}

/* —— 320px 极端小屏（老安卓/老iPhone SE第一代）再降级 —— */
@media (max-width: 320px) {
    .hero-content h1 { font-size: 21px; letter-spacing: -0.3px; }
    .hero-subtitle { font-size: 13px; }
    .section-header h2 { font-size: 19px; }
    .features-grid,
    .keyword-grid,
    .versions-grid,
    .screenshots-grid { gap: 8px; }
    .feature-card, .version-card, .download-card { padding: 12px 10px; }
    .footer-links ul li a { font-size: 12.5px; }
    .btn-lg { padding: 11px 14px; font-size: 13.5px; }
    .btn-float { font-size: 12.5px !important; padding: 9px 14px !important; min-height: 44px !important; }
}

/* —— 横屏适配（手机横屏）：Hero压缩+双列 —— */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .hero { padding: 24px 0 30px; margin-top: 56px; }
    .hero-content h1 { font-size: 24px; }
    .hero-subtitle { font-size: 13px; margin-bottom: 14px; }
    .hero-buttons { margin-bottom: 22px; }
    .features-grid,
    .screenshots-grid,
    .versions-grid,
    .download-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .float-download { display: none; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}
