/* ============================================
   Mini Tools 路 鐜荤拑鎷熸€佹祬鑹蹭富棰?   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 键盘焦点样式 - 无障碍（鼠标点击不显示，键盘 Tab 才显示） */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 2px;
}

/* 鼠标点击时移除默认 outline（不影响键盘焦点） */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
}

:root {
    /* 主色板 */
    --indigo: #6366f1;
    --indigo-light: #818cf8;
    --purple: #a855f7;
    --pink: #ec4899;
    --blue: #3b82f6;
    --teal: #14b8a6;

    /* 中性色 */
    --text: #1f2937;
    --text-soft: #4b5563;
    --text-mute: #9ca3af;
    /* 别名：兼容 --text-color / --text-secondary / --primary */
    --text-color: var(--text);
    --text-secondary: var(--text-soft);
    --primary: var(--indigo);
    --line: rgba(99, 102, 241, 0.15);
    --line-soft: rgba(99, 102, 241, 0.08);

    /* 玻璃面板 */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);

    /* 背景渐变 */
    --bg-1: #f5f3ff;
    --bg-2: #eff6ff;
    --bg-3: #fdf2f8;
    --bg-4: #ecfeff;
}

/* ====== 暗黑模式 ====== */
[data-theme="dark"] {
    --text: #f1f5f9;
    --text-soft: #cbd5e1;
    --text-mute: #94a3b8;
    --line: rgba(129, 140, 248, 0.18);
    --line-soft: rgba(129, 140, 248, 0.10);

    --glass-bg: rgba(30, 27, 75, 0.55);
    --glass-bg-strong: rgba(30, 27, 75, 0.78);
    --glass-border: rgba(129, 140, 248, 0.22);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    --bg-1: #0f0a2e;
    --bg-2: #1e1b4b;
    --bg-3: #2d1b69;
    --bg-4: #0c4a6e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: linear-gradient(135deg,
        var(--bg-1) 0%,
        var(--bg-2) 33%,
        var(--bg-3) 66%,
        var(--bg-4) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    /* body 仍需 overflow-x: hidden 避免横向滚动 */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   鑳屾櫙鍔ㄧ敾锛氭诞鍔ㄥ厜鏂?   ============================================ */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 480px; height: 480px;
    background: var(--purple);
    top: -120px; left: -120px;
    animation-delay: 0s;
}

.orb-2 {
    width: 420px; height: 420px;
    background: var(--blue);
    top: 30%; right: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 380px; height: 380px;
    background: var(--pink);
    bottom: -100px; left: 20%;
    animation-delay: -14s;
}

.orb-4 {
    width: 320px; height: 320px;
    background: var(--teal);
    top: 50%; left: 10%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
}

/* ============================================
   椤堕儴瀵艰埅
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid var(--line-soft);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 2px 20px rgba(99, 102, 241, 0.06);
}
[data-theme="dark"] .navbar { background: rgba(10, 10, 19, 0.65); }
[data-theme="dark"] .navbar.scrolled { background: rgba(10, 10, 19, 0.92); }

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 17px;
}

.logo-mark {
    font-size: 22px;
    color: var(--indigo);
    animation: spin 8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   语言切换按钮（中 / 维吾尔语）
   ============================================ */
