/* ==================== 全局样式 ==================== */
/* 暗黑主题（默认） */
:root {
    /* 主色调 - 使用独特的蓝紫色渐变 */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    
    /* 辅助色 */
    --secondary-color: #ec4899;
    --accent-color: #14b8a6;
    
    /* 中性色 */
    --bg-primary: #000;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(90deg, #34b27b, #2dd4bf, #34b27b);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* 圆角 */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
    
    /* 动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 黑白主题（Light Theme - Datawrapper 风格） */
body.light-theme {
    /* 主色调 - 简洁的黑色系 */
    --primary-color: #d1d4d4;
    --primary-dark: #0a1419;
    --primary-light: #2d3e47;
    
    /* 辅助色 */
    --secondary-color: #4a5568;
    --accent-color: #2d3748;
    
    /* 中性色 - 浅色背景 */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    
    /* 渐变 - 黑白渐变 */
    --gradient-primary: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    --gradient-secondary: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    --gradient-accent: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    --gradient-hero: linear-gradient(135deg, #f7fafc 0%, #edf2f7 50%, #e2e8f0 100%);
    
    /* 阴影 - 更柔和 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
    box-sizing: border-box;
    width: calc(100% - 1rem);
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1000px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
    z-index: 1000;
    padding: 0.85rem 1.25rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand .logo {
    width: 36px;
    height: 36px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu .nav-item {
    position: relative;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform var(--transition-normal);
}

.nav-item.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

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

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

/* 导航栏操作按钮区域 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}


/* ===== 案例教程入口 ===== */
.tutorials-trigger {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    text-decoration: none;
}

.tutorials-trigger:hover {
    background: rgba(52, 178, 123, 0.15);
    border-color: rgba(52, 178, 123, 0.45);
    color: #34b27b;
}

body.light-theme .tutorials-trigger {
    color: var(--text-secondary);
    border-color: rgba(0,0,0,0.12);
    background: rgba(0,0,0,0.04);
}

body.light-theme .tutorials-trigger:hover {
    background: rgba(52, 178, 123, 0.1);
    border-color: rgba(52, 178, 123, 0.4);
    color: #2a9a63;
}


/* ===== 微信公众号入口 ===== */
.wechat-entry {
    position: relative;
}

.wechat-trigger {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.wechat-trigger:hover {
    background: rgba(52, 178, 123, 0.15);
    border-color: rgba(52, 178, 123, 0.45);
    color: #34b27b;
}

.wechat-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

.wechat-label {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* 弹窗 */
.wechat-popup {
    position: absolute;
    top: calc(100% + 14px);
    right: -10;
    width: 220px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255,255,255,0.06) inset;
    padding: 1.1rem 1rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 2000;
}

.wechat-entry:hover .wechat-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 小箭头 */
.wechat-popup-arrow {
    position: absolute;
    top: -6px;
    right: 102px;
    width: 12px;
    height: 12px;
    background: rgba(15, 23, 42, 0.92);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
}

.wechat-qr-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.wechat-qr {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.wechat-popup-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.wechat-popup-tips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wechat-popup-tips li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

.wechat-popup-tips li svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    stroke: #34b27b;
    opacity: 0.85;
}

/* 浅色主题适配 */
body.light-theme .wechat-trigger {
    color: var(--text-secondary);
    border-color: rgba(0,0,0,0.12);
    background: rgba(0,0,0,0.04);
}

body.light-theme .wechat-trigger:hover {
    background: rgba(52, 178, 123, 0.1);
    border-color: rgba(52, 178, 123, 0.4);
    color: #2a9a63;
}

body.light-theme .wechat-popup {
    background: rgba(255,255,255,0.96);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

body.light-theme .wechat-popup-arrow {
    background: rgba(255,255,255,0.96);
    border-color: rgba(0,0,0,0.1);
}

body.light-theme .wechat-popup-title {
    color: var(--text-primary);
}

body.light-theme .wechat-popup-tips li {
    color: var(--text-muted);
}

/* 旧的 btn-primary（保留备用，已不在 navbar 使用） */
.nav-actions .btn-primary {
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.nav-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #34b27b 0%, #2dd4bf, 100%);
}

/* 浅色主题下的导航按钮 */
body.light-theme .nav-actions .btn-primary {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.25);
}

body.light-theme .nav-actions .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(45, 55, 72, 0.35);
    background: linear-gradient(135deg, #1a202c 0%, #0a0e14 100%);
}


/* 左侧内容 */
.mega-dropdown-left {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.explore-all-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    padding: 0.25rem 8rem 0.25rem 0.25rem;
    border-radius: var(--radius-sm);
    margin: 0.3rem;
}

.explore-all-link:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.explore-all-link::after {
    display: none;
}

.header-icon {
    width: 22px;
    height: 22px;
    fill: var(--primary-color);
}

.dropdown-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.dropdown-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
    border-radius: 0.35rem;
    transition: all var(--transition-fast);
    color: var(--text-primary);
    text-decoration: none;
}

.feature-link:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.feature-link::after {
    display: none;
}

.feature-link .feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
    background: none !important;
    border-radius: 0 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    filter: brightness(0) saturate(100%) invert(var(--icon-invert, 93%)) sepia(8%) saturate(157%) hue-rotate(182deg) brightness(95%) contrast(93%);
    transition: filter var(--transition-fast);
}

/* 浅色主题下的图标滤镜 */
body.light-theme .feature-link .feature-icon {
    filter: brightness(0) saturate(100%) invert(13%) sepia(8%) saturate(1234%) hue-rotate(182deg) brightness(95%) contrast(93%);
}

.feature-link span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* 右侧最新动态 */
.mega-dropdown-right {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-sm);
    height:360px;
}

.whats-new-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.whats-new-header h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

.changelog-link {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.changelog-link:hover {
    color: var(--primary-light);
}

.changelog-link::after {
    display: none;
}

.whats-new-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-item {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.news-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.news-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* 浅色主题 */
body.light-theme .mega-dropdown {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .mega-dropdown-left {
    border-right-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .mega-dropdown-right {
    background: var(--bg-secondary);
}

body.light-theme .feature-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .news-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .whats-new-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* 浅色主题下的胶囊导航栏 */
body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

/* ==================== 更新日志页面 ==================== */

















/* 浅色主题 */
body.light-theme .changelog-details {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .changelog-details:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 响应式 */
@media (max-width: 768px) {
    .changelog-header h1 {
        font-size: 2.5rem;
    }
    
    .changelog-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .changelog-item::before {
        display: none;
    }
    
    .date-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .changelog-details h2 {
        font-size: 1.5rem;
    }
}

/* ==================== 特征页面 ==================== */









/* 大型特征卡片（3列） */












/* 中型特征卡片（3列网格） */








/* CTA 区域 */




/* 浅色主题 */
body.light-theme .features-hero {
    background: var(--gradient-hero);
}

body.light-theme .feature-card-large,
body.light-theme .feature-card-medium {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .feature-card-large:hover,
body.light-theme .feature-card-medium:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.light-theme .explore-all-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* 响应式 */
@media (max-width: 768px) {
    .features-hero-title {
        font-size: 2.5rem;
    }
    
    .features-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .features-grid-large,
    .features-grid-medium {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}






.btn .icon {
    width: 20px;
    height: 20px;
}

/* ==================== 英雄区域 (Datawrapper 风格) ==================== */
.hero {
    position: relative;
    min-height: 1vh;           /* 最小高度1或者 10vh，可以自动扩展 缩放大小hero下方间距就不会变了*/
    padding-top: 50px;
    padding-bottom: 10rem;       /* 底部留出足够空间 */
    background: #000;
    overflow: visible;      
}

.hero .container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 0.25rem;
    width: calc(100% - 0.5rem);
}

/* 头部内容 */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





.hero__cta-link .icon {
    width: 30px;
    height: 20px;
    stroke-width: 2px; /* 如果是支持描边的图标 */
}



/* 背景图片 */



/* 视频预览区域 */
.hero__app-preview {
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(15%) scale(1);/* 需修改 js文件中对应的参数属性 */
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__app-preview.active {
    transform: translateY(-10vh) scale(1.15);
}

.hero__app-animation {
    position: relative;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.hero__app-animation:hover {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero__video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
    border: 1px solid var(--accent-color); /* 1px 青色边框 */
}

/* 背景模糊效果 */
body.video-active .hero__background {
    filter: blur(8px);
    opacity: 1;
}

body.video-active .hero__background::before {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(30, 41, 59, 0.5) 100%);
}

/* 浅色主题 */
body.light-theme .hero {
    background: var(--bg-primary);
}

body.light-theme .hero__headline {
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

body.light-theme .hero__subheadline {
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.6);
}

body.light-theme .hero__disclaimer {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

body.light-theme .hero__background::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(247, 250, 252, 0.2) 100%);
}

body.light-theme body.video-active .hero__background::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(247, 250, 252, 0.4) 100%);
}

body.light-theme .hero__app-animation {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.light-theme .hero__app-animation:hover {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.2);
}

/* ==================== 出版场景展示区域 ==================== */
.publication-scenarios {
    padding: var(--spacing-xl) 0;
    background: #000;
}

.scenarios-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.scenarios-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.scenarios-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: var(--spacing-sm);
}

.scenario-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    text-align: center;
    transition: all var(--transition-normal);
}

.scenario-card:hover {
    transform: translateY(-4px);
}

.scenario-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.scenario-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.scenario-card:hover .scenario-icon {
    background: var(--accent-color);
    transform: scale(1.05);
}

.scenario-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    transition: all var(--transition-normal);
}

.scenario-card:hover .scenario-icon svg {
    stroke: white;
}

.scenario-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
}

.scenario-preview {
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    line-height: 0;
    font-size: 0;
    display: flex;
}

.scenario-card:hover .scenario-preview {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.scenario-preview img {
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    display: block;
    border: none;
    transition: all var(--transition-normal);
}

.scenario-card:hover .scenario-preview img {
    transform: scale(1.02);
}

/* 浅色主题 */
body.light-theme .publication-scenarios {
    background: var(--bg-primary);
}

body.light-theme .scenario-icon {
    background: var(--bg-secondary);
}

body.light-theme .scenario-preview {
    background: var(--bg-secondary);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.light-theme .scenario-card:hover .scenario-preview {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 响应式 */
@media (max-width: 1200px) {
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .scenarios-title {
        font-size: 2rem;
    }
    
    .scenarios-subtitle {
        font-size: 1rem;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .scenario-title {
        font-size: 1.25rem;
    }
}



.workflow-item.active {
    border-top: 2px solid #FF8C42;

}


.workflow-item.active .workflow-icon {
    color: #FF8C42;
}


.workflow-item.active .workflow-item-header h3 {
    color: var(--text-primary);
}


.workflow-item.active .workflow-text p {
    color: var(--text-secondary);
    opacity: 1;
}

/* 右侧预览区域 */

/* GIF 动画容器 */

/* 不同工作流程的 GIF 初始位置 */



/* 激活状态 - 飞入到最终位置 */
.workflow-gif.active {
    opacity: 1;
    pointer-events: auto;
}

.workflow-gif[data-workflow="step-based"].active {
    top: 10%;
    left: 15%;
    transform: translate(0, 0) scale(1);
}

.workflow-gif[data-workflow="fine-grained"].active {
    top: 50%;
    left: 15%;
    transform: translate(0, -50%) scale(1);
}

.workflow-gif[data-workflow="responsive"].active {
    top: 10%;
    right: 15%;
    transform: translate(0, 0) scale(1);
}

/* 浅色主题 */
body.light-theme .editor-workflow {
    background: var(--bg-secondary);
}

body.light-theme .workflow-item {
    border-top-color: rgba(128, 128, 128, 0.3);
}

body.light-theme .workflow-item:hover {
    opacity: 0.8;
}

body.light-theme .workflow-item.active {
    border-top-color: #FF8C42;
}

body.light-theme .workflow-icon {
    color: var(--text-muted);
}

body.light-theme .workflow-item.active .workflow-icon {
    color: #FF8C42;
}

body.light-theme .workflow-preview {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 响应式 */
@media (max-width: 1024px) {
    .workflow-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .workflow-preview {
        order: -1;
    }
    
    .workflow-gif {
        width: 60%;
        height: 70%;
    }
}

@media (max-width: 768px) {
    .workflow-item {
        padding: var(--spacing-sm) 0;
    }
    
    .workflow-icon {
        font-size: 1.25rem;
    }
    
    .workflow-item-header h3 {
        font-size: 1.125rem;
    }
    
    .workflow-text p {
        font-size: 0.875rem;
    }
    
    .workflow-gif {
        width: 80%;
        height: 75%;
    }
}

/* ==================== 品牌主题展示区域 ==================== */

/* 网格点背景 - 所有主题都显示 */

/* Bolt 主题 - 黑色背景 */


/* Bolt 主题下标题变白色 */


/* 主题颜色变化 */




/* Bolt 主题下 subtitle 变白色 */






/* Bolt 主题下描述文字变白色 */



/* Bolt 主题下标签文字变白色 */


/* Bolt 主题下按钮容器边框 */

/* Bolt 主题下按钮右边框 */



.theme-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

/* 激活按钮的主题颜色 */
.brand-themes[data-active-theme="bolt"] .theme-btn.active {
    color: #FFD145;
    background: rgba(255, 209, 69, 0.15);
}

.brand-themes[data-active-theme="flamingo"] .theme-btn.active {
    color: #D64065;
    background: rgba(214, 64, 101, 0.15);
}

.brand-themes[data-active-theme="leaf"] .theme-btn.active {
    color: #35C0A7;
    background: rgba(53, 192, 167, 0.15);
}

/* 激活按钮的图标颜色 */
.brand-themes[data-active-theme="bolt"] .theme-btn.active .theme-icon {
    color: #FFD145;
}

.brand-themes[data-active-theme="flamingo"] .theme-btn.active .theme-icon {
    color: #D64065;
}

.brand-themes[data-active-theme="leaf"] .theme-btn.active .theme-icon {
    color: #35C0A7;
}



.theme-image.active {
    opacity: 1;
    pointer-events: auto;
}

/* 浅色主题 */
body.light-theme .brand-themes {
    background: var(--bg-primary);
}

body.light-theme .theme-buttons {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .theme-btn {
    border-right-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .theme-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .theme-btn.active {
    background: rgba(0, 0, 0, 0.1);
}

/* 响应式 */
@media (max-width: 1024px) {
    .theme-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .theme-main-title {
        font-size: 2.5rem;
    }
    
    .theme-subtitle {
        font-size: 1.75rem;
    }
    
    .theme-preview {
        order: -1;
    }
}

@media (max-width: 768px) {
    .theme-main-title {
        font-size: 2rem;
    }
    
    .theme-subtitle {
        font-size: 1.5rem;
    }
    
    .theme-buttons {
        width: 100%;
    }
    
    .theme-btn {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* ==================== 图片展示区域 ==================== */
.gallery-showcase {
    padding: var(--spacing-xl) 0;
    background: #000;
}

.gallery-showcase .section-title {
    margin-bottom: var(--spacing-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 浅色主题下的背景和边框 */
body.light-theme .gallery-showcase {
    background: var(--bg-primary);
}

body.light-theme .gallery-item {
    border-color: rgba(0, 0, 0, 0.1);
}

/* 四个角的圆角设置 */
.gallery-item:nth-child(1) {
    border-top-left-radius: var(--radius-sm);
}

.gallery-item:nth-child(4) {
    border-top-right-radius: var(--radius-sm);
}

.gallery-item:nth-child(9) {
    border-bottom-left-radius: var(--radius-sm);
}

.gallery-item:nth-child(12) {
    border-bottom-right-radius: var(--radius-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 随机放大缩小动画 */
@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.gallery-item.animating img {
    animation: zoomInOut 2s ease-in-out;
}

/* 响应式 */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 重置所有圆角 */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(9),
    .gallery-item:nth-child(12) {
        border-radius: 0;
    }
    
    /* 3列布局的四角圆角 */
    .gallery-item:nth-child(1) {
        border-top-left-radius: var(--radius-md);
    }
    
    .gallery-item:nth-child(3) {
        border-top-right-radius: var(--radius-md);
    }
    
    .gallery-item:nth-child(10) {
        border-bottom-left-radius: var(--radius-md);
    }
    
    .gallery-item:nth-child(12) {
        border-bottom-right-radius: var(--radius-md);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }
    
    /* 重置所有圆角 */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(10),
    .gallery-item:nth-child(12) {
        border-radius: 0;
    }
    
    /* 2列布局的四角圆角 */
    .gallery-item:nth-child(1) {
        border-top-left-radius: var(--radius-md);
    }
    
    .gallery-item:nth-child(2) {
        border-top-right-radius: var(--radius-md);
    }
    
    .gallery-item:nth-child(11) {
        border-bottom-left-radius: var(--radius-md);
    }
    
    .gallery-item:nth-child(12) {
        border-bottom-right-radius: var(--radius-md);
    }
}

/* ==================== 功能特性 ==================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}


.feature-card {
    background: var(--bg-tertiary);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.feature-card .feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 图表展示 ==================== */







/* ==================== 价格方案 ==================== */




/* 推荐标签 */


/* 价格卡片头部 */





/* 价格显示 */





/* 功能列表 */


/* 价格按钮 */





/* 常见问题 */


.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}




.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
    width: 10px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 10px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-question[aria-expanded="true"] .faq-icon::before {
    transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: rotate(45deg);
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 var(--spacing-md);
}

.faq-answer.open {
    max-height: 300px;
    padding: 0 var(--spacing-md) 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 价格对比表格 */


























/* 响应式设计 */
@media (max-width: 1024px) {
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table thead tr th,
    .comparison-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .feature-name,
    .category-title {
        padding-left: 1rem !important;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        border-radius: 0;
        margin: 0 -1rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .plan-icon {
        width: 22px;
        height: 22px;
    }
    
    .plan-name {
        font-size: 0.8rem;
    }
    
    .feature-name {
        font-size: 0.8rem;
    }
}

/* 学习下拉菜单样式 */
.learn-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-30%);
    width: 1100px;
    height:380px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
    max-width: 95vw;
}

.nav-item.has-dropdown:hover .learn-dropdown {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 0.5rem);
}

/* 学习下拉菜单左侧 */
.learn-dropdown-left {
    width: 280px;
    flex-shrink: 0 !important;
    background: var(--bg-secondary);
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}





.learn-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learn-sidebar-item {
    margin-bottom: 0.5rem;
}

.learn-sidebar-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.learn-sidebar-link:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
}

.learn-sidebar-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.learn-sidebar-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.learn-sidebar-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.learn-sidebar-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* 学习下拉菜单右侧 */
.learn-dropdown-right {
    flex: 1 1 auto !important;
    min-width: 0;
    padding: 1.5rem;
    overflow-y: auto;
}

.learn-dropdown-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learn-dropdown-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.learn-dropdown-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.learn-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem;
}

.learn-card {
    background: var(--bg-secondary);
    padding: 0;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.learn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #009E73 0%, #56B4E9 50%, #E69F00 100%);
}

.learn-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.learn-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem 0.75rem 1rem;
}

.learn-card-icon {
    width: 32px;
    height: 32px;
    background: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 !important;
}

.learn-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: currentColor;
    stroke-width: 0;
}

.learn-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.learn-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    padding: 0 1rem 1.25rem 1rem;
}

/* 浅色主题下的学习下拉菜单 */
body.light-theme .learn-dropdown {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .learn-dropdown-left {
    background: #f8fafc;
    border-right-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .learn-sidebar-link:hover {
    background: white;
}

body.light-theme .learn-dropdown-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .learn-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .learn-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 学习页面样式 */

/* ==================== 教程页面样式 ==================== */
.app-intro-tutorial-entry {
    margin-top: 1.1rem;
    display: flex;
    justify-content: center;
}

.tutorial-entry-btn {
    min-width: 280px;
}

.tutorial-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.tutorial-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tutorial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 178, 123, 0.5);
    box-shadow: 0 14px 36px rgba(52, 178, 123, 0.18);
}

.tutorial-card-image,
.tutorial-card-media {
    aspect-ratio: 16 / 10;
    min-height: 270px;
    background: rgba(2, 6, 23, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tutorial-card-media {
    position: relative;
    cursor: pointer;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.tutorial-media-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 70px;
    height: 70px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(2, 6, 23, 0.58);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.tutorial-media-size {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 38px;
    height: 38px;
    border-radius: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(2, 6, 23, 0.7);
    color: rgba(255, 255, 255, 0.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tutorial-media-size:hover {
    background: rgba(2, 6, 23, 0.82);
    transform: scale(1.05);
}

.tutorial-media-play-icon {
    font-size: 1.35rem;
    margin-left: 2px;
    line-height: 1;
}

.tutorial-media-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(2, 6, 23, 0.72);
}

.tutorial-card.video-playing .tutorial-media-play {
    opacity: 0;
}

.tutorial-card-media::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.5), transparent);
    pointer-events: none;
}

body.light-theme .tutorial-media-play {
    border-color: rgba(15, 23, 42, 0.2);
    background: rgba(255, 255, 255, 0.82);
    color: #0f172a;
}

body.light-theme .tutorial-media-size {
    border-color: rgba(15, 23, 42, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

body.light-theme .tutorial-media-play:hover {
    background: rgba(255, 255, 255, 0.95);
}

.tutorial-card-image img,
.tutorial-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    grid-area: 1 / 1;
}

.tutorial-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.tutorial-card-body h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--text-primary);
}

.tutorial-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 3.2rem;
}

.tutorial-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
}

.tutorial-action-btn--play {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: transparent;
    color: var(--text-primary);
    border-radius: 0.55rem;
    padding: 0.25rem 0.7rem;
    font-size: 0.82rem;
    line-height: 1.7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tutorial-action-btn--play:hover {
    border-color: rgba(52, 178, 123, 0.6);
    color: #34b27b;
}

.tutorial-action-btn--play.is-playing {
    border-color: rgba(250, 204, 21, 0.55);
    color: #facc15;
}

.tutorial-text-link {
    position: relative;
    font-size: 0.84rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tutorial-text-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.2s ease;
}

.tutorial-text-link:hover {
    color: #34b27b;
}

.tutorial-text-link:hover::after {
    width: 100%;
}

body.light-theme .tutorial-action-btn--play {
    border-color: rgba(15, 23, 42, 0.22);
    color: #1e293b;
}

body.light-theme .tutorial-action-btn--play:hover {
    border-color: rgba(52, 178, 123, 0.52);
    color: #1f8d5f;
}

body.light-theme .tutorial-action-btn--play.is-playing {
    border-color: rgba(245, 158, 11, 0.48);
    color: #b45309;
}
.tutorial-card.video-expanded {
    grid-column: span 2;
}

.tutorial-card.video-expanded .tutorial-card-media {
    min-height: 360px;
}

@media (max-width: 1100px) {
    .tutorial-card.video-expanded {
        grid-column: auto;
    }

    .tutorial-card.video-expanded .tutorial-card-media {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .tutorial-card.video-expanded .tutorial-card-media {
        min-height: 250px;
    }
}

.tutorial-download-toast {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 23, 42, 0.94);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
    pointer-events: none;
}

.tutorial-download-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

body.light-theme .tutorial-download-toast {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

body.light-theme .tutorial-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.light-theme .tutorial-card:hover {
    border-color: rgba(52, 178, 123, 0.48);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

@media (max-width: 1100px) {
    .tutorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tutorial-card-image,
    .tutorial-card-media {
        min-height: 260px;
    }

    .tutorial-card.video-expanded {
        grid-column: auto;
    }

    .tutorial-card.video-expanded .tutorial-card-media {
        min-height: 300px;
    }

    .tutorial-actions {
        gap: 0.7rem;
    }
}

@media (max-width: 768px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tutorial-card-image,
    .tutorial-card-media {
        min-height: 230px;
    }

    .tutorial-media-play {
        width: 60px;
        height: 60px;
    }

    .tutorial-media-size {
        width: 34px;
        height: 34px;
    }

    .tutorial-entry-btn {
        width: 100%;
        min-width: 0;
    }

    .tutorial-actions {
        gap: 0.6rem;
    }
}




















/* 浅色主题下的学习页面 */
body.light-theme .learn-hero {
    background: var(--gradient-hero);
}

body.light-theme .path-card,
body.light-theme .tutorial-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .path-card:hover,
body.light-theme .tutorial-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 浅色主题下的价格卡片样式 */
body.light-theme .pricing-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .pricing-card:hover {
    border-color: rgba(24, 39, 47, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

body.light-theme .pricing-card-featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(24, 39, 47, 0.15);
}

body.light-theme .pricing-price {
    border-top-color: rgba(0, 0, 0, 0.1);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .btn-pricing {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .btn-pricing:hover {
    border-color: var(--primary-color);
}

body.light-theme .faq-list {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .faq-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
    background: var(--bg-secondary);
}

body.light-theme .faq-question:hover {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .pricing-faq {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* ==================== Tutorials Hub (分类分区版) ==================== */
.tutorial-hub-hero .app-intro-container {
    max-width: 1100px;
}

.tutorial-category-section {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.tutorial-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.tutorial-row[data-layout="auto"] {
    grid-auto-flow: row;
}

.tutorial-tile {
    background: rgba(15, 23, 42, 0.55);
    border: 0.5px solid rgba(233, 230, 230, 0.789);
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.tutorial-video {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: #020617;
}

.tutorial-tile-body {
    padding: 0.9rem 0.95rem 1rem;
    background: rgba(15, 23, 42, 0.28);
}

.tutorial-tile-body p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.tutorial-tile-body h4 {
    font-size: 0.98rem;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.tutorial-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.tutorial-text-link {
    position: relative;
    font-size: 0.84rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tutorial-text-link--dc::before,
.tutorial-text-link--data::before {
    content: none;
}

.tutorial-link-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.95;
}

.tutorial-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.55);
    color: rgba(148, 163, 184, 0.95);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    user-select: none;
    transition: all 0.2s ease;
}

.tutorial-help:hover,
.tutorial-help:focus-visible {
    color: #34b27b;
    border-color: rgba(52, 178, 123, 0.7);
    outline: none;
}

.tutorial-help::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    min-width: 220px;
    max-width: 290px;
    padding: 0.45rem 0.55rem;
    border-radius: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.95);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.74rem;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tutorial-help::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: rgba(15, 23, 42, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    z-index: 49;
}

.tutorial-help:hover::after,
.tutorial-help:focus-visible::after,
.tutorial-help:hover::before,
.tutorial-help:focus-visible::before {
    opacity: 1;
    visibility: visible;
}

.tutorial-help:hover::after,
.tutorial-help:focus-visible::after {
    transform: translateX(-50%) translateY(0);
}

.tutorial-text-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.2s ease;
}

.tutorial-text-link:hover {
    color: #34b27b;
}

.tutorial-text-link:hover::after {
    width: 100%;
}

body.light-theme .tutorial-tile {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

body.light-theme .tutorial-tile-body {
    background: #f8fafc;
}

body.light-theme .tutorial-tile-body h4 {
    color: #0f172a;
}

body.light-theme .tutorial-text-link {
    color: #475569;
}

body.light-theme .tutorial-text-link:hover {
    color: #1f8d5f;
}

body.light-theme .tutorial-help {
    color: rgba(71, 85, 105, 0.95);
    border-color: rgba(71, 85, 105, 0.4);
}

body.light-theme .tutorial-help:hover,
body.light-theme .tutorial-help:focus-visible {
    color: #1f8d5f;
    border-color: rgba(31, 141, 95, 0.6);
}

body.light-theme .tutorial-help::after {
    background: rgba(255, 255, 255, 0.97);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

body.light-theme .tutorial-help::before {
    background: rgba(255, 255, 255, 0.97);
    border-left-color: rgba(15, 23, 42, 0.15);
    border-top-color: rgba(15, 23, 42, 0.15);
}

@media (max-width: 1100px) {
    .tutorial-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .tutorial-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== 示例可视化展示区域 ==================== */






/* 上方模糊遮罩 */

/* 下方模糊遮罩 */

/* 浅色主题的遮罩 */
body.light-theme .examples-columns::before {
    background: linear-gradient(
        to bottom,
        var(--bg-secondary) 0%,
        rgba(247, 250, 252, 0.8) 30%,
        transparent 100%
    );
}

body.light-theme .examples-columns::after {
    background: linear-gradient(
        to top,
        var(--bg-secondary) 0%,
        rgba(247, 250, 252, 0.8) 30%,
        transparent 100%
    );
}






@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 暂停动画在悬停时 */












/* 响应式设计 */
@media (max-width: 1024px) {
    .examples-column:nth-child(3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .examples-columns {
        gap: var(--spacing-sm);
    }
    
    .examples-column:nth-child(2) {
        display: none;
    }
    
    .example-source {
        padding: var(--spacing-sm);
    }
    
    .example-source-logo {
        width: 32px;
        height: 32px;
    }
    
    .example-source-title {
        font-size: 0.8rem;
    }
    
    .example-source-name {
        font-size: 0.7rem;
    }
}

/* 浅色主题 */
body.light-theme .example-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .example-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.light-theme .example-source {
    background: var(--bg-secondary);
}


/* ==================== 客户信任展示区域 ==================== */





/* 响应式设计 */
@media (max-width: 1200px) {
    .customers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg) var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .customers-headline {
        gap: var(--spacing-md);
    }
    
    .customers-title {
        font-size: 1.25rem;
    }
    
    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg) var(--spacing-md);
    }
    
    .customer-item--hidden-mobile {
        display: none;
    }
    
    .customer-item img {
        max-height: 40px;
    }
}

/* 浅色主题 */
body.light-theme .customers-divider {
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent
    );
}

body.light-theme .customer-item img {
    filter: grayscale(100%) brightness(0) invert(0);
    opacity: 0.5;
}

body.light-theme .customer-item:hover img {
    opacity: 0.8;
}

/* ==================== 网站功能展示区域 ==================== */











/* 响应式设计 */
@media (max-width: 1024px) {
    .website-cards {
        grid-template-columns: 1fr;
    }
}

/* 浅色主题 */
body.light-theme .large-link-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .large-link-card:hover {
    border-color: var(--bg-secondary);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

/* ==================== 下载区域 ==================== */







/* macOS 下载下拉 + 命令提示 */







.download-dropdown.open .dropdown-caret {
    transform: rotate(-135deg);
}


.download-dropdown.open .download-dropdown-menu {
    display: block;
}












.info-tooltip:hover::after,





.btn-copy.copied {
    border-color: rgba(79, 172, 254, 0.5);
    color: #4facfe;
    background: rgba(79, 172, 254, 0.08);
}















/* ==================== 文档区域 ==================== */







/* ==================== 关于区域 ==================== */











/* ==================== 关于页面样式 ==================== */
/* Hero 区域 */



/* 故事区域 */


/* 团队区域 */







/* 作品展示区域 */










/* 社交媒体二维码 */



























/* 课程订阅 */
















/* 响应式设计 */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-md);
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .book-item {
        flex-direction: column;
        text-align: center;
    }
    
    .book-cover {
        width: 100%;
        max-width: 200px;
        height: 260px;
        margin: 0 auto;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .subscription-benefits {
        max-width: 400px;
        margin: 0 auto var(--spacing-lg);
    }
    
    .subscription-benefits li {
        justify-content: center;
    }
    
    .subscription-price {
        justify-content: center;
    }
    
    .qr-code-large {
        width: 160px;
        height: 160px;
    }
    
    .social-qr-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 左侧品牌区域 */
.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
}

.footer-logo .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-support-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
}

.support-link:hover {
    color: var(--primary-light);
}

.support-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* 右侧链接网格 */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-list li {
    margin: 0;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: inline-block;
    line-height: 1.6;
}

.footer-links-list a:hover {
    color: var(--primary-light);
    transform: translateX(2px);
}

/* 底部区域 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-copyright p {
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-social {
        order: -1;
    }
}

/* ==================== 页面通用样式 ==================== */
.page-header {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.content-section {
    padding: var(--spacing-xl) 0;
}

/* 支持页面样式 */




/* 联系页面样式 */




/* 案例研究样式 */




/* 特征内容样式 */
.feature-content {
    max-width: 800px;
    margin: 0 auto;
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.feature-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: var(--spacing-md);
}

.feature-content ul li {
    padding: var(--spacing-sm) 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.feature-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

/* 法律内容样式 */












/* 招聘页面样式 */







/* 网络研讨会样式 */





/* ==================== 主题切换按钮 ==================== */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-xl);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    fill: none;
    stroke-width: 2;
    transition: all var(--transition-normal);
}

/* 浅色主题下的边框调整 */
body.light-theme .theme-toggle {
    border-color: rgba(0, 0, 0, 0.1);
}

/* 图标切换动画 */
.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

body.light-theme .theme-toggle .icon-sun {
    display: block;
}

body.light-theme .theme-toggle .icon-moon {
    display: none;
}

/* 浅色主题特殊样式调整 */
body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .hero-background {
    opacity: 0.05;
}

body.light-theme .feature-card,
body.light-theme .chart-item,
body.light-theme .doc-card,
body.light-theme .download-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .feature-card:hover,
body.light-theme .chart-item:hover,
body.light-theme .doc-card:hover,
body.light-theme .download-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.light-theme .btn-primary {
    box-shadow: 0 4px 16px rgba(45, 55, 72, 0.3);
}

body.light-theme .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(45, 55, 72, 0.4);
}

body.light-theme .btn-download {
    box-shadow: 0 4px 16px rgba(45, 55, 72, 0.2);
}

body.light-theme .btn-download:hover {
    box-shadow: 0 8px 24px rgba(45, 55, 72, 0.3);
}

body.light-theme .download-dropdown-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .download-dropdown-toggle:hover {
    border-color: rgba(79, 172, 254, 0.5);
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .download-dropdown-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

body.light-theme .download-option {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .download-option:hover {
    background: rgba(79, 172, 254, 0.06);
}

body.light-theme .download-option-footnote {
    border-top-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .download-hint-line {
    color: var(--text-secondary);
}

body.light-theme .info-tooltip {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .info-tooltip::after {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    color: var(--text-secondary);
}

body.light-theme .command-row {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .btn-copy {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .btn-copy:hover {
    border-color: rgba(79, 172, 254, 0.5);
    background: rgba(79, 172, 254, 0.05);
}

body.light-theme .footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .footer-main {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .footer-support-links .support-link:hover {
    color: var(--primary);
}

body.light-theme .footer-links-list a:hover {
    color: var(--primary);
}

body.light-theme .social-link {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .social-link:hover {
    background: var(--primary);
    color: white;
}

body.light-theme .support-card,
body.light-theme .contact-method,
body.light-theme .case-study-card,
body.light-theme .blog-card,
body.light-theme .river-item,
body.light-theme .job-card,
body.light-theme .webinar-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .page-header {
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .download-info li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .sysreq-col h5 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .sysreq-col li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .sysreq-note {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero__background {
        width: 90vw;
    }
    
    .hero__headline {
        font-size: 3rem;
    }
    
    .hero__subheadline {
        font-size: 1.25rem;
    }
    
    .hero__app-preview {
        max-width: 700px;
    }
    
    .hero__app-preview.active {
        transform: translateY(-5vh) scale(1.1);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        min-height: 120vh;
    }
    
    .hero__background {
        width: 95vw;
    }
    
    .hero__headline {
        font-size: 2rem;
    }
    
    .hero__subheadline {
        font-size: 1rem;
    }
    
    .hero__cta-link {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero__app-preview {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }
    
    .hero__app-preview.active {
        transform: translateY(0) scale(1.05);
    }
    
    .download-cards {
        grid-template-columns: 1fr;
    }

    .sysreq-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .support-grid,
    .contact-info-grid,
    .case-studies-grid,
    .blog-grid,
    .river-grid,
    .job-listings,
    .webinar-list {
        grid-template-columns: 1fr;
    }
}

/* ==================== 动画效果 ==================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Charts 页面样式 ==================== */




/* 图表类型选择器 */




.chart-type-tab.active {
    border-color: var(--primary-color);
    background: rgba(251, 215, 33, 0.05);
}




/* 悬停时图标颜色变化 */

/* 选中时图标颜色变化 */
.chart-type-tab.active .chart-icon svg {
    color: var(--primary-color);
}


/* 图表展示区域 */

/* ========================================
   图表展示内容区域 - 两行布局
   ======================================== */


/* ========================================
   第一行：标题、描述和导航按钮
   ======================================== */







/* 导航按钮 */





/* ========================================
   第二行：视频播放区域
   ======================================== */




.chart-video.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* 旧样式保留（以防其他地方使用） */
.chart-edit-panel,
.chart-edit-title,
.chart-edit-options,
.chart-option,
.chart-option-label,
.toggle-switch,
.chart-edit-button,
.chart-edit-note,
.chart-preview-area,
.chart-preview-container,
.chart-preview-image,


/* ========================================
   浅色主题适配
   ======================================== */

body.light-theme .chart-type-tab {
    border-color: #000000;
    background-color: #ffffff;
}

body.light-theme .chart-type-tab:hover {
    border-color: #000000;
    background-color: rgba(197, 195, 195, 0.05);
}

body.light-theme .chart-type-tab:hover .chart-icon svg {
    color: #009E73;
}

body.light-theme .chart-type-tab.active {
    border-color: #009E73;
    background-color: rgba(102, 185, 155, 0.05);
}

body.light-theme .chart-type-tab.active .chart-icon svg {
    color: #009E73;
}

body.light-theme .chart-header-row {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .chart-nav-btn {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .chart-nav-btn svg {
    color: rgba(0, 0, 0, 0.6);
}

body.light-theme .chart-nav-btn:hover:not(:disabled) {
    border-color: #009E73;
}

body.light-theme .chart-nav-btn:hover:not(:disabled) svg {
    color: #009E73;
}

/* ========================================
   响应式布局
   ======================================== */

@media (max-width: 768px) {
    .chart-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .chart-title {
        font-size: 1.5rem;
    }
    
    .chart-navigation {
        width: 100%;
        justify-content: center;
    }
    
    .chart-video-wrapper {
        padding-bottom: 75%; /* 调整移动端宽高比 */
    }
}

/* 选中时图标颜色变化 */
body.light-theme .chart-type-tab.active {
    border-color: #009E73;
    background-color: rgba(102, 185, 155, 0.05);
}

body.light-theme .chart-type-tab.active .chart-icon svg {
    color: #009E73;
}


body.light-theme .chart-edit-panel {
    border-color: rgba(0, 0, 0, 0.1);
}

/* ==================== Chart Customization Section ==================== */
.chart-customization {
    padding: var(--spacing-xl) 0;
    background: #000;
}

.customization-header {
    text-align: left;
    margin-bottom: var(--spacing-xl);
}

.customization-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    line-height: 1.2;
}

.customization-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Grid Layout */
.feature-grid {
    display: grid;
    gap: var(--spacing-sm);
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(11, 1fr);
    min-height: 1160px;
    grid-template-areas:
        'colors tooltips automatic-labels'
        'colors tooltips automatic-labels'
        'colors tooltips automatic-labels'
        'colors symbols automatic-labels'
        'units symbols date-axes'
        'units translate date-axes'
        'units translate date-axes'
        'flags translate highlights'
        'flags log-scale highlights'
        'flags log-scale highlights'
        'flags log-scale highlights';
}

/* Feature Card */
.feature-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    padding: 0;

}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-card-media {
    width: 100%;
    overflow: hidden;
    background: var(--bg-tertiary);
    flex: 1;
}

.feature-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-card-media img {
    transform: scale(1.05);
}

.feature-card-description {
    padding: var(--spacing-sm);
    align-items: center;
}

.feature-card-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    
}

.feature-card-description strong {
    color: var(--text-primary);
    font-weight: 600;
}





/* Tablet Layout */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(17, 1fr);
        min-height: 1806px;
        grid-template-areas:
            'colors tooltips'
            'colors tooltips'
            'colors tooltips'
            'colors symbols'
            'units symbols'
            'units automatic-labels'
            'units automatic-labels'
            'date-axes automatic-labels'
            'date-axes automatic-labels'
            'date-axes highlights'
            'flags highlights'
            'flags highlights'
            'flags highlights'
            'flags log-scale'
            'translate log-scale'
            'translate log-scale'
            'translate log-scale';
    }
    
    .customization-title {
        font-size: 2rem;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, auto);
        min-height: auto;
        grid-template-areas:
            'colors'
            'tooltips'
            'units'
            'flags'
            'symbols'
            'translate'
            'log-scale'
            'automatic-labels'
            'date-axes'
            'highlights';
    }
    
    .customization-title {
        font-size: 1.75rem;
    }
    
    .customization-subtitle {
        font-size: 1rem;
    }
    
    .feature-card-description {
        padding: var(--spacing-sm);
    }
}

/* Light Theme */
body.light-theme .chart-customization {
    background: var(--bg-primary);
}

body.light-theme .feature-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .feature-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

/* ==================== Chart Annotations Section ==================== */
.chart-annotations {
    padding: var(--spacing-xl) 0;
    background: #000;
}

.annotations-header {
    text-align: left;
    margin-bottom: var(--spacing-xl);
}

.annotations-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    line-height: 1.2;
}

.annotations-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Annotations Grid Layout */
.annotations-grid {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    min-height: 600px;
    grid-template-areas:
        'text-annotations text-annotations highlight-label'
        'text-annotations text-annotations shaded-ranges';
}

/* Annotation Card */
.annotation-card {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    object-fit: cover;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.annotation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.annotation-card-media {
    width: 100%;
    overflow: hidden;
    background: var(--bg-tertiary);
    flex: 1;
}

.annotation-card-media img,
.annotation-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.annotation-card:hover .annotation-card-media img,
.annotation-card:hover .annotation-card-media video {
    transform: scale(1.05);
}

.annotation-card-description {
    padding: var(--spacing-sm);
}

.annotation-card-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.annotation-card-description strong {
    color: var(--text-primary);
    font-weight: 600;
}



/* Tablet Layout */
@media (max-width: 1024px) {
    .annotations-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        min-height: 958px;
        grid-template-areas:
            'text-annotations text-annotations'
            'text-annotations text-annotations'
            'highlight-label shaded-ranges';
    }
    
    .annotations-title {
        font-size: 2rem;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .annotations-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        min-height: auto;
        grid-template-areas:
            'text-annotations'
            'highlight-label'
            'shaded-ranges';
    }
    
    .annotations-title {
        font-size: 1.75rem;
    }
    
    .annotations-subtitle {
        font-size: 1rem;
    }
    
    .annotation-card-description {
        padding: var(--spacing-sm);
    }
}

/* Light Theme */
body.light-theme .chart-annotations {
    background: var(--bg-secondary);
}

body.light-theme .annotation-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .annotation-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

/* ==================== Chart Context Section ==================== */
.chart-context {
    padding: var(--spacing-xl) 0;
    background: #000;
}

.context-header {
    text-align: left;
    margin-bottom: var(--spacing-xl);
}

.context-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    line-height: 1.2;
}

.context-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Context Grid Layout */
.context-grid {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    min-height: 393px;
    grid-template-areas: 'overlays background-columns confidence-intervals';
}

/* Context Card */
.context-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.context-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.context-card-media {
    width: 100%;
    overflow: hidden;
    background: var(--bg-tertiary);
    flex: 1;
}

.context-card-media img,
.context-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.context-card:hover .context-card-media img,
.context-card:hover .context-card-media video {
    transform: scale(1.05);
}

.context-card-description {
    padding: var(--spacing-md);
}

.context-card-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.context-card-description strong {
    color: var(--text-primary);
    font-weight: 600;
}



/* Tablet Layout */
@media (max-width: 1024px) {
    .context-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        min-height: 602px;
        grid-template-areas:
            'overlays background-columns'
            'overlays confidence-intervals';
    }
    
    .context-title {
        font-size: 2rem;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .context-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        min-height: auto;
        grid-template-areas:
            'overlays'
            'background-columns'
            'confidence-intervals';
    }
    
    .context-title {
        font-size: 1.75rem;
    }
    
    .context-subtitle {
        font-size: 1rem;
    }
    
    .context-card-description {
        padding: var(--spacing-sm);
    }
}

/* Light Theme */
body.light-theme .chart-context {
    background: var(--bg-primary);
}

body.light-theme .context-card {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .context-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}


/* ==================== App Intro Section ==================== */
.app-intro-section {
    background: #000;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-intro-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(52,178,123,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.app-intro-container {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Badge */
.app-intro-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.app-intro-badge-entry {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.app-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
}

.app-intro-badge:hover,
.app-intro-badge-entry:hover .app-intro-badge {
    background: rgba(52, 178, 123, 0.12);
    border-color: rgba(52, 178, 123, 0.35);
    color: #34b27b;
}

.app-intro-badge-chevron {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
    opacity: 0.6;
}

.app-intro-badge-entry:hover .app-intro-badge-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* 版本详情弹窗 */
.badge-popup {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 300px;
    background: rgba(13, 20, 36, 0.95);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.06) inset;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 100;
    text-align: left;
}

.app-intro-badge-entry:hover .badge-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.badge-popup-arrow {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 11px;
    height: 11px;
    background: rgba(13, 20, 36, 0.95);
    border-left: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.badge-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.badge-popup-version {
    font-size: 0.85rem;
    font-weight: 700;
    color: #34b27b;
}

.badge-popup-date {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
}

.badge-popup-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.badge-popup-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.badge-popup-tag {
    flex-shrink: 0;
    display: inline-block;
    padding: 0.05rem 0.45rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(52,178,123,0.18);
    color: #34b27b;
    border: 1px solid rgba(52,178,123,0.25);
    margin-top: 1px;
}

.badge-popup-tag.improve {
    background: rgba(99,102,241,0.18);
    color: #818cf8;
    border-color: rgba(99,102,241,0.25);
}

.badge-popup-tag.fix {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
    border-color: rgba(251,191,36,0.25);
}

/* 浅色主题 */
body.light-theme .badge-popup {
    background: rgba(255,255,255,0.97);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

body.light-theme .badge-popup-arrow {
    background: rgba(255,255,255,0.97);
    border-color: rgba(0,0,0,0.1);
}

body.light-theme .badge-popup-header {
    border-bottom-color: rgba(0,0,0,0.08);
}

body.light-theme .badge-popup-date {
    color: var(--text-muted);
}

body.light-theme .badge-popup-item {
    color: var(--text-secondary);
}

.app-intro-badge-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
}

.app-intro-badge-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #34b27b;
    opacity: 0.75;
    animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite;
}

.app-intro-badge-core {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34b27b;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Title */
.app-intro-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.app-intro-title-line {
    display: inline-block;
    color: rgba(255,255,255,0.92);
}

.app-intro-title-gradient {
    display: inline-block;
    background: linear-gradient(90deg, #34b27b, #2dd4bf, #34b27b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s linear infinite;
    padding-top: 10px;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.app-intro-title-sub {
    display: inline-block;
    color: rgba(255,255,255,0.85);
    font-size: clamp(2.4rem, 6vw, 3.5rem)
}

/* Description */
.app-intro-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    max-width: 560px;
    margin: 0 auto 0.6rem;
    line-height: 1.7;
    font-weight: 300;
}

.app-intro-free {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.28);
    margin-bottom: 2.5rem;
}

/* Download buttons */
.app-intro-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

/* macOS 分体按钮组 */
.mac-dl-group {
    position: relative;
}

.mac-dl-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
}

.mac-caret {
    margin-left: 0.1rem;
    opacity: 0.55;
    transition: transform 0.22s ease, opacity 0.2s;
    flex-shrink: 0;
}

.mac-dl-group.open .mac-caret {
    transform: rotate(180deg);
    opacity: 1;
}

/* 下拉菜单 */
.mac-dl-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    width: 180px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    overflow: hidden;
    z-index: 500;
    display: none;
}

.mac-dl-group.open .mac-dl-dropdown {
    display: block;
}

.mac-dl-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.15s;
    text-align: left; /* 左对齐 */
}

.mac-dl-item:last-child {
    border-bottom: none;
}

.mac-dl-item:hover {
    background: rgba(255,255,255,0.07);
}

.mac-dl-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
}

.mac-dl-item-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
}

/* 浅色主题 */
body.light-theme .mac-dl-dropdown {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

body.light-theme .mac-dl-item {
    color: var(--text-primary);
    border-bottom-color: rgba(0,0,0,0.06);
}

body.light-theme .mac-dl-item:hover {
    background: rgba(0,0,0,0.04);
}

body.light-theme .mac-dl-item-title {
    color: var(--text-primary);
}

body.light-theme .mac-dl-item-sub {
    color: var(--text-muted);
}

/* macOS 特别说明 */
.macos-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.1rem;
    padding: 0.6rem 0.9rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.macos-note svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.macos-note-cmd {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
}

.macos-note-cmd code {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    word-break: break-all;
}

.macos-note-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.55rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 5px;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    white-space: nowrap;
}

.macos-note-copy:hover {
    background: rgba(52,178,123,0.2);
    border-color: rgba(52,178,123,0.35);
    color: #34b27b;
}

.macos-note-copy.copied {
    background: rgba(52,178,123,0.2);
    border-color: rgba(52,178,123,0.35);
    color: #34b27b;
}

/* 浅色主题 */
body.light-theme .mac-dl-dropdown {
    background: rgba(255,255,255,0.97);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

body.light-theme .macos-note {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
    color: var(--text-muted);
}

body.light-theme .macos-note-cmd {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.08);
}

body.light-theme .macos-note-cmd code {
    color: var(--text-secondary);
}

body.light-theme .macos-note-copy {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.1);
    color: var(--text-muted);
}

.app-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 190px;
    height: 40px;
    padding: 0.6rem 1.1rem;
    background: #e5e5e5;
    color: #111;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    justify-content: center;
}

.app-dl-btn:hover {
    background: #fff;
    transform: scale(1.025);
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.app-dl-btn:active {
    transform: scale(0.98);
}

.app-dl-btn svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .app-intro-section {
        padding: 6rem 1rem 3rem;
    }
    .app-intro-downloads {
        flex-direction: column;
        align-items: stretch;
    }
    .app-dl-btn {
        min-width: unset;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Light theme overrides */
body.light-theme .app-intro-section {
    background: var(--bg-primary);
}

body.light-theme .app-intro-section::before {
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.08) 0%, transparent 70%);
}

body.light-theme .app-intro-badge {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.6);
}

body.light-theme .app-intro-title {
    color: var(--text-primary);
}

body.light-theme .app-intro-title-line,
body.light-theme .app-intro-title-sub {
    color: var(--text-primary);
}

body.light-theme .app-intro-desc {
    color: var(--text-secondary);
}

body.light-theme .app-intro-free {
    color: var(--text-muted);
}

/* ==================== FAQ Section ==================== */
.faq-section {
    padding: 6rem 1.5rem;
    background: #000;
    transition: background-color 0.3s ease;
}

.faq-inner {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.faq-button {
    width: 100%;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    gap: 1rem;
}

.faq-question-text {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    transition: color 0.2s ease;
}

.faq-button:hover .faq-question-text {
    color: #34b27b;
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color:  #34b27b;
    transition: transform 0.3s ease, color 0.2s ease;
    line-height: 1;
}

.faq-answer {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, color 0.3s ease;
    padding-bottom: 0;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

/* Light theme overrides - FAQ */
body.light-theme .faq-section {
    background: var(--bg-secondary);
}

body.light-theme .faq-section-title {
    color: var(--text-primary);
}

body.light-theme .faq-item {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .faq-question-text {
    color: var(--text-primary);
}

body.light-theme .faq-button:hover .faq-question-text {
    color: #34b27b;
}

body.light-theme .faq-icon {
    color: var(--text-muted);
}

body.light-theme .faq-answer {
    color: var(--text-secondary);
}

/* ==================== Site Footer ==================== */
.site-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(52, 178, 123, 0.05) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
    filter: blur(40px);
    transition: background 0.3s ease;
}

.site-footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.site-footer-logo {
    height: 2rem;
    width: auto;
    opacity: 0.9;
}

.site-footer-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    transition: color 0.3s ease;
}

.site-footer-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 28rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    transition: color 0.3s ease;
}

.site-footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
}

/* Light theme overrides - Footer */
body.light-theme .site-footer {
    background: var(--bg-secondary);
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .site-footer-glow {
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
}

body.light-theme .site-footer-name {
    color: var(--text-primary);
}

body.light-theme .site-footer-desc {
    color: var(--text-secondary);
}

body.light-theme .site-footer-copy {
    color: var(--text-muted);
}

/* ==================== 更新日志弹窗 ==================== */
.changelog-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.changelog-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.changelog-modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.changelog-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.changelog-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.changelog-modal-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.changelog-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.changelog-modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.changelog-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.changelog-modal-body .faq-list {
    margin: 0;
}

.changelog-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    line-height: 1.6;
}

.changelog-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.changelog-item.new .changelog-tag {
    background: rgba(52, 178, 123, 0.15);
    color: #34b27b;
    border: 1px solid rgba(52, 178, 123, 0.3);
}

.changelog-item.improve .changelog-tag {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.changelog-item.fix .changelog-tag {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.light-theme .changelog-modal-content {
    background: var(--bg-secondary);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.light-theme .changelog-modal-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .changelog-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .changelog-item.new .changelog-tag {
    background: rgba(52, 178, 123, 0.1);
    color: #1f8d5f;
}

body.light-theme .changelog-item.improve .changelog-tag {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
}

body.light-theme .changelog-item.fix .changelog-tag {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

@media (max-width: 768px) {
    .changelog-modal-content {
        max-height: 90vh;
    }
    
    .changelog-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .changelog-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .changelog-modal-body {
        padding: 1rem 1.25rem;
    }
}
