/* ==========================================================================
   啵啵浏览器 - 清爽科技蓝风格样式（移动端优先）
   主色调：道奇蓝 #1E90FF + 青色 #00C2CB + 深蓝 #0A2463 + 青绿色 #3E92CC
   ========================================================================== */

/* ===== CSS变量 ===== */
:root {
    --color-primary: #1E90FF;
    --color-primary-dark: #1873CC;
    --color-secondary: #00C2CB;
    --color-accent: #0A2463;
    --color-cyan: #3E92CC;
    --color-green: #00B894;
    --color-text: #2C3E50;
    --color-text-light: #7F8C8D;
    --color-bg: #FFFFFF;
    --color-bg-gray: #F0F7FF;
    --color-bg-dark: #0A2463;
    --color-border: #D6E8FF;
    --color-danger: #E74C3C;

    --gradient-sky: linear-gradient(135deg, #1E90FF 0%, #00C2CB 100%);
    --gradient-ocean: linear-gradient(135deg, #0A2463 0%, #1E90FF 100%);
    --gradient-cyan: linear-gradient(135deg, #00C2CB 0%, #3E92CC 100%);

    --shadow-sm: 0 2px 8px rgba(30, 144, 255, 0.08);
    --shadow-md: 0 6px 20px rgba(30, 144, 255, 0.12);
    --shadow-lg: 0 12px 40px rgba(30, 144, 255, 0.18);
    --shadow-xl: 0 20px 60px rgba(30, 144, 255, 0.25);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    touch-action: manipulation;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }

ul { list-style: none; }

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

.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--color-primary); color: #fff;
    padding: 8px 16px; z-index: 9999;
    border-radius: 0 0 8px 0; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border: none; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600; cursor: pointer;
    min-height: 48px; box-sizing: border-box;
    transition: var(--transition); text-decoration: none; white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.btn-primary {
    background: var(--gradient-sky); color: #fff; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-outline {
    background: transparent; color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; min-height: 56px; }
.btn-xl { padding: 20px 48px; font-size: 17px; border-radius: var(--radius-md); min-height: 64px; }
.btn-icon { font-size: 1.2em; }

/* ===== 顶部公告条 ===== */
.topbar {
    background: var(--gradient-ocean);
    color: #fff; font-size: 13px; padding: 8px 0; text-align: center;
}

/* ===== 头部导航 ===== */
.site-header {
    position: sticky; top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--color-border);
    z-index: 1000;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--color-text); font-weight: 700; }
.brand-logo {
    width: 40px; height: 40px; border-radius: 10px; box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 20px; }