.lang-switch {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}
.lang-btn {
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 0.05em;
}
.lang-btn:hover {
    color: var(--text);
}
.lang-btn.active {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* 主题切换按钮 */
.theme-toggle {
    position: fixed;
    top: 18px;
    right: 130px;
    z-index: 100;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0;
}
.theme-toggle:hover {
    color: var(--indigo);
    transform: scale(1.08) rotate(15deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* 滚动条宽度：用于 sticky 容器补偿 */
:root {
    --scrollbar-width: 0px;
}
/* 当页面有垂直滚动条时，sticky 容器右边预留滚动条宽度 */
body {
    scrollbar-gutter: stable;
}

/* 竞品对比表 */
.compare { padding: 80px 24px; }
.compare .section-head { text-align: center; margin-bottom: 50px; }
.compare-table-wrap {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 8px;
    overflow-x: auto;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.06);
}
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    min-width: 720px;
}
.compare-table thead th {
    padding: 18px 16px;
    text-align: center;
    font-weight: 700;
    color: var(--text-color);
    background: transparent;
    border-bottom: 2px solid var(--glass-border);
    font-size: 14px;
}
.compare-table thead th:first-child {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
}
.compare-us {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.14) 0%, rgba(168, 85, 247, 0.08) 100%);
    color: #6366f1;
    font-weight: 600;
    position: relative;
    border-left: 3px solid rgba(99, 102, 241, 0.4);
}
[data-theme="dark"] .compare-us {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-left: 3px solid rgba(99, 102, 241, 0.6);
}
.compare-tag-us {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 6px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
}
.compare-table tbody td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: background 0.2s ease;
}
.compare-table tbody tr:hover td {
    background: rgba(99, 102, 241, 0.04);
}
.compare-table tbody tr:hover .compare-us {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.18) 0%, rgba(168, 85, 247, 0.12) 100%);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-feature {
    text-align: left !important;
    color: var(--text-color);
    font-weight: 500;
}
.compare-check {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    font-size: 12px;
    font-weight: 700;
}
[data-theme="dark"] .compare-check { color: #4ade80; }
.compare-cross {
    display: inline-block;
    color: var(--text-secondary);
    opacity: 0.4;
}
@media (max-width: 768px) {
    .compare-table { font-size: 12px; }
    .compare-table thead th, .compare-table tbody td { padding: 10px 8px; }
}

/* FAQ 折叠面板 */
.faq { padding: 80px 24px; }
.faq .section-head { text-align: center; margin-bottom: 50px; }
.faq-contact-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed currentColor;
}
.faq-contact-link:hover { border-bottom-style: solid; }
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] {
    background: var(--glass-bg-strong);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
}
.faq-item summary {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #6366f1; }
.faq-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.3s ease;
}
.faq-item[open] .faq-icon {
    background: rgba(99, 102, 241, 0.15);
    transform: scale(1.1);
}
.faq-q {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
}
.faq-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}
.faq-item[open] .faq-arrow {
    transform: rotate(45deg);
    background: rgba(99, 102, 241, 0.2);
}
.faq-a {
    padding: 0 22px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    animation: faq-fade-in 0.3s ease;
}
.faq-a p { margin: 0; }
@keyframes faq-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 更新日志时间线 */
.changelog { padding: 80px 24px; }
.changelog .section-head { text-align: center; margin-bottom: 50px; }
.timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #6366f1, #a855f7, #ec4899);
    opacity: 0.3;
}
.timeline-item {
    position: relative;
    margin-bottom: 36px;
    transition: opacity 0.25s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
}
.timeline-item.timeline-pending {
    opacity: 0;
    transform: translateX(-30px);
}
.timeline-item.timeline-revealed {
    opacity: 1;
    transform: translateX(0);
}
.timeline-item:hover { opacity: 1; }
.timeline-current { opacity: 1; }
.timeline-dot {
    position: absolute;
    left: -33px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 3px solid #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.timeline-current .timeline-dot {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-color: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25), 0 0 20px rgba(99, 102, 241, 0.4);
    animation: timeline-pulse 2s ease-in-out infinite;
}
.timeline-dot-empty {
    background: var(--glass-bg);
    border-color: var(--text-secondary);
    opacity: 0.4;
}
@keyframes timeline-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25), 0 0 20px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.15), 0 0 30px rgba(99, 102, 241, 0.6); }
}
.timeline-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 24px;
}
.timeline-current .timeline-content {
    background: var(--glass-bg-strong);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08);
}
.timeline-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.timeline-version {
    font-size: 16px;
    font-weight: 700;
    color: #6366f1;
}
.timeline-current .timeline-version { font-size: 18px; }
.timeline-date {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 999px;
}
[data-theme="dark"] .timeline-date { background: rgba(255, 255, 255, 0.06); }
.timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 12px;
}
.timeline-current .timeline-title { font-size: 18px; }
.timeline-changes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.timeline-changes li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.change-tag {
    display: inline-block;
    flex-shrink: 0;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 2px;
}
.change-tag.new { background: rgba(34, 197, 94, 0.15); color: #16a34a; }
.change-tag.fix { background: rgba(239, 68, 68, 0.15); color: #dc2626; }
.change-tag.opt { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
[data-theme="dark"] .change-tag.new { color: #4ade80; }
[data-theme="dark"] .change-tag.fix { color: #f87171; }
[data-theme="dark"] .change-tag.opt { color: #a5b4fc; }

/* 版本下载区（多平台 tab） */
.download-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.03));
    position: relative;
    overflow: hidden;
}
.download-section::before,
.download-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}
.download-section::before {
    width: 400px;
    height: 400px;
    background: #6366f1;
    top: -100px;
    left: -100px;
}
.download-section::after {
    width: 350px;
    height: 350px;
    background: #ec4899;
    bottom: -120px;
    right: -80px;
}

/* 头部：标题 + 统计 */
.download-header {
    max-width: 1080px;
    margin: 0 auto 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.download-header .section-head {
    margin: 0;
    text-align: left;
}
.download-header .section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 12px;
}
.download-header .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.download-header .section-sub {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}
.download-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 24px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}
.download-stat { text-align: center; }
.download-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.download-stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}
.download-stat-divider {
    width: 1px;
    height: 28px;
    background: var(--glass-border);
}

/* 4 个 tab */
.download-platforms {
    max-width: 1080px;
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}
.platform-tab {
    background: transparent;
    border: none;
    padding: 18px 14px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: background 0.25s ease, transform 0.25s ease;
    color: var(--text-color);
    position: relative;
}
.platform-tab:hover {
    background: rgba(99, 102, 241, 0.06);
}
.platform-tab.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}
.platform-tab.auto-detected::after {
    content: '为你推荐';
    position: absolute;
    top: -8px;
    right: -4px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}
.platform-icon {
    font-size: 24px;
    line-height: 1;
}
/* 平台 logo：放大到 40x40 */
.platform-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
    display: block;
}
/* 深色模式：黑色 SVG logo（Apple/Linux）自动反白 */
[data-theme="dark"] .platform-logo-dark {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
[data-theme="dark"] .platform-logo {
    filter: brightness(1.15) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
[data-theme="dark"] .platform-logo-dark {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Coming Soon 面板的大图标 */
.coming-soon-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.12));
    display: block;
}
.coming-soon-text-logo {
    font-size: 80px;
    line-height: 1;
    display: block;
    text-align: center;
}
[data-theme="dark"] .coming-soon-icon img.platform-logo-dark {
    filter: brightness(0) invert(1) drop-shadow(0 6px 16px rgba(0,0,0,0.3));
}

/* 联系卡片 logo：放大到 36x36 */
.contact-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}
/* footer 社交 logo */
.footer-social-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

