/* ==========================================================================
   dotwake 官网样式表 - 按页面结构顺序组织
   作者: dotwake团队  
   版本: 3.0 - 重构优化版
   描述: 响应式设计，按HTML页面结构顺序排列样式，便于维护
   
   页面结构顺序:
   1. 基础样式重置和变量定义
   2. 导航栏样式
   3. 主视觉区域样式
   4. 视频展示区域样式
   5. 工作原理区域样式
   6. 解决方案区域样式（feature-card相关）
   7. 产品功能模块样式
   8. CTA行动号召区域样式
   9. 聊天组件样式
   10. 页脚样式
   11. 响应式适配样式
   12. 特殊功能样式
   ========================================================================== */

/* ==========================================================================
   1. 基础样式重置和变量定义
   ========================================================================== */

/* CSS自定义属性(CSS变量) - 便于维护和主题切换 */
:root {
    /* 主色调 */
    --primary-color: #ffffff;
    --primary-color-alpha: rgba(83, 59, 220, 0.64);
    --primary-hover: rgba(83, 59, 220, 0.8);
    
    /* 文字颜色 */
    --text-primary: rgba(255, 255, 255, 0.8);
    --text-secondary: rgba(255, 255, 255, 0.64);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    /* 背景色 */
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --bg-card: rgba(30, 30, 30, 0.8);
    
    /* 间距系统 */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 0.75rem;   /* 12px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-xxl: 3rem;     /* 48px */
    --spacing-xxxl: 4rem;    /* 64px */
    
    /* 字体系统 */
    --font-family-primary: 'PingFang SC', '微软雅黑', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.25rem;     /* 20px */
    --font-size-2xl: 1.5rem;     /* 24px */
    --font-size-3xl: 1.875rem;   /* 30px */
    --font-size-4xl: 2.25rem;    /* 36px */
    --font-size-5xl: 3rem;       /* 48px */
    
    /* 圆角系统 */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 24px;
    --border-radius-full: 50%;
    
    /* 阴影系统 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --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);
    
    /* Feature Card 特定变量 */
    --card-bg: rgba(20, 20, 20, 0.95);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-radius: 20px;
    --card-padding: 24px;
    --card-min-height: 380px;
    --card-gap: 1rem;
    
    /* Feature Card 响应式尺寸 */
    --card-padding-mobile: 20px;
    --card-padding-tablet: 20px;
    --card-padding-desktop: 24px;
    --card-padding-large: 28px;
    --card-min-height-mobile: 320px;
    --card-min-height-tablet: 340px;
    --card-min-height-desktop: 380px;
    --card-min-height-large: 400px;
    
    /* 紫色主题 */
    --purple-primary: rgba(83, 59, 220, 0.12);
    --purple-border: rgba(83, 59, 220, 0.25);
    --purple-text: rgba(146, 123, 255, 0.85);
    --purple-hover-bg: rgba(83, 59, 220, 0.2);
    --purple-hover-border: rgba(83, 59, 220, 0.4);
    
    /* Feature Title 响应式字体大小 */
    --title-size-mobile: 1.2rem;
    --title-size-tablet: 1.25rem;
    --title-size-desktop: 1.4rem;
    --title-size-large: 1.5rem;
    
    /* Feature Desc 响应式字体大小和padding */
    --desc-size-mobile: 0.8rem;
    --desc-size-tablet: 0.8rem;
    --desc-size-desktop: 0.85rem;
    --desc-size-large: 0.9rem;
    --desc-padding-mobile: 3px 10px;
    --desc-padding-tablet: 3px 10px;
    --desc-padding-desktop: 4px 12px;
    --desc-padding-large: 5px 14px;
    
    /* Feature Card 图标尺寸 */
    --icon-size-mobile: 24px;
    --icon-size-tablet: 28px;
    --icon-size-desktop: 32px;
    --icon-size-large: 36px;
    
    /* 过渡动画 */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.2s ease-in-out;
    --transition-slow: 0.3s ease-in-out;
}