.brand-dot { color: var(--color-primary); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 32px; list-style: none; }
.nav-menu a {
    color: var(--color-text); font-size: 15px; font-weight: 500;
    padding: 8px 0; position: relative;
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    width: 0; height: 2px; background: var(--color-primary);
    transition: var(--transition); transform: translateX(-50%);
}
.nav-menu a:hover::after { width: 100%; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px; background: var(--color-text); transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-btn { padding: 10px 22px; min-height: 44px; }

/* ===== Hero首屏 ===== */
.hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(30, 144, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 194, 203, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
    padding: 60px 0 80px; position: relative; overflow: hidden;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(30, 144, 255, 0.1); color: var(--color-primary);
    padding: 6px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-title {
    font-size: 44px; font-weight: 800; line-height: 1.2;
    color: var(--color-accent); margin-bottom: 20px;
}
.hero-title-accent {
    display: block;
    background: var(--gradient-sky);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc {
    font-size: 17px; color: var(--color-text-light);
    line-height: 1.8; margin-bottom: 28px;
}
.hero-desc strong { color: var(--color-primary); font-weight: 600; }

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin-bottom: 32px; padding: 24px;
    background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.stat-item { text-align: center; border-right: 1px solid var(--color-border); }
.stat-item:last-child { border-right: none; }
.stat-item strong {
    display: block; font-size: 24px; font-weight: 800;
    color: var(--color-primary); margin-bottom: 4px;
}
.stat-item small { font-size: 12px; color: var(--color-text-light); }

.hero-actions { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-meta { font-size: 13px; color: var(--color-text-light); }

/* ===== Hero手机展示 ===== */
.hero-visual {
    position: relative; display: flex; justify-content: center; align-items: center;
    min-height: 500px;
}
.phone-card {
    width: 260px; height: 520px;
    background: var(--color-accent);
    border-radius: 36px; padding: 10px;
    box-shadow: var(--shadow-xl); position: relative;
    animation: floatPhone 4s ease-in-out infinite;
}
@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.phone-notch {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 16px; background: var(--color-accent);
    border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-display {
    width: 100%; height: 100%;
    background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
    border-radius: 28px; overflow: hidden;
    display: flex; flex-direction: column; font-size: 11px;
}
.pd-statusbar {
    display: flex; justify-content: space-between;
    padding: 8px 18px 4px; font-size: 11px; font-weight: 600;
}
.pd-addressbar {
    display: flex; align-items: center; gap: 6px;
    margin: 6px 14px; padding: 8px 12px;
    background: #fff; border-radius: 16px;
    box-shadow: var(--shadow-sm); font-size: 10px;
}
.pd-lock { font-size: 10px; color: var(--color-green); }
.pd-url { flex: 1; color: var(--color-text); }
.pd-go { color: var(--color-primary); font-weight: 700; }

.pd-shortcuts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
    padding: 0 14px 10px;
}
.pd-sc {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.pd-sc small { font-size: 9px; color: var(--color-text); }
.pd-sc-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    background: var(--gradient-sky);
}

.pd-card {
    margin: 0 14px; background: #fff;
    border-radius: 12px; padding: 10px; box-shadow: var(--shadow-sm);
}
.pd-card-title { font-size: 11px; font-weight: 700; margin-bottom: 8px; color: var(--color-primary); }
.pd-news-item {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 0; font-size: 10px;
    color: var(--color-text-light);
}
.pd-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-primary);
}

.pd-toolbar {
    margin-top: auto;
    display: flex; justify-content: space-around;
    padding: 8px 0 12px; background: #fff;
    border-top: 1px solid var(--color-border); font-size: 14px;
}
.pd-toolbar span { color: #ccc; }
.pd-toolbar span.active { color: var(--color-primary); }

/* ===== 浮动徽章 ===== */
.floating-badge {
    position: absolute; background: #fff; border-radius: var(--radius-md);
    padding: 12px 16px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 10px; z-index: 5;
}
.badge-1 {
    top: 40px; left: -20px;
    animation: floatBadge 3s ease-in-out infinite;
}
.badge-2 {
    bottom: 60px; right: -20px;
    animation: floatBadge 3s ease-in-out infinite 1.5s;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.badge-icon { font-size: 24px; }
.floating-badge strong { display: block; font-size: 13px; color: var(--color-text); }
.floating-badge small { font-size: 11px; color: var(--color-text-light); }

/* ===== 面包屑 ===== */
.breadcrumb {
    padding: 16px 0; background: var(--color-bg-gray);
    border-bottom: 1px solid var(--color-border);
}
.breadcrumb-list {
    display: flex; align-items: center; gap: 8px;
    list-style: none; font-size: 14px;
}
.breadcrumb-list a { color: var(--color-text-light); }
.breadcrumb-list a:hover { color: var(--color-primary); }
.breadcrumb-list .sep { color: var(--color-text-light); }
.breadcrumb-list .current { color: var(--color-text); font-weight: 600; }

/* ===== 区块通用 ===== */
.section { padding: 80px 0; }
.section-gray { background: var(--color-bg-gray); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block;
    background: rgba(30, 144, 255, 0.1); color: var(--color-primary);
    padding: 6px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.section-title {
    font-size: 32px; font-weight: 800; color: var(--color-accent);
    margin-bottom: 12px; line-height: 1.3;
}
.section-desc { font-size: 16px; color: var(--color-text-light); }

/* ===== 应用介绍卡片 ===== */
.intro-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 40px;
}
/* 隐私保护：PC 端 2×2 布局 */
#privacy .intro-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.intro-card {
    background: #fff; border-radius: var(--radius-md); padding: 28px;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border: 1px solid var(--color-border);
}
.intro-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.intro-icon {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff; margin-bottom: 16px;
}
.icon-blue { background: linear-gradient(135deg, #1E90FF, #3E92CC); }
.icon-cyan { background: linear-gradient(135deg, #00C2CB, #3E92CC); }
.icon-green { background: linear-gradient(135deg, #00B894, #55EFC4); }
.icon-navy { background: linear-gradient(135deg, #0A2463, #1E90FF); }

.intro-card h3 {
    font-size: 18px; font-weight: 700; color: var(--color-accent);
    margin-bottom: 12px;
}
.intro-card p {
    color: var(--color-text-light); line-height: 1.8; font-size: 15px;
}
.intro-card strong { color: var(--color-primary); font-weight: 600; }

.intro-cta {
    text-align: center; padding: 40px;
    background: var(--gradient-sky);
    border-radius: var(--radius-lg); color: #fff;
}
.intro-cta h3 { font-size: 22px; margin-bottom: 20px; }
.intro-cta .btn {
    background: #fff; color: var(--color-primary);
}
.intro-cta .btn:hover {
    background: var(--color-accent); color: #fff;
}

/* ===== 核心功能列表 ===== */
.features-list {
    display: flex; flex-direction: column; gap: 24px;
}
.feature-item {
    display: flex; gap: 24px; background: #fff;
    border-radius: var(--radius-md); padding: 28px;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border-left: 4px solid var(--color-primary);
}
.feature-item:hover {
    transform: translateX(8px); box-shadow: var(--shadow-md);
}
.feature-num {
    font-size: 36px; font-weight: 800; color: var(--color-primary);
    opacity: 0.3; min-width: 60px; line-height: 1;
}
.feature-content { flex: 1; }
.feature-content h3 {
    font-size: 20px; font-weight: 700; color: var(--color-accent);
    margin-bottom: 10px;
}
.feature-content p {
    color: var(--color-text-light); line-height: 1.8; margin-bottom: 12px;
}
.feature-content strong { color: var(--color-primary); font-weight: 600; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tags li {
    background: var(--color-bg-gray); color: var(--color-primary);
    padding: 4px 12px; border-radius: 12px;
    font-size: 13px; font-weight: 500;
}

/* ===== 使用教程步骤 ===== */
.steps-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 20px; position: relative;
}
.step-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 28px 20px; text-align: center;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    position: relative;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-number {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px;
    background: var(--gradient-sky); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; box-shadow: var(--shadow-sm);
}
.step-icon { font-size: 36px; margin: 16px 0 12px; }
.step-card h3 {
    font-size: 16px; font-weight: 700; color: var(--color-accent);
    margin-bottom: 10px;
}
.step-card p {
    font-size: 14px; color: var(--color-text-light);
    line-height: 1.7; margin-bottom: 12px;
}
.step-card strong { color: var(--color-primary); }
.step-link {
    color: var(--color-primary); font-size: 14px; font-weight: 600;
}

/* ===== 界面展示画廊 ===== */
.showcase-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.showcase-card { text-align: center; }
.showcase-card h3 {
    font-size: 16px; font-weight: 700; color: var(--color-accent);
    margin: 16px 0 4px;
}
.showcase-card p { font-size: 13px; color: var(--color-text-light); }

/* ===== Mini手机组件 ===== */
.mini-phone {
    width: 100%; max-width: 200px; margin: 0 auto;
    aspect-ratio: 9 / 18;
    background: var(--color-accent);
    border-radius: 24px; padding: 6px;
    box-shadow: var(--shadow-md); transition: var(--transition);
}
.showcase-card:hover .mini-phone {
    transform: scale(1.05); box-shadow: var(--shadow-lg);
}
.mp-screen {
    width: 100%; height: 100%; background: #fff;
    border-radius: 18px; overflow: hidden;
    display: flex; flex-direction: column;
    font-size: 9px; color: var(--color-text);
}
.mp-statusbar {
    display: flex; justify-content: space-between;
    padding: 4px 10px 2px; font-size: 8px; font-weight: 600;
}
.mp-header {
    padding: 4px 10px 6px;
}
.mp-address {
    display: flex; align-items: center; gap: 4px;
    padding: 5px 10px;
    background: var(--color-bg-gray);
    border-radius: 10px; font-size: 8px;
}
.mp-shortcuts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    padding: 0 10px 6px;
}
.mp-sc-mini {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.mp-sc-mini span {
    width: 22px; height: 22px; border-radius: 6px;
    background: var(--gradient-sky);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #fff;
}
.mp-sc-mini small { font-size: 7px; color: var(--color-text); }
.mp-news { padding: 0 10px 4px; }
.mp-news-line {
    font-size: 8px; padding: 3px 0;
    color: var(--color-text-light);
    display: flex; align-items: center; gap: 4px;
}
.mp-video {
    margin: 6px 10px; height: 80px; border-radius: 6px;
    background: linear-gradient(135deg, #0A2463, #1E90FF);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px;
}
.mp-video-info {
    padding: 0 10px 4px;
}
.mp-video-info strong { font-size: 9px; display: block; }
.mp-video-info small { font-size: 7px; color: var(--color-text-light); }
.mp-video-btns {
    display: flex; gap: 4px; padding: 0 10px;
}
.mp-btn {
    background: var(--color-bg-gray); color: var(--color-primary);
    padding: 2px 6px; border-radius: 4px; font-size: 8px; font-weight: 600;
}
.mp-dl-item {
    padding: 6px 10px; border-bottom: 1px solid var(--color-border);
}
.mp-dl-head {
    display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.mp-icon-blue {
    width: 22px; height: 22px; border-radius: 6px;
    background: linear-gradient(135deg, #1E90FF, #3E92CC);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #fff;
}
.mp-icon-green {
    width: 22px; height: 22px; border-radius: 6px;
    background: linear-gradient(135deg, #00B894, #55EFC4);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #fff;
}
.mp-dl-head strong { font-size: 9px; }
.mp-dl-head small { font-size: 7px; color: var(--color-text-light); }
.mp-progress {
    height: 3px; background: var(--color-border);
    border-radius: 2px; overflow: hidden; margin-bottom: 2px;
}
.mp-bar {
    height: 100%; background: var(--gradient-sky);
    border-radius: 2px;
}
.mp-note {
    text-align: center; padding: 8px 10px;
    font-size: 8px; color: #aaa;
}
.mp-tabbar {
    margin-top: auto;
    display: flex; justify-content: space-around;
    padding: 4px 0 6px;
    background: #fff; border-top: 1px solid var(--color-border);
    font-size: 12px;
}
.mp-tabbar span { color: #ccc; }
.mp-tabbar span.active { color: var(--color-primary); }

/* ===== 软件对比表 ===== */
.compare-table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); background: #fff;
    position: relative; z-index: 1;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
}
.compare-table {
    width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px;
    position: relative;
}
.compare-table th,
.compare-table td {
    padding: 14px 16px; text-align: center;
    border-bottom: 1px solid var(--color-border);
    -webkit-user-select: text; user-select: text;
}
.compare-table th {
    background: var(--color-bg-gray);
    color: var(--color-text-light);
    font-weight: 600; font-size: 13px;
    position: sticky; top: 0; z-index: 3;
}
.compare-table th.highlight {
    background: var(--gradient-sky); color: #fff;
    z-index: 4;
}
.compare-table td.highlight {
    background: rgba(30, 144, 255, 0.05);
    color: var(--color-primary); font-weight: 600;
}
.compare-table td:first-child {
    text-align: left; color: var(--color-text); font-weight: 500;
    position: sticky; left: 0; background: #fff; z-index: 2;
    box-shadow: 2px 0 4px -2px rgba(30, 144, 255, 0.15);
}
.compare-table th:first-child {
    position: sticky; left: 0; z-index: 5; background: var(--color-bg-gray);
}
.compare-table th.highlight:first-child {
    background: var(--gradient-sky); color: #fff;
}
.compare-table tbody tr:hover {
    background: rgba(30, 144, 255, 0.02);
}

/* ===== 用户评价 ===== */
.reviews-summary {
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 40px; background: #fff;
    border-radius: var(--radius-md); padding: 32px;
    box-shadow: var(--shadow-sm); margin-bottom: 32px; align-items: center;
}
.review-score {
    text-align: center;
    border-right: 1px solid var(--color-border); padding-right: 40px;
}
.review-score strong {
    display: block; font-size: 56px; font-weight: 800;
    color: var(--color-primary); line-height: 1;
}
.review-stars {
    color: var(--color-secondary); font-size: 20px; margin: 8px 0;
}
.review-score small { color: var(--color-text-light); font-size: 13px; }
.review-bars {
    display: flex; flex-direction: column; gap: 8px;
}
.rb-item {
    display: grid; grid-template-columns: 40px 1fr 40px;
    gap: 12px; align-items: center;
    font-size: 13px; color: var(--color-text-light);
}
.rb-bar {
    height: 8px; background: var(--color-bg-gray);
    border-radius: 4px; overflow: hidden;
}
.rb-fill {
    height: 100%; background: var(--gradient-sky);
    border-radius: 4px;
}
.reviews-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.review-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 24px; box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 16px;
}
.av-blue { background: linear-gradient(135deg, #1E90FF, #3E92CC); }
.av-cyan { background: linear-gradient(135deg, #00C2CB, #3E92CC); }
.av-green { background: linear-gradient(135deg, #00B894, #55EFC4); }
.av-navy { background: linear-gradient(135deg, #0A2463, #1E90FF); }
.review-head strong { display: block; font-size: 14px; color: var(--color-text); }
.review-stars-small { color: var(--color-secondary); font-size: 12px; }
.review-card p {
    color: var(--color-text-light); line-height: 1.8;
    margin-bottom: 12px; font-size: 14px;
}
.review-card p strong { color: var(--color-primary); font-weight: 600; }
.review-date { font-size: 12px; color: var(--color-text-light); }

/* ===== 版本更新日志 ===== */
.changelog-list {
    display: flex; flex-direction: column; gap: 16px;
    max-width: 800px; margin: 0 auto;
}
.changelog-item {
    display: grid; grid-template-columns: 100px 100px 1fr;
    gap: 24px; background: #fff;
    border-radius: var(--radius-md); padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition); align-items: center;
}
.changelog-item:hover { box-shadow: var(--shadow-md); }
.changelog-item.latest {
    border-left: 4px solid var(--color-primary);
    background: linear-gradient(135deg, #fff 0%, #F0F7FF 100%);
}
.cl-version {
    font-size: 22px; font-weight: 800; color: var(--color-primary);
}
.cl-date { font-size: 13px; color: var(--color-text-light); }
.cl-content h3 {
    font-size: 16px; font-weight: 700;
    color: var(--color-accent); margin-bottom: 8px;
}
.cl-content li {
    font-size: 14px; color: var(--color-text-light);
    padding: 4px 0; padding-left: 20px; position: relative; list-style: none;
}
.cl-content li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--color-primary); font-weight: 700;
}

/* ===== FAQ常见问题 ===== */
.faq-list {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item summary {
    padding: 16px 20px; font-size: 16px;
    font-weight: 600; color: var(--color-accent);
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    min-height: 52px;
    gap: 12px;
    touch-action: manipulation;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-primary); }
.faq-item summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    border-radius: var(--radius-md);
}
.faq-icon {
    font-size: 24px; color: var(--color-primary);
    transition: transform 0.3s; font-weight: 300;
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 20px 20px; color: var(--color-text-light); line-height: 1.9;
    font-size: 15px;
}
.faq-answer strong { color: var(--color-primary); font-weight: 600; }
.faq-answer p { margin-bottom: 0; line-height: inherit; }

/* ===== 相关搜索导航 ===== */
.kw-nav { padding: 60px 0; }
.kw-tags {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center;
    max-width: 900px; margin: 0 auto;
}
.kw-tags a {
    display: inline-block; padding: 8px 18px;
    background: #fff; color: var(--color-text);
    border-radius: 20px; font-size: 14px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.kw-tags a:hover {
    background: var(--color-primary); color: #fff;
    border-color: var(--color-primary); transform: translateY(-2px);
}

/* ===== 下载CTA ===== */
.download-cta {
    padding: 80px 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 194, 203, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
}
.cta-box {
    background: #fff; border-radius: var(--radius-lg);
    padding: 48px; box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 2fr 1fr;
    gap: 40px; align-items: center;
    border: 1px solid var(--color-border);
}
.cta-badge {
    display: inline-block;
    background: rgba(0, 184, 148, 0.1); color: var(--color-green);
    padding: 6px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.cta-title {
    font-size: 28px; font-weight: 800;
    color: var(--color-accent); margin-bottom: 12px;
}
.cta-desc {
    font-size: 16px; color: var(--color-text-light); margin-bottom: 20px;
}
.cta-meta {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px; list-style: none;
}
.cta-meta li {
    font-size: 13px; color: var(--color-text-light); padding: 6px 0;
}
.cta-action { text-align: center; }
.cta-tip { margin-top: 12px; font-size: 13px; color: var(--color-text-light); }

/* ===== 页脚 ===== */
.site-footer {
    background: var(--color-bg-dark); color: #fff;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand strong { font-size: 18px; }
.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8; font-size: 14px;
}
.footer-col h4 {
    font-size: 16px; margin-bottom: 16px; color: #fff;
}
.footer-col li {
    margin-bottom: 10px; font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.footer-col a { color: rgba(255, 255, 255, 0.7); }
.footer-col a:hover { color: var(--color-secondary); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px; text-align: center;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px; margin-bottom: 4px;
}
.footer-icp { font-size: 12px !important; }

/* ===== 浮动下载条 ===== */
.float-download {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    display: none; align-items: center; justify-content: space-between;
    z-index: 999;
    gap: 12px;
    touch-action: manipulation;
}
.fd-info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.fd-info img { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; }
.fd-info strong { display: block; font-size: 14px; color: var(--color-text); line-height: 1.3; }
.fd-info small { font-size: 12px; color: var(--color-text-light); line-height: 1.2; }
.fd-info > div { min-width: 0; overflow: hidden; }
.fd-info strong, .fd-info small {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.float-download .btn {
    padding: 10px 20px; font-size: 14px;
    min-height: 44px;
    flex-shrink: 0;
}

/* ===== 回到顶部 ===== */
.back-top {
    position: fixed !important; bottom: 24px; right: 24px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient-sky); color: #fff;
    border: none; font-size: 22px; cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden;
    transition: var(--transition); z-index: 998;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(24px + env(safe-area-inset-bottom));
    touch-action: manipulation;
    display: inline-flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.back-top:active { transform: scale(0.95); }

/* ===== 无障碍：降低动画偏好 ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .phone-card,
    .floating-badge { animation: none !important; }
}

/* ==========================================================================
   响应式适配（移动端优先）
   ========================================================================== */

/* ===== 平板 (992px以下) ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr; gap: 40px; text-align: center;
    }
    .hero-content { order: 2; }
    .hero-visual { order: 1; min-height: 400px; }
    .hero-actions { justify-content: center; }
    .hero-stats {
        max-width: 500px; margin-left: auto; margin-right: auto;
    }
    .intro-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-summary {
        grid-template-columns: 1fr; gap: 24px;
    }
    .review-score {
        border-right: none; border-bottom: 1px solid var(--color-border);
        padding-right: 0; padding-bottom: 24px;
    }
    .cta-box {
        grid-template-columns: 1fr; gap: 24px; text-align: center;
    }
    .cta-meta { max-width: 500px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ===== 手机 (768px以下) ===== */
@media (max-width: 768px) {
    html { scroll-padding-top: 64px; }
    body {
        font-size: 15px;
        line-height: 1.9;
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
    p, li, .section-desc, .intro-card p, .feature-content p, .step-card p,
    .review-card p, .cta-desc { line-height: 1.9; }

    .container { padding: 0 16px; }
    .header-inner { padding: 10px 16px; }
    .nav-toggle {
        display: flex; min-width: 44px; min-height: 44px;
        align-items: center; justify-content: center;
    }
    .nav-menu {
        position: fixed; top: 58px; left: 0; right: 0;
        background: #fff; flex-direction: column; gap: 0;
        padding: 0; max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu.open { max-height: 70vh; overflow-y: auto; }
    .nav-menu li { border-bottom: 1px solid var(--color-border); }
    .nav-menu a {
        display: block; padding: 14px 20px;
        min-height: 46px;
        font-size: 15px;
    }
    .nav-menu a::after { display: none; }
    .nav-menu a:active { background: var(--color-bg-gray); }
    .header-btn { padding: 8px 16px; font-size: 14px; min-height: 38px; }

    .topbar {
        font-size: 12px; padding: 6px 0;
        padding-top: calc(6px + env(safe-area-inset-top));
    }
    .site-header {
        padding-top: 0;
    }

    .hero { padding: 40px 0 60px; }
    .hero-title { font-size: 30px; line-height: 1.25; }
    .hero-desc { font-size: 15px; line-height: 1.9; }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px; padding: 16px;
    }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item strong { font-size: 20px; }
    .stat-item small { font-size: 12px; line-height: 1.4; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn {
        width: 100%;
        min-height: 50px;
        font-size: 16px;
    }
    .hero-meta { font-size: 12px; line-height: 1.6; }
    .phone-card { width: 220px; height: 440px; }
    .floating-badge { display: none; }

    .section { padding: 52px 0; }
    .section-title { font-size: 24px; line-height: 1.35; }
    .section-desc { font-size: 14px; }

    .intro-grid { grid-template-columns: 1fr; gap: 16px; }
    #privacy .intro-grid { grid-template-columns: 1fr; gap: 16px; max-width: 100%; }
    .intro-card { padding: 20px; border-radius: var(--radius-md); }
    .intro-card h3 { font-size: 17px; line-height: 1.4; }
    .intro-icon { width: 46px; height: 46px; font-size: 22px; border-radius: 12px; }

    .feature-item {
        flex-direction: column; gap: 12px; padding: 20px;
    }
    .feature-num { font-size: 28px; }
    .feature-content h3 { font-size: 18px; line-height: 1.4; }
    .feature-tags li {
        min-height: 28px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 12px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr); gap: 28px 16px;
    }
    .step-card { padding: 22px 16px 18px; }
    .step-number { top: -14px; width: 28px; height: 28px; font-size: 14px; }
    .step-icon { font-size: 30px; margin: 12px 0 10px; }
    .step-card h3 { font-size: 15px; line-height: 1.4; }
    .step-card p { font-size: 13px; line-height: 1.8; }
    .step-link { min-height: 30px; display: inline-flex; align-items: center; }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr); gap: 16px;
    }
    .showcase-grid > * { min-width: 0; }
    .mini-phone {
        width: 100%;
        max-width: 180px;
    }

    .changelog-item {
        grid-template-columns: 1fr; gap: 8px;
        padding: 20px;
    }

    .cta-box { padding: 24px; }
    .cta-title { font-size: 22px; line-height: 1.4; }
    .cta-desc { font-size: 14px; line-height: 1.8; }
    .cta-meta { grid-template-columns: repeat(2, 1fr); }
    .cta-meta li { font-size: 12px; line-height: 1.5; }
    .cta-action .btn-xl { padding: 16px 32px; min-height: 52px; font-size: 16px; }

    .footer-grid {
        grid-template-columns: 1fr; gap: 24px; text-align: center;
    }
    .footer-brand { justify-content: center; }
    .footer-col h4 { font-size: 15px; }
    .footer-col li { font-size: 14px; margin-bottom: 8px; line-height: 1.6; }
    .footer-bottom p { font-size: 12px; line-height: 1.7; }

    .float-download { display: flex; }
    .back-top {
        width: 46px; height: 46px; font-size: 20px;
        bottom: calc(84px + env(safe-area-inset-bottom));
        right: calc(14px + env(safe-area-inset-right));
    }

    /* ===== 移动端动画降级（低端安卓机卡顿优化） ===== */
    .phone-card,
    .floating-badge { animation: none !important; }
    .intro-card:hover,
    .feature-item:hover,
    .step-card:hover,
    .showcase-card:hover .mini-phone,
    .review-card:hover,
    .changelog-item:hover,
    .faq-item:hover,
    .btn:hover {
        transform: none !important;
        box-shadow: var(--shadow-sm) !important;
    }
    .btn-primary:hover {
        background: var(--color-primary-dark);
    }
    .btn-outline:hover {
        background: var(--color-primary);
        color: #fff;
    }
    .kw-tags a:hover {
        transform: none !important;
    }
    .cta-box { box-shadow: var(--shadow-md); }

    /* ===== 移动端防止横向溢出 ===== */
    .hero-stats,
    .intro-grid,
    .steps-grid,
    .showcase-grid,
    .reviews-grid,
    .changelog-list,
    .faq-list,
    .kw-tags,
    .cta-box,
    .reviews-summary,
    .footer-grid {
        min-width: 0;
    }
    .intro-grid *,
    .steps-grid *,
    .showcase-grid * {
        min-width: 0;
    }
}

/* ===== 小屏手机 (480px以下) ===== */
@media (max-width: 480px) {
    .hero-title { font-size: 24px; }
    .hero-badge { font-size: 12px; }
    .section-title { font-size: 20px; }
    .intro-card { padding: 20px; }
    .intro-card h3 { font-size: 17px; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .step-card { padding: 24px 16px; }
    .review-score strong { font-size: 40px; }
    .cta-meta { grid-template-columns: 1fr; }
    .kw-tags a { padding: 6px 12px; font-size: 13px; }
}
