/*
Theme Name: MikPress Official
Theme URI: https://www.mickeyhome.top/
Version: 1.0.0
Description: MikPress 建站系统官方主题 — 现代极简黑白
Author: MikPress Team
Author URI: https://www.mickeyhome.top
Tags: official, responsive, minimal, black-white, modern
*/

/* ===== 基础变量（语义化，避免 dark 下反转混乱） ===== */
:root {
    --pure-black: #000000;
    --pure-white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --bg-page: #ffffff;
    --bg-alt: #fafafa;
    --bg-card: #ffffff;
    --bg-code: #171717;
    --bg-code-header: #262626;
    --bg-input: #ffffff;
    --bg-hover: #f5f5f5;
    --bg-nav-hover: #f5f5f5;
    --bg-nav-active: #000000;
    --bg-nav-active-text: #ffffff;
    --bg-footer: #000000;
    --bg-cta: #000000;
    --bg-feature-icon: #f5f5f5;
    --bg-thumb: #f5f5f5;
    --bg-comment: #fafafa;
    --bg-back-to-top: #000000;
    --text-heading: #000000;
    --text-body: #262626;
    --text-muted: #737373;
    --text-meta: #737373;
    --text-footer: #a3a3a3;
    --text-footer-heading: #ffffff;
    --text-nav: #737373;
    --text-nav-hover: #000000;
    --text-nav-active: #ffffff;
    --text-cta: #ffffff;
    --text-cta-muted: #a3a3a3;
    --text-code: #a3a3a3;
    --text-code-keyword: #ffffff;
    --text-code-string: #d4d4d4;
    --text-code-func: #60a5fa;
    --text-error: #e5e5e5;
    --text-error-title: #000000;
    --border-color: #e5e5e5;
    --border-card: #e5e5e5;
    --border-input: #d4d4d4;
    --border-footer: #262626;
    --border-comment: #e5e5e5;
    --header-bg: rgba(255,255,255,0.85);
    --header-border: #e5e5e5;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono: "SF Mono", "Fira Code", Consolas, monospace;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.10);
    --glass-bg-hover: rgba(255, 255, 255, 0.16);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-border-strong: rgba(255, 255, 255, 0.35);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    --glass-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10), 0 8px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.30);
    --glass-blur: 18px;
    --glass-radius: 18px;
    --glass-radius-sm: 12px;
    --depth-1: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    --depth-2: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
    --depth-3: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
}

[data-theme="dark"] {
    --bg-page: #0a0a0a;
    --bg-alt: #111111;
    --bg-card: #1a1a1a;
    --bg-code: #0f0f0f;
    --bg-code-header: #1a1a1a;
    --bg-input: #1a1a1a;
    --bg-hover: #2a2a2a;
    --bg-nav-hover: #2a2a2a;
    --bg-nav-active: #ffffff;
    --bg-nav-active-text: #000000;
    --bg-footer: #000000;
    --bg-cta: #000000;
    --bg-feature-icon: #1a1a1a;
    --bg-thumb: #1a1a1a;
    --bg-comment: #111111;
    --bg-back-to-top: #ffffff;
    --text-heading: #f0f0f0;
    --text-body: #d4d4d4;
    --text-muted: #999999;
    --text-meta: #777777;
    --text-footer: #777777;
    --text-footer-heading: #ffffff;
    --text-nav: #999999;
    --text-nav-hover: #f0f0f0;
    --text-nav-active: #000000;
    --text-cta: #ffffff;
    --text-cta-muted: #777777;
    --text-code: #777777;
    --text-code-keyword: #f0f0f0;
    --text-code-string: #bbbbbb;
    --text-code-func: #60a5fa;
    --text-error: #333333;
    --text-error-title: #f0f0f0;
    --border-color: #2a2a2a;
    --border-card: #2a2a2a;
    --border-input: #3a3a3a;
    --border-footer: #1a1a1a;
    --border-comment: #2a2a2a;
    --header-bg: rgba(10,10,10,0.9);
    --header-border: #2a2a2a;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-hover: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-strong: rgba(255, 255, 255, 0.22);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --glass-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.30), 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

html, body, div, span, p, h1, h2, h3, h4, h5, h6, a, img, section, article, header, footer, nav, main, ul, ol, li, form, input, textarea, button, table, tr, td, th, blockquote, code, pre {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
}
*::before, *::after {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-page);
    transition: background 0.3s, color 0.3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.2s var(--ease); }

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

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; font-size: 0.95rem; font-weight: 500;
    border-radius: 10px; cursor: pointer; transition: all 0.2s var(--ease);
    border: none; outline: none; box-shadow: var(--depth-1);
}
.btn-primary, .btn-primary:link, .btn-primary:visited {
    background: var(--pure-black) !important; color: var(--pure-white) !important;
    font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background: var(--gray-800) !important; color: var(--pure-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 4px 8px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.20);
}
.btn-white { background: var(--pure-white); color: var(--pure-black); }
.btn-white:hover { background: var(--gray-100); }
.btn-accent, .btn-accent:link, .btn-accent:visited {
    background: #2563eb !important; color: #ffffff !important; font-weight: 600;
    box-shadow: 0 4px 14px rgba(37,99,235,0.25);
}
.btn-accent:hover, .btn-accent:active, .btn-accent:focus {
    background: #1d4ed8 !important; color: #ffffff !important;
    transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}
[data-theme="dark"] .btn-accent { background: #3b82f6 !important; }
[data-theme="dark"] .btn-accent:hover { background: #2563eb !important; }
.btn-outline { background: transparent; color: var(--text-body); border: 1.5px solid var(--border-color); }
.btn-outline:hover { border-color: var(--text-heading); color: var(--text-heading); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--pure-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--depth-1);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
[data-theme="dark"] .site-header {
    background: var(--bg-page);
    border-bottom-color: var(--border-color);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text-heading); letter-spacing: -0.02em; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; justify-content: center; height: 40px; line-height: 1; gap: 5px; }
.logo-title { font-size: 20px; font-weight: 700; color: var(--text-heading); }
.logo-subtitle { font-size: 12.2px; font-weight: 400; color: var(--text-muted); letter-spacing: 0.02em; }
.logo-icon {
    width: 40px; height: 40px;
    background: var(--pure-black);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--pure-white); font-weight: 900; font-size: 1.35rem;
}
[data-theme="dark"] .logo-subtitle { color: #bbbbbb; }
[data-theme="dark"] .logo-icon {
    background: var(--pure-white);
    color: var(--pure-black);
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul, .main-nav ol, .main-nav .nav-menu, .main-nav .menu {
    display: flex; align-items: center; gap: 6px; list-style: none !important; padding: 0; margin: 0;
}
.main-nav ul li, .main-nav ol li, .main-nav .menu-item, .main-nav li { list-style: none !important; margin: 0; padding: 0; }
.main-nav ul li a, .main-nav ol li a, .main-nav .menu-item a, .main-nav li a {
    position: relative; padding: 8px 16px; font-size: 15px; font-weight: 700;
    color: var(--text-nav); border-radius: 8px; display: block; white-space: nowrap;
    text-decoration: none; transition: all 0.25s var(--ease); overflow: hidden;
}
.main-nav ul li a:hover, .main-nav ol li a:hover, .main-nav .menu-item a:hover, .main-nav li a:hover {
    color: var(--text-nav-hover); background: transparent;
}

/* 普通菜单项高亮 - 下划线风格 */
.main-nav ul li a.active, .main-nav ol li a.active, .main-nav .menu-item a.active, .main-nav li a.active,
.main-nav ul li.current-menu-item a, .main-nav ol li.current-menu-item a, .main-nav .menu-item.current-menu-item a, .main-nav li.current-menu-item a,
.main-nav ul li.current a, .main-nav ol li.current a, .main-nav .menu-item.current a, .main-nav li.current a,
.main-nav ul li.active a, .main-nav ol li.active a, .main-nav .menu-item.active a, .main-nav li.active a {
    color: var(--text-heading);
    background: transparent;
    font-weight: 600;
    box-shadow: none;
}

/* 下划线效果 */
.main-nav ul li a.active::after, .main-nav ol li a.active::after, .main-nav .menu-item a.active::after, .main-nav li a.active::after,
.main-nav ul li.current-menu-item a::after, .main-nav ol li.current-menu-item a::after, .main-nav .menu-item.current-menu-item a::after, .main-nav li.current-menu-item a::after,
.main-nav ul li.current a::after, .main-nav ol li.current a::after, .main-nav .menu-item.current a::after, .main-nav li.current a::after,
.main-nav ul li.active a::after, .main-nav ol li.active a::after, .main-nav .menu-item.active a::after, .main-nav li.active a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 1px;
    transition: background 0.3s;
}

/* 最后一个菜单项 - 保留按钮高亮底色 */
.main-nav ul li:last-child a, .main-nav ol li:last-child a, .main-nav .menu-item:last-child a, .main-nav li:last-child a {
    color: var(--bg-nav-active-text);
    background: var(--bg-nav-active);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border-radius: 8px;
}
.main-nav ul li:last-child a:hover, .main-nav ol li:last-child a:hover, .main-nav .menu-item:last-child a:hover, .main-nav li:last-child a:hover {
    background: var(--gray-800);
    color: var(--pure-white);
    transform: translateY(-1px);
}

/* 最后一个菜单项去掉下划线 */
.main-nav ul li:last-child a::after, .main-nav ol li:last-child a::after, .main-nav .menu-item:last-child a::after, .main-nav li:last-child a::after {
    display: none;
}
.nav-cta { margin-left: 12px; display: flex; align-items: center; flex-shrink: 0; }
.nav-cta .btn { padding: 8px 20px; font-size: 0.85rem; white-space: nowrap; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; background: none; border: none; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text-heading); border-radius: 1px; }

.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--border-color);
    cursor: pointer; position: relative; margin-left: 12px;
    transition: all 0.3s var(--ease); outline: none; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-heading);
}
.theme-toggle:hover {
    border-color: var(--text-heading);
    background: var(--bg-hover);
    transform: scale(1.05);
}
.theme-toggle svg {
    width: 20px; height: 20px;
    transition: all 0.3s var(--ease);
    position: absolute;
}
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"] .theme-toggle { border-color: var(--gray-600); color: var(--pure-white); }
[data-theme="dark"] .theme-toggle:hover { border-color: var(--gray-400); background: var(--gray-800); }

.hero { padding: 120px 0 0; text-align: left; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-page) 60%); position: relative; overflow: hidden; transition: background 0.3s; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.4fr 0.65fr; gap: 24px; align-items: stretch; text-align: left; }
.hero-content { max-width: 100%; }
.hero-center { display: flex; justify-content: center; align-items: stretch; }
.hero-center .ai-chat-card { width: 100%; max-width: 520px; background: var(--glass-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--glass-border); border-radius: var(--glass-radius); box-shadow: var(--glass-shadow-lg); overflow: hidden; display: flex; flex-direction: column; height: 100%; position: relative; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-center .ai-chat-card:not(.animate-chat):hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.15); }
.hero-right-stack { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.hero-right-stack .data-card { padding: 12px 16px; border-radius: 12px; background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); transition: all 0.35s var(--ease); flex-direction: column; align-items: stretch; gap: 8px; }
.hero-right-stack .data-card:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-strong); box-shadow: var(--glass-shadow-lg); transform: translateX(-3px) scale(1.01); }

/* 页面加载时：右侧数据卡片从上往下掉落，一个个进入 */
.hero-right-stack.animate-cards .data-card {
  opacity: 0;
  transform: translateY(-100px);
  transition-property: none;
  animation: dataCardDrop 0.90s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hero-right-stack.animate-cards .data-card:nth-child(1) { animation-delay: 0.15s; }
.hero-right-stack.animate-cards .data-card:nth-child(2) { animation-delay: 0.42s; }
.hero-right-stack.animate-cards .data-card:nth-child(3) { animation-delay: 0.69s; }
.hero-right-stack.animate-cards .data-card:nth-child(4) { animation-delay: 0.96s; }

@keyframes dataCardDrop {
  0%   { opacity: 0; transform: translateY(-100px); }
  55%  { opacity: 1; transform: translateY(8px); }
  70%  { transform: translateY(-5px); }
  85%  { transform: translateY(3px); }
  100% { opacity: 1; transform: translateY(0); }
}

.data-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); transition: all 0.35s var(--ease); }
.data-card:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-strong); box-shadow: var(--glass-shadow-lg); transform: translateX(-4px) scale(1.01); }
.data-card-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--icon-color, var(--text-heading)); box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s var(--ease); }
.data-card:hover .data-card-icon { transform: scale(1.08) rotate(-3deg); }
.data-card-icon svg { width: 22px; height: 22px; }
.data-card-body { flex: 1; min-width: 0; }
.data-card-label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; margin-bottom: 2px; }
.data-card-label svg { width: 12px; height: 12px; opacity: 0.6; }
.data-card-value { font-size: 1.4rem; font-weight: 800; color: var(--text-heading); line-height: 1.1; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; flex-shrink: 0; }
.data-card-unit { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.data-card-chart { margin-top: 8px; height: 20px; }
.data-card-chart svg { display: block; width: 100%; }
.data-card-bar { width: 100%; height: 3px; background: var(--gray-200); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
[data-theme="dark"] .data-card-bar { background: var(--gray-700); }
.data-card-bar-fill { height: 100%; border-radius: 2px; background: var(--bar-color, var(--text-heading)); opacity: 0.7; transition: width 1s ease-out 0.5s; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--bg-alt); border-radius: 100px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 24px; border: 1px solid var(--border-color); transition: background 0.3s, border-color 0.3s; }
.hero-badge .dot { width: 6px; height: 6px; background: var(--text-heading); border-radius: 50%; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--text-heading); margin-bottom: 20px; transition: color 0.3s; }
.hero-title .accent { color: #2563eb; }
[data-theme="dark"] .hero-title .accent { color: #60a5fa; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; transition: color 0.3s; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Hero AI 图标行 ===== */
.hero-ai-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.ai-icon-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.ai-icon-list {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ai-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-heading);
    opacity: 0.45;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    cursor: default;
}
.ai-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.ai-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.code-window { background: var(--bg-code); border-radius: 12px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); transform: none; transition: transform 0.3s var(--ease), background 0.3s; height: 380px; display: flex; flex-direction: column; }
.code-window:hover { transform: perspective(1000px) rotateY(-2deg) rotateX(1deg); }
.code-header { display: flex; align-items: center; gap: 6px; padding: 14px 18px; background: var(--bg-code-header); border-bottom: 1px solid var(--gray-700); transition: background 0.3s; }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.r { background: #ff5f56; } .code-dot.y { background: #ffbd2e; } .code-dot.g { background: #27c93f; }
.code-body { padding: 20px; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.8; color: var(--text-code); flex: 1; overflow-y: auto; overflow-x: auto; max-width: 100%; transition: color 0.3s; }
.code-body::-webkit-scrollbar { width: 4px; }
.code-body::-webkit-scrollbar-track { background: transparent; }
.code-body::-webkit-scrollbar-thumb { background: var(--gray-700); border-radius: 2px; }
.code-body .c { color: var(--gray-600); } .code-body .k { color: var(--text-code-keyword); font-weight: 600; } .code-body .s { color: var(--text-code-string); } .code-body .f { color: var(--text-code-func); }

.stats-bar { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; background: linear-gradient(180deg, var(--text-heading) 0%, var(--text-muted) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 6px; transition: background 0.3s; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); transition: color 0.3s; }

.hero-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; padding-bottom: 80px; }
.hero-feature-item { padding: 22px; border-radius: var(--glass-radius-sm); border: 1px solid var(--glass-border); background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--glass-shadow); display: flex; align-items: flex-start; gap: 14px; transition: all 0.3s var(--ease); }
.hero-feature-item:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-strong); box-shadow: var(--glass-shadow-lg); transform: translateY(-4px); }
.hero-feature-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-feature-icon); display: flex; align-items: center; justify-content: center; color: var(--text-heading); flex-shrink: 0; transition: background 0.3s, color 0.3s; }
.hero-feature-icon svg { width: 20px; height: 20px; }
.hero-feature-text h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-heading); margin-bottom: 4px; transition: color 0.3s; }
.hero-feature-text p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin: 0; transition: color 0.3s; }