/* 基础重置样式 - 确保跨浏览器一致性 */
*, 
*::before, 
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML根元素设置 - 优化滚动和字体 */
html {
    font-size: 16px; /* 基础字体大小 */
    line-height: 1.6;
    scroll-behavior: smooth;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    /* 优化字体渲染 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 全局字体设置 - 跨平台兼容 */
body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-muted);
    background-color: var(--bg-primary);
    padding-top: 80px; /* 为固定导航栏留出空间 */
    /* 优化文本渲染 */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* 屏幕阅读器隐藏类 - 无障碍访问 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   2. 导航栏样式 - 固定定位，背景模糊，响应式设计
   ========================================================================== */

/* 主导航栏容器 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); /* Safari兼容性 */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    padding: var(--spacing-md) 8%;
    transition: all var(--transition-base);
    padding-top: 8px;
    padding-bottom: 8px;

}

/* 导航容器布局 */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* max-width: 1440px; 最大宽度限制 */
    margin: 0 auto;
}

/* 品牌标识区域 */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* 防止压缩 */
}

/* 品牌标识图片 */
.logo-image {
    height: 24px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.logo-image:hover {
    transform: scale(1.05);
}

/* 导航链接列表 */
.nav-links {
    display: flex;
    gap: var(--spacing-xxl);
    list-style: none;
    align-items: center;
}

/* 导航链接样式 */
.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 400;
    font-size: var(--font-size-base);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    /* 提高点击区域 */
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* 导航链接悬停和激活状态 */
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    /* background: rgba(255, 255, 255, 0.05); */
}

/* 活跃导航项下划线效果 */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

/* ==========================================================================
   3. 主视觉区域样式 - Hero区域，全屏显示，居中对齐
   ========================================================================== */

/* 主内容容器 */
.main-content {
    position: relative;
}

/* 首页主视觉区域 */
.hero-section {
    /* min-height: 100vh; */
    padding: var(--spacing-xxxl) 8%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 主视觉图片容器 */
.hero-image-container {
    margin-bottom: var(--spacing-xxxl);
    max-width: 100%;
}

/* 主视觉图片样式 */
.hero-text-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* 图片优化 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-text-image:first-child {
    max-width: 78%;
}

/* 按钮容器布局 */
.button-container {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* margin-bottom: var(--spacing-xxl); */
    margin-top: var(--spacing-xxl);
}

/* ==========================================================================
   4. CTA按钮样式 - 精确还原设计稿的视觉效果
   ========================================================================== */

/* 基础按钮样式 */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-xxl);
    color: white;
    border: none;
    border-radius: var(--border-radius-xl);
    font-size: var(--font-size-lg);
    font-weight: 500;
    font-family: var(--font-family-primary);
    cursor: pointer;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    /* 提高可访问性 */
    min-height: 56px;
    min-width: 160px;
    /* 防止文本选择 */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 按钮图标样式 */
.button-icon {
    margin-right: var(--spacing-sm);
    vertical-align: middle;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

/* 免费试用按钮 */
.free-trial-btn {
    background: linear-gradient(135deg, #523BDC 0%, #7C4DFF 100%);
    border: 1px solid rgba(83, 59, 220, 0.3);
    box-shadow: 0 8px 24px rgba(82, 59, 220, 0.3);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.free-trial-btn:hover {
    background: linear-gradient(135deg, #6347E8 0%, #8A5CFF 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(82, 59, 220, 0.4);
    scale: 1.02;
}

.free-trial-btn:hover .button-icon {
    transform: scale(1.1);
}

/* 免费试用按钮发光效果 */
.free-trial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.free-trial-btn:hover::before {
    left: 100%;
}

/* 免费试用按钮聚焦状态 */
.free-trial-btn:focus-visible {
    outline: 3px solid rgba(82, 59, 220, 0.5);
    outline-offset: 2px;
}

/* 查看演示按钮 */
.view-demo-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-demo-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.view-demo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}


/* 按钮按下效果 */
.cta-button:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* 免费试用按钮点击效果 */
.free-trial-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(82, 59, 220, 0.35);
    scale: 0.98;
}

/* ==========================================================================
   5. 产品演示视频区域样式 - 响应式视频播放器
   ========================================================================== */

/* 视频区域容器 */
.video-section {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxxl) 8%;
}

/* 视频容器 */
.video-container {
    position: relative;
    /* max-width: 600px; */
    width: 88%;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-secondary);
}

