/* Wallpaper 站点共享样式表 | wallpaperx.cn */

/* ============================================
   CSS 变量定义 - Wallpaper 设计系统
   使用深色科技风配色方案
   ============================================ */
:root {
    /* 主色：靛蓝，白底上对比度足够，作为唯一强调色 */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --secondary: #0891b2;
    --accent-cyan: #0891b2;
    --accent-purple: #7c3aed;

    /* 表面层级：底 < 内嵌块 < 卡片 */
    --bg: #f7f8fb;
    --bg-soft: #eef1f7;
    --surface: #ffffff;
    --surface-2: #f4f6fa;

    /* 文字 */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #667085;

    /* 描边与阴影：浅色界面靠描边划分层级，阴影只做极轻的浮起 */
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 0 0 1px rgba(79, 70, 229, 0.10), 0 12px 32px -8px rgba(79, 70, 229, 0.18);
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px -12px rgba(15, 23, 42, 0.12);

    /* 渐变只保留冷色，去掉原来的紫粉霓虹 */
    --gradient-1: linear-gradient(135deg, #4338ca 0%, #0e7490 100%);
    --gradient-2: linear-gradient(135deg, #0891b2 0%, #4f46e5 100%);
    --gradient-3: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --gradient-text: linear-gradient(120deg, #3730a3 0%, #0e7490 100%);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* 改用系统字体栈：省去 2 个外部字体请求，中文环境首屏更快且不依赖 Google Fonts */
    --font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

/* ============================================
   重置与基础样式
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ============================================
   导航栏样式 - 玻璃拟态效果
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 var(--border), 0 8px 24px -12px rgba(15, 23, 42, 0.16);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: var(--transition-base);
}

.nav-logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-icon img{max-width:100%;}
@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 导航栏下载按钮组 */
.nav-download-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-download-btn {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.nav-download-btn span img{max-width:24px;}
.nav-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.nav-download-btn:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.nav-download-btn:hover::before {
    opacity: 1;
}

.nav-download-btn .version-tag {
    font-size: 11px;
    padding: 2px 6px;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
    margin-left: 4px;
}

.nav-cta {
    background: var(--gradient-1);
    color: var(--text-primary) !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.nav-cta::after {
    display: none !important;
}

/* ============================================
   主视觉区域 (Hero) - 沉浸式动态背景
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, #ffffff 0%, var(--bg) 60%);
}

/* 动态网格背景 */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 0%, transparent 78%);
    animation: gridMove 26s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(900px) rotateX(24deg) translateY(0); }
    100% { transform: perspective(900px) rotateX(24deg) translateY(64px); }
}

/* 浮动光球效果 */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.16;
    animation: float 10s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-cyan);
    top: 50%;
    left: 30%;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

.hero-badge span {
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero h1 .gradient-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 壁纸预览展示区 */
.hero-preview {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 48px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 64px -24px rgba(15, 23, 42, 0.32), 0 2px 8px rgba(15, 23, 42, 0.06);
    animation: fadeInUp 0.65s ease 0.15s both;
    border: 1px solid var(--border);
}

.preview-frame {
    position: relative;
    background: var(--bg-soft);
    padding: 20px;
    border-radius: 16px;
}

.preview-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red { background: #ff5f57; }
.preview-dot.yellow { background: #febc2e; }
.preview-dot.green { background: #28c840; }

.preview-content {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 模拟动态壁纸效果 */
.wallpaper-simulation {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.4) 0%, transparent 50%);
    animation: wallpaperMove 15s ease-in-out infinite;
}

@keyframes wallpaperMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(2deg); }
    66% { transform: scale(0.9) rotate(-2deg); }
}

.wallpaper-text {
    font-size: 48px;
    font-weight: 900;
    z-index: 1;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 30px rgba(15, 23, 42, 0.45);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 40px rgba(99, 102, 241, 0.5); }
    50% { text-shadow: 0 0 60px rgba(236, 72, 153, 0.8), 0 0 100px rgba(99, 102, 241, 0.4); }
}

/* 下载按钮组 */
.download-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-primary {
    background: var(--gradient-1);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-base);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: var(--surface-2);
    color: var(--text-primary);
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-base);
    border: 1px solid var(--border-strong);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.version-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease 1s both;
}