/* mobile panel tag 里的 logo */
.mobile-panel-tag-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
}
/* 文字 logo（Linux 用） */
.platform-logo-text {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.platform-name {
    font-size: 14px;
    font-weight: 600;
}
.platform-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    font-weight: 600;
}
[data-theme="dark"] .platform-badge { color: #4ade80; }
.platform-badge.coming-soon {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    opacity: 0.7;
}
[data-theme="dark"] .platform-badge.coming-soon {
    background: rgba(255, 255, 255, 0.06);
}

/* tab 内容面板 */
.download-content {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    min-height: 320px;
}
.download-panel { display: none; }
.download-panel.active {
    display: block;
    animation: panel-fade-in 0.35s ease;
}
@keyframes panel-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Windows 面板布局（单列：保证 pills + 版本对比 + footer 顺序排列） */
.download-panel[data-panel="windows"] {
    max-width: 880px;
    margin: 0 auto;
}

/* 绿色版标识 */
.download-guarantees {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.guarantee-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #15803d;
}
[data-theme="dark"] .guarantee-pill { color: #4ade80; }
.guarantee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* 版本对比表（便携 vs 安装） */
.version-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
    flex-grow: 1;  /* 占满左侧高度，配合二维码对齐 */
}
.version-card {
    padding: 22px 22px 18px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.version-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}
.version-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.version-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}
.version-card-emoji {
    font-size: 22px;
    line-height: 1;
}
.version-card-tag.recommend {
    font-size: 10px;
    padding: 2px 7px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    border-radius: 999px;
    font-weight: 700;
}
.version-card-version {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}
.version-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.version-card-features li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.version-card .btn {
    width: 100%;
    justify-content: center;
}

.download-foot {
    padding: 12px 0 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}
.download-meta-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed currentColor;
}
.download-meta-link:hover { border-bottom-style: solid; }

/* 移动面板布局（左侧文案 + 右侧二维码） */
.mobile-panel-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 24px;
}
.mobile-panel-info { min-width: 0; }
.mobile-panel-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 14px;
}
.mobile-panel-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mobile-panel-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 20px;
}

/* 二维码卡片（仅在移动 tab 显示） */
.qr-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 24px 22px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 220px;
    flex-shrink: 0;
}
.qr-title {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.02em;
}
.qr-canvas {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.qr-hint {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
}
.qr-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

/* 敬请期待面板 */
.coming-soon-panel {
    display: none;
}
.coming-soon-panel.active {
    display: block;
}
.coming-soon-content {
    max-width: 480px;
    margin: 60px auto;
    text-align: center;
    padding: 40px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}
.coming-soon-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coming-soon-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}
.coming-soon-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* 安装须知 */
.install-notes {
    max-width: 1080px;
    margin: 28px auto 0;
    padding: 18px 22px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 14px;
}
.install-notes-title {
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 10px;
}
.install-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}
.install-notes-list li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.install-note-tag {
    flex-shrink: 0;
    padding: 1px 6px;
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .mobile-panel-content { grid-template-columns: 1fr; text-align: center; }
    .mobile-panel-info { text-align: center; }
}
@media (max-width: 768px) {
    .download-header { flex-direction: column; align-items: stretch; }
    .download-header .section-head { text-align: center; }
    .download-stats { justify-content: space-around; }
    .download-platforms { grid-template-columns: repeat(2, 1fr); }
    .version-compare { grid-template-columns: 1fr; }
    .install-notes-list { grid-template-columns: 1fr; }
    .qr-card { margin: 0 auto; }
    .mobile-panel-title { font-size: 28px; }
}

/* 安装确认模态 */
.install-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.install-modal.show {
    opacity: 1;
    pointer-events: auto;
}
.install-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}
.install-modal-content {
    position: relative;
    max-width: 440px;
    width: 90%;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.install-modal.show .install-modal-content { transform: scale(1); }
.install-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.install-modal-icon { font-size: 28px; }
.install-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}
.install-modal-notes {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.install-modal-notes li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 4px;
}
.install-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.install-modal-btn {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.install-modal-cancel {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}
[data-theme="dark"] .install-modal-cancel {
    background: rgba(255, 255, 255, 0.08);
}
.install-modal-cancel:hover { background: rgba(0, 0, 0, 0.1); }
[data-theme="dark"] .install-modal-cancel:hover { background: rgba(255, 255, 255, 0.12); }
.install-modal-confirm {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.install-modal-confirm:hover { transform: translateY(-1px); }

/* 加载页 */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0a13;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading-content {
    text-align: center;
}
.loading-logo {
    animation: loading-pulse 1.5s ease-in-out infinite;
}
@keyframes loading-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}
.loading-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}
.loading-bar {
    margin-top: 24px;
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    transition: width 0.3s ease;
}