/* 视频元素样式 */
.vertical-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-xl);
    /* 视频优化 */
    object-fit: cover;
}

/* 视频控制条自定义样式 */
.vertical-video::-webkit-media-controls-panel {
    /* background: rgba(0, 0, 0, 0.8); */
}

/* ==========================================================================
   6. AI工作原理区域样式 - 左右布局，响应式设计
   ========================================================================== */

/* 工作原理区域容器 */
.new-third-screen {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xxxl) 8%;
    gap: var(--spacing-xxxl);
}

/* 左侧内容区域 */
.left-content {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: var(--spacing-lg);
    /* text-align: center; */
}

.left-content img{
    width: 12rem
    

}

.left-content p {
    /* font-size: var(--font-size-xl); */
    /* color: var(--text-secondary); */
    /* font-weight: 500; */
    margin: 8rem 0 0 0;
}

/* 右侧内容区域 */
.right-content {
    /* flex: 1; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* 响应式图片 */
.responsive-image {
    max-width: 80%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.responsive-image:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   7. 解决方案展示区域样式 - Feature Card卡片网格布局
   ========================================================================== */

/* 功能特性区域容器 */
.features-section {
    /* min-height: 100vh; */
    padding: var(--spacing-xxxl) 8%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 区域标题容器 */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* 区域标题图片 */
.section-title-image {
    max-width: 400px;
    width: 40%;
    height: auto;
    display: block;
    /* margin: 0 auto; */
}

/* 功能特性网格布局 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--card-gap);
    padding: 1.5rem 0;
}

/* 响应式断点布局 - 平板 64rem-75rem (1024px-1200px) */
@media (min-width: 64rem) and (max-width: 75rem) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        /* max-width: 1200px; */
        padding: 1.5rem 0;
    }
    
    .feature-card {
        padding: var(--card-padding-tablet);
        min-height: var(--card-min-height-tablet);
    }
    
    
    .feature-title {
        font-size: var(--title-size-tablet);
    }
    
    .feature-desc {
        font-size: var(--desc-size-tablet);
        padding: var(--desc-padding-tablet);
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .tools-card {
        padding: 18px;
    }
}

/* 大屏设备确保最多4列 */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        /* max-width: 1400px; */
        padding: 1.5rem 0;
    }
}

/* 1440px屏幕下显示5列 */
@media (min-width: 1440px) {
    .features-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
        /* max-width: 1600px; */
        padding: 1.5rem 0;
    }
    
    .feature-card {
        padding: var(--card-padding-large);
        min-height: var(--card-min-height-large);
    }
    
    .feature-card img.feature-icon {
        width: var(--icon-size-large);
        height: var(--icon-size-large);
        top: 22px;
        left: 28px;
    }
    
    .feature-title {
        font-size: var(--title-size-large);
        margin-top: 1.8rem;
    }
    
    .feature-desc {
        font-size: var(--desc-size-large);
        padding: var(--desc-padding-large);
    }
}

/* 功能特性卡片样式 */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-border-radius);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 24px;

}

/* 卡片图标 */
.feature-card img.feature-icon {
    position: absolute;
    height: var(--icon-size-desktop);
    opacity: 0.12;
    /* z-index: 1;
    transition: opacity 0.3s ease; */
}

/* 卡片悬停效果 */
.feature-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(83, 59, 220, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    /* border-color: rgb(83, 59, 220); */
    border-color: #494949;
    background: rgba(25, 25, 25, 0.98);
}

.feature-card:hover img.feature-icon {
    opacity: .64;
}