.version-note span {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   数据统计条 - 社会证明
   ============================================ */
.stats-bar {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 48px;
    backdrop-filter: blur(10px);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   功能特性区域 - 玻璃拟态卡片
   ============================================ */
.features {
    padding: 120px 48px;
    background: var(--bg);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 44px -16px rgba(15, 23, 42, 0.18), var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-size: 15px;
}

/* ============================================
   壁纸展示画廊 - 瀑布流布局
   ============================================ */
.showcase {
    padding: 120px 48px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.showcase-grid {
    max-width: 1400px;
    margin: 64px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    transition: var(--transition-base);
    border: 1px solid var(--border);
}

/*.showcase-item:nth-child(2) {*/
/*    grid-row: span 2;*/
/*    aspect-ratio: auto;*/
/*}*/

.showcase-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 44px -16px rgba(15, 23, 42, 0.2);
    border-color: var(--primary);
}

.showcase-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}
.showcase-img img{width:100%;height:100%;object-fit: cover;}
/* picture 是 inline 元素，需转为块级并撑满容器，否则图片无法铺满卡片 */
.showcase-img picture{display:block;width:100%;height:100%;}
/* 模拟壁纸缩略图 */
.showcase-item:nth-child(1) .showcase-img { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.showcase-item:nth-child(2) .showcase-img { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.showcase-item:nth-child(3) .showcase-img { background: linear-gradient(135deg, #cffafe, #a5f3fc); }
.showcase-item:nth-child(4) .showcase-img { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.showcase-item:nth-child(5) .showcase-img { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.showcase-item:nth-child(6) .showcase-img { background: linear-gradient(135deg, #fee2e2, #fecaca); }

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    opacity: 0;
    transition: opacity 0.3s;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.showcase-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   创意工坊区域
   ============================================ */
.workshop {
    padding: 120px 48px;
    background: var(--bg);
    position: relative;
}

.workshop-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.workshop-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.workshop-text h2 span {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.workshop-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.workshop-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.workshop-stat h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.workshop-stat p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.workshop-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workshop-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.2);
    animation: rotate 30s linear infinite;
}

.workshop-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    animation-duration: 30s;
}

.workshop-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.workshop-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    animation-duration: 15s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.workshop-center {
    width: 150px;
    height: 150px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: var(--shadow-glow);
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

.workshop-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: var(--shadow-card);
    animation: float 6s ease-in-out infinite;
}

.workshop-item:nth-child(5) { top: 20%; left: 20%; animation-delay: 0s; }
.workshop-item:nth-child(6) { top: 20%; right: 20%; animation-delay: -2s; }
.workshop-item:nth-child(7) { bottom: 20%; left: 20%; animation-delay: -4s; }
.workshop-item:nth-child(8) { bottom: 20%; right: 20%; animation-delay: -1s; }

/* ============================================
   多平台下载区域
   ============================================ */
.platforms {
    padding: 120px 48px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.platforms-grid {
    max-width: 680px;
    margin: 64px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* 平台说明：把"只有 Windows、没有 macOS/iOS"写在卡片下方 */
.platform-note {
    max-width: 680px;
    margin: 24px auto 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: center;
}

.platform-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-glow);
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition-base);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
    background: rgba(99, 102, 241, 0.2);
}

.platform-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.platform-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.platform-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* ============================================
   下载弹窗 (Modal) - 二维码展示
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 32px 72px -24px rgba(15, 23, 42, 0.34);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.modal-close:hover {
    background: rgba(15, 23, 42, 0.10);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: var(--shadow-glow);
}

.modal-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-content > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.qr-container {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 12px 32px -14px rgba(15, 23, 42, 0.18);
}

.qr-code {
    width: 180px;
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-logo {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--gradient-1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 2;
}

.qr-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.download-options {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-base);
}

.download-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   用户评价区域
   ============================================ */
.testimonials {
    padding: 120px 48px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 64px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-glow);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-info h5 {
    font-weight: 600;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   CTA 区域 - 修改为多线路下载展示
   ============================================ */
.cta-section {
    padding: 100px 48px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.055) 0%, rgba(8, 145, 178, 0.055) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section > p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 48px;
}

/* 下载线路网格 */
.download-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.channel-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.channel-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-glow);
}

.channel-card:hover::before {
    transform: scaleX(1);
}

.channel-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--transition-base);
}

.channel-card:hover .channel-icon {
    transform: scale(1.1);
    background: rgba(99, 102, 241, 0.2);
}

.channel-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.channel-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.channel-version {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.channel-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: #0e7490;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-original {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.cta-note {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   页脚 - SEO 优化结构
   ============================================ */
.footer {
    background: #f2f4f9;
    color: var(--text-primary);
    padding: 80px 48px 40px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-links h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-item:nth-child(2) {
        grid-row: span 1;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .workshop-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .workshop-stats {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-channels {
        grid-template-columns: 1fr;
    }

    .nav-download-group {
        /*display: none;*/
    }
}

@media (max-width: 768px) {
    .workshop-visual{overflow:hidden;}
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 7.1vw, 2.4rem);
        line-height: 1.28;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .features,
    .showcase,
    .workshop,
    .platforms,
    .testimonials,
    .cta-section {
        padding: 80px 24px;
    }
    
    .features-grid,
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* ============================================
   辅助功能
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   标题语义修正配套类
   原页面用 h3/h4/h5 承载纯装饰性文字（统计数字、
   页脚栏目名），会污染文档大纲。这里改为 div/span
   并保持视觉完全一致。
   ============================================ */

.stat-item .stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.workshop-stat .ws-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.platform-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand-name {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   常见问题（替代原虚构用户评价区块）
   ============================================ */
.faq-grid {
    max-width: 1200px;
    margin: 64px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.faq-card {
    background: var(--surface);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition-base);
}

.faq-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.faq-q {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.faq-a {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   列表页 / 内页通用
   ============================================ */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 108px 48px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb li:last-child::after {
    content: none;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb [aria-current="page"] {
    color: var(--text-muted);
}

.page-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.page-intro h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.page-intro + .features {
    padding-top: 72px;
}

.page-intro + .features .section-header {
    margin-bottom: 40px;
}

.page-intro p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.9;
    max-width: 820px;
}

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumb {
        padding: 96px 24px 0;
    }

    .page-intro {
        padding: 0 24px;
    }
}

/* ============================================
   延伸阅读（站内主题聚合，建立内链入口）
   ============================================ */
.related {
    padding: 0 48px 120px;
    background: var(--bg);
}

.related .section-header {
    margin-bottom: 48px;
}

.rel-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rel-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--surface);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 18px 22px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    transition: var(--transition-base);
}

.rel-card:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    transform: translateX(4px);
}

.rel-card .rel-arrow {
    color: var(--primary);
    flex: 0 0 auto;
    font-size: 14px;
}

.rel-all {
    text-align: center;
    margin-top: 40px;
}

.rel-all a {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 999px;
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-base);
}

.rel-all a:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .related {
        padding: 0 24px 72px;
    }

    .rel-grid {
        grid-template-columns: 1fr;
    }
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
    margin-top: 18px;
}

/* ============================================
   资讯列表（替代原卡片网格，50 条更易扫读）
   ============================================ */
.news-list {
    max-width: 1040px;
    margin: 56px auto 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 56px;
}

.news-list li {
    border-bottom: 1px solid var(--border);
}

.news-list a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.65;
    transition: color 0.2s;
}

.news-list a:hover,
.news-list a:focus-visible {
    color: var(--primary);
}

.news-list .idx {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .news-list {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
}

/* ============================================
   移动端导航（原设计在 768px 以下直接隐藏导航，
   手机上无法到达任何栏目，这里补上折叠菜单）
   ============================================ */
.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        margin-left: 10px;
        background: transparent;
        border: 1px solid var(--border-strong);
        border-radius: 10px;
        cursor: pointer;
        flex: 0 0 auto;
    }

    .nav-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--text-primary);
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -24px;
        right: -24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 48px 16px;
        background: #ffffff;
        border-top: 1px solid var(--border);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
    }
}