/* 滚动进度条：固定顶部细条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 9998;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.55),
                0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.back-to-top:active {
    transform: translateY(0);
}
html[dir="rtl"] .back-to-top { right: auto; left: 30px; }
@media (max-width: 768px) {
    .back-to-top { width: 40px; height: 40px; bottom: 20px; right: 20px; }
    html[dir="rtl"] .back-to-top { left: 20px; }
}

/* 平滑主题切换（避免闪烁）*/
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}
.glass, .feature-card, .intro-glass, .upcoming-glass, .contact-glass,
.hero-glass, .showcase-intro, .showcase-end {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ============================================
   RTL 布局（维吾尔语）- 标题保持居中，文字 RTL
   ============================================ */
html[dir="rtl"] body {
    /* 整页布局保持 LTR，仅文字 RTL */
}

/* ============================================
   维吾尔语字体加载（嵌入本地 TTF）
   字体文件来自 mianfeiziti.com 的 626款维文字字库
   ============================================ */

/* ALKATIP Basma Tom - 维软经典（最常用） */
/* unicode-range: 维吾尔语 Unicode 范围，只在维语文本出现时下载 */
@font-face {
    font-family: 'ALKATIP Basma Tom';
    src: url('fonts/ALKATIP Basma Tom.TTF') format('truetype');
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
    font-family: 'ALKATIP Basma Tom';
    src: url('fonts/ALKATIP Basma Tom Bold.TTF') format('truetype');
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}

/* ALKATIP Asliye - 维软手写风格 */
@font-face {
    font-family: 'ALKATIP Asliye';
    src: url('fonts/ALKATIP Asliye.TTF') format('truetype');
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}

/* Abc (Glx) Diwani - 阿拉伯书法体（最美观） */
@font-face {
    font-family: 'Abc Glx Diwani';
    src: url('fonts/Abc (Glx) Diwani.TTF') format('truetype');
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}

/* Abc (Glx) Sulus - 印刷体 */
@font-face {
    font-family: 'Abc Glx Sulus';
    src: url('fonts/Abc (Glx) Sulus.TTF') format('truetype');
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}

/* Abc (Glx) Kitab - 经典印刷 */
@font-face {
    font-family: 'Abc Glx Kitab';
    src: url('fonts/Abc (Glx) Kitab.TTF') format('truetype');
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}

/* 兼容旧引用 */
@font-face {
    font-family: 'UyghurFont';
    src: local('UKIJ Tuz Tom'), local('UKIJ Tuz'),
         local('Alkatip Basma Tom'), local('Alkatip Basma'),
         local('Segoe UI');
    font-display: swap;
}

/* 默认正文（段落、列表）维语模式：靠右 + RTL 文字 */
html[dir="rtl"] [data-i18n],
html[dir="rtl"] .intro-title,
html[dir="rtl"] .intro-text,
html[dir="rtl"] .feature-card h3,
html[dir="rtl"] .feature-card p,
html[dir="rtl"] .stat-label,
html[dir="rtl"] .upcoming-name,
html[dir="rtl"] .upcoming-desc,
html[dir="rtl"] .contact-sub,
html[dir="rtl"] .contact-label,
html[dir="rtl"] .contact-value,
html[dir="rtl"] .contact-value-sub,
html[dir="rtl"] .contact-note,
html[dir="rtl"] .showcase-end-sub {
    direction: rtl;
    text-align: right;
    unicode-bidi: isolate;
    /* 字体优先级：嵌入字体（来自 mianfeiziti.com 维语包）→ 本地 UKIJ/ALKATIP → 系统 fallback */
    font-family: "ALKATIP Basma Tom", "ALKATIP Asliye", "Abc Glx Diwani", "Abc Glx Sulus", "Abc Glx Kitab", "UKIJ Tuz Tom", "UKIJ Tuz", "Alkatip Basma Tom", "Segoe UI", "Microsoft YaHei", sans-serif;
}

/* 关键修复：标题类在 RTL 模式保持居中（视觉对称） */
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-sub,
html[dir="rtl"] .contact-title,
html[dir="rtl"] .caption h3,
html[dir="rtl"] .caption p,
html[dir="rtl"] .carousel-caption,
html[dir="rtl"] .carousel-caption h3,
html[dir="rtl"] .carousel-caption p,
html[dir="rtl"] .showcase-end-title {
    direction: rtl;
    text-align: center !important;
    unicode-bidi: isolate;
}

/* 数字、英文、品牌名保持 LTR */
html[dir="rtl"] .stat-num,
html[dir="rtl"] .caption-num,
html[dir="rtl"] .btn,
html[dir="rtl"] .logo-text,
html[dir="rtl"] .hero-eyebrow {
    direction: ltr;
    unicode-bidi: isolate;
}

/* RTL 时镜像 nav 顺序 */
html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

/* feature-card 内部：图标 + 文字顺序镜像 */
html[dir="rtl"] .feature-card {
    text-align: right;
}

/* RTL：intro-compare 镜像 */
html[dir="rtl"] .compare-bad { direction: rtl; }
html[dir="rtl"] .compare-good { direction: rtl; }
html[dir="rtl"] .compare-list li { flex-direction: row-reverse; }

/* RTL：feature-group 标题行镜像 */
html[dir="rtl"] .feature-group-header { flex-direction: row-reverse; }

/* 强制：所有 .section-title / .contact-title / .hero-title 永远居中（防御） */
.hero-title, .section-title, .contact-title, .caption h3, .caption p, .caption,
.carousel-caption, .carousel-caption h3, .carousel-caption p {
    text-align: center;
}

/* 关键修复：hero-glass 内所有标题/段落必须居中（防止内部子元素破坏） */
.showcase-intro { text-align: center; }
.showcase-intro .section-title,
.showcase-intro .section-sub { text-align: center; }
.contact-glass { text-align: center; }
.contact-glass .contact-title,
.contact-glass .contact-sub,
.contact-glass .contact-note { text-align: center; }
.section-head { text-align: center; }
.section-head .section-title,
.section-head .section-sub { text-align: center; }
.caption { text-align: center; }
.caption h3,
.caption p { text-align: center; }
.caption-num { text-align: center; display: block; }

.nav-links {
    display: flex;
    gap: 32px;
}
/* 汉堡按钮（默认隐藏，移动端显示） */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(99,102,241,0.1); }

.nav-links a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--indigo); }
.nav-links a[aria-current="page"] {
    color: var(--indigo);
    font-weight: 600;
}

/* ============================================
   閫氱敤鐜荤拑鍗＄墖
   ============================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 80px 0 60px;
}

.hero-glass {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Hero 双列布局：左文案+按钮，右迷你时钟 */
.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.hero-content { text-align: left; }

/* 迷你时钟：模仿桌面应用外观 */
.hero-clock {
    perspective: 1200px;
    animation: hero-clock-float 6s ease-in-out infinite;
}
@keyframes hero-clock-float {
    0%, 100% { transform: translateY(0) rotateY(-2deg); }
    50% { transform: translateY(-8px) rotateY(2deg); }
}
.hero-clock-window {
    background: linear-gradient(135deg, #1a1d29 0%, #0e0f13 100%);
    border-radius: 16px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.35),
        0 12px 24px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-clock-bar {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-clock-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #4a4d57;
}
.hero-clock-dot:nth-child(1) { background: #ff5f57; }
.hero-clock-dot:nth-child(2) { background: #febc2e; }
.hero-clock-dot:nth-child(3) { background: #28c840; }
.hero-clock-title {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}
.hero-clock-body {
    padding: 36px 24px 24px;
    color: white;
    text-align: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.15), transparent 70%);
}
.hero-clock-time {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff 0%, #a3b3d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 30px rgba(99, 102, 241, 0.3);
}
.hero-clock-ampm {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #a5b4fc;
}
.hero-clock-date {
    margin-top: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}
.hero-clock-progress {
    margin-top: 18px;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
}
.hero-clock-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    border-radius: 999px;
    transition: width 0.5s ease;
}
.hero-clock-foot {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* 移动端 Hero 单列 */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .hero-content { text-align: center; }
    .hero-clock-time { font-size: 48px; }
    .hero-clock-body { padding: 24px 18px 18px; }
}

.hero-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%,
        rgba(99, 102, 241, 0.08), transparent 60%);
    pointer-events: none;
}