/* 卡片聚焦状态 */
.feature-card:focus-within {
    outline: none;
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(83, 59, 220, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* 功能标题样式 */
.feature-title {
    font-size: var(--font-size-base);
    color: #ffffffd8;
    margin-bottom: .4rem;
    margin-top: 40px;
}


/* 功能标签按钮样式 */
.feature-desc {
    background: var(--purple-primary);
    border: 1px solid var(--purple-border);
    border-radius: 8px;
    padding: 2px 8px;
    color: var(--purple-text);
    margin-bottom: 2.4rem;
    width: fit-content;
    font-size: var(--font-size-xs);
}

.feature-desc:hover {
    background: var(--purple-hover-bg);
    border-color: var(--purple-hover-border);
    color: rgba(146, 123, 255, 1);
    transform: translateY(-1px);
}

/* ==========================================================================
   自定义列表样式 - 流程步骤可视化
   ========================================================================== */

/* 自定义列表容器 */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* 列表项样式 */
.list-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    position: relative;
}

.list-item:hover {
    /* color: rgba(255, 255, 255, 0.9); */
    transform: translateX(2px);
}

.list-item span {
    font-weight: 400;
    line-height: 1.4;
}

.list-item:last-child {
    margin-bottom: 0;
}

/* 勾选标记容器 */
.dot-line {
    display: flex;
    align-items: center;
    margin-right: 0.4rem;
    flex-shrink: 0;
}

/* 隐藏连接线 */
.line,
.line-width0 {
    display: none;
}

/* 勾选标记 */
.dot {
    width: 16px;
    height: 16px;
    margin: 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot::after {
    content: '✓';
    font-size: 12px;
    color: rgba(146, 123, 255, 0.7);
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

.list-item:hover .dot::after {
    color: rgba(146, 123, 255, 1);
    transform: scale(1.1);
}

/* ==========================================================================
   8. 产品功能模块样式 - Tools Grid展示区域
   ========================================================================== */

/* 模块六容器 */
.module-six {
    /* min-height: 100vh; */
    padding: var(--spacing-xxxl) 8%;
    box-sizing: border-box;
    align-content: center;
}

   

.module-six-container {
    /* max-width: 1200px; */
    margin: 0 auto;
}



/* 模块标题样式 */
.module-six-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* 模块副标题样式 */
.module-six-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}
.module-six-section h3{
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    margin-bottom: 0.8rem;
}


.section-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    margin-bottom: 0.4rem;
}
/* 工具网格布局 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: .8rem;
    margin-top: .8rem;
    padding-bottom: 1rem;
}

/* 工具卡片样式 */
.tools-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    /* padding: var(--spacing-xl); */
    text-align: center;
    transition: all var(--transition-slow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}


/* 工具图片样式 */
.tools-image {
    height: 100%; 
    background-size: cover; 
    background-position: center;
    background-color: #12121250;
    border-radius: var(--border-radius-md);
    /* margin: 0 auto var(--spacing-md); */
    overflow: hidden;
    position: relative;
    transition: all var(--transition-base);
    cursor: pointer;
}

.tools-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-base);
    /* 默认状态不需要滤镜，因为显示的是真正的静态图 */
    opacity: 0.9;
}

/* 工具文本覆盖层样式 */
.tools-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #121212, rgb(0 0 0 / 70%), rgba(255, 255, 255, 0.05));
    color: white;
    padding: 16rem 1rem 1rem 1rem;
    text-align: left;
    backdrop-filter: blur(8px);
}

/* 鼠标悬停效果 - 激活GIF动画视觉效果 */

.tools-card:hover {
    /* transform: translateY(-4px); */
    outline: 2px solid rgba(83, 59, 220, 0.6);
    outline-offset: 2px;
}

.tools-card:hover .tools-image {
    /* transform: translateY(-4px); */
    box-shadow: 0 8px 25px rgba(83, 59, 220, 0.3);
} 

/* hover状态下蒙层完全消失 */
.tools-card:hover .tools-text {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* hover状态下的文本颜色增强 */
.tools-card:hover .tools-card-title {
    color: #ffffff;
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.9); */
}

.tools-card:hover .tools-card-desc {
    color: rgba(255, 255, 255, 0.4);
    /* text-shadow: 0 1px 3px rgba(0,0,0,0.8); */
}


/* 工具卡片标题 */
.tools-card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: inherit;
    /* margin-bottom: var(--spacing-xs); */
}

/* 工具卡片描述 */
.tools-card-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   9. CTA行动号召区域样式 - 引流转化区域
   ========================================================================== */