/* 窄屏下压缩顶部按钮，避免文字换行 */
@media (max-width: 768px) {
    .nav-logo span {
        font-size: 1.15rem;
    }

    .nav-download-btn {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
        gap: 6px;
    }

    .nav-download-btn .version-tag {
        display: none;
    }
}

/* ============================================
   图标系统
   全部图形改为 24 栅格线性图标，描边随字号缩放
   ============================================ */
.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    display: block;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 容器尺寸：图标按容器等比取值，不再依赖 font-size */
.feature-icon .icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    stroke-width: 1.5;
}

.platform-icon .icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
    stroke-width: 1.6;
}

.channel-icon .icon {
    width: 30px;
    height: 30px;
    color: var(--primary);
    stroke-width: 1.6;
}

.workshop-center .icon {
    width: 54px;
    height: 54px;
    color: #ffffff;
    stroke-width: 1.3;
}

.workshop-item .icon {
    width: 30px;
    height: 30px;
    color: var(--primary);
    stroke-width: 1.6;
}

.modal-icon .icon {
    width: 36px;
    height: 36px;
    color: #ffffff;
    stroke-width: 1.6;
}

.hero-badge-icon {
    width: 15px;
    height: 15px;
    color: #ea580c;
    stroke-width: 2;
}

.btn-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.rel-arrow .icon {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.modal-close .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* 页脚品牌标：渐变方块 + 白图标 */
.logo-mark {
    background: var(--gradient-1);
    box-shadow: 0 6px 16px -8px rgba(67, 56, 202, 0.6);
}

.logo-mark .icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
    stroke-width: 1.8;
}

.nav-logo .logo-mark {
    border-radius: 13px;
}

.nav-logo .logo-mark .icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.7;
}

