/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 防止横向溢出和滚动条跳跃 */
html {
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
    /* 强制显示垂直滚动条，防止内容变化时的跳跃 */
    overflow-y: scroll;
}

body {
    overflow-x: hidden;
    max-width: 100%;
    /* 确保body始终有足够高度，防止滚动条消失 */
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    overflow-x: hidden;
}

.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

:root {
    /* 苹果风格配色 */
    --primary-color: #007AFF;
    --secondary-color: #8E8E93;
    --success-color: #34C759;
    --info-color: #5AC8FA;
    --warning-color: #FF9F0A;
    --danger-color: #FF3B30;
    --dark-color: #1D1D1F;
    --light-color: #FBFBFD;
    --purple-color: #AF52DE;
    --pink-color: #FF2D92;
    
    /* 苹果灰度系统 */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F7;
    --gray-200: #E5E5E7;
    --gray-300: #D2D2D7;
    --gray-400: #A1A1A6;
    --gray-500: #8E8E93;
    --gray-600: #636366;
    --gray-700: #48484A;
    --gray-800: #2C2C2E;
    --gray-900: #1C1C1E;
    
    /* 苹果风格渐变 */
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(90, 200, 250, 0.05) 100%);
    --gradient-subtle: linear-gradient(135deg, #FBFBFD 0%, #F5F5F7 100%);
    --gradient-success: linear-gradient(135deg, #34C759 0%, #30D158 100%);
    --gradient-purple: linear-gradient(135deg, #AF52DE 0%, #FF2D92 100%);
    
    /* 苹果风格阴影 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    --shadow-xl: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    
    /* 苹果字体 */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    
    /* 字体大小系统 */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--text-base);
}

/* AOS动画优化 - 防止滚动条跳跃 */
[data-aos] {
    /* 使用will-change优化性能，但不影响布局 */
    will-change: opacity, transform;
    /* 确保元素在动画前后保持相同的空间占用 */
    visibility: visible;
}

/* AOS动画初始状态 - 减小位移避免布局跳跃 */
[data-aos="fade-right"]:not(.aos-animate) {
    opacity: 0;
    transform: translate3d(-15px, 0, 0);
}

[data-aos="fade-left"]:not(.aos-animate) {
    opacity: 0;
    transform: translate3d(15px, 0, 0);
}

[data-aos="fade-up"]:not(.aos-animate) {
    opacity: 0;
    transform: translate3d(0, 15px, 0);
}

[data-aos="fade-down"]:not(.aos-animate) {
    opacity: 0;
    transform: translate3d(0, -15px, 0);
}

/* 动画完成状态 */
[data-aos].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* 防止动画期间的布局变化 */
.aos-init {
    /* 确保初始化时元素占用正确空间 */
    visibility: visible !important;
}

/* 页面加载时的稳定性处理 */
body.aos-loading * {
    /* 页面加载时暂时禁用过渡效果 */
    transition: none !important;
}

/* 新增动画类型 */
[data-aos="zoom-in"]:not(.aos-animate) {
    opacity: 0;
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

[data-aos="fade-in"]:not(.aos-animate) {
    opacity: 0;
}

[data-aos="fade-in"].aos-animate {
    opacity: 1;
}

/* 导航栏样式 - 苹果风格 */
.navbar {
    backdrop-filter: saturate(180%) blur(20px);
    background-color: rgba(251, 251, 253, 0.8) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    height: 80px; /* 固定导航栏高度 */
}

.navbar.scrolled {
    background-color: rgba(251, 251, 253, 0.95) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    height: 70px; /* 滚动后稍微降低高度 */
}

.navbar-brand {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--dark-color) !important;
    letter-spacing: -0.02em;
}

.navbar-logo {
    height: 32px;
    width: auto;
    max-width: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.1);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    color: var(--gray-600) !important;
    font-size: var(--text-base);
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero区域样式 - 苹果风格 */
.hero-section {
    background: var(--light-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    border-bottom: 1px solid var(--gray-200);
    padding-top: 80px; /* 导航栏高度 */
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--dark-color);
}

.hero-content h1 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    font-size: var(--text-4xl); /* 稍微减小标题字号 */
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    color: var(--gray-600);
    font-weight: 400;
    font-size: var(--text-lg); /* 稍微减小副标题字号 */
    line-height: 1.5;
    margin-bottom: 1.5rem; /* 减少间距 */
}

.pain-points {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem; /* 减少内边距 */
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem; /* 减少下边距 */
}

.pain-points .text-muted {
    color: var(--gray-600) !important;
    font-size: var(--text-base);
}