/* CTA区域容器 */
.cta-section {
    padding: var(--spacing-xxxl) 8%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* CTA内容容器 */
.cta-container {
    /* max-width: 800px; */
    margin: 4rem 0 4rem 0;
}

/* CTA标题样式 */
.cta-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xxl); /* 16px */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: var(--font-size-);
    color: var(----text-muted);
    margin-bottom: var(--spacing-xxxl);
    line-height: 1.6;
}

/* CTA按钮样式 */
.cta-action-btn {
    background: linear-gradient(135deg, #523BDC 0%, #7C4DFF 100%);
    border: none;
    border-radius: var(--border-radius-xl);
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    font-family: var(--font-family-primary);
    padding: var(--spacing-lg) var(--spacing-xxl);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    box-shadow: 0 8px 24px rgba(82, 59, 220, 0.3);
    transform: translateY(0);
}

/* 按钮悬停效果 */
.cta-action-btn:hover {
    background: linear-gradient(135deg, #6347E8 0%, #8A5CFF 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(82, 59, 220, 0.4);
    scale: 1.02;
}

/* 按钮点击效果 */
.cta-action-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(82, 59, 220, 0.35);
    scale: 0.98;
}

/* 按钮聚焦状态 - 无障碍访问 */
.cta-action-btn:focus-visible {
    outline: 3px solid rgba(82, 59, 220, 0.5);
    outline-offset: 2px;
}

/* 按钮发光效果 */
.cta-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-action-btn:hover::before {
    left: 100%;
}

/* ==========================================================================
   10. 页脚样式
   ========================================================================== */

.footer {
    /* position: fixed; */
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-color: #121212;
}


.footer-bottom {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    /* border-top: 1px solid #272727; */
    text-align: center;
    color: #494949;
    font-size: 0.8rem;
}

.footer-bottom a {
    /* color: inherit;   */
    text-decoration: none;
    color: #494949;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.62);
}

/* 版权信息间距样式 */
.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    line-height: 1.5;
}

/* ICP备案项目样式 */
.icp-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 确保ICP备案项目中的链接样式与其他链接一致 */
.icp-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-item a:hover {
    color: rgba(255, 255, 255, 0.62);
}

/* ICP图标样式 */
.icp-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
}

/* 响应式：移动端调整间距 */
@media (max-width: 48rem) {
    .footer-copyright {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-copyright span {
        text-align: center;
    }
}








/* ==========================================================================
   11. 聊天组件样式 - 浮动聊天窗口
   ========================================================================== */

/* 聊天图标 */
.chat-icon {
    position: fixed !important;
    bottom: var(--spacing-xl, 2rem);
    right: var(--spacing-xl, 2rem);
    z-index: 1000;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.075);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    /* 确保按钮始终可见 */
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible;
}

.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.chat-icon img{
    width: 28px;
    height: 28px;
    object-fit: contain;
    /* 确保图标在背景圆形中完美居中 */
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    /* 确保图片始终可见 */
    opacity: 1 !important;
    max-width: none !important;
}

/* 如果图片加载失败的备用显示 */
.chat-icon::after {
    content: "💬";
    position: absolute;
    font-size: 24px;
    display: none;
    color: white;
    z-index: 0;
}

/* 当图片不存在时显示备用图标 */
.chat-icon img[src=""], 
.chat-icon img:not([src]) {
    display: none;
}

.chat-icon img[src=""]:only-child + .chat-icon::after,
.chat-icon img:not([src]):only-child + .chat-icon::after {
    display: block;
}

/* 聊天提示气泡 */
.chat-tooltip {
    position: absolute;
    /* 精确定位在图标左侧 */
    right: calc(100% + 12px);
    top: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    color: var(--text-primary);
    padding: 12px 18px;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    
    /* 相对定位确保箭头正确显示 */
    position: absolute;
    z-index: 999;
    
    /* 初始状态：隐藏 - 使用transform而不是width来避免文本截断 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right center;
    
    /* 弹性动画过渡 */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* 优化渲染性能 */
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 显示状态的样式 */
.chat-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scaleX(1);
    /* 添加轻微的弹跳效果 */
    animation: bubbleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 气泡弹入动画 */
@keyframes bubbleIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) scaleX(0) scale(0.3);
    }
    70% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scaleX(1) scale(1);
    }
}