/* hero 互动光斑 */
.hero-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 400px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(99, 102, 241, 0.15),
        rgba(168, 85, 247, 0.08) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}
.hero-glass.tilt-hover::after {
    opacity: 1;
}

/* 统计数字视差 */
.stat-num {
    transition: transform 0.15s ease-out;
}

.hero-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--indigo);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--indigo), var(--purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-soft);
    max-width: 540px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--line-soft);
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--indigo);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-mute);
}

/* ============================================
   閫氱敤鎸夐挳
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--indigo), var(--purple));
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

/* 下载按钮呼吸光圈 */
.download-btn.btn-primary::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99,102,241,0.4), rgba(168,85,247,0.4));
    z-index: -1;
    opacity: 0;
    animation: btn-pulse 2.5s ease-in-out infinite;
}
@keyframes btn-pulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.06); }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    background: white;
    color: var(--indigo);
    border-color: var(--indigo);
}

.btn-arrow {
    transition: transform 0.2s;
}

.btn-primary:hover .btn-arrow {
    transform: translateY(2px);
}

.btn-meta {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    padding-left: 6px;
    margin-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   閫氱敤 section
   ============================================ */
section { padding: 80px 0; }

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--indigo);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.section-sub {
    font-size: 17px;
    color: var(--text-soft);
}

/* ============================================
   宸ュ叿鐙珛浠嬬粛
   ============================================ */
.intro { padding: 30px 0 80px; }

.intro-glass {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 36px 40px;
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.08);
}

/* 顶部：eyebrow + 标题 + 文字 */
.intro-head {
    text-align: center;
    margin-bottom: 28px;
}

.intro-eyebrow {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--indigo);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.intro-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--indigo), var(--purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-text {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto;
}

/* 中间：左坏右好对比 */
.intro-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    margin-bottom: 24px;
    align-items: stretch;
}

.compare-card {
    border-radius: 18px;
    padding: 26px 22px;
    text-align: left;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
}

.compare-card:hover {
    transform: translateY(-3px);
}

.compare-bad {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.95), rgba(252, 165, 165, 0.08));
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.compare-bad:hover {
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.12);
}

.compare-good {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.95), rgba(110, 231, 183, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.compare-good:hover {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}

.compare-emoji {
    font-size: 36px;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1;
}

.compare-eyebrow {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 6px;
    opacity: 0.6;
}

.compare-bad .compare-eyebrow { color: #dc2626; }
.compare-good .compare-eyebrow { color: #059669; }

.compare-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.compare-bad .compare-title { color: #991b1b; }
.compare-good .compare-title { color: #065f46; }

.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.compare-list li:last-child {
    border-bottom: none;
}

.compare-bad .compare-list li { color: #4b5563; }
.compare-good .compare-list li { color: #1f2937; }

.bad-icon,
.good-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    margin-top: 1px;
}

.bad-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.good-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

/* 中间分隔：VS */
.compare-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    min-width: 60px;
}

.compare-vs {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
    position: relative;
    z-index: 2;
}

.compare-arrow {
    font-size: 20px;
    color: var(--indigo);
    margin-top: 8px;
    animation: arrowShift 2s ease-in-out infinite;
}

@keyframes arrowShift {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(4px); opacity: 1; }
}

/* ======== Intro 对比反差 —— 滚动驱动实时联动 ======== */
/* 所有过渡由 JS rAF 直接设置 inline style，CSS 不做时间驱动 */
.intro-compare .compare-card,
.intro-compare .compare-vs,
.intro-compare .compare-list li {
    will-change: opacity, transform;
    /* 不设 transition，避免跟 scroll rAF 冲突 */
}

/* 底部：标签栏 */
.intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.intro-tag {
    padding: 5px 12px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--indigo);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.intro-tag:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .intro-glass { padding: 26px 20px; }
    .intro-title { font-size: 22px; }
    .intro-text { font-size: 13px; }
    .intro-compare {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .compare-divider {
        flex-direction: row;
        padding: 8px 0;
        min-width: 0;
    }
    .compare-arrow { margin-top: 0; margin-left: 8px; transform: rotate(90deg); }
    .compare-card { padding: 20px 16px; }
    .compare-emoji { font-size: 28px; }
    .compare-title { font-size: 16px; }
}

/* ============================================
   鐗规€у睍绀?   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px 24px;
    overflow: hidden;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
    will-change: transform;
}
.feature-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.12);
}

/* 光斑层（鼠标位置产生彩色光斑）*/
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(99, 102, 241, 0.25),
        rgba(168, 85, 247, 0.15) 30%,
        rgba(236, 72, 153, 0.08) 55%,
        transparent 75%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* hover 效果（光斑 + 阴影 + 按压下沉） */
.feature-card.tilt-hover {
    background: var(--glass-bg-strong);
    box-shadow:
        0 30px 60px rgba(99, 102, 241, 0.25),
        0 12px 24px rgba(168, 85, 247, 0.15);
    border-color: rgba(99, 102, 241, 0.45);
    /* 按压下沉效果 */
    transform: translateZ(-10px);
}

.feature-card.tilt-hover::before {
    opacity: 1;
}

/* 图标悬浮动画 + 视差 */
.feature-icon {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.12),
        rgba(168, 85, 247, 0.12));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.feature-card.tilt-hover .feature-icon {
    transform: scale(1.15) rotate(-6deg);
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.3),
        rgba(236, 72, 153, 0.3));
    box-shadow:
        0 8px 20px rgba(99, 102, 241, 0.3),
        0 0 0 4px rgba(99, 102, 241, 0.06);
}

.feature-card h3 {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    transition: color 0.35s ease, letter-spacing 0.35s ease, transform 0.25s ease-out;
    will-change: transform;
}

.feature-card.tilt-hover h3 {
    color: var(--primary);
    letter-spacing: 0.02em;
}

.feature-card p {
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.55;
    transition: color 0.35s ease;
}

.feature-card.tilt-hover p {
    color: var(--text);
}

/* 触摸设备 */
@media (hover: none) {
    .feature-card.tilt-hover {
        transform: translateY(-4px) !important;
    }
    .feature-card.tilt-hover .feature-icon {
        transform: scale(1.1);
    }
}

/* ============================================
/* ============================================
   应用展示：Apple 风格 sticky + view-timeline
   ============================================ */
/* ============================================
   应用展示：Apple 官网风格 view-timeline 滚动驱动
   - 容器垂直居中固定（sticky）
   - 4 张图 absolute 叠放 + mask 边缘渐变
   - 每张图绑独立 scroll-timeline（同一源 + range 错开）
   - 文字先于图片 0.2 秒淡入
   - 无自动轮播，完全跟随滚动
   ============================================ */
.apps {
    padding: 0;
    /* 滚动驱动轮播：
       - intro + carousel sticky (4 图) + 4 触发器 + showcase-end
       - 高度由内容决定（自然撑开），不要强制高度 */
    position: relative;
}

/* 滚动驱动轮播的 sticky 容器（粘住轮播本身）*/
.carousel-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1;
    transition: opacity 0.15s ease;
    overflow: hidden;  /* 裁切放大后溢出的部分，但 carousel 内部仍然 visible */
}