/* 导航按钮内图标 */
.nav-dl-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
    stroke-width: 2;
}

/* 关闭按钮改为图标后统一居中 */
.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   文章页（2026-10 重构）：正文两栏 + 目录 + FAQ
   ============================================ */
.article-page {
    padding: 104px 48px 80px;
    background: var(--bg);
}

.article-shell {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 268px;
    gap: 56px;
    align-items: start;
}

.article-main {
    min-width: 0;
}

.article-head {
    margin-bottom: 22px;
}

.article-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 14px;
}

.article-head h1 {
    font-size: clamp(1.6rem, 3.1vw, 2.05rem);
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.article-meta {
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-lead {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-secondary);
    border-left: 3px solid var(--primary);
    padding: 2px 0 2px 18px;
    margin: 26px 0 8px;
}

.article-body h2 {
    font-size: 1.32rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 46px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 96px;
}

.article-body h2:first-of-type {
    margin-top: 34px;
}

.article-body h3 {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 26px 0 8px;
    scroll-margin-top: 96px;
}

.article-body p {
    font-size: 16.5px;
    line-height: 1.95;
    color: var(--text-secondary);
    margin-bottom: 1.1em;
}

.article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-body ul,
.article-body ol {
    margin: 0 0 1.3em 1.2em;
    color: var(--text-secondary);
    font-size: 16.5px;
    line-height: 1.95;
}

.article-body li {
    margin-bottom: 0.55em;
}

.article-body ul li::marker {
    color: var(--primary);
}

.article-body ol li::marker {
    color: var(--primary);
    font-weight: 600;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(79, 70, 229, 0.35);
}

.article-body a:hover {
    text-decoration-color: var(--primary);
}

/* 正文内的提示块：替代配图，保持页面有节奏 */
.note {
    background: var(--surface-2);
    border-left: 3px solid var(--secondary);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 24px 0 26px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text-secondary);
}

.note strong {
    color: var(--text-primary);
}

/* FAQ 折叠：默认关闭，减少长页滚动 */
.faq-list {
    margin: 8px 0 4px;
    border-top: 1px solid var(--border);
}

.faq-list details {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 40px 18px 0;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 26px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(-135deg);
    top: 30px;
}

.faq-list .faq-a {
    padding: 0 8px 20px 0;
    font-size: 16px;
    line-height: 1.95;
    color: var(--text-secondary);
}

/* 侧栏目录 */
.article-side {
    position: sticky;
    top: 96px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: var(--shadow-card);
}

.article-side .side-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.article-side ol {
    list-style: none;
    counter-reset: toc;
    margin: 0;
}

.article-side li {
    counter-increment: toc;
    margin-bottom: 2px;
}

.article-side a {
    display: block;
    padding: 7px 0 7px 26px;
    position: relative;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-side a::before {
    content: counter(toc, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 12px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.article-side a:hover {
    color: var(--primary);
}

.side-cta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-muted);
}

.side-cta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* 文末延伸阅读 */
.article-next {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.article-next .next-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.next-list {
    display: grid;
    gap: 10px;
}

.next-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

.next-list a:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    transform: translateX(3px);
}

.next-list .icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex: 0 0 auto;
}

@media (max-width: 1024px) {
    .article-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .article-side {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-page {
        padding: 92px 20px 56px;
    }

    .article-lead {
        font-size: 16px;
        padding-left: 14px;
    }

    .article-body p,
    .article-body ul,
    .article-body ol {
        font-size: 16px;
        line-height: 1.9;
    }

    .article-body h2 {
        font-size: 1.2rem;
        margin-top: 38px;
    }

    .article-head h1 {
        font-size: 1.5rem;
    }
}

/* 文章页面包屑：贴在标题上方，不再继承列表页的 108px 顶距 */
.article-page .breadcrumb {
    max-width: none;
    margin: 0 0 16px;
    padding: 0;
    font-size: 13px;
}

.article-page .breadcrumb ol {
    flex-wrap: nowrap;
    min-width: 0;
}

.article-page .breadcrumb li:last-child {
    min-width: 0;
    overflow: hidden;
}

.article-page .breadcrumb [aria-current="page"] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .article-page .breadcrumb li:not(:last-child) {
        flex: 0 0 auto;
    }
}

/* 列表页：章节标题不应盖过页面 H1 */
#list .section-header h2 {
    font-size: 1.7rem;
    letter-spacing: -0.01em;
}

#list .section-header {
    margin-bottom: 28px;
}

/* 列表页标题区与列表左对齐，保持同一栅格 */
#list .section-header {
    text-align: left;
    max-width: 1040px;
    margin: 0 auto 8px;
}

#list .section-header p {
    margin: 0;
}

#list .news-list {
    margin-top: 28px;
}