/* 气泡箭头指示器 - 已隐藏 */
.chat-tooltip::after,
.chat-tooltip::before {
    display: none;
}

/* 气泡悬停效果 */
.chat-tooltip:hover {
    transform: translateY(-50%) scaleX(1) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
                0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 聊天弹窗 */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    right: var(--spacing-xl);
    z-index: 1001;
    width: 360px;
    height: 560px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

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

/* 聊天头部 */
.chat-header {
    background: rgba(0, 0, 0, 0.24);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* 关闭按钮 */
.close-chat-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-chat-btn:hover{
    color: var(--text-primary);
}





/* 消息区域 */
.chat-messages {
    height: 420px;
    overflow-y: auto;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    /* 自定义滚动条 */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    font-size: 0.8rem;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* 消息样式 */
.message {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.4;
}

.message.user {
    background:  rgba(83, 59, 220,1);
    color: white;
    margin-left: auto;
    text-align: left;
    align-self: flex-end;
}

.message.bot {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    margin-right: auto;
}

/* 输入区域 */
.chat-input {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
}

#chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

#chat-input::placeholder {
    color: var(--text-muted);
}

#chat-input:hover {
    border: 1px solid rgba(255, 255, 255, 0.9);
}

#send-btn {
    margin-left: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm);
    cursor: pointer;
    transition: background var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 发送按钮禁用状态 */
#send-btn:disabled {
    background: rgba(255, 255, 255, 0.03);
    cursor: not-allowed;
    opacity: 0.5;
}

/* 输入框禁用状态 */
#chat-input:disabled {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    opacity: 0.5;
}

#chat-input:disabled::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* 加载动画 */
.loading-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    max-width: 80%;
    margin-right: auto;
}

.loading-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    animation: loadingDots 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes loadingDots {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 错误消息样式 */
.message.error {
    background: rgba(220, 59, 59, 0.2);
    border: 1px solid rgba(220, 59, 59, 0.3);
    color: #ff6b6b;
    margin-right: auto;
    position: relative;
}

.message.error::before {
    content: "⚠️ ";
    margin-right: var(--spacing-xs);
}

/* 重试按钮 */
.retry-btn {
    background: rgba(83, 59, 220, 0.2);
    border: 1px solid rgba(83, 59, 220, 0.3);
    color: var(--primary-color-alpha);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    margin-top: var(--spacing-xs);
    cursor: pointer;
    font-size: var(--font-size-xs);
    transition: all var(--transition-base);
}

.retry-btn:hover {
    background: rgba(83, 59, 220, 0.3);
    color: white;
}

/* 打字光标闪烁动画 */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* ==========================================================================
   弹窗样式 - 模态窗口
   ========================================================================== */

/* 模态背景 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* 模态内容 */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: var(--font-size-2xl);
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-base);
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-content h2{
    padding-bottom: 1rem;
    color: var(--text-primary);
}

.qr-code-container{
    padding-bottom: 1rem;
}

.qr-code-container img{
    width: 96%;
}
/* ==========================================================================
   12. 响应式设计样式 - 移动端/平板/桌面端适配
   ========================================================================== */

/* 大屏设备优化 (1440px+) */
@media (min-width: 90rem) {
    html {
        font-size: 18px;
    }
    
    .hero-section {
        padding: var(--spacing-xxxl) 5%;
    }
}