/* 滚动触发器：每个 100vh，撑出滚动距离用于切换图片 */
.carousel-trigger {
    height: 100vh;
    pointer-events: none;
}

.showcase-intro {
    padding: 110px 24px 27px;  /* padding-bottom 80px → 27px（原 1/3），压缩与实时模式的间距 */
    text-align: center;
    background: transparent;
}

/* 滚动源：4 屏高 */
/* ============================================
   交互式 Carousel（替换原 scroll-driven showcase）
   - 中间显示当前项（全尺寸、不透明）
   - 左右显示相邻项（缩小、半透明）
   - 超出部分裁剪
   - 点击切换 + 平滑过渡
   - 自动播放 + 手动控制
   ============================================ */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: visible;  /* 让放大后的图片不被裁切 */
    background: transparent;
    perspective: 1200px;
    z-index: 1;
}

.carousel-track {
    position: absolute;
    inset: 0;
    overflow: visible;
}

.carousel-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(70vw, 960px);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    filter: blur(2px) brightness(0.7);
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== 轮播图样式 =====
   所有位置/透明度/模糊由 JS 连续插值控制（initAppsCarousel）
   CSS 只定义基础布局，transition 全部移除 */

/* 图片框：纯图片，无边框、无黑边。容器高度由图片自身决定 */
.carousel-img {
    width: 100%;
    background: transparent;
    border: none;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 骨架屏：图片未加载时显示紫色渐变占位 */
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(168,85,247,0.08));
    border-radius: 18px;
    min-height: 200px;
}
/* 图片加载淡入 */
.carousel-img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18),
                0 12px 32px rgba(99, 102, 241, 0.12);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
    opacity: 0;
}
.carousel-img img.loaded {
    opacity: 1;
}
.carousel-item.active .carousel-img img {
    transform: scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.22),
                0 16px 40px rgba(99, 102, 241, 0.18);
}

/* 迷你窗口（第 5 张）：原图比例约 2.75:1，单独展示，更精致 */
.carousel-item[data-index="4"] .carousel-img {
    background: transparent;
}
.carousel-item[data-index="4"] .carousel-img img {
    width: auto;
    max-width: min(70%, 720px);
    max-height: 50vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.22),
                0 16px 40px rgba(99, 102, 241, 0.18);
}

/* 文字描述 */
.carousel-caption {
    margin-top: 24px;
    text-align: center;
}

.caption-num {
    display: inline-block;
    font-family: "Consolas", "Menlo", "Courier New", monospace;
    font-size: 13px;
    color: #6366f1;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.18);
}

.carousel-caption h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.carousel-caption p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.85),
        1px -1px 0 rgba(255, 255, 255, 0.85),
        -1px 1px 0 rgba(255, 255, 255, 0.85),
        1px 1px 0 rgba(255, 255, 255, 0.85),
        0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ============ 左右切换按钮 ============ */
/* ============ 最后一张图片之后的空白页面 ============
   - 留一大片空白（min-height: 100vh，padding-top: 50vh）
   - 用 flex 让标题在空白页面上下左右正中间
   - 与上方图片联合：渐变颜色呼应，整体感觉连贯 */
.showcase-end {
    /* JS 直接控制 opacity/visibility，不再用 .revealed */
    opacity: 0;
    visibility: hidden;
    position: relative;
    width: 100%;
    min-height: 60vh;
    padding: 8vh 24px 12vh;
    display: grid;
    place-items: center;
    text-align: center;
}

/* 紫色竖杠已删除（用户反馈不需要）*/