.section { padding: 100px 0; background: var(--bg-page); transition: background 0.3s; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-alt) 50%, var(--bg-page) 100%); transition: background 0.3s; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 16px; transition: color 0.3s; padding: 6px 16px; background: var(--glass-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--glass-border); border-radius: 100px; box-shadow: var(--glass-shadow); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-heading); margin-bottom: 12px; letter-spacing: -0.02em; transition: color 0.3s; }
.section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; transition: color 0.3s; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px; border-radius: var(--glass-radius); border: 1px solid var(--glass-border); background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); transition: all 0.35s var(--ease); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--glass-border-strong), transparent); opacity: 0; transition: opacity 0.3s; }
.feature-card:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-strong); box-shadow: var(--glass-shadow-lg); transform: translateY(-6px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-feature-icon); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-heading); margin-bottom: 20px; transition: all 0.3s var(--ease); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }
.feature-icon svg { width: 22px; height: 22px; display: block; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; transition: color 0.3s; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin: 0; transition: color 0.3s; }

.posts-section { padding: 100px 0; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-page) 100%); transition: background 0.3s; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--glass-radius); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); transition: all 0.35s var(--ease); position: relative; }
.post-card:hover { background: var(--glass-bg-hover); border-color: var(--glass-border-strong); box-shadow: var(--glass-shadow-lg); transform: translateY(-4px); }
.post-thumb { width: 100%; height: 220px; background: var(--bg-thumb); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 3rem; overflow: hidden; transition: background 0.3s, color 0.3s; position: relative; }
.post-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.04) 100%); pointer-events: none; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 28px; }
.post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; font-size: 0.85rem; color: var(--text-meta); transition: color 0.3s; }
.post-meta i { margin-right: 4px; }
.post-title { font-size: 1.2rem; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; line-height: 1.3; transition: color 0.3s; }
.post-title a:hover { color: var(--text-muted); }
.post-excerpt { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; transition: color 0.3s; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text-heading); transition: color 0.3s, gap 0.2s; }
.read-more:hover { gap: 10px; }

/* ===== CTA - macOS 风格 ===== */
.cta-section {
    padding: 140px 0; text-align: center;
    background: 
        radial-gradient(ellipse 70% 55% at 50% -5%, rgba(99,102,241,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 85% 90%, rgba(139,92,246,0.07) 0%, transparent 50%),
        radial-gradient(ellipse 45% 40% at 15% 85%, rgba(236,72,153,0.05) 0%, transparent 45%),
        linear-gradient(180deg, #0e0e18 0%, #0a0a10 40%, #07070c 60%, #0b0b14 100%);
    transition: background 0.3s; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
.cta-section::after {
    content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse 40% 30% at 50% 20%, rgba(99,102,241,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 35% 25% at 70% 80%, rgba(139,92,246,0.04) 0%, transparent 60%);
    pointer-events: none; filter: blur(40px);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .section-label {
    background: rgba(255,255,255,0.04); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.08);
    padding: 8px 20px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 24px;
}
.cta-section .section-title { color: #ffffff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.2); letter-spacing: -0.02em; }
.cta-section .section-desc { color: rgba(255,255,255,0.45); margin-bottom: 40px; font-size: 1.1rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-primary {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important; color: #ffffff !important;
    border: 1px solid rgba(59,130,246,0.35); border-radius: 12px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3), 0 1px 2px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.18);
    position: relative; overflow: hidden; transition: all 0.3s var(--ease);
}
.cta-actions .btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg); transition: left 0.7s;
}
.cta-actions .btn-primary:hover::before { left: 150%; }
.cta-actions .btn-primary:hover {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.4), 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.22);
}
.cta-actions .btn-outline {
    background: rgba(255,255,255,0.05); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
    color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: all 0.3s var(--ease);
}
.cta-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ===== 页脚 - macOS 风格 ===== */
.site-footer {
    background: 
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99,102,241,0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0c0c14 0%, #09090f 30%, #07070c 70%, #0a0a12 100%);
    color: rgba(255,255,255,0.35); padding: 100px 0 32px;
    position: relative; overflow: hidden; transition: background 0.3s, color 0.3s;
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.site-footer::after {
    content: ''; position: absolute; bottom: -20%; left: 50%; transform: translateX(-50%);
    width: 80%; height: 60%;
    background: radial-gradient(ellipse 50% 40% at 50% 100%, rgba(99,102,241,0.04) 0%, transparent 60%);
    pointer-events: none; filter: blur(60px);
}
.footer-watermark {
    position: absolute;
    top: 60%;
    left: 66%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 11vw, 10rem);
    font-weight: 900;
    color: rgba(255,255,255,0.025);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; position: relative; z-index: 1; }
.footer-brand {
    padding: 28px; background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
}
.footer-brand .logo { color: #ffffff; margin-bottom: 14px; }
.footer-brand .logo-icon {
    background: #ffffff;
    color: #000000;
}
.footer-brand .logo-title { color: #ffffff; }
.footer-brand .logo-subtitle { color: rgba(255,255,255,0.55); }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; transition: color 0.3s; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45); font-size: 0.9rem; transition: all 0.3s var(--ease);
    position: relative; overflow: hidden;
}
.footer-social a::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    opacity: 0; transition: opacity 0.3s;
}
.footer-social a:hover {
    background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05);
}
.footer-social a:hover::before { opacity: 1; }
.footer-col h4 { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.4); font-size: 0.9rem; transition: all 0.25s var(--ease); display: inline-flex; align-items: center; gap: 8px; position: relative; }
.footer-col a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(99,102,241,0.6)); transition: width 0.3s var(--ease); }
.footer-col a:hover { color: rgba(255,255,255,0.85); transform: translateX(2px); }
.footer-col a:hover::after { width: 100%; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.25); letter-spacing: 0.02em; position: relative; z-index: 1; transition: border-color 0.3s, color 0.3s; }

.single-hero { padding: 130px 0 50px; background: var(--bg-alt); text-align: center; transition: background 0.3s; }
.single-meta { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; font-size: 0.85rem; color: var(--text-meta); transition: color 0.3s; }
.single-meta i { margin-right: 4px; }
.single-hero .post-meta { justify-content: center; margin-bottom: 16px; }
.single-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--text-heading); max-width: 800px; margin: 0 auto; line-height: 1.2; letter-spacing: -0.02em; transition: color 0.3s; }
.single-content { padding: 60px 0 80px; background: var(--bg-page); transition: background 0.3s; }
.content-body { max-width: 1160px; margin: 0 auto; font-size: 1.05rem; line-height: 1.9; color: var(--text-body); transition: color 0.3s; }
.content-body h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-heading); margin: 48px 0 20px; letter-spacing: -0.01em; transition: color 0.3s; }
.content-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-heading); margin: 32px 0 14px; transition: color 0.3s; }
.content-body p { margin-bottom: 1.5em; }
.content-body img { border-radius: 12px; margin: 32px 0; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.content-body blockquote { border-left: 3px solid var(--text-heading); padding-left: 24px; margin: 32px 0; color: var(--text-muted); font-style: italic; transition: border-color 0.3s, color 0.3s; }
.content-body code { background: var(--bg-alt); padding: 3px 8px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.88em; color: var(--text-body); transition: background 0.3s, color 0.3s; }
.content-body pre { background: var(--bg-code); color: var(--text-code-string); padding: 24px; border-radius: 12px; overflow-x: auto; margin: 32px 0; font-family: var(--font-mono); font-size: 0.88rem; line-height: 1.7; transition: background 0.3s, color 0.3s; }
.content-body pre code { background: none; padding: 0; color: inherit; }
.content-body ul, .content-body ol { margin: 20px 0; padding-left: 24px; }
.content-body li { margin-bottom: 8px; }

.comments-section { max-width: 720px; margin: 0 auto; padding: 60px 0; border-top: 1px solid var(--border-color); transition: border-color 0.3s; }
.comments-title { font-size: 1.2rem; font-weight: 700; color: var(--text-heading); margin-bottom: 28px; transition: color 0.3s; }
.comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.comment-item { padding: 20px; background: var(--bg-comment); border-radius: 10px; border: 1px solid var(--border-comment); transition: background 0.3s, border-color 0.3s; }
.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.comment-author { font-weight: 700; font-size: 0.9rem; color: var(--text-heading); transition: color 0.3s; }
.comment-date { font-size: 0.8rem; color: var(--text-muted); transition: color 0.3s; }
.comment-body { color: var(--text-body); font-size: 0.95rem; line-height: 1.7; transition: color 0.3s; }
.comment-form { background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 28px; border-radius: var(--glass-radius); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.comment-form h4 { font-size: 1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 20px; transition: color 0.3s; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text-body); transition: color 0.3s; }
.form-control { width: 100%; padding: 10px 14px; border: 1px solid var(--glass-border); border-radius: 10px; font-family: inherit; font-size: 0.95rem; background: var(--glass-bg); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); color: var(--text-body); box-shadow: inset 0 1px 2px rgba(0,0,0,0.04); transition: all 0.2s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--glass-border-strong); box-shadow: 0 0 0 3px rgba(128,128,128,0.08), inset 0 1px 2px rgba(0,0,0,0.04); }
textarea.form-control { resize: vertical; min-height: 100px; }

.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px; background: var(--bg-page); transition: background 0.3s; }
.error-code { font-size: 8rem; font-weight: 900; color: var(--text-error); line-height: 1; margin-bottom: 8px; letter-spacing: -0.05em; transition: color 0.3s; }
.error-title { font-size: 1.5rem; font-weight: 800; color: var(--text-error-title); margin-bottom: 12px; transition: color 0.3s; }
.error-desc { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; transition: color 0.3s; }