/* 平板设备适配 (768px - 1024px) */
@media (max-width: 64rem) and (min-width: 48rem) {
    .header {
        padding: var(--spacing-md) 5%;
    }
    
    .nav-links {
        gap: var(--spacing-xl);
    }
    
    .nav-links a {
        font-size: var(--font-size-sm);
    }
    
    .hero-section {
        padding: var(--spacing-xxxl) 5%;
    }
    
    .button-container {
        gap: var(--spacing-md);
    }
    
    .new-third-screen {
        flex-direction: column;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .responsive-image {
        max-width: 80%;
    }
    
    .cta-section {
        padding: var(--spacing-xl) 5%;
    }
    
    .cta-title {
        font-size: var(--font-size-4xl);
    }
    
    .cta-action-btn {
        font-size: var(--font-size-base);
        padding: var(--spacing-md) var(--spacing-xl);
    }
}

/* 移动设备适配 (320px - 768px) */
@media (max-width: 48rem) {
    html {
        font-size: 14px;
    }
    
    body {
        padding-top: 70px;
    }
    
    /* 导航栏移动端适配 */
    .header {
        padding: var(--spacing-sm) 4%;
    }
    
    .nav-container {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .nav-links {
        gap: var(--spacing-md);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs);
        min-height: 36px;
    }
    
    /* 主视觉区域移动端适配 */
    .hero-section {
        min-height: auto;
        padding: var(--spacing-xl) 4%;
    }
    
    .hero-text-image:first-child {
        max-width: 90%;
    }
    
    .button-container {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        min-height: 48px;
        font-size: var(--font-size-base);
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    /* 视频区域移动端适配 */
    .video-section {
        min-height: auto;
        padding: var(--spacing-xl) 4%;
    }
    
    .video-container {
        max-width: 100%;
    }
    
    /* 工作原理区域移动端适配 */
    .new-third-screen {
        min-height: auto;
        flex-direction: column;
        padding: var(--spacing-xl) 4%;
        gap: 4rem;
    }
    
    .left-content p {
        font-size: var(--font-size-lg);
    }
    
    .responsive-image {
        max-width: 100%;
    }
    
    /* 功能特性区域移动端适配 */
    .features-section {
        min-height: auto;
        padding: var(--spacing-xl) 4%;
        flex-direction: column;
    }
    
    .section-title-image {
        width: 100%;
        max-width: 32%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .feature-card {
        padding: var(--card-padding-mobile);
        border-radius: 16px;
        min-height: var(--card-min-height-mobile);
    }
    
    .feature-card img.feature-icon {
        width: var(--icon-size-mobile);
        height: var(--icon-size-mobile);
        top: 16px;
        left: 20px;
    }
    
    .feature-title {
        font-size: var(--title-size-mobile);
        margin-bottom: 0.8rem;
        margin-top: 1.2rem;
    }
    
    .feature-desc {
        font-size: var(--desc-size-mobile);
        padding: var(--desc-padding-mobile);
        margin-bottom: 1.2rem;
    }
    
    .list-item {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        padding: 0.2rem 0;
    }
    
    .dot {
        width: 14px;
        height: 14px;
    }
    
    .dot::after {
        font-size: 10px;
    }
    
    .dot-line {
        margin-right: 0.6rem;
    }
    
    /* 产品功能模块移动端适配 */
    .module-six {
        min-height: auto;
        padding: var(--spacing-xl) 4%;
    }
    
    .module-six-title {
        font-size: var(--font-size-2xl);
    }
    
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .tools-card {
        padding: var(--spacing-lg);
    }
    
    /* 聊天组件移动端适配 */
    .chat-icon {
        width: 48px !important;
        height: 48px !important;
        bottom: var(--spacing-lg, 1.5rem) !important;
        right: var(--spacing-lg, 1.5rem) !important;
        /* 确保移动端圆形完美 */
        border-radius: 50% !important;
        position: fixed !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .chat-icon img {
        width: 24px !important;
        height: 24px !important;
        opacity: 1 !important;
    }
    
    /* 移动端气泡样式调整 */
    .cta-section {
        padding: var(--spacing-xl) 4%;
    }
    
    .cta-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-lg);
    }
    
    .cta-action-btn {
        width: 100%;
        max-width: 280px;
        font-size: var(--font-size-base);
        padding: var(--spacing-md) var(--spacing-lg);
        min-height: 48px;
    }
    
    .chat-tooltip {
        font-size: var(--font-size-xs);
        padding: 10px 14px;
        border-radius: 16px;
        /* 确保在小屏幕上不超出边界 */
        max-width: calc(100vw - 100px);
        right: calc(100% + 8px);
        /* 移动端减少模糊效果以提高性能 */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25), 
                    0 3px 12px rgba(0, 0, 0, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.15);
        /* 移动端确保transform原点正确 */
        transform-origin: right center;
    }
    
    /* 移动端气泡箭头 - 已隐藏 */
    .chat-tooltip::after,
    .chat-tooltip::before {
        display: none;
    }
    
    .chat-popup {
        width: calc(100vw - 2rem);
        height: 400px;
        bottom: 80px;
        right: var(--spacing-md);
        left: var(--spacing-md);
    }
    
    .chat-messages {
        height: 250px;
    }
}

/* 超小屏设备适配 (320px-) */
@media (max-width: 20rem) {
    .nav-links {
        display: none; /* 超小屏隐藏导航 */
    }
    
    .hero-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .features-section,
    .module-six,
    .video-section,
    .new-third-screen,
    .cta-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .cta-title {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-md);
    }
    
    .cta-action-btn {
        width: 100%;
        max-width: 240px;
        font-size: var(--font-size-sm);
        padding: var(--spacing-sm) var(--spacing-md);
        min-height: 44px;
    }
    
    /* 超小屏气泡特殊处理 */
    .chat-tooltip {
        font-size: 10px;
        padding: 8px 12px;
        border-radius: 12px;
        max-width: calc(100vw - 80px);
        right: calc(100% + 6px);
        /* 超小屏进一步简化效果 */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
        /* 超小屏确保transform原点正确 */
        transform-origin: right center;
    }
    
    /* 超小屏气泡箭头 - 已隐藏 */
    .chat-tooltip::after,
    .chat-tooltip::before {
        display: none;
    }
}