.efficiency-stats {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem; /* 减少内边距 */
    border: 1px solid var(--gray-200);
    /* box-shadow: var(--shadow); */
}

.stat-item h3 {
    font-size: var(--text-3xl);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.stat-item small {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: 500;
}

/* 教师场景插画样式 */
.scene-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.teacher-avatar {
    animation: float 3s ease-in-out infinite;
}

.floating-element {
    position: absolute;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-size: var(--text-sm);
    font-weight: 500;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.ai-badge {
    background: var(--gradient-primary);
    top: 20%;
    right: 10%;
    animation-delay: -1s;
}

.feedback-bubble {
    background: var(--gradient-success);
    top: 60%;
    left: 10%;
    animation-delay: -2s;
}

.data-chart {
    background: var(--gradient-purple);
    bottom: 20%;
    right: 20%;
    animation-delay: -0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 价值展示区样式 */
.value-proposition {
    padding: 5rem 0;
    background: var(--gray-50);
}

.value-proposition h2 {
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.value-proposition .lead {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.value-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    padding: 2rem;
    height: 100%;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 16px 16px 0 0;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-card:hover::before {
    left: 0;
}

.value-card h4 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.value-card p {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.6;
}

.value-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* AI能力展示区样式 - 苹果风格 */
.ai-capabilities {
    background: var(--gray-100);
    position: relative;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 5rem 0;
}

.ai-capabilities h2 {
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.ai-capabilities .lead {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.ai-model-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 16px;
    padding: 2rem;
}

.ai-model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
}

.ai-model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ai-model-card h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ai-model-card p {
    font-size: var(--text-base);
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.model-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 50%;
    margin-right: 1.5rem;
}

.capability-item {
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    font-size: var(--text-base);
}

.capability-item:hover {
    padding-left: 0.5rem;
    color: var(--primary-color);
}

/* 功能特色区样式 */
.features-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.features-section h2 {
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.features-section .lead {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.feature-category h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: 2rem;
}

.feature-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    padding: 2rem;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h5 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card ul li {
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    font-size: var(--text-base);
}

.feature-card ul li:hover {
    padding-left: 0.5rem;
    color: var(--primary-color);
}

.feature-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* 数据洞察区样式 - 苹果深色风格 */
.data-insights {
    background: var(--gray-900);
    color: white;
    position: relative;
    border-top: 1px solid var(--gray-700);
    padding: 5rem 0 3rem 0; /* 减少底部间距 */
    overflow: hidden; /* 防止内容溢出 */
}

/* 移除数据洞察区域的特殊container限制，使用标准Bootstrap container */

.data-insights h2,
.data-insights .display-5 {
    color: white !important;
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.data-insights .lead {
    color: var(--gray-300) !important;
    font-size: var(--text-lg);
    margin-bottom: 3rem;
}

/* 数据洞察区内的卡片标题 */
.data-insights .stats-dashboard h4,
.data-insights .insight-card h5 {
    color: var(--dark-color) !important;
    font-size: var(--text-lg);
    font-weight: 600;
}

.data-insights .stats-dashboard,
.data-insights .insight-card {
    background: white !important;
    color: var(--dark-color);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.stats-dashboard {
    box-shadow: var(--shadow);
    height: 100%; /* 确保高度匹配 */
    display: flex;
    flex-direction: column;
}

.stats-dashboard .chart-container {
    flex-grow: 1;
    min-height: 300px;
}

.stat-box {
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 1.5rem;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-box h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-box small {
    font-size: var(--text-sm);
    font-weight: 500;
}

.insight-card {
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* 洞察面板布局优化 */
.insights-panel {
    display: flex;
    flex-direction: column;
}

.insights-panel .insight-card:last-child {
    margin-bottom: 0;
    flex-grow: 1;
}

.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.improvement-stats .progress {
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
    margin-bottom: 0.5rem;
}

.achievement-item {
    padding: 0.75rem 0;
    transition: all 0.2s ease;
    font-size: var(--text-base);
}

.achievement-item:hover {
    padding-left: 0.5rem;
    color: var(--primary-color);
}

/* 应用场景样式 */
.use-cases {
    padding: 5rem 0;
}

.use-cases h2 {
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.use-cases .lead {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.use-case-card {
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    padding: 2rem;
    height: 100%;
}

.use-case-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.use-case-card:hover::before {
    transform: scaleX(1);
}

.use-case-card h5 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

.use-case-card p {
    font-size: var(--text-base);
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.case-icon {
    margin-bottom: 1.5rem;
}

.case-features {
    margin-top: 1rem;
}

.badge.bg-purple {
    background-color: var(--purple-color) !important;
}

/* CTA区域样式 - 苹果风格 */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-section .lead {
    font-size: var(--text-lg);
    margin-bottom: 2rem;
}

/* 按钮样式 */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 12px 24px;
    font-size: var(--text-base);
    letter-spacing: -0.01em;
    border: none;
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--text-lg);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* 联系我们样式 */
.contact-section {
    padding: 5rem 0;
}

.contact-section h2 {
    font-size: var(--text-4xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.contact-section .lead {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.contact-item {
    transition: all 0.3s ease;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.contact-item i {
    transition: all 0.3s ease;
    font-size: var(--text-4xl);
    margin-bottom: 1rem;
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item h5 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: var(--text-base);
    color: var(--gray-600);
}

/* Footer样式 */
.footer {
    background: var(--dark-color) !important;
    padding: 2rem 0;
}

.footer p {
    font-size: var(--text-base);
    margin-bottom: 0;
}

.footer a {
    transition: color 0.3s ease;
    font-size: var(--text-base);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* AI处理流程样式 */
.ai-workflow {
    margin: 3rem 0;
}

.ai-workflow h3 {
    color: var(--dark-color);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: 2rem;
}

.workflow-steps {
    margin-top: 2rem;
}

.workflow-step {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.workflow-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0 auto 1rem auto;
}

.workflow-step h5 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.workflow-step p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* 工作流程可视化 - 苹果风格 */
.workflow-visualization {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--gray-200);
    position: relative;
    border-radius: 16px;
    background: white;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 2rem;
    margin: 2rem 0;
}

.workflow-visualization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
}

.workflow-visualization:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.workflow-visualization h3 {
    color: var(--dark-color) !important;
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

#workflowChart {
    border-radius: 12px;
    background: var(--gray-50);
    min-height: 450px;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

/* 数据卡片样式 */
.stats-card {
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    margin-bottom: 1.5rem;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color), var(--warning-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stats-card:hover::before {
    transform: scaleX(1);
}

/* 图表容器样式 */
.chart-container {
    position: relative;
    width: 100%;
    margin: 1rem 0;
}

#sampleChart, #progressChart, #workflowChart {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* 演示视频弹框样式 */
#demoVideoModal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

#demoVideoModal .modal-header {
    background: var(--gradient-subtle);
}

#demoVideoModal video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

/* 演示弹框内容样式 */
.demo-intro {
    background: var(--gradient-primary) !important;
}

.demo-stats .small {
    line-height: 1.4;
}

.feature-highlights {
    background: var(--gray-100) !important;
}

.highlight-item {
    padding: 0.75rem 0.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.highlight-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.highlight-item i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.highlight-item:hover i {
    transform: scale(1.1);
}

.demo-feature-item {
    padding: 0.75rem 0.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.demo-feature-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.demo-feature-item i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.demo-feature-item:hover i {
    transform: scale(1.15);
}

.demo-cta {
    background: var(--gray-100) !important;
}

.demo-cta .btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 20px;
}

.demo-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.demo-cta .btn-primary:hover {
    background: #0056CC;
}

.video-description {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* 微信二维码弹框样式 */
#wechatModal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

#wechatModal .modal-header {
    background: var(--gradient-subtle);
}

#wechatModal .modal-body img {
    transition: transform 0.3s ease;
}

#wechatModal .modal-body img:hover {
    transform: scale(1.05);
}

/* 联系我们区域优化 */
.contact-item.cursor-pointer {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 16px;
    padding: 2rem;
}

.contact-item.cursor-pointer:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px) scale(1.02);
}

.contact-item.cursor-pointer:hover i {
    transform: scale(1.1);
    color: var(--success-color) !important;
}

/* 右侧悬浮试用按钮 */
.floating-trial-btn {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trial-btn-content {
    background: var(--gradient-success);
    color: white;
    padding: 16px 12px;
    border-radius: 50px 0 0 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.trial-btn-content i {
    font-size: 20px;
    animation: pulse 2s infinite;
}

.trial-btn-content span {
    font-size: 14px;
    font-weight: 700;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
}

.floating-trial-btn:hover {
    transform: translateY(-50%) translateX(-5px);
}

.floating-trial-btn:hover .trial-btn-content {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* 返回顶部按钮优化 */
.back-to-top {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 1000 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: none !important;
    background: var(--primary-color) !important;
    color: white !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    cursor: pointer;
}

.back-to-top.show {
    display: flex !important;
    animation: fadeInUp 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.35) !important;
    background: #0056CC !important;
}

.back-to-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

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

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: var(--text-5xl); /* 大屏幕恢复较大字号 */
    }
    
    .hero-content .lead {
        font-size: var(--text-xl);
    }
    
    .pain-points {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .efficiency-stats {
        padding: 2rem;
    }
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* 大屏幕时适当增加内边距 */
    .hero-section .container,
    .features-section .container,
    .ai-power-section .container,
    .data-insights .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 防止移动端横向滚动 */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    .row {
        margin-left: -15px;
        margin-right: -15px;
        max-width: calc(100% + 30px);
    }
    
    [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* 图表容器防溢出 */
    #workflowChart, #sampleChart, #progressChart, #subjectChart, #performanceChart, #radarChart {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .hero-content h1 {
        font-size: var(--text-2xl);
        line-height: 1.3;
        word-break: keep-all; /* 防止单词被强制换行 */
        overflow-wrap: break-word; /* 允许长单词换行 */
        white-space: normal; /* 允许正常换行 */
    }
    
    .hero-content .lead {
        font-size: var(--text-lg);
    }
    
    .hero-section {
        padding-top: 110px; /* 增加移动端上边距，确保不被导航栏遮挡 */
        padding-bottom: 2rem; /* 添加底部间距 */
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .pain-points,
    .efficiency-stats {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .floating-element {
        position: static;
        display: inline-block;
        margin: 0.5rem;
        animation: none;
    }
    
    .scene-container {
        height: auto;
        padding: 2rem 0;
    }
    
    .stats-dashboard .row {
        text-align: center;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: var(--text-base);
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* 移动端导航栏优化 */
    .navbar {
        height: auto; /* 移动端自适应高度 */
        min-height: 70px; /* 最小高度 */
        padding: 0.75rem 0;
    }
    
    .navbar.scrolled {
        height: auto;
        min-height: 65px;
        padding: 0.5rem 0;
    }
    
    /* 移动端图表适配 */
    #workflowChart {
        height: 350px !important;
        min-height: 350px;
    }
    
    /* AI处理流程移动端适配 */
    .ai-workflow h3 {
        font-size: var(--text-xl);
        margin-bottom: 1.5rem;
    }
    
    .workflow-step {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: var(--text-lg);
    }
    
    .workflow-step h5 {
        font-size: var(--text-base);
    }
    
    .workflow-step p {
        font-size: var(--text-xs);
    }
    
    .workflow-visualization {
        margin-top: 1rem;
        padding: 1.5rem;
    }
    
    .workflow-visualization h3 {
        font-size: var(--text-xl);
    }
    
    .stats-card {
        margin-bottom: 1.5rem;
    }
    
    /* 数据洞察区移动端优化 */
    .data-insights {
        padding: 3rem 0 !important;
        overflow-x: hidden;
    }
    
    .stats-dashboard {
        margin-bottom: 2rem;
        height: auto; /* 移动端取消固定高度 */
    }
    
    .insights-panel {
        height: auto;
    }
    
    .insight-card {
        margin-bottom: 1rem;
    }
    
    .chart-container {
        margin: 1rem 0;
    }
    
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 16px !important;
    }
    
    /* 移动端悬浮试用按钮优化 */
    .floating-trial-btn {
        right: 16px;
        top: 40%;
    }
    
    .trial-btn-content {
        padding: 12px 8px;
        min-width: 50px;
    }
    
    .trial-btn-content i {
        font-size: 16px;
    }
    
    .trial-btn-content span {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    
    /* 字体大小调整 */
    h2, .display-5 {
        font-size: var(--text-2xl) !important;
    }
    
    h3 {
        font-size: var(--text-xl) !important;
    }
    
    h4 {
        font-size: var(--text-lg) !important;
    }
    
    h5 {
        font-size: var(--text-base) !important;
    }
    
    .lead {
        font-size: var(--text-base) !important;
    }
    
    /* 间距调整 */
    .value-proposition,
    .ai-capabilities,
    .features-section,
    .data-insights,
    .use-cases,
    .cta-section,
    .contact-section {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 120px; /* 超小屏幕增加更多上边距 */
    }
}

/* 新增：首屏重构后的样式优化 */
/* 痛点卡片样式 */
.pain-points-card {
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
}

.pain-points-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 价值主张渐变背景 */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

/* 演示容器样式 */
.demo-container {
    transition: all 0.3s ease;
}

.demo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}

/* 优化痛点区域内的文本样式 */
.pain-points-card .pain-points .d-flex {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.pain-points-card .pain-points .d-flex:last-child {
    border-bottom: none;
}

/* 首屏层次间距优化 */
.hero-section .mb-5 {
    margin-bottom: 4rem !important;
}

/* 数据统计样式优化 */
.hero-section .stat-item h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pain-points-card {
        margin-top: 2rem;
    }
    
    .hero-section .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .demo-container {
        min-height: 300px !important;
    }
}

/* 新增：传统批改场景样式 */
.traditional-grading {
    background: var(--gray-50);
}

.pain-scenario {
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.pain-scenario:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scenario-stats .badge {
    margin: 0.2rem;
}

.empathy-message {
    background: var(--gradient-subtle) !important;
    border: 1px solid var(--gray-200);
}

/* 新增：AI优势对比样式 */
.comparison-section .traditional-way {
    border-left: 4px solid var(--warning-color) !important;
}

.comparison-section .ai-way {
    background: var(--gradient-primary) !important;
}

.vs-indicator {
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .vs-indicator i {
        transform: rotate(90deg);
    }
}

.advantage-card {
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.philosophy-highlight {
    background: var(--gradient-subtle) !important;
}

/* 优化首屏样式 */
.value-highlight {
    background: var(--gradient-primary) !important;
}

/* 新增：价值副标题样式 */
.value-subtitle {
    padding: 1.5rem 0;
    border-left: 4px solid var(--gray-300);
    padding-left: 1.5rem;
    background: var(--gray-50);
    border-radius: 0 8px 8px 0;
}

.value-subtitle h4 {
    color: var(--dark-color);
    font-size: 1.4rem;
    line-height: 1.4;
}

.value-subtitle p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.value-subtitle p strong {
    color: var(--gray-700);
    font-weight: 600;
}

/* 技术标签样式 */
.tech-tags {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid var(--gray-200);
    display: inline-block;
    margin: 0 auto;
}

/* 首屏间距优化 */
.hero-content > * {
    margin-bottom: 1.5rem;
}

.hero-content .hero-buttons {
    margin-bottom: 0;
}

/* 统计数据间距优化 */
.stat-item h2 {
    margin-bottom: 0.5rem !important;
}

.stat-item small {
    font-size: 0.85rem;
    font-weight: 500;
}

/* 移动端适配增强 */
@media (max-width: 768px) {
    /* 移动端强制显示滚动条，防止跳跃 */
    html {
        overflow-y: scroll !important;
    }
    
    /* 移动端AOS动画位移更小 */
    [data-aos="fade-right"]:not(.aos-animate) {
        transform: translate3d(-8px, 0, 0);
    }
    
    [data-aos="fade-left"]:not(.aos-animate) {
        transform: translate3d(8px, 0, 0);
    }
    
    [data-aos="fade-up"]:not(.aos-animate) {
        transform: translate3d(0, 8px, 0);
    }
    
    [data-aos="fade-down"]:not(.aos-animate) {
        transform: translate3d(0, -8px, 0);
    }
    
    .pain-scenario {
        margin-bottom: 1rem;
    }
    
    .comparison-section .col-lg-5 {
        margin-bottom: 2rem;
    }
    
    .advantage-card {
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .efficiency-stats .col-4 {
        margin-bottom: 1rem;
    }
    
    .value-card,
    .feature-card,
    .use-case-card,
    .ai-model-card {
        margin-bottom: 1.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .workflow-visualization h3 {
        font-size: var(--text-lg);
    }
    
    /* 更小屏幕的字体调整 */
    .hero-content h1 {
        font-size: var(--text-xl);
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .hero-content .lead {
        font-size: var(--text-base);
    }
    
    /* AI处理流程超小屏幕适配 */
    .ai-workflow h3 {
        font-size: var(--text-lg);
    }
    
    .workflow-step {
        padding: 1rem !important;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }
    
    .workflow-step h5 {
        font-size: var(--text-sm);
    }
    
    h2, .display-5 {
        font-size: var(--text-xl) !important;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-50);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 文本渐变效果 */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 卡片悬浮效果增强 */
.card-hover-effect {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover-effect:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 图标旋转效果 */
.icon-rotate {
    transition: transform 0.3s ease;
}

.icon-rotate:hover {
    transform: rotate(360deg);
}

/* 数字动画效果 */
.count-animation {
    font-variant-numeric: tabular-nums;
}

/* 响应式图片 */
.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 分割线样式 */
.divider {
    height: 2px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 1px;
    margin: 2rem 0;
}

/* 特殊强调文本 */
.highlight-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