.back-to-top {
    position: fixed; bottom: 75px; right: 32px; width: 44px; height: 44px; border-radius: 50%;
    background: var(--pure-white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.06);
    z-index: 9999;
}
.back-to-top svg {
    width: 18px; height: 18px;
    color: var(--text-heading);
    transition: color 0.3s;
}
.back-to-top.visible {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(0) scale(1.08);
    box-shadow: 0 8px 28px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
}
.back-to-top:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* 黑夜模式 */
[data-theme="dark"] .back-to-top {
    background: var(--gray-800);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.06);
}
[data-theme="dark"] .back-to-top svg {
    color: var(--gray-200);
}
[data-theme="dark"] .back-to-top:hover {
    background: var(--gray-700);
    box-shadow: 0 8px 28px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
[data-theme="dark"] .back-to-top:active {
    background: var(--gray-800);
    box-shadow: 0 2px 8px rgba(0,0,0,0.30);
}


/* ===== Hero 标题文字 波浪滚轮 ===== */
.accent.roller {
  display: inline-block;
  position: relative;
  height: 1.15em;
  line-height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 2.2em;
  text-align: center;
}

.roller-item {
  display: block;
  height: 1.15em;
  line-height: 1.15em;
  position: absolute;
  left: 0; right: 0;
  top: 0;
  opacity: 0;
  transform: translateY(0);
}

/* 波浪进入：从下方冲上来，上下起伏几次才落稳 */
.roller-item.wave-in {
  animation: waveIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 波浪退出：向上冲一下再掉下去 */
.roller-item.wave-out {
  animation: waveOut 1.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes waveIn {
  0%   { opacity: 0; transform: translateY(110%) rotate(-6deg) scale(0.75); }
  25%  { opacity: 1; transform: translateY(-20%) rotate(4deg) scale(1.08); }
  45%  { transform: translateY(10%) rotate(-3deg) scale(0.96); }
  65%  { transform: translateY(-6%) rotate(2deg) scale(1.03); }
  80%  { transform: translateY(3%) rotate(-1deg) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

@keyframes waveOut {
  0%   { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
  30%  { opacity: 1; transform: translateY(-25%) rotate(5deg) scale(1.1); }
  55%  { opacity: 0.6; transform: translateY(8%) rotate(-4deg) scale(0.92); }
  100% { opacity: 0; transform: translateY(-110%) rotate(7deg) scale(0.75); }
}

@media (max-width: 1024px) {
    .hero-content { text-align: center; max-width: 100%; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .hero-center { order: -1; }
    .hero-center .ai-chat-card { max-width: 480px; height: auto; min-height: 320px; }
    .hero-right-stack { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .hero-right-stack .data-card { flex: 1 1 calc(50% - 10px); min-width: 160px; max-width: 220px; }
    .data-card { flex: 1 1 calc(50% - 12px); min-width: 200px; max-width: 280px; padding: 16px 18px; }
    .data-card-value { font-size: 1.3rem; }
    .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--pure-white); border-bottom: 1px solid var(--border-color); box-shadow: var(--depth-2); padding: 16px 24px; z-index: 999; }
    [data-theme="dark"] .main-nav { background: var(--bg-page); border-bottom-color: var(--border-color); }
    .main-nav.active { display: flex; flex-direction: column; }
    .main-nav ul, .main-nav ol, .main-nav .nav-menu, .main-nav .menu { flex-direction: column; width: 100%; gap: 0; }
    .main-nav ul li a, .main-nav ol li a, .main-nav .menu-item a, .main-nav li a { width: 100%; padding: 12px 16px; min-height: 44px; display: flex; align-items: center; }
    .main-nav ul li a.active, .main-nav li a.active, .main-nav ul li.current-menu-item a, .main-nav li.current-menu-item a, .main-nav ul li.current a, .main-nav li.current a {
        color: var(--text-heading); background: transparent; box-shadow: none;
    }
    .main-nav ul li a.active::after, .main-nav li a.active::after, .main-nav ul li.current-menu-item a::after, .main-nav li.current-menu-item a::after, .main-nav ul li.current a::after, .main-nav li.current a::after {
        content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px; height: 2px;
        background: var(--text-heading); border-radius: 1px;
    }
    .main-nav ul li:last-child a, .main-nav li:last-child a {
        color: var(--bg-nav-active-text); background: var(--bg-nav-active); font-weight: 600;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12); border-radius: 8px;
    }
    .main-nav ul li:last-child a::after, .main-nav li:last-child a::after { display: none; }
    .nav-cta { margin: 12px 0 0 0; width: 100%; }
    .nav-cta .btn { width: 100%; justify-content: center; min-height: 48px; }
    .menu-toggle { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
    .hero { padding: 100px 0 50px; }
    .hero-ai-icons { justify-content: center; margin-top: 24px; }
    .ai-icon-list { gap: 12px; }
    .hero-data-stack { flex-direction: column; align-items: stretch; }
    .hero-data-stack .data-card { max-width: 100%; width: 100%; }
    .section { padding: 60px 0; }
    .cta-section { padding: 100px 0; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .error-code { font-size: 5rem; }
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
    .code-body { font-size: 0.75rem; line-height: 1.7; padding: 16px; }
    .code-header { padding: 12px 14px; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
    .stats-bar { gap: 30px; }
    .stat-num { font-size: 1.6rem; }
    .post-body { padding: 20px; }
    .comment-form { padding: 20px; }
    .comments-section { padding: 40px 0; }
    .single-hero { padding: 100px 0 40px; }
    .single-content { padding: 40px 0 60px; }
    .content-body { font-size: 1rem; }
}


/* ===== 平板设备专用: 769px - 1024px ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 布局: 2 列网格 */
    .hero-grid { grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; }
    .hero-content { text-align: left; }
    .hero-actions { justify-content: flex-start; }
    .hero-center { order: 0; }
    .hero-center .ai-chat-card { max-width: 100%; min-height: 380px; }

    /* 右侧数据卡片: 隐藏以节省空间，或改为底部横向排列 */
    .hero-right-stack { display: none; }

    /* Hero 特性: 2 列 */
    .hero-features { grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 60px; margin-top: 48px; }

    /* 特性卡片: 2 列 */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .feature-card { padding: 28px; }

    /* 文章卡片: 2 列 */
    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .post-thumb { height: 200px; }

    /* 页脚: 3 列布局 */
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
    .footer-brand { padding: 24px; }

    /* 展示区域 */
    .showcase-grid { grid-template-columns: 1fr; gap: 48px; }
    .showcase-content { order: -1; max-width: 100%; text-align: center; }
    .showcase-content .btn { margin: 0 auto; }
    .showcase-visual { max-width: 600px; margin: 0 auto; width: 100%; }
    .mock-window-bd { min-height: 320px; }

    /* 触控优化 */
    .btn { min-height: 48px; padding: 12px 28px; }
    .main-nav ul li a, .main-nav li a { padding: 10px 14px; min-height: 44px; }

    /* 间距 */
    .section { padding: 80px 0; }
    .hero { padding: 110px 0 60px; }
    .posts-section { padding: 80px 0; }
    .showcase-section { padding: 80px 0; }

    /* 容器 */
    .container { padding: 0 32px; }

    /* 代码窗口 */
    .code-window { height: 340px; }

    /* 统计栏 */
    .stats-bar { gap: 48px; }

    /* AI 聊天卡片 */
    .ai-chat-bd { min-height: 300px; padding: 18px 16px; }

    /* 浮动图标隐藏 */
    .float-icon { display: none; }
}

@media (max-width: 768px) {
    /* 单列布局 */
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-center { order: -1; }
    .hero-right-stack .data-card { flex: 1 1 100%; max-width: 100%; }
    .hero-features { grid-template-columns: 1fr; gap: 12px; padding-bottom: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .post-thumb { height: 180px; }

    /* 触控优化 */
    .msg-bubble { font-size: 0.84rem; padding: 10px 14px; }
    .msg-avatar { width: 26px; height: 26px; font-size: 0.7rem; }
    .btn { min-height: 48px; }
    .main-nav ul li a, .main-nav li a { min-height: 48px; }

    /* 展示区域 */
    .showcase-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .showcase-content { order: -1; max-width: 100%; }
    .showcase-visual { max-width: 100%; }
    .mock-window-bd { min-height: 280px; }

    /* mock 区域 */
    .mock-img-edit { flex-direction: column; padding: 20px; gap: 14px; }
    .mock-product-card { width: 130px; height: 150px; }
    .mock-edit-menu { position: relative; bottom: auto; right: auto; width: 100%; max-width: 200px; }
    .mock-tunnel-ring { width: 200px; height: 200px; border-width: 5px; }
    .mock-tunnel-scene { width: 180px; height: 180px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 90px 0 0; }
    .hero-content { margin-top: 16px; }
    .hero-badge { font-size: 0.8rem; padding: 5px 12px; }
    .hero-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 40px; }
    .features-grid { gap: 16px; }
    .feature-card { padding: 24px; }
    .posts-grid { gap: 20px; }
    .cta-section { padding: 80px 0; }
    .cta-section .section-title { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-brand p { font-size: 0.85rem; }
    .footer-col a { font-size: 0.85rem; }
    .code-body { font-size: 0.7rem; padding: 12px; }
    .code-header { padding: 10px 12px; }
    .code-dot { width: 8px; height: 8px; }
    .data-card-icon { width: 32px; height: 32px; }
    .data-card-icon svg { width: 16px; height: 16px; }
    .data-card-value { font-size: 1.2rem; }
    .hero-center .ai-chat-card { border-radius: 14px; height: auto; min-height: 280px; }
    .ai-chat-hd { padding: 12px 14px; }
    .chat-window-btns span { width: 10px; height: 10px; }
    .ai-chat-name { font-size: 0.75rem; }
    .ai-chat-bd { padding: 16px 14px; gap: 12px; }
    .msg-bubble { font-size: 0.82rem; padding: 9px 12px; }
    .msg-avatar { width: 24px; height: 24px; font-size: 0.7rem; border-radius: 6px; }
    .chat-msg { gap: 8px; }
    .msg-time { display: none; }
    .chat-input-mock { padding: 6px 10px; font-size: 0.75rem; }
    .site-footer { padding: 60px 0 24px; }
    .footer-watermark { font-size: 4rem; }
    .footer-brand { padding: 20px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    /* 触控优化 */
    .btn { min-height: 44px; padding: 10px 20px; }
    .menu-toggle { width: 44px; height: 44px; }
    .theme-toggle { width: 44px; height: 44px; }
    .back-to-top { width: 40px; height: 40px; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease-out forwards; }

.ai-chat-card { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--glass-radius); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow-lg); position: relative; z-index: 2; transition: background 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1); max-width: 100%; }
.ai-chat-card:not(.animate-chat):hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.15); }
.ai-chat-hd { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--glass-bg-hover); border-bottom: 1px solid var(--glass-border); transition: background 0.3s, border-color 0.3s; flex-shrink: 0; }
.chat-window-btns { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.chat-window-btns span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.chat-window-btns .btn-close { background: #ff5f56; } .chat-window-btns .btn-minimize { background: #ffbd2e; } .chat-window-btns .btn-maximize { background: #27c93f; }
.ai-chat-name { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); flex: 1; text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; transition: color 0.3s; }
.ai-chat-name svg { opacity: 0.7; }
.ai-chat-status { font-size: 0.72rem; font-weight: 500; color: #27c93f; display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.status-dot { width: 6px; height: 6px; background: #27c93f; border-radius: 50%; animation: pulseDot 2s ease-in-out infinite; box-shadow: 0 0 0 2px rgba(39,201,63,0.2); }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.ai-chat-bd { padding: 20px 18px; display: flex; flex-direction: column; gap: 16px; flex: 1; min-height: 280px; overflow-y: auto; }
/* 默认状态：直接显示，无动画 */
.chat-msg { display: flex; align-items: flex-end; gap: 10px; opacity: 1; transform: none; max-width: 88%; }

/* ===== 页面加载时：卡片从上掉落 + 消息从右滑入 ===== */

/* 1. 卡片整体从上方掉落，带弹跳抖动 */
/* 用 .hero .ai-chat-card.animate-chat 提高优先级，覆盖 .hero-center .ai-chat-card */
.hero .ai-chat-card.animate-chat {
  opacity: 0;
  transform: translateY(-200px) scale(0.88);
  transition-property: none;
  animation: cardDropIn 0.90s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cardDropIn {
  0%   { opacity: 0; transform: translateY(-200px) scale(0.88); }
  55%  { opacity: 1; transform: translateY(12px) scale(1.02); }
  70%  { transform: translateY(-8px) scale(1); }
  85%  { transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 2. 消息等卡片落稳后，再从右往左轮播滑入 */
.hero .ai-chat-card.animate-chat .chat-msg {
  opacity: 0;
  transform: translateX(60px);
  animation: msgSlideIn 0.70s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero .ai-chat-card.animate-chat .chat-msg:nth-child(1) { animation-delay: 0.95s; }
.hero .ai-chat-card.animate-chat .chat-msg:nth-child(2) { animation-delay: 1.22s; }
.hero .ai-chat-card.animate-chat .chat-msg:nth-child(3) { animation-delay: 1.49s; }
.hero .ai-chat-card.animate-chat .chat-msg:nth-child(4) { animation-delay: 1.76s; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg.ai { align-self: flex-start; }
.msg-avatar { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.75rem; flex-shrink: 0; margin-bottom: 2px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); transition: transform 0.3s var(--ease); }
.chat-msg:hover .msg-avatar { transform: scale(1.08); }
.msg-bubble { padding: 12px 16px; font-size: 14px; line-height: 1.55; word-break: break-word; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s var(--ease); }
.chat-msg.user .msg-bubble { background: var(--pure-black); color: var(--pure-white); border-radius: 16px 16px 4px 16px; font-weight: 400; }
.chat-msg.ai .msg-bubble { background: var(--bg-card); color: var(--text-body); border-radius: 16px 16px 16px 4px; border: 1px solid var(--border-card); }
[data-theme="dark"] .chat-msg.user .msg-bubble { background: var(--pure-white); color: var(--pure-black); font-weight: 500; }
[data-theme="dark"] .chat-msg.ai .msg-bubble { background: var(--gray-800); color: var(--gray-200); border-color: var(--gray-700); }
.ai-chat-ft { padding: 10px 20px; background: var(--glass-bg-hover); border-top: 1px solid var(--glass-border); font-size: 0.72rem; color: var(--gray-500); text-align: center; letter-spacing: 0.02em; transition: background 0.3s, color 0.3s, border-color 0.3s; flex-shrink: 0; }
.msg-bubble-hd { font-size: 11px; font-weight: 700; color: var(--text-muted); margin-bottom: 3px; letter-spacing: 0.02em; display: flex; align-items: center; gap: 4px; }
.msg-bubble-hd::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--text-code-func); display: inline-block; }
.msg-time { font-size: 0.65rem; color: var(--text-muted); opacity: 0.6; margin-bottom: 2px; flex-shrink: 0; white-space: nowrap; }
.typing-bubble { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 14px 18px; min-width: 56px; }
.typing-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-muted); animation: typingBounce 1.4s ease-in-out infinite; }
.typing-dot:nth-child(1) { animation-delay: 0s; } .typing-dot:nth-child(2) { animation-delay: 0.2s; } .typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.chat-input-mock { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--bg-page); border: 1px solid var(--border-color); border-radius: 10px; font-size: 0.78rem; color: var(--text-muted); transition: all 0.3s; }
.chat-input-mock svg:first-child { opacity: 0.5; flex-shrink: 0; }
.chat-input-mock span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-input-mock svg:last-child { opacity: 0.6; flex-shrink: 0; transition: opacity 0.2s, transform 0.2s; }
.chat-input-mock:hover svg:last-child { opacity: 1; transform: translateX(2px); }
[data-theme="dark"] .chat-input-mock { background: var(--gray-900); border-color: var(--gray-700); }
.data-card-inner { display: flex; align-items: center; gap: 10px; min-width: 0; width: 100%; }
.data-card-bar { width: 100%; height: 3px; background: var(--gray-200); border-radius: 2px; margin-top: 8px; overflow: hidden; }
[data-theme="dark"] .data-card-bar { background: var(--gray-700); }
.data-card-bar-fill { height: 100%; border-radius: 2px; background: var(--bar-color, var(--text-heading)); opacity: 0.7; transition: width 1.2s ease-out 0.6s; }

@keyframes msgSlideIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }

.float-icon { position: absolute; z-index: 1; pointer-events: none; color: var(--text-heading); transition: color 0.3s; }
.float-icon svg { width: 100%; height: 100%; display: block; }
.fi-l1 { top: -22px; left: -30px; width: 44px; height: 44px; opacity: 0.35; animation: fiL1 4.2s ease-in-out infinite; }
.fi-l2 { top: 28%; left: -42px; width: 28px; height: 28px; opacity: 0.25; animation: fiL2 5.5s ease-in-out infinite 0.7s; }
.fi-l3 { top: 52%; left: -18px; width: 36px; height: 36px; opacity: 0.3; animation: fiL3 3.6s ease-in-out infinite 1.3s; }
.fi-l4 { bottom: 18%; left: -36px; width: 24px; height: 24px; opacity: 0.2; animation: fiL4 6s ease-in-out infinite 0.4s; }
.fi-l5 { bottom: -10px; left: -14px; width: 32px; height: 32px; opacity: 0.28; animation: fiL5 4.8s ease-in-out infinite 1.8s; }
.fi-r1 { top: -14px; right: -26px; width: 38px; height: 38px; opacity: 0.32; animation: fiR1 5s ease-in-out infinite 0.2s; }
.fi-r2 { top: 22%; right: -44px; width: 30px; height: 30px; opacity: 0.22; animation: fiR2 4.4s ease-in-out infinite 1.1s; }
.fi-r3 { top: 56%; right: -20px; width: 40px; height: 40px; opacity: 0.3; animation: fiR3 5.8s ease-in-out infinite 0.6s; }
.fi-r4 { bottom: 22%; right: -38px; width: 26px; height: 26px; opacity: 0.18; animation: fiR4 6.2s ease-in-out infinite 1.5s; }
.fi-r5 { bottom: -8px; right: -16px; width: 34px; height: 34px; opacity: 0.26; animation: fiR5 4s ease-in-out infinite 0.9s; }

@keyframes fiL1 { 0%, 100% { transform: rotate(-18deg) translate(0, 0) scale(1); } 33% { transform: rotate(-10deg) translate(4px, -14px) scale(1.05); } 66% { transform: rotate(-22deg) translate(-3px, -8px) scale(0.95); } }
@keyframes fiL2 { 0%, 100% { transform: rotate(25deg) translate(0, 0); } 50% { transform: rotate(35deg) translate(-6px, -12px); } }
@keyframes fiL3 { 0%, 100% { transform: rotate(48deg) translate(0, 0) scale(1); } 40% { transform: rotate(58deg) translate(3px, -10px) scale(1.08); } 80% { transform: rotate(42deg) translate(-2px, -6px) scale(0.92); } }
@keyframes fiL4 { 0%, 100% { transform: rotate(-8deg) translate(0, 0); } 25% { transform: rotate(2deg) translate(5px, -8px); } 75% { transform: rotate(-15deg) translate(-4px, -5px); } }
@keyframes fiL5 { 0%, 100% { transform: rotate(12deg) translate(0, 0); } 50% { transform: rotate(20deg) translate(-5px, -16px); } }
@keyframes fiR1 { 0%, 100% { transform: rotate(-35deg) translate(0, 0) scale(1); } 30% { transform: rotate(-28deg) translate(-4px, -12px) scale(1.06); } 70% { transform: rotate(-42deg) translate(2px, -7px) scale(0.94); } }
@keyframes fiR2 { 0%, 100% { transform: rotate(18deg) translate(0, 0); } 50% { transform: rotate(28deg) translate(6px, -14px); } }
@keyframes fiR3 { 0%, 100% { transform: rotate(-5deg) translate(0, 0) scale(1); } 35% { transform: rotate(5deg) translate(-3px, -10px) scale(1.1); } 65% { transform: rotate(-12deg) translate(4px, -6px) scale(0.9); } }
@keyframes fiR4 { 0%, 100% { transform: rotate(40deg) translate(0, 0); } 40% { transform: rotate(50deg) translate(-5px, -9px); } 80% { transform: rotate(32deg) translate(3px, -12px); } }
@keyframes fiR5 { 0%, 100% { transform: rotate(-15deg) translate(0, 0); } 50% { transform: rotate(-5deg) translate(4px, -15px); } }

@media (max-width: 768px) {
    .float-icon { display: none; }
    .ai-chat-bd { padding: 16px; gap: 12px; min-height: auto; }
    .msg-bubble { padding: 10px 13px; font-size: 0.82rem; }
    .chat-msg { max-width: 92%; }
    .ai-chat-hd { padding: 14px 16px; }
    .ai-chat-ft { padding: 8px 16px; }
}
@media (max-width: 480px) {
    .msg-bubble { font-size: 0.78rem; padding: 9px 12px; }
    .msg-avatar { width: 24px; height: 24px; font-size: 0.7rem; }
}

/* ===== 文生图 / 图生图 展示版块 ===== */
.showcase-section { padding: 100px 0; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase-content { max-width: 480px; }
.showcase-content .btn { margin-top: 8px; }
.showcase-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.showcase-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  transition: color 0.3s;
}
.showcase-visual { position: relative; }

/* 模拟窗口 */
.mock-window {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.mock-window:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
}
.mock-window-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--glass-bg-hover);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s, border-color 0.3s;
}
.mock-window-btns { display: flex; gap: 8px; flex-shrink: 0; }
.mock-window-btns span {
  width: 12px; height: 12px; border-radius: 50%; display: block;
}
.mock-window-btns span:nth-child(1) { background: #ff5f56; }
.mock-window-btns span:nth-child(2) { background: #ffbd2e; }
.mock-window-btns span:nth-child(3) { background: #27c93f; }
.mock-window-title {
  flex: 1; text-align: center;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}
.mock-window-bd {
  position: relative;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
}

/* 文生图模拟 */
.mock-t2i {
  background: linear-gradient(160deg, #6bb8c4 0%, #d4a574 40%, #e8b87a 70%, #c9e4e7 100%);
  position: relative;
}
.mock-prompt-float {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: #5c4a3a;
  line-height: 1.55;
  transition: transform 0.3s var(--ease);
}
.mock-window:hover .mock-prompt-float {
  transform: translateY(-4px);
}
.mock-sparkle {
  color: #b08d55;
  flex-shrink: 0;
  margin-top: 2px;
}
.mock-prompt-float p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-theme="dark"] .mock-prompt-float {
  background: rgba(30,30,35,0.78);
  border-color: rgba(255,255,255,0.1);
  color: #c4b5a0;
}
[data-theme="dark"] .mock-sparkle { color: #d4b896; }

/* 图生图模拟 */
.mock-i2i {
  background: linear-gradient(160deg, #3a7ca5 0%, #4a9e8a 35%, #6bc4a6 65%, #8fd3b3 100%);
  position: relative;
}
.mock-ref-stack {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-ref-item {
  width: 58px; height: 58px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  border: 2px solid #fff;
  transition: all 0.3s var(--ease);
}
.mock-ref-item:hover {
  transform: scale(1.08) translateX(4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.mock-ref-item svg { display: block; }
[data-theme="dark"] .mock-ref-item {
  background: rgba(40,40,48,0.9);
  border-color: rgba(255,255,255,0.15);
  color: #aaa;
}

/* 色差处理：第二个版块加深一点 */
#text-to-image {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
}
#image-to-image {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .showcase-content {
    max-width: 100%;
    order: -1;
  }
  .showcase-content .btn { margin: 0 auto; }
  .showcase-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .mock-window-bd { min-height: 300px; }
}

@media (max-width: 480px) {
  .showcase-section { padding: 60px 0; }
  .showcase-title { font-size: 1.6rem; }
  .showcase-desc { font-size: 0.95rem; }
  .mock-window-bd { min-height: 260px; }
  .mock-prompt-float { bottom: 16px; left: 16px; right: 16px; padding: 12px 14px; font-size: 0.75rem; }
  .mock-ref-item { width: 48px; height: 48px; }
  .mock-ref-item svg { width: 16px; height: 16px; }
}

/* ===== AI 图片编辑 模拟窗口 ===== */
.mock-img-edit {
  background: linear-gradient(160deg, #5b9bd5 0%, #7bb3e0 30%, #a8d0f0 60%, #c5e3f7 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}
.mock-product-card {
  width: 160px; height: 180px;
  background: linear-gradient(180deg, #f5ede0 0%, #e8ddd0 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.mock-product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
}
.mock-product-body {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 100px;
  background: linear-gradient(180deg, #f0e6d8 0%, #e0d4c4 100%);
  border-radius: 10px 10px 6px 6px;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4), 0 4px 12px rgba(0,0,0,0.1);
}
.mock-product-body::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 28px;
  background: linear-gradient(180deg, #d4c8b8 0%, #c4b8a8 100%);
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.mock-product-bowl {
  position: absolute;
  bottom: 20px; left: 12px;
  width: 36px; height: 24px;
  background: linear-gradient(180deg, #e8e0d4 0%, #d8d0c4 100%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.mock-product-bowl::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 10px;
  background: linear-gradient(180deg, #c8e0f0 0%, #a8d0e8 100%);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
}
.mock-product-tank {
  position: absolute;
  top: 20px; right: 20px;
  width: 30px; height: 50px;
  background: linear-gradient(180deg, rgba(200,220,240,0.5) 0%, rgba(180,200,220,0.3) 100%);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
}
.mock-product-food {
  position: absolute;
  bottom: 48px; right: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  width: 36px;
}
.mock-product-food span {
  width: 6px; height: 6px;
  background: #a08060;
  border-radius: 50%;
  opacity: 0.8;
}
.mock-edit-menu {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 170px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 10px;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.mock-window:hover .mock-edit-menu {
  transform: translateY(-4px);
}
.mock-edit-menu-hd {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #5b9bd5 0%, #7bb3e0 100%);
  border-radius: 50%;
  color: #fff;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(91,155,213,0.3);
}
.mock-edit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 0.78rem;
  color: #555;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: default;
}
.mock-edit-item svg {
  color: #888;
  flex-shrink: 0;
}
.mock-edit-item:hover,
.mock-edit-active {
  background: rgba(91,155,213,0.1);
  color: #3a7eb8;
}
.mock-edit-active {
  font-weight: 600;
}
.mock-edit-active svg {
  color: #5b9bd5;
}
[data-theme="dark"] .mock-img-edit {
  background: linear-gradient(160deg, #3a6fa0 0%, #4a80b0 30%, #5a90c0 60%, #6aa0d0 100%);
}
[data-theme="dark"] .mock-product-card {
  background: linear-gradient(180deg, #3a3530 0%, #2a2520 100%);
}
[data-theme="dark"] .mock-product-body {
  background: linear-gradient(180deg, #3a3530 0%, #2a2520 100%);
}
[data-theme="dark"] .mock-edit-menu {
  background: rgba(30,35,45,0.85);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .mock-edit-item {
  color: #bbb;
}
[data-theme="dark"] .mock-edit-item:hover,
[data-theme="dark"] .mock-edit-active {
  background: rgba(91,155,213,0.15);
  color: #8fc0e8;
}

/* ===== AI 视频创作 模拟窗口 ===== */
.mock-video {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}
.mock-tunnel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-tunnel-ring {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 8px solid #2a2a3e;
  box-shadow:
    0 0 0 16px #1a1a2e,
    0 0 0 24px #2a2a3e,
    0 0 0 32px #1a1a2e,
    0 0 60px rgba(0,0,0,0.5),
    inset 0 0 40px rgba(0,0,0,0.3);
  z-index: 2;
}
.mock-tunnel-scene {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #87CEEB 0%, #B0E0E6 40%, #98D8C8 70%, #7CB87C 100%);
}
.mock-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #5b9bd5 0%, #87CEEB 40%, #a8d5e5 70%, #c8e8d8 100%);
}
.mock-clouds {
  position: absolute;
  top: 20%; left: 0; right: 0;
}
.mock-clouds span {
  position: absolute;
  background: rgba(255,255,255,0.85);
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mock-clouds span:nth-child(1) {
  width: 60px; height: 20px;
  top: 0; left: 20%;
}
.mock-clouds span:nth-child(2) {
  width: 80px; height: 24px;
  top: 15px; left: 50%;
}
.mock-clouds span:nth-child(3) {
  width: 50px; height: 18px;
  top: 5px; left: 70%;
}
.mock-trees {
  position: absolute;
  bottom: 30%; left: 0; right: 0;
}
.mock-trees span {
  position: absolute;
  bottom: 0;
  width: 0; height: 0;
  border-style: solid;
}
.mock-trees span:nth-child(1) {
  border-width: 0 20px 60px 20px;
  border-color: transparent transparent #2d5a27 transparent;
  left: 15%;
}
.mock-trees span:nth-child(2) {
  border-width: 0 25px 80px 25px;
  border-color: transparent transparent #3a7a32 transparent;
  left: 35%;
}
.mock-trees span:nth-child(3) {
  border-width: 0 18px 50px 18px;
  border-color: transparent transparent #2d5a27 transparent;
  right: 25%;
}
.mock-trees span:nth-child(4) {
  border-width: 0 22px 70px 22px;
  border-color: transparent transparent #3a7a32 transparent;
  right: 10%;
}
.mock-flowers {
  position: absolute;
  bottom: 15%; left: 0; right: 0;
}
.mock-flowers span {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  bottom: 0;
}
.mock-flowers span:nth-child(1) { background: #e8a0a0; left: 20%; }
.mock-flowers span:nth-child(2) { background: #f0c0a0; left: 35%; bottom: 5px; }
.mock-flowers span:nth-child(3) { background: #d8a8d8; left: 55%; }
.mock-flowers span:nth-child(4) { background: #f0d0a0; left: 70%; bottom: 3px; }
.mock-flowers span:nth-child(5) { background: #a8d8c8; left: 85%; }

[data-theme="dark"] .mock-video {
  background: linear-gradient(160deg, #0a0a14 0%, #0c0c1e 30%, #0a0a20 60%, #0a0a14 100%);
}
[data-theme="dark"] .mock-tunnel-ring {
  border-color: #1a1a2e;
  box-shadow:
    0 0 0 16px #0a0a14,
    0 0 0 24px #1a1a2e,
    0 0 0 32px #0a0a14,
    0 0 60px rgba(0,0,0,0.8),
    inset 0 0 40px rgba(0,0,0,0.5);
}
[data-theme="dark"] .mock-sky {
  background: linear-gradient(180deg, #3a5a80 0%, #5a7a90 40%, #6a8a80 70%, #7a9a70 100%);
}

/* 色差：AI 视频版块加深 */
#ai-image-edit {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
}
#ai-video {
  background: var(--bg-page);
}

/* 响应式补充 */
@media (max-width: 1024px) {
  .mock-img-edit {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  .mock-product-card {
    width: 140px; height: 160px;
  }
  .mock-edit-menu {
    position: relative;
    bottom: auto; right: auto;
    width: 100%;
    max-width: 220px;
  }
  .mock-tunnel-ring {
    width: 220px; height: 220px;
    border-width: 6px;
    box-shadow:
      0 0 0 12px #1a1a2e,
      0 0 0 18px #2a2a3e,
      0 0 0 24px #1a1a2e,
      0 0 40px rgba(0,0,0,0.5),
      inset 0 0 30px rgba(0,0,0,0.3);
  }
  .mock-tunnel-scene {
    width: 200px; height: 200px;
  }
}

@media (max-width: 480px) {
  .mock-product-card {
    width: 120px; height: 140px;
  }
  .mock-edit-menu {
    padding: 8px;
  }
  .mock-edit-item {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
  .mock-tunnel-ring {
    width: 180px; height: 180px;
  }
  .mock-tunnel-scene {
    width: 160px; height: 160px;
  }
}

/* ==========================================================================
   Hero V2 · 居中横幅版式（黑白为主，对齐参考截图；文字与滚字动画沿用原版）
   仅追加，不改动上方任何原有样式
   ========================================================================== */
.hero-v2 {
    padding: 160px 0 110px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 45% at 50% 0%, rgba(0,0,0,0.035) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-page) 100%);
    overflow: hidden;
}
[data-theme="dark"] .hero-v2 {
    background:
        radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-page) 100%);
}

/* 顶部徽章 */
.hero-v2 .hero-top-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: 100px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    box-shadow: var(--depth-1);
    font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
    margin-bottom: 28px;
}
/* 徽章小圆点：绿色呼吸灯 + 微外发光 */
.hero-v2 .hero-top-badge .dot {
    width: 6px; height: 6px;
    background: #30d158;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(48, 209, 88, 0.75), 0 0 2px rgba(48, 209, 88, 0.9);
    animation: dotBreath 2.2s ease-in-out infinite;
}
@keyframes dotBreath {
    0%, 100% { opacity: 1;    transform: scale(1);    box-shadow: 0 0 7px rgba(48,209,88,0.85), 0 0 2px rgba(48,209,88,0.9); }
    50%      { opacity: 0.45; transform: scale(0.78); box-shadow: 0 0 1px rgba(48,209,88,0.25); }
}

/* 居中大标题（文字与第一版一致） */
.hero-v2 .hero-title {
    font-size: clamp(1.9rem, 4.6vw, 3.2rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 22px;
}
/* 滚字容器：词组为 4 字，宽度放到 4.6 字宽，避免裁切 */
.hero-v2 .hero-title .accent.roller {
    min-width: 4.6em;
}

/* 滚字：加粗 900 + 2026 主流无衬线字体；macOS Tahoe 蓝紫粉渐变（渐变在单字上） */
.hero-v2 .hero-title .accent.roller .roller-item {
    font-family: "MiSans", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei UI", sans-serif;
    font-weight: 900;
    letter-spacing: 0.02em;
}
.hero-v2 .hero-title .accent.roller .roller-item .ch {
    display: inline-block;
    transform-origin: 50% 100%;   /* 绕字底部旋转，骨牌倾倒感 */
    background: linear-gradient(135deg, #2997ff 0%, #7d7aff 40%, #bf5af2 75%, #ff6482 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
[data-theme="dark"] .hero-v2 .hero-title .accent.roller .roller-item .ch {
    background: linear-gradient(135deg, #6ab8ff 0%, #9d9aff 40%, #d39aff 75%, #ff8fab 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ===== 多米诺骨牌逐字动画：字绕底部依次倾倒/立起 ===== */
.hero-v2 .hero-title .accent.roller .roller-item.wave-in .ch {
    animation: chDominoIn 0.78s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}
.hero-v2 .hero-title .accent.roller .roller-item.wave-in .ch:nth-child(2) { animation-delay: 0.15s; }
.hero-v2 .hero-title .accent.roller .roller-item.wave-in .ch:nth-child(3) { animation-delay: 0.30s; }
.hero-v2 .hero-title .accent.roller .roller-item.wave-in .ch:nth-child(4) { animation-delay: 0.45s; }
.hero-v2 .hero-title .accent.roller .roller-item.wave-out .ch {
    animation: chDominoOut 0.55s cubic-bezier(0.55, 0, 0.55, 0.2) both;
}
.hero-v2 .hero-title .accent.roller .roller-item.wave-out .ch:nth-child(2) { animation-delay: 0.10s; }
.hero-v2 .hero-title .accent.roller .roller-item.wave-out .ch:nth-child(3) { animation-delay: 0.20s; }
.hero-v2 .hero-title .accent.roller .roller-item.wave-out .ch:nth-child(4) { animation-delay: 0.30s; }

@keyframes chDominoIn {
    0%   { opacity: 0; transform: rotate(-75deg) translateY(-0.12em) scale(0.92); }
    40%  { opacity: 1; transform: rotate(10deg) translateY(0) scale(1.05); }
    65%  { transform: rotate(-5deg) scale(1.02); }
    85%  { transform: rotate(2deg) scale(1); }
    100% { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes chDominoOut {
    0%   { opacity: 1; transform: rotate(0) translateY(0) scale(1); }
    25%  { opacity: 1; transform: rotate(-6deg) translateY(-0.04em) scale(1.02); }
    100% { opacity: 0; transform: rotate(70deg) translateY(0.25em) scale(0.85); }
}

/* 副标题 */
.hero-v2 .hero-subtitle {
    text-align: center;
    font-size: 1.02rem;
    max-width: 620px;
    margin: 0 auto 34px;
    line-height: 1.9;
}

/* 双按钮 */
.hero-v2 .hero-actions { justify-content: center; gap: 14px; }
.hero-v2 .btn-lg { padding: 13px 30px; }

/* ===== 英雄区 4 张特性卡片：图标与标题同一排居中对齐，标题/副标题全部居左 ===== */
.hero-v2 .hero-features {
    margin-top: 72px; padding-bottom: 0;
    position: relative; z-index: 1;
}
.hero-v2 .hero-feature-item { align-items: center; }
.hero-v2 .hero-feature-text { flex: 1; min-width: 0; }
.hero-v2 .hero-feature-text h4 { text-align: left; margin-bottom: 4px; }
.hero-v2 .hero-feature-text p { text-align: left; }

/* ===== 悬浮图标：macOS 风格渐变圆角方块 ===== */
.hero-v2 .hero-floats {
    position: absolute; top: 0; left: 0; right: 0;
    height: calc(100% - 280px);
    pointer-events: none; z-index: 0;
}
.hero-v2 .hero-floats .hfloat {
    position: absolute;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--ios-card);
    border: 0.5px solid var(--ios-card-border);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.30),
        0 3px 10px rgba(0,0,0,0.10);
    display: flex; align-items: center; justify-content: center;
    color: #ffffff;
    overflow: hidden;
}
.hero-v2 .hfloat::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 100%);
    border-radius: 12px 12px 50% 50% / 12px 12px 8px 8px;
    pointer-events: none;
}
.hero-v2 .hfloat svg { width: 20px; height: 20px; position: relative; }
/* iOS 系统色图案：紫 / 橙 / 绿 */
.hero-v2 .hf-1 svg { color: var(--ios-purple); }
.hero-v2 .hf-2 svg { color: var(--ios-orange); }
.hero-v2 .hf-3 svg { color: var(--ios-green); }

/* 图标大小：右上最大、左下次之、左上最小（高优先级覆盖基础尺寸） */
.hero-v2 .hero-floats .hf-1 { width: 42px; height: 42px; }
.hero-v2 .hero-floats .hf-3 { width: 50px; height: 50px; }
.hero-v2 .hero-floats .hf-2 { width: 62px; height: 62px; border-radius: 15px; }
.hero-v2 .hero-floats .hf-2 svg { width: 26px; height: 26px; }
.hero-v2 .hero-floats .hf-2::before { border-radius: 15px 15px 50% 50% / 15px 15px 10px 10px; }

/* 紫：闪光（左上） */
.hero-v2 .hf-1 {
    top: 24%; left: 16%;
    animation: hfBob 5s ease-in-out infinite;
}
/* 绿：对话（右侧） */
.hero-v2 .hf-2 {
    top: 36%; left: 80%;
    animation: hfBob 6s ease-in-out infinite 0.8s;
}
/* 橙：闪电（文字区左下，卡片上方） */
.hero-v2 .hf-3 {
    bottom: 6%; left: 22%; top: auto;
    animation: hfBob 5.5s ease-in-out infinite 0.4s;
}
@keyframes hfBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ===== 黑暗模式：黑底按钮全局反转为白底黑字 ===== */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-primary:link,
[data-theme="dark"] .btn-primary:visited {
    background: var(--pure-white) !important;
    color: var(--pure-black) !important;
    text-shadow: none;
    box-shadow: 0 4px 14px rgba(255,255,255,0.10), 0 1px 3px rgba(0,0,0,0.3);
}
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-primary:active,
[data-theme="dark"] .btn-primary:focus {
    background: var(--gray-200) !important;
    color: var(--pure-black) !important;
    box-shadow: 0 8px 24px rgba(255,255,255,0.14), 0 2px 6px rgba(0,0,0,0.3);
}
[data-theme="dark"] .cta-actions .btn-primary,
[data-theme="dark"] .cta-actions .btn-primary:link,
[data-theme="dark"] .cta-actions .btn-primary:visited {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3), 0 1px 2px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.18);
}
[data-theme="dark"] .cta-actions .btn-primary:hover {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
}

/* Hero V2 响应式 */
@media (max-width: 1024px) {
    .hero-v2 { padding: 130px 0 80px; }
    .hero-v2 .hero-features { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
    .hero-v2 .hero-floats { height: calc(100% - 430px); }
    .hero-v2 .hf-1 { top: 20%; left: 4%; }
    .hero-v2 .hf-2 { top: 34%; left: auto; right: 4%; }
    .hero-v2 .hf-3 { left: 8%; }
}
@media (max-width: 768px) {
    .hero-v2 { padding: 110px 0 60px; }
    .hero-v2 .hero-floats { display: none; }
    .hero-v2 .hero-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .hero-v2 .hero-subtitle { font-size: 0.92rem; }
    .hero-v2 .hero-features { grid-template-columns: 1fr; gap: 12px; margin-top: 48px; }
}
@media (max-width: 480px) {
    .hero-v2 { padding: 100px 0 50px; }
    .hero-v2 .hero-actions { flex-direction: column; }
    .hero-v2 .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   iOS Design Language · 整站 iPhone 视觉风格
   纯视觉覆盖：系统色板 / 毛玻璃导航 / 圆角分组卡片 / 扁平按钮 / SF 字体栈
   仅追加在最末尾，不改动上方任何原有样式与结构
   ========================================================================== */

/* --- iOS 系统色板 + 接管全站语义变量 --- */
:root {
    --ios-blue: #007aff;
    --ios-green: #34c759;
    --ios-purple: #af52de;
    --ios-pink: #ff2d55;
    --ios-orange: #ff9500;
    --ios-fill: rgba(120,120,128,0.14);
    --ios-fill2: rgba(120,120,128,0.08);
    --ios-separator: rgba(60,60,67,0.12);
    --ios-card-border: rgba(60,60,67,0.10);
    --ios-card-radius: 14px;
    /* 语义变量全面接管为 iOS grouped 风格 */
    --bg-page: #f2f2f7;
    --bg-alt: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: rgba(120,120,128,0.08);
    --bg-input: #ffffff;
    --bg-comment: #ffffff;
    --bg-feature-icon: rgba(120,120,128,0.10);
    --bg-thumb: rgba(120,120,128,0.08);
    --text-heading: #000000;
    --text-body: #1c1c1e;
    --text-muted: rgba(60,60,67,0.60);
    --text-meta: rgba(60,60,67,0.45);
    --text-nav: rgba(60,60,67,0.60);
    --text-nav-hover: #000000;
    --border-color: rgba(60,60,67,0.10);
    --border-card: rgba(60,60,67,0.08);
    --border-input: rgba(60,60,67,0.18);
    --border-comment: rgba(60,60,67,0.08);
    --header-bg: rgba(250,250,252,0.72);
    --header-border: rgba(60,60,67,0.08);
    --depth-1: 0 0 0 rgba(0,0,0,0);
    --depth-2: 0 1px 4px rgba(0,0,0,0.04);
    --depth-3: 0 4px 18px rgba(0,0,0,0.06);
    --glass-bg: rgba(255,255,255,0.72);
    --glass-bg-hover: rgba(255,255,255,0.88);
    --glass-border: rgba(255,255,255,0.60);
    --glass-border-strong: rgba(255,255,255,0.80);
    --glass-shadow: 0 1px 4px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.55);
    --glass-shadow-lg: 0 10px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.55);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

[data-theme="dark"] {
    --ios-blue: #0a84ff;
    --ios-green: #30d158;
    --ios-purple: #bf5af2;
    --ios-pink: #ff375f;
    --ios-orange: #ff9f0a;
    --ios-fill: rgba(120,120,128,0.20);
    --ios-fill2: rgba(120,120,128,0.12);
    --ios-separator: rgba(84,84,88,0.55);
    --ios-card-border: rgba(84,84,88,0.55);
    --bg-page: #000000;
    --bg-alt: #1c1c1e;
    --bg-card: #1c1c1e;
    --bg-hover: rgba(120,120,128,0.16);
    --bg-input: #1c1c1e;
    --bg-comment: #1c1c1e;
    --bg-feature-icon: rgba(120,120,128,0.16);
    --bg-thumb: rgba(120,120,128,0.12);
    --text-heading: #ffffff;
    --text-body: #f2f2f7;
    --text-muted: rgba(235,235,245,0.60);
    --text-meta: rgba(235,235,245,0.45);
    --text-nav: rgba(235,235,245,0.60);
    --text-nav-hover: #ffffff;
    --border-color: rgba(84,84,88,0.40);
    --border-card: rgba(84,84,88,0.35);
    --border-input: rgba(84,84,88,0.55);
    --border-comment: rgba(84,84,88,0.35);
    --header-bg: rgba(22,22,24,0.72);
    --header-border: rgba(84,84,88,0.32);
    --glass-bg: rgba(30,30,32,0.72);
    --glass-bg-hover: rgba(40,40,44,0.85);
    --glass-border: rgba(255,255,255,0.10);
    --glass-border-strong: rgba(255,255,255,0.18);
    --glass-shadow: 0 1px 4px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
    --glass-shadow-lg: 0 10px 32px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* --- iOS 全局细节 --- */
html { -webkit-tap-highlight-color: transparent; }
body { letter-spacing: -0.01em; }
::selection { background: rgba(0,122,255,0.25); }

/* --- 导航栏：iOS 毛玻璃 vibrancy --- */
.site-header {
    background: var(--header-bg) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 0.5px solid var(--header-border) !important;
    box-shadow: none !important;
}
[data-theme="dark"] .site-header {
    background: var(--header-bg) !important;
    border-bottom: 0.5px solid var(--header-border) !important;
}
.main-nav ul li a, .main-nav li a { font-weight: 600; }
.main-nav ul li a.active, .main-nav li a.active { color: var(--ios-blue); font-weight: 600; }
.main-nav ul li a.active::after, .main-nav li a.active::after { background: var(--ios-blue); height: 2.5px; border-radius: 1.25px; }
.main-nav ul li:last-child a, .main-nav li:last-child a {
    background: var(--ios-blue); color: #ffffff; font-weight: 600;
    box-shadow: none; border-radius: 10px;
}
.main-nav ul li:last-child a:hover, .main-nav li:last-child a:hover { background: rgba(0,122,255,0.85); color: #ffffff; transform: none; }

/* 主题切换：iOS 填充圆钮 */
.theme-toggle { border: none; background: var(--ios-fill); }
.theme-toggle:hover { background: var(--ios-fill); border: none; transform: none; }
[data-theme="dark"] .theme-toggle { border: none; background: var(--ios-fill); }
[data-theme="dark"] .theme-toggle:hover { border: none; background: var(--ios-fill); }

/* --- 按钮：iOS 扁平圆角 --- */
.btn { border-radius: 12px; font-weight: 600; box-shadow: none !important; }
.btn-primary, .btn-primary:link, .btn-primary:visited {
    background: var(--ios-blue) !important; color: #ffffff !important;
    text-shadow: none; -webkit-font-smoothing: antialiased;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background: var(--ios-blue) !important; color: #ffffff !important;
    filter: brightness(1.08); transform: none; box-shadow: none !important;
}
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-primary:link, [data-theme="dark"] .btn-primary:visited,
[data-theme="dark"] .btn-primary:hover, [data-theme="dark"] .btn-primary:active, [data-theme="dark"] .btn-primary:focus {
    background: var(--ios-blue) !important; color: #ffffff !important;
    filter: none; box-shadow: none !important;
}
[data-theme="dark"] .btn-primary:hover { filter: brightness(1.12); }
.btn-outline {
    background: var(--ios-fill); color: var(--ios-blue);
    border: none !important; font-weight: 600;
}
.btn-outline:hover { background: rgba(120,120,128,0.20); color: var(--ios-blue); border: none; }
[data-theme="dark"] .btn-outline { background: var(--ios-fill); color: var(--ios-blue); }
.btn-white { background: var(--ios-fill); }

/* CTA 区按钮保持 Apple 蓝 */
.cta-actions .btn-primary,
.cta-actions .btn-primary:link, .cta-actions .btn-primary:visited {
    background: var(--ios-blue) !important; color: #ffffff !important;
    border: none; border-radius: 12px; box-shadow: none;
}
.cta-actions .btn-primary:hover { background: rgba(0,122,255,0.88) !important; filter: none; transform: none; }
.cta-actions .btn-primary::before { display: none; }
.cta-actions .btn-outline {
    background: rgba(255,255,255,0.14); color: #ffffff; border: none;
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.cta-actions .btn-outline:hover { background: rgba(255,255,255,0.22); color: #ffffff; }
[data-theme="dark"] .cta-actions .btn-primary,
[data-theme="dark"] .cta-actions .btn-primary:link, [data-theme="dark"] .cta-actions .btn-primary:visited {
    background: var(--ios-blue) !important; color: #ffffff !important;
}

/* --- 卡片：iOS grouped 圆角白板 + 发丝描边 --- */
/* 白卡片在渐变背景上对比不足，加 0.5px iOS 发丝线，轮廓清晰仍保持原生感 */
.post-card, .feature-card, .comment-form {
    background: var(--ios-card) !important;
    border: 0.5px solid var(--ios-card-border) !important;
    border-radius: var(--ios-card-radius);
    box-shadow: none !important;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.post-card:hover, .feature-card:hover { transform: none; box-shadow: 0 4px 18px rgba(0,0,0,0.06) !important; }
[data-theme="dark"] .post-card:hover, [data-theme="dark"] .feature-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.35) !important; }
.post-thumb { border-radius: calc(var(--ios-card-radius) - 0.5px) calc(var(--ios-card-radius) - 0.5px) 0 0; }
[data-theme="dark"] .post-thumb::after { background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25) 100%); }
.feature-icon, .hero-feature-icon {
    background: var(--ios-fill); border-radius: 10px; box-shadow: none;
}
.feature-card::before { display: none; }

/* 特性条卡片：同样补发丝描边 */
.hero-feature-item {
    background: var(--ios-card); border: 0.5px solid var(--ios-card-border); border-radius: 12px;
    box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hero-feature-item:hover { background: var(--ios-card); box-shadow: 0 4px 18px rgba(0,0,0,0.06); transform: none; }
[data-theme="dark"] .hero-feature-item { background: var(--ios-card); }
[data-theme="dark"] .hero-feature-item:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.35); }

/* 徽章：iOS 灰色药丸 */
.hero-v2 .hero-top-badge {
    background: var(--ios-fill); border: none; color: var(--text-muted);
    font-weight: 400; letter-spacing: 0.01em; box-shadow: none; border-radius: 100px;
}
.hero-v2 .hero-top-badge .dot { background: var(--ios-green); }

/* 章节标签：iOS 填充药丸 */
.section-label {
    background: var(--ios-fill); border: none; color: var(--text-muted);
    backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; font-weight: 600;
}

/* --- 表单：iOS 输入框 --- */
.form-control {
    background: var(--ios-fill2); border: none; border-radius: 10px;
    backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
.form-control:focus { border: none; box-shadow: 0 0 0 2px var(--ios-blue); }
.comment-item { background: var(--ios-card); border: 0.5px solid var(--ios-card-border); border-radius: 12px; }

/* --- 文章/阅读链接：系统蓝 --- */
.read-more { color: var(--ios-blue); }
.post-title a:hover { color: var(--ios-blue); }
.content-body a { color: var(--ios-blue); }

/* --- 文章页头部：iOS 大标题风格 --- */
.single-hero { background: var(--bg-page); }
.single-title { letter-spacing: -0.02em; }

/* --- 返回顶部：iOS 填充圆钮 --- */
.back-to-top {
    background: var(--ios-fill); border: none;
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: none;
}
.back-to-top svg { color: var(--ios-blue); }
.back-to-top:hover { background: rgba(120,120,128,0.24); transform: none; box-shadow: none; }
[data-theme="dark"] .back-to-top { background: var(--ios-fill); border: none; box-shadow: none; }
[data-theme="dark"] .back-to-top svg { color: var(--ios-blue); }
[data-theme="dark"] .back-to-top:hover { background: rgba(120,120,128,0.28); }

/* --- 评论区标题分隔线：发丝线 --- */
.comments-section { border-top: 0.5px solid var(--ios-separator); }

/* --- 页脚品牌卡 --- */
.footer-brand { border-radius: var(--ios-card-radius); }

/* ==========================================================================
   配色优化 v2 · Apple 官网浅灰底 + 纯色背景 + 图标彩色晕染
   ========================================================================== */

/* Apple 正统浅灰（比 iOS 分组灰更中性干净，不泛紫） */
:root { --bg-page: #f5f5f7; }
[data-theme="dark"] { --bg-page: #000000; }

/* 背景全部纯色化：英雄区/博客区/交替区不再用渐变，卡片落底均匀 */
.hero-v2,
[data-theme="dark"] .hero-v2 {
    background: var(--bg-page);
}
.posts-section { background: var(--bg-page); }
.section-alt { background: var(--bg-page); }

/* 特性图标：iOS 17 彩色晕染底 + 同色系图案，替代单调灰底 */
.hero-feature-item:nth-child(1) .hero-feature-icon { background: rgba(0,122,255,0.12); color: #007aff; }
.hero-feature-item:nth-child(2) .hero-feature-icon { background: rgba(175,82,222,0.12); color: #af52de; }
.hero-feature-item:nth-child(3) .hero-feature-icon { background: rgba(52,199,89,0.12); color: #34c759; }
.hero-feature-item:nth-child(4) .hero-feature-icon { background: rgba(255,149,0,0.12); color: #ff9500; }
[data-theme="dark"] .hero-feature-item:nth-child(1) .hero-feature-icon { background: rgba(10,132,255,0.18); color: #0a84ff; }
[data-theme="dark"] .hero-feature-item:nth-child(2) .hero-feature-icon { background: rgba(191,90,242,0.18); color: #bf5af2; }
[data-theme="dark"] .hero-feature-item:nth-child(3) .hero-feature-icon { background: rgba(48,209,88,0.18); color: #30d158; }
[data-theme="dark"] .hero-feature-item:nth-child(4) .hero-feature-icon { background: rgba(255,159,10,0.18); color: #ff9f0a; }

/* 文章分类小标签：同色系浅蓝，弱化存在感 */
.post-meta { letter-spacing: 0.02em; }

/* ==========================================================================
   白底模式 · 亮模式纯白底 + 暗模式纯黑底（主题切换全支持）
   白底上卡片靠"发丝线 + 常驻极轻投影"分层
   ========================================================================== */
:root {
    --bg-page: #ffffff;
    --ios-card-border: rgba(60,60,67,0.13);
}
[data-theme="dark"] {
    --bg-page: #000000;
    --ios-card-border: rgba(84,84,88,0.55);
}

/* 卡片常驻极轻投影，白底上轮廓清晰；悬停仍浮起 */
.post-card, .feature-card, .comment-form {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}
.hero-feature-item, .comment-item {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
[data-theme="dark"] .post-card, [data-theme="dark"] .feature-card, [data-theme="dark"] .comment-form {
    box-shadow: 0 1px 3px rgba(0,0,0,0.40) !important;
}
[data-theme="dark"] .hero-feature-item, [data-theme="dark"] .comment-item {
    box-shadow: 0 1px 3px rgba(0,0,0,0.40);
}

/* ==========================================================================
   板块色差交替 · 白 → 浅灰 → 白 → 浅灰，依次类推（暗色模式同步交替）
   ========================================================================== */
:root { --alt-tint: #f7f7f9; }
[data-theme="dark"] { --alt-tint: #141414; }

/* 浅灰位：文生图 / 图片编辑 / 博客动态 */
#text-to-image { background: var(--alt-tint); }
#ai-image-edit { background: var(--alt-tint); }
section.posts-section { background: var(--alt-tint); }

/* 白色位：图生视频 / AI 视频（英雄区同为白色，形成 白-灰-白-灰 节奏） */
#image-to-image { background: #ffffff; }
#ai-video { background: #ffffff; }
[data-theme="dark"] #image-to-image { background: #000000; }
[data-theme="dark"] #ai-video { background: #000000; }

/* 灰色位板块间保留发丝分隔线，节奏更利落 */
#text-to-image, #image-to-image, #ai-image-edit, #ai-video {
    border-bottom: 0.5px solid var(--border-color);
}

/* ==========================================================================
   导航 iOS 蓝 · 强化版（确保覆盖主题原有导航规则）
   ========================================================================== */
.main-nav ul li a.active,
.main-nav ol li a.active,
.main-nav .menu-item a.active,
.main-nav li a.active { color: var(--ios-blue) !important; background: transparent !important; }

.main-nav ul li a.active::after,
.main-nav ol li a.active::after,
.main-nav .menu-item a.active::after,
.main-nav li a.active::after { background: var(--ios-blue) !important; height: 2.5px !important; border-radius: 1.25px !important; }

.main-nav ul li:last-child a,
.main-nav ol li:last-child a,
.main-nav .menu-item:last-child a,
.main-nav li:last-child a {
    background: var(--ios-blue) !important; color: #ffffff !important;
    font-weight: 600 !important; box-shadow: none !important; border-radius: 10px !important;
}
.main-nav ul li:last-child a:hover,
.main-nav ol li:last-child a:hover,
.main-nav .menu-item:last-child a:hover,
.main-nav li:last-child a:hover { background: rgba(0,122,255,0.85) !important; color: #ffffff !important; transform: none !important; }
.main-nav ul li:last-child a::after,
.main-nav li:last-child a::after { display: none !important; }

/* ==========================================================================
   还原导航条 · 纯色背景（不要毛玻璃） + 原有黑白高亮
   ========================================================================== */
.site-header {
    background: var(--pure-white) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: var(--depth-1) !important;
}
[data-theme="dark"] .site-header {
    background: var(--bg-page) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* 高亮还原：激活项黑色粗体 + 黑色下划线 */
.main-nav ul li a.active,
.main-nav ol li a.active,
.main-nav .menu-item a.active,
.main-nav li a.active { color: var(--text-heading) !important; background: transparent !important; }

.main-nav ul li a.active::after,
.main-nav ol li a.active::after,
.main-nav .menu-item a.active::after,
.main-nav li a.active::after { background: var(--text-heading) !important; height: 2px !important; }

/* 末尾按钮还原：黑底白字（暗色模式自动白底黑字） */
.main-nav ul li:last-child a,
.main-nav ol li:last-child a,
.main-nav .menu-item:last-child a,
.main-nav li:last-child a {
    background: var(--bg-nav-active) !important;
    color: var(--bg-nav-active-text) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    border-radius: 8px !important;
}
.main-nav ul li:last-child a:hover,
.main-nav ol li:last-child a:hover,
.main-nav .menu-item:last-child a:hover,
.main-nav li:last-child a:hover {
    background: var(--gray-800) !important;
    color: var(--pure-white) !important;
    transform: translateY(-1px) !important;
}
[data-theme="dark"] .main-nav ul li:last-child a:hover,
[data-theme="dark"] .main-nav li:last-child a:hover { background: var(--gray-200) !important; color: var(--pure-black) !important; }

/* ==========================================================================
   特性图标 2026 iOS 液态玻璃风：活力渐变底 + 白图案 + 玻璃高光 + 同色柔影
   ========================================================================== */
.hero-feature-item .hero-feature-icon {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 12px rgba(0,0,0,0.10);
}
/* 玻璃高光 */
.hero-feature-item .hero-feature-icon::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.03) 100%);
    border-radius: 12px 12px 50% 50% / 12px 12px 8px 8px;
    pointer-events: none;
}
.hero-feature-item .hero-feature-icon svg { position: relative; }

/* 蓝 → 靛（智效一体） */
.hero-feature-item:nth-child(1) .hero-feature-icon {
    background: linear-gradient(145deg, #2997ff 0%, #5e5ce6 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 14px rgba(64,120,255,0.32);
}
/* 紫 → 粉（多域算力） */
.hero-feature-item:nth-child(2) .hero-feature-icon {
    background: linear-gradient(145deg, #af52de 0%, #ff375f 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 14px rgba(200,70,160,0.32);
}
/* 青 → 绿（云端运行） */
.hero-feature-item:nth-child(3) .hero-feature-icon {
    background: linear-gradient(145deg, #00c7be 0%, #30d158 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 14px rgba(20,190,130,0.32);
}
/* 橙 → 琥珀（安全可靠） */
.hero-feature-item:nth-child(4) .hero-feature-icon {
    background: linear-gradient(145deg, #ff9500 0%, #ffcc00 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.40), 0 4px 14px rgba(255,150,20,0.32);
}
/* 悬停：图标微昂头 */
.hero-feature-item:hover .hero-feature-icon { transform: scale(1.06) rotate(-3deg); }

/* ==========================================================================
   特性图标 v3 · 白底 + 彩色描边图案（干净 iOS 风，覆盖 v2 渐变版）
   ========================================================================== */
.hero-feature-item .hero-feature-icon {
    background: #ffffff !important;
    border: 0.5px solid var(--ios-card-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}
.hero-feature-item .hero-feature-icon::before { display: none !important; }
[data-theme="dark"] .hero-feature-item .hero-feature-icon { background: #1c1c1e !important; }

/* 彩色图案：蓝 / 紫 / 青 / 橙 */
.hero-feature-item:nth-child(1) .hero-feature-icon { color: #007aff; }
.hero-feature-item:nth-child(2) .hero-feature-icon { color: #af52de; }
.hero-feature-item:nth-child(3) .hero-feature-icon { color: #00b8a9; }
.hero-feature-item:nth-child(4) .hero-feature-icon { color: #ff9500; }
[data-theme="dark"] .hero-feature-item:nth-child(1) .hero-feature-icon { color: #0a84ff; }
[data-theme="dark"] .hero-feature-item:nth-child(2) .hero-feature-icon { color: #bf5af2; }
[data-theme="dark"] .hero-feature-item:nth-child(3) .hero-feature-icon { color: #40d6c3; }
[data-theme="dark"] .hero-feature-item:nth-child(4) .hero-feature-icon { color: #ff9f0a; }

/* ==========================================================================
   暗色描边按钮修正 · 白字浅灰底（替代发闷的蓝字）
   ========================================================================== */
[data-theme="dark"] .btn-outline {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}
[data-theme="dark"] .btn-outline:hover {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
}

/* ==========================================================================
   链接色统一 · 与导航高亮一致（亮黑 / 暗白，自动兼容主题切换）
   ========================================================================== */
.read-more { color: var(--text-heading); }
.post-title a:hover { color: var(--text-heading); }
.content-body a { color: var(--text-heading); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(128,128,128,0.4); }
.content-body a:hover { text-decoration-color: var(--text-heading); }

/* ==========================================================================
   主按钮统一 · 与导航高亮一致（亮：黑底白字 / 暗：白底黑字）
   ========================================================================== */
.btn-primary, .btn-primary:link, .btn-primary:visited {
    background: var(--bg-nav-active) !important;
    color: var(--bg-nav-active-text) !important;
    filter: none !important; text-shadow: none;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background: var(--bg-nav-active) !important;
    color: var(--bg-nav-active-text) !important;
    filter: brightness(1.18) !important; transform: none !important; box-shadow: none !important;
}
[data-theme="dark"] .btn-primary, [data-theme="dark"] .btn-primary:link, [data-theme="dark"] .btn-primary:visited,
[data-theme="dark"] .btn-primary:hover, [data-theme="dark"] .btn-primary:active, [data-theme="dark"] .btn-primary:focus {
    background: var(--bg-nav-active) !important;
    color: var(--bg-nav-active-text) !important;
    filter: none !important;
}
[data-theme="dark"] .btn-primary:hover { filter: brightness(0.85) !important; }

/* CTA 区主按钮同步 */
.cta-actions .btn-primary, .cta-actions .btn-primary:link, .cta-actions .btn-primary:visited {
    background: var(--bg-nav-active) !important; color: var(--bg-nav-active-text) !important;
    border: none; filter: none;
}
.cta-actions .btn-primary:hover { filter: brightness(1.18) !important; transform: none !important; }
[data-theme="dark"] .cta-actions .btn-primary, [data-theme="dark"] .cta-actions .btn-primary:link, [data-theme="dark"] .cta-actions .btn-primary:visited {
    background: var(--bg-nav-active) !important; color: var(--bg-nav-active-text) !important; filter: none !important;
}
[data-theme="dark"] .cta-actions .btn-primary:hover { filter: brightness(0.85) !important; }

/* 次按钮文字也去掉蓝 */
.btn-outline { color: var(--text-heading); }
.btn-outline:hover { color: var(--text-heading); }

/* ==========================================================================
   暗色悬浮图标修正 · 纯色卡片（去除毛玻璃脏边）
   ========================================================================== */
[data-theme="dark"] .hero-v2 .hero-floats .hfloat {
    background: #1c1c1e;
    border: 0.5px solid rgba(84,84,88,0.60);
    box-shadow: 0 3px 10px rgba(0,0,0,0.45);
}
[data-theme="dark"] .hero-v2 .hfloat::before { display: none; }
[data-theme="dark"] .hero-v2 .hero-floats .hf-2 {
    box-shadow: 0 3px 10px rgba(0,0,0,0.45);
}

/* ==========================================================================
   暗色悬浮图标层次版 · 微渐变弧面 + 同色环境辉光（扁平但有立体感）
   ========================================================================== */
[data-theme="dark"] .hero-v2 .hero-floats .hfloat {
    background: linear-gradient(180deg, #2c2c30 0%, #1c1c1e 100%);
    border: 0.5px solid rgba(84,84,88,0.55);
}
/* 顶部微光弧面（替代之前的玻璃脏高光） */
[data-theme="dark"] .hero-v2 .hfloat::before {
    display: block;
    height: 46%;
    background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.01) 100%);
}
/* 同色环境辉光：黑投影 + 紫/橙/绿柔光 */
[data-theme="dark"] .hero-v2 .hero-floats .hf-1 {
    box-shadow: 0 6px 16px rgba(0,0,0,0.50), 0 0 16px rgba(191,90,242,0.20), inset 0 1px 0 rgba(255,255,255,0.08);
}
[data-theme="dark"] .hero-v2 .hero-floats .hf-2 {
    box-shadow: 0 6px 16px rgba(0,0,0,0.50), 0 0 18px rgba(255,159,10,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
}
[data-theme="dark"] .hero-v2 .hero-floats .hf-3 {
    box-shadow: 0 6px 16px rgba(0,0,0,0.50), 0 0 16px rgba(48,209,88,0.20), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ---------- 返回顶部箭头统一为黑白（替换 iOS 蓝） ---------- */
.back-to-top svg, [data-theme="dark"] .back-to-top svg { color: var(--text-heading); }

/* ---------- 含 HTML 版块的页面（产品特性/关于我们/联系/隐私/条款）收紧标题区留白 ---------- */
.single-hero:has(+ .single-content .mkf-wrap) { padding: 110px 0 20px; }
.single-content:has(> .container .mkf-wrap) { padding-top: 24px; }
.content-body > .mkf-wrap:first-child { margin-top: 0; }

/* ---------- 英雄区渐变背景：顶部柔光晕 + 单色渐淡（黑白基调） ---------- */
.hero-v2 {
    background:
        radial-gradient(ellipse 75% 55% at 50% -12%, rgba(0,0,0,0.055) 0%, transparent 55%),
        linear-gradient(180deg, #f7f7f9 0%, #ffffff 55%) !important;
}
[data-theme="dark"] .hero-v2 {
    background:
        radial-gradient(ellipse 75% 55% at 50% -12%, rgba(255,255,255,0.07) 0%, transparent 55%),
        linear-gradient(180deg, #0e0e10 0%, #000000 55%) !important;
}

/* ---------- 导航条背景与英雄渐变同色（顶部无缝衔接） ---------- */
.site-header { background: #f7f7f9 !important; }
[data-theme="dark"] .site-header { background: #0e0e10 !important; }

/* ---------- 导航条：透明毛玻璃（与英雄渐变叠加出层次） ---------- */
.site-header {
    background: rgba(247,247,249,0.72) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}
[data-theme="dark"] .site-header {
    background: rgba(14,14,16,0.72) !important;
}

/* ---------- 暗色英雄渐变加强：月白顶光 + 深炭灰渐隐 ---------- */
[data-theme="dark"] .hero-v2 {
    background:
        radial-gradient(ellipse 75% 55% at 50% -12%, rgba(255,255,255,0.12) 0%, transparent 60%),
        linear-gradient(180deg, #18181d 0%, #0b0b0f 50%, #000000 100%) !important;
}

/* ---------- 英雄区 macOS Tahoe 26 配色：蓝-紫-粉网格渐变 ---------- */
.hero-v2 {
    background:
        radial-gradient(ellipse 60% 45% at 18% -5%, rgba(41,151,255,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 55% 42% at 82% -2%, rgba(191,90,242,0.10) 0%, transparent 55%),
        radial-gradient(ellipse 50% 38% at 52% 14%, rgba(255,100,130,0.07) 0%, transparent 60%),
        linear-gradient(180deg, #f4f4fa 0%, #fcfcfe 55%, #ffffff 100%) !important;
}
[data-theme="dark"] .hero-v2 {
    background:
        radial-gradient(ellipse 60% 45% at 18% -5%, rgba(41,151,255,0.17) 0%, transparent 55%),
        radial-gradient(ellipse 55% 42% at 82% -2%, rgba(191,90,242,0.17) 0%, transparent 55%),
        radial-gradient(ellipse 50% 38% at 52% 14%, rgba(255,80,120,0.11) 0%, transparent 60%),
        linear-gradient(180deg, #12121c 0%, #0a0a13 55%, #000000 100%) !important;
}
/* 毛玻璃导航底色跟随 Tahoe 色调 */
.site-header { background: rgba(244,244,250,0.72) !important; }
[data-theme="dark"] .site-header { background: rgba(18,18,28,0.72) !important; }

/* ---------- 英雄区 macOS 26 Tahoe 原生壁纸配色（完整蓝→紫→品粉，渐变逻辑不变） ---------- */
.hero-v2 {
    background:
        radial-gradient(ellipse 70% 55% at 15% -5%, rgba(10,132,255,0.14) 0%, transparent 60%),
        radial-gradient(ellipse 65% 50% at 85% 0%, rgba(182,92,255,0.13) 0%, transparent 60%),
        radial-gradient(ellipse 60% 45% at 55% 18%, rgba(255,77,166,0.10) 0%, transparent 65%),
        linear-gradient(180deg, #f3f2fc 0%, #fbf9fe 55%, #ffffff 100%) !important;
}
[data-theme="dark"] .hero-v2 {
    background:
        radial-gradient(ellipse 70% 55% at 15% -5%, rgba(10,132,255,0.30) 0%, transparent 60%),
        radial-gradient(ellipse 65% 50% at 85% 0%, rgba(182,92,255,0.28) 0%, transparent 60%),
        radial-gradient(ellipse 60% 45% at 55% 18%, rgba(255,77,166,0.20) 0%, transparent 65%),
        linear-gradient(180deg, #0e0d1c 0%, #090812 55%, #000000 100%) !important;
}
/* 导航条：中性透明毛玻璃（无底色，仅模糊） */
.site-header {
    background: rgba(255,255,255,0.45) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}
[data-theme="dark"] .site-header {
    background: rgba(10,10,10,0.45) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}


/* ==========================================================================
   CTA 深色背景区按钮可见性修复
   问题：.btn-primary 被"主按钮黑白统一"规则定为黑底，贴在 CTA 深黑背景上不可见
   修复：CTA 区内主按钮强制白底黑字（亮/暗模式均清晰可见），hover 浅灰
   ========================================================================== */
.cta-section .cta-actions .btn-primary,
.cta-section .cta-actions .btn-primary:link,
.cta-section .cta-actions .btn-primary:visited {
    background: #ffffff !important;
    color: #000000 !important;
    filter: none !important;
    text-shadow: none;
    box-shadow: none !important;
    border: none;
}
.cta-section .cta-actions .btn-primary:hover,
.cta-section .cta-actions .btn-primary:active,
.cta-section .cta-actions .btn-primary:focus {
    background: #e5e5e5 !important;
    color: #000000 !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;
}
[data-theme="dark"] .cta-section .cta-actions .btn-primary,
[data-theme="dark"] .cta-section .cta-actions .btn-primary:link,
[data-theme="dark"] .cta-section .cta-actions .btn-primary:visited {
    background: #ffffff !important;
    color: #000000 !important;
    filter: none !important;
}
[data-theme="dark"] .cta-section .cta-actions .btn-primary:hover {
    background: #d4d4d4 !important;
    color: #000000 !important;
    filter: none !important;
}

/* ==========================================================================
   「了解更多」描边按钮 · 白底发丝线 + 填充式 hover（边框不动，Apple 官网风）
   ========================================================================== */
.btn-outline {
    background: #ffffff !important;
    color: var(--text-heading) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}
.btn-outline:hover {
    background: rgba(120,120,128,0.10) !important;
    color: var(--text-heading) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

/* 暗色模式：纯黑底 + 白字白边，hover 铺一层白雾 */
[data-theme="dark"] .btn-outline {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    box-shadow: none !important;
}
[data-theme="dark"] .btn-outline:hover {
    background: rgba(255,255,255,0.10) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.25) !important;
}

/* ==========================================================================
   英雄区 4 张特性卡片 · 美化版
   彩色晕染图标底 + hover 上浮 + 同色柔光投影（黑白主基调不变）
   ========================================================================== */
.hero-v2 .hero-feature-item {
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.04) !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
/* hover：整体轻上浮 + 柔光加深 */
.hero-v2 .hero-feature-item:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(60,60,67,0.18) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 14px 34px rgba(0,0,0,0.08) !important;
}

/* 图标：iOS 彩色晕染底（替代白底描边） */
.hero-v2 .hero-feature-item .hero-feature-icon {
    border: none !important;
    border-radius: 12px;
}
.hero-v2 .hero-feature-item:nth-child(1) .hero-feature-icon { background: rgba(0,122,255,0.12) !important; color: #007aff; }
.hero-v2 .hero-feature-item:nth-child(2) .hero-feature-icon { background: rgba(175,82,222,0.12) !important; color: #af52de; }
.hero-v2 .hero-feature-item:nth-child(3) .hero-feature-icon { background: rgba(0,184,169,0.12) !important; color: #00b8a9; }
.hero-v2 .hero-feature-item:nth-child(4) .hero-feature-icon { background: rgba(255,149,0,0.14) !important; color: #ff9500; }

/* hover：图标底加深一点 + 同色柔光投影 */
.hero-v2 .hero-feature-item:nth-child(1):hover .hero-feature-icon { background: rgba(0,122,255,0.18) !important; }
.hero-v2 .hero-feature-item:nth-child(2):hover .hero-feature-icon { background: rgba(175,82,222,0.18) !important; }
.hero-v2 .hero-feature-item:nth-child(3):hover .hero-feature-icon { background: rgba(0,184,169,0.18) !important; }
.hero-v2 .hero-feature-item:nth-child(4):hover .hero-feature-icon { background: rgba(255,149,0,0.20) !important; }

.hero-v2 .hero-feature-item:nth-child(1):hover { box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 14px 34px rgba(0,122,255,0.14) !important; }
.hero-v2 .hero-feature-item:nth-child(2):hover { box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 14px 34px rgba(175,82,222,0.14) !important; }
.hero-v2 .hero-feature-item:nth-child(3):hover { box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 14px 34px rgba(0,184,169,0.14) !important; }
.hero-v2 .hero-feature-item:nth-child(4):hover { box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 14px 34px rgba(255,149,0,0.15) !important; }

/* 标题与图标色呼应，视觉锚点更强 */

/* 暗色模式同步：同色晕染在白字体系下保持活力 */
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(1) .hero-feature-icon { background: rgba(10,132,255,0.22) !important; color: #6ab8ff; }
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(2) .hero-feature-icon { background: rgba(191,90,242,0.22) !important; color: #d39aff; }
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(3) .hero-feature-icon { background: rgba(64,214,195,0.20) !important; color: #40d6c3; }
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(4) .hero-feature-icon { background: rgba(255,159,10,0.22) !important; color: #ffb340; }
[data-theme="dark"] .hero-v2 .hero-feature-item {
    box-shadow: 0 1px 2px rgba(0,0,0,0.40), 0 6px 20px rgba(0,0,0,0.35) !important;
}
[data-theme="dark"] .hero-v2 .hero-feature-item:hover {
    border-color: rgba(255,255,255,0.22) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.45), 0 14px 34px rgba(0,0,0,0.45) !important;
}

/* ==========================================================================
   特性图标 · 纯黑白版（覆盖彩色晕染）：灰底黑图案，hover 同色加深，投影中性
   ========================================================================== */
.hero-v2 .hero-feature-item .hero-feature-icon {
    background: rgba(120,120,128,0.12) !important;
    color: var(--text-heading) !important;
}
.hero-v2 .hero-feature-item:hover .hero-feature-icon {
    background: rgba(120,120,128,0.20) !important;
}
/* hover 柔光投影改回中性灰 */
.hero-v2 .hero-feature-item:nth-child(1):hover,
.hero-v2 .hero-feature-item:nth-child(2):hover,
.hero-v2 .hero-feature-item:nth-child(3):hover,
.hero-v2 .hero-feature-item:nth-child(4):hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 14px 34px rgba(0,0,0,0.10) !important;
}
/* 暗色模式：深灰底白图案 */
[data-theme="dark"] .hero-v2 .hero-feature-item .hero-feature-icon {
    background: rgba(120,120,128,0.22) !important;
    color: var(--text-heading) !important;
}
[data-theme="dark"] .hero-v2 .hero-feature-item:hover .hero-feature-icon {
    background: rgba(120,120,128,0.32) !important;
}
[data-theme="dark"] .hero-v2 .hero-feature-item:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.45), 0 14px 34px rgba(0,0,0,0.50) !important;
}

/* ==========================================================================
   特性图标 · 无背景纯净版（最终覆盖）
   彻底去掉底/描边/投影，只留图标本体，亮暗模式均已适配
   ========================================================================== */
.hero-feature-item .hero-feature-icon,
.hero-feature-item:hover .hero-feature-icon {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-heading) !important;
}
[data-theme="dark"] .hero-feature-item .hero-feature-icon,
[data-theme="dark"] .hero-feature-item:hover .hero-feature-icon {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-heading) !important;
}


/* ==========================================================================
   特性图标 · 完全去除背景（带序号高优先级覆盖，确保压过 nth-child 规则）
   ========================================================================== */
.hero-v2 .hero-feature-item:nth-child(1) .hero-feature-icon,
.hero-v2 .hero-feature-item:nth-child(2) .hero-feature-icon,
.hero-v2 .hero-feature-item:nth-child(3) .hero-feature-icon,
.hero-v2 .hero-feature-item:nth-child(4) .hero-feature-icon,
.hero-v2 .hero-feature-item:nth-child(1):hover .hero-feature-icon,
.hero-v2 .hero-feature-item:nth-child(2):hover .hero-feature-icon,
.hero-v2 .hero-feature-item:nth-child(3):hover .hero-feature-icon,
.hero-v2 .hero-feature-item:nth-child(4):hover .hero-feature-icon,
.hero-feature-item .hero-feature-icon,
.feature-card:hover .hero-feature-icon,
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(1) .hero-feature-icon,
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(2) .hero-feature-icon,
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(3) .hero-feature-icon,
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(4) .hero-feature-icon,
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(1):hover .hero-feature-icon,
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(2):hover .hero-feature-icon,
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(3):hover .hero-feature-icon,
[data-theme="dark"] .hero-v2 .hero-feature-item:nth-child(4):hover .hero-feature-icon,
[data-theme="dark"] .hero-feature-item .hero-feature-icon {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--text-heading) !important;
}
/* 去底色后图标尺寸微调，排版更紧凑 */
.hero-v2 .hero-feature-icon { width: auto; height: auto; }
.hero-v2 .hero-feature-icon svg { width: 24px; height: 24px; }

/* ==========================================================================
   视频创作模拟窗口 · 风格统一 v2
   暮紫渐变底（与 暖沙/青绿/蓝 明确区分）+ 深色玻璃播放器卡片
   预览窗内仅干净渐变 + 播放按钮，不再显示树/云/花色块
   ========================================================================== */
/* 窗口底：暮紫渐变（cinema 氛围，独有色系） */
.mock-video {
    background: linear-gradient(160deg, #4a4470 0%, #6a5490 35%, #8f66a8 65%, #b57fb0 100%);
}
/* 隧道环：隐藏 */
.mock-tunnel-ring { display: none; }
/* 场景：深色玻璃播放器卡片 */
.mock-tunnel-scene {
    position: relative;
    width: 230px; height: 252px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(16, 20, 30, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* 预览窗：干净暮紫渐变（呼应底色，无杂色内容） */
.mock-sky {
    position: relative;
    inset: auto;
    height: 58%;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(180deg, #5a5488 0%, #7a639e 45%, #a37ab2 75%, #c99ab8 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
/* 隐藏粗糙的树/云/花色块 */
.mock-clouds, .mock-trees, .mock-flowers { display: none; }
/* 播放按钮底圈 */
.mock-sky::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
/* 播放三角 */
.mock-sky::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-42%, -50%);
    width: 0; height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #ffffff;
}
/* 卡片标题 */
.mock-tunnel-scene::before {
    content: '创意视频 · AI 生成';
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 2px 2px 0;
}
/* 进度条 */
.mock-tunnel-scene::after {
    content: '';
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ffffff 0 40%, rgba(255, 255, 255, 0.16) 40% 100%);
    margin: auto 2px 2px;
}
/* 暗色模式：同款深色玻璃 + 略深暮紫 */
[data-theme="dark"] .mock-video {
    background: linear-gradient(160deg, #262040 0%, #332a52 35%, #423262 65%, #523a70 100%);
}
[data-theme="dark"] .mock-tunnel-scene {
    background: rgba(24, 27, 36, 0.88);
    border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .mock-sky {
    background: linear-gradient(180deg, #3c3462 0%, #4d3e72 45%, #644882 75%, #7d548e 100%);
}

/* 响应式：小屏同步缩小卡片 */
@media (max-width: 1024px) {
    .mock-tunnel-scene { width: 210px; height: 230px; }
}
@media (max-width: 480px) {
    .mock-tunnel-scene { width: 180px; height: 200px; padding: 12px; }
}


/* ==========================================================================
   模拟窗口标题居中
   红绿灯按钮在左、右侧无对称占位，导致 flex 居中偏左；
   改为绝对定位钉在窗口头部正中
   ========================================================================== */
.mock-window-hd { position: relative; }
.mock-window-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex: none;
    width: max-content;
    max-width: calc(100% - 120px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================================
   CTA 区「查看文档」描边按钮 hover 修复（白天模式）
   通用 .btn-outline 的 !important 规则误伤暗色 CTA 底：
   hover 变成灰底 + 主题色文字，贴在深底上不可见。
   强制恢复深色玻璃质感：白字 + 白色 translucent 底，hover 提亮
   ========================================================================== */
.cta-section .cta-actions .btn-outline,
.cta-section .cta-actions .btn-outline:link,
.cta-section .cta-actions .btn-outline:visited {
    background: rgba(255, 255, 255, 0.10) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.cta-section .cta-actions .btn-outline:hover,
.cta-section .cta-actions .btn-outline:active,
.cta-section .cta-actions .btn-outline:focus {
    background: rgba(255, 255, 255, 0.20) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    box-shadow: none !important;
    transform: none !important;
}