/* ==========================================================================
   13. 打印样式优化
   ========================================================================== */

@media print {
    .header,
    .chat-icon,
    .chat-popup,
    .modal {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        background: white;
        color: black;
    }
    
    .hero-section,
    .video-section,
    .new-third-screen,
    .features-section,
    .module-six {
        min-height: auto;
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   14. 浏览器兼容性和性能优化
   ========================================================================== */

/* 减少重绘和回流 */
.cta-button,
.feature-card,
.tools-card {
    will-change: transform;
}

/* GPU加速 */
.hero-text-image,
.responsive-image {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* 针对Safari的优化 */
@supports (-webkit-backdrop-filter: blur(16px)) {
    .header {
        -webkit-backdrop-filter: blur(16px);
    }
}

/* 针对Firefox的优化 */
@-moz-document url-prefix() {
    .nav-links a {
        -moz-user-select: none;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .hero-text-image,
    .tools-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ==========================================================================
   15. 无障碍访问和可用性增强
   ========================================================================== */

/* 减少动画效果(用户偏好设置) */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .cta-action-btn,
    .free-trial-btn {
        transform: none !important;
        scale: none !important;
    }
    
    .cta-action-btn::before,
    .free-trial-btn::before {
        display: none;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --text-muted: rgba(255, 255, 255, 0.8);
        --text-secondary: rgba(255, 255, 255, 0.9);
    }
    
    .feature-card,
    .tools-card {
        border-width: 2px;
    }
}

/* 焦点可见性增强 */
.cta-button:focus-visible,
.nav-links a:focus-visible,
.chat-icon:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ==========================================================================
   16. 自定义组件和特殊功能样式
   ========================================================================== */

.right-click-area:hover {
    cursor: pointer;
}

/* 页面指示器 */
.indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.3);
    transition: background var(--transition-base);
}

.indicator.active {
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(83, 59, 220, 0.5);
}

/* 装饰线条 */
.decor-line-3,
.decor-line-4 {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    height: 1px;
}

.decor-line-3 {
    top: 30%;
    left: -20px;
    right: -20px;
}

.decor-line-4 {
    bottom: 30%;
    left: -20px;
    right: -20px;
}

/* 指示点 */
.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--border-radius-full);
    background: var(--primary-color);
    position: absolute;
}

.dot-1 { top: 20%; left: 20%; }
.dot-2 { top: 20%; right: 20%; }
.dot-3 { bottom: 20%; left: 20%; }
.dot-4 { bottom: 20%; right: 20%; }
.dot-5 { top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ==========================================================================
   结束样式表
   ========================================================================== */