.showcase-end-title {
    font-size: 64px;
    font-weight: 800;
    color: #6366f1;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.showcase-end-sub {
    font-size: 24px;
    color: #4b5563;
    letter-spacing: 0.04em;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* ============ 响应式 <768px ============ */
@media (max-width: 768px) {
    .showcase-intro { padding: 80px 20px 60px; }
    /* carousel 移动端 */
    .carousel { height: 90vh; min-height: 500px; }
    .carousel-item { width: min(80vw, 480px); }
    /* showcase-end 移动端 */
    .showcase-end { padding: 30px 20px 80px; }
    .showcase-end-title { font-size: 36px; margin-bottom: 14px; }
    .showcase-end-sub { font-size: 16px; }
}

/* 注：不再需要 view-timeline fallback —— JS scroll listener 处理所有动画 */

/* ============================================
   鍗冲皢鎺ㄥ嚭
   ============================================ */
.upcoming-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px 44px;
}

.upcoming-head {
    margin-bottom: 32px;
}

.upcoming-list {
    display: grid;
    gap: 14px;
}

.upcoming-item {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.2s;
}

.upcoming-item:hover {
    background: white;
    border-color: var(--line);
    transform: translateX(4px);
}

.upcoming-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.1),
        rgba(168, 85, 247, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.upcoming-info {
    flex: 1;
}

.upcoming-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.upcoming-desc {
    font-size: 13px;
    color: var(--text-soft);
}

.upcoming-status {
    padding: 4px 12px;
    background: rgba(156, 163, 175, 0.15);
    color: var(--text-mute);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ============================================
   鑱旂郴鍖?   ============================================ */
.contact-glass {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.1);
    perspective: 1000px;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

/* contact 光斑层 */
.contact-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 400px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(99, 102, 241, 0.15),
        rgba(168, 85, 247, 0.08) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}
.contact-glass.tilt-hover::before {
    opacity: 1;
}

.contact-title {
    font-size: 36px;
    font-weight: 800;
    margin: 12px 0 10px;
    letter-spacing: -0.02em;
}

.contact-sub {
    font-size: 16px;
    color: var(--text-soft);
    margin-bottom: 36px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 560px;
    margin: 0 auto 28px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    cursor: pointer;
}

.contact-card:hover {
    background: white;
    border-color: var(--indigo);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.12),
        rgba(168, 85, 247, 0.12));
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
}
.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-label {
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.contact-value-sub {
    font-size: 12px;
    color: var(--text-mute);
    font-weight: 400;
    margin-top: 2px;
    font-family: "Consolas", "Menlo", monospace;
}

.contact-note {
    font-size: 13px;
    color: var(--text-mute);
    margin-top: 20px;
}

/* ============================================
   板块入场动画
   ============================================ */

/* 动画基础 - 默认隐藏，JS 初始化后添加 anim-pending */
.anim-section, .anim-title {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
/* 进入视口时由 JS 移除 anim-pending，添加 visible */
.anim-section.visible, .anim-title.visible {
    opacity: 1;
}

/* 1. 模糊淡入 (intro) */
.anim-blur-in {
    filter: blur(20px);
    transform: scale(1.02);
}
.anim-blur-in.visible {
    filter: blur(0);
    transform: scale(1);
}

/* 2. 缩放弹入 (apps carousel) */
.anim-scale-bounce {
    transform: scale(1);
    opacity: 1;
}
.anim-scale-bounce.visible {
    animation: scaleBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes scaleBounce {
    0% { transform: scale(0.85); opacity: 0.3; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   Features 分类 + 滚动驱动动画
   ============================================ */

/* 分类组 */
.feature-group {
    margin-bottom: 36px;
}

.feature-group:last-child {
    margin-bottom: 0;
}

/* 分类标题行 */
.feature-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.feature-group-tag {
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--indigo), var(--purple));
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    flex-shrink: 0;
}

.feature-group-tag.tag-tasks {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.feature-group-tag.tag-personal {
    background: linear-gradient(135deg, #ec4899, #a855f7);
}

.feature-group-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* 4. 网格交错滑入 (upcoming) - 由 JS 完全控制 */
.anim-slide-grid > * {
    opacity: 0;
    will-change: transform, opacity;
}
.anim-section.visible .anim-slide-grid > * {
    opacity: 1;
}

/* 5. 淡入上移 (contact) */
.anim-fade-up {
    transform: translateY(30px);
}
.anim-fade-up.visible {
    transform: translateY(0);
}

/* 6. 章节标题动画 */
.anim-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   通用 stagger 入场（FAQ/Contact/Compare/Download 子卡片）
   - JS 添加 .stage-pending 隐藏，触发时移除并加 .stagger-in
   - 自动 translateY 错开 60ms
   ============================================ */
.stagger-pending {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.stagger-in {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ items: 从下方淡入，错开 */
.faq-item.stagger-pending {
    transform: translateY(15px) scale(0.98);
}

/* Contact cards: 错开上移 */
.contact-card.stagger-pending {
    transform: translateY(20px) scale(0.96);
}

/* Compare table rows: 仅透明度（tr 不支持 transform） */
.compare-table tbody tr.stagger-pending {
    opacity: 0;
}

/* Download 版本卡片: 上滑 */
.version-compare.stagger-pending,
.qr-card.stagger-pending {
    transform: translateY(25px);
}

/* ============================================
   椤佃剼
   ============================================ */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--line-soft);
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-mute);
}

/* 增强版 Footer：4 列网格 */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--glass-border);
}
.footer-col-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
}
.footer-tagline {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 280px;
}
.footer-social {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}
.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
}
.footer-social-link:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: #6366f1;
    transform: translateY(-2px);
}
.footer-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-list li {
    font-size: 13px;
    color: var(--text-secondary);
}
.footer-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-list a:hover { color: #6366f1; }
.footer-list time { font-variant-numeric: tabular-nums; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-mute);
}
.footer-meta { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-divider { opacity: 0.5; }
.footer-beian {
    color: inherit;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.footer-beian:hover { opacity: 1; text-decoration: underline; }
.footer-build {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 999px;
    color: #16a34a;
}
[data-theme="dark"] .footer-build { color: #4ade80; }
.footer-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: footer-pulse 2s ease-in-out infinite;
}
@keyframes footer-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Footer 旧样式（保留兼容）*/
.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   鍝嶅簲寮?   ============================================ */
/* ========== 平板 <1024px ========== */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .upcoming-list { grid-template-columns: 1fr; gap: 16px; }
}

/* ========== 手机 <768px ========== */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    /* 汉堡菜单 */
    .nav-hamburger { display: block; }
    .nav-links {
        position: fixed;
        top: 56px; right: 0;
        width: 200px;
        flex-direction: column;
        background: var(--glass-bg-strong);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 0 0 0 14px;
        padding: 16px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 9999;
        box-shadow: -8px 0 24px rgba(0,0,0,0.1);
    }
    html[dir="rtl"] .nav-links {
        left: 0; right: auto;
        border-radius: 0 0 14px 0;
        transform: translateX(-100%);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a {
        font-size: 14px;
        padding: 10px 12px;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links a:last-child { border-bottom: none; }
    .lang-switch { top: 12px; right: 12px; }
    .lang-btn { padding: 6px 10px; font-size: 12px; }

    /* Hero */
    .hero { padding: 40px 0 20px; }
    .hero-glass { padding: 32px 20px; border-radius: 22px; }
    .hero-eyebrow { font-size: 11px; padding: 4px 12px; }
    .hero-title { font-size: 32px; letter-spacing: -0.02em; }
    .hero-subtitle { font-size: 14px; }
    .hero-stats { gap: 18px; padding-top: 22px; }
    .stat-num { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .hero-cta { flex-direction: column; gap: 10px; width: 100%; }
    .btn { padding: 11px 22px; font-size: 14px; width: 100%; justify-content: center; }

    /* 板块标题 */
    .section-title { font-size: 26px; }
    .section-sub { font-size: 14px; }
    .section-tag { font-size: 12px; padding: 4px 14px; }

    /* Intro */
    .intro { padding: 60px 16px; }
    .intro-glass { padding: 32px 22px; border-radius: 20px; }
    .intro-title { font-size: 22px; }
    .intro-text { font-size: 14px; }
    .intro-tags { gap: 8px; }
    .intro-tag { font-size: 12px; padding: 6px 14px; }

    /* Features */
    .features { padding: 60px 0; }
    .feature-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 22px 18px; }
    .feature-icon { width: 44px; height: 44px; font-size: 22px; }
    .feature-card h3 { font-size: 15px; }
    .feature-card p { font-size: 13px; }

    /* Apps carousel */
    .showcase-intro { padding: 80px 20px 60px; }
    .carousel { height: 90vh; min-height: 500px; }
    .carousel-item { width: min(85vw, 480px); }

    /* Showcase end */
    .showcase-end { padding: 30px 16px 80px; }
    .showcase-end-title { font-size: 32px !important; }
    .showcase-end-sub { font-size: 14px !important; }

    /* Upcoming */
    .upcoming { padding: 60px 0; }
    .upcoming-glass { padding: 32px 20px; border-radius: 20px; }
    .upcoming-head h2 { font-size: 24px; }
    .upcoming-item { padding: 20px 18px; }
    .upcoming-name { font-size: 16px; }
    .upcoming-desc { font-size: 13px; }

    /* Contact */
    .contact { padding: 60px 0; }
    .contact-glass { padding: 32px 20px; border-radius: 22px; }
    .contact-title { font-size: 24px; }
    .contact-sub { font-size: 13px; }
    .contact-cards { grid-template-columns: 1fr; gap: 12px; }
    .contact-card { padding: 16px; }
    .contact-label { font-size: 12px; }
    .contact-value { font-size: 14px; }
    .contact-value-sub { font-size: 11px; }
    .contact-note { font-size: 11px; }

    /* Footer */
    .footer { padding: 30px 16px; }
    .footer-inner { flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }

    /* 触摸优化：禁用 3D 倾斜（性能更好）*/
    .feature-card, .hero-glass, .showcase-end, .contact-glass {
        transform: none !important;
    }

    /* 触摸设备禁用鼠标光斑 */
    .feature-card::before { display: none; }

    /* 移动端防止任何水平溢出 */
    .compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .version-compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .timeline { padding-left: 20px; }
    .carousel-caption h3 { font-size: 22px; }
    .carousel-caption p { font-size: 13px; }
    .download-foot { flex-direction: column; gap: 4px; }
    .footer-meta { justify-content: center; }
    .qr-card { max-width: 280px; margin: 0 auto; }
    .qr-canvas img { max-width: 140px; }
}

/* ========== 小屏手机 <480px ========== */
@media (max-width: 480px) {
    .nav { padding: 12px 16px; }
    .logo-text { font-size: 14px; }
    .nav-links a { font-size: 12px; padding: 4px 6px; }

    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 13px; }

    .feature-card { padding: 18px 14px; border-radius: 16px; }
    .feature-icon { width: 40px; height: 40px; font-size: 20px; }

    .showcase-end-title { font-size: 24px !important; line-height: 1.1; }
    .showcase-end-sub { font-size: 12px !important; }

    .contact-card { padding: 14px; }
}

/* ============================================
   婊氬姩鍑虹幇鍔ㄧ敾
   ============================================ */
/* 关键修复：reveal 只控制 opacity，不控制 transform
   transform 由 JS 3D tilt 完全接管，避免冲突 */
.reveal {
    opacity: 1;
    transition: opacity 0.5s ease;
}
.reveal.reveal-pending {
    opacity: 0;
}
.reveal.visible {
    opacity: 1;
}
