/* 背景增强样式 - 菜鸟帮AI论文系统 */

/* 增强背景变量 */
:root {
    --bg-soft-blue: #f0f7ff;
    --bg-soft-purple: #f8f5ff;
    --bg-soft-gradient: linear-gradient(135deg, #f0f7ff 0%, #f8f5ff 100%);
    --bg-pattern-light: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    --bg-mesh-gradient: radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.03) 0px, transparent 0%), 
                        radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 0.03) 0px, transparent 50%), 
                        radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 0.03) 0px, transparent 50%), 
                        radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 0.03) 0px, transparent 50%), 
                        radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 0.03) 0px, transparent 50%), 
                        radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 0.03) 0px, transparent 50%), 
                        radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 0.03) 0px, transparent 50%);
    
    /* 页面特定背景变量 */
    --bg-features-soft: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
    --bg-features-card: rgba(255, 255, 255, 0.7);
    --bg-about-soft: linear-gradient(135deg, #f9f9ff 0%, #f0f5ff 100%);
    --bg-about-card: rgba(255, 255, 255, 0.75);
    --bg-pricing-soft: linear-gradient(135deg, #fffbf8 0%, #fff4ed 100%);
    --bg-pricing-card: rgba(255, 255, 255, 0.8);
    
    /* 毛玻璃效果变量 */
    --glass-effect: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --backdrop-blur: blur(10px);
    --backdrop-blur-light: blur(5px);
}

/* 增强body背景 */
body {
    background: var(--bg-soft-gradient) !important;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-mesh-gradient);
    z-index: -1;
    pointer-events: none;
}

/* 功能特色区域背景增强 */
.features {
    background: linear-gradient(135deg, rgba(79, 145, 226, 0.05) 0%, rgba(145, 186, 237, 0.05) 100%) !important;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 145, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(145, 186, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.06) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

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

/* 工作流程区域背景增强 */
.workflow {
    background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%) !important;
    position: relative;
    overflow: hidden;
}

.workflow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(79, 145, 226, 0.04) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

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

/* 产品演示区域背景增强 */
.product-demo {
    background: linear-gradient(135deg, #fcfdff 0%, #f0f7ff 100%) !important;
    position: relative;
    overflow: hidden;
}

.product-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(79, 145, 226, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(145, 186, 237, 0.04) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.product-demo .container {
    position: relative;
    z-index: 2;
}

/* 用户反馈区域背景增强 */
.testimonials {
    background: linear-gradient(135deg, #f8fafe 0%, #f0f7ff 100%) !important;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 85% 20%, rgba(102, 126, 234, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 15% 80%, rgba(79, 145, 226, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, rgba(118, 75, 162, 0.02) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

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

/* 卡片背景增强 */
.feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* 演示窗口背景增强 */
.demo-window {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mockup-browser {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* 用户反馈滑块背景增强 */
.testimonials-slider {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 面包屑导航背景增强 */
.breadcrumb-container {
    background: rgba(247, 250, 252, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

/* 导航栏背景增强 */
.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* 步骤图标背景增强 */
.step-icon {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* 动画增强 */
@keyframes float-enhanced {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
    }
    66% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.floating-shape {
    animation: float-enhanced 8s ease-in-out infinite;
}

/* hero区域文字对比度优化 */
.hero .gradient-text {
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 30%, 
        #f093fb 60%, 
        #4facfe 100%) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 900 !important;
    animation: gradient-shift 3s ease-in-out infinite !important;
}

/* Hero区域专属渐变动画 */
@keyframes gradient-shift-hero {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero .gradient-text::before {
    display: none !important;
}

.hero .gradient-text::after {
    display: none !important;
}

/* Hero区域专属发光脉冲动画 */
@keyframes glow-pulse-hero {
    0% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 12px 48px rgba(240, 147, 251, 0.35);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 10px 40px rgba(79, 172, 254, 0.3);
    }
}

/* hero标题整体增强 */
.hero .hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* demo-progress区域优化 */
.demo-progress {
    min-height: 50px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.progress-text {
    white-space: nowrap !important;
    min-height: 1.5em !important;
    display: inline-block !important;
    min-width: 250px !important;
    line-height: 1.5 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: opacity 0.3s ease !important;
}

.progress-bar {
    flex-shrink: 0 !important;
    margin-bottom: 8px !important;
}

/* ==========================================
   页面特定背景优化
   ========================================== */

/* Features页面背景优化 */
.core-features {
    background: var(--bg-features-soft) !important;
    position: relative;
    overflow: hidden;
}

.core-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(at 20% 30%, rgba(79, 145, 226, 0.08) 0%, transparent 60%),
                radial-gradient(at 80% 70%, rgba(145, 186, 237, 0.08) 0%, transparent 60%),
                linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    z-index: 0;
    pointer-events: none;
}

.preview-window {
    background: var(--glass-effect) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
    overflow: hidden;
}

.preview-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
    pointer-events: none;
}

.search-bar {
    background: var(--bg-features-card) !important;
    backdrop-filter: var(--backdrop-blur-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.search-results {
    background: var(--bg-features-card) !important;
    backdrop-filter: var(--backdrop-blur-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.tab-button {
    background: var(--bg-features-card) !important;
    backdrop-filter: var(--backdrop-blur-light) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    position: relative;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.feature-card {
    background: var(--bg-features-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.tech-advantages {
    background: var(--bg-features-soft) !important;
    position: relative;
    overflow: hidden;
}

.tech-advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(at 25% 25%, rgba(79, 145, 226, 0.08) 0%, transparent 65%),
                radial-gradient(at 75% 75%, rgba(145, 186, 237, 0.08) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

.case-card {
    background: var(--bg-features-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

/* About页面背景优化 */
.company-intro {
    background: var(--bg-about-soft) !important;
    position: relative;
    overflow: hidden;
}

.company-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(at 30% 20%, rgba(102, 126, 234, 0.06) 0%, transparent 70%),
                radial-gradient(at 70% 80%, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.arch-layer {
    background: var(--bg-about-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
}

.arch-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 0;
    pointer-events: none;
}

.timeline {
    background: var(--bg-about-soft) !important;
    position: relative;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(at 15% 30%, rgba(102, 126, 234, 0.06) 0%, transparent 70%),
                radial-gradient(at 85% 70%, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.timeline-content {
    background: var(--bg-about-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.team-member {
    background: var(--bg-about-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.culture {
    background: var(--bg-about-soft) !important;
    position: relative;
    overflow: hidden;
}

.culture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(at 40% 20%, rgba(79, 145, 226, 0.05) 0%, transparent 75%),
                radial-gradient(at 60% 80%, rgba(145, 186, 237, 0.05) 0%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}

.contact-form {
    background: var(--bg-about-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: var(--backdrop-blur-light) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

/* Pricing页面背景优化 */
.plan-card {
    background: var(--bg-pricing-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
    pointer-events: none;
}

.feature-comparison {
    background: var(--bg-pricing-soft) !important;
    position: relative;
    overflow: hidden;
}

.feature-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(at 40% 30%, rgba(249, 115, 22, 0.05) 0%, transparent 70%),
                radial-gradient(at 60% 70%, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.comparison-table {
    background: var(--bg-pricing-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-xl) !important;
    overflow: hidden;
    position: relative;
}

.comparison-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 0;
    pointer-events: none;
}

.faq-item {
    background: var(--bg-pricing-card) !important;
    backdrop-filter: var(--backdrop-blur) !important;
    border: 1px solid var(--glass-border) !important;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.testimonials {
    background: var(--bg-pricing-soft) !important;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(at 30% 30%, rgba(249, 115, 22, 0.05) 0%, transparent 70%),
                radial-gradient(at 70% 70%, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* 响应式优化 */
@media (max-width: 768px) {
    body::before {
        opacity: 0.7;
    }
    
    /* 移动端hero区域文字优化 */
    .hero .gradient-text {
        background: linear-gradient(135deg, 
            #667eea 0%, 
            #764ba2 30%, 
            #f093fb 60%, 
            #4facfe 100%) !important;
        background-size: 200% 200% !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        font-weight: 900 !important;
        animation: gradient-shift 3s ease-in-out infinite !important;
    }
    
    @keyframes gradient-shift-mobile {
        0%, 100% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
    }
    
    .hero .gradient-text::before {
        display: none !important;
    }
    
    .hero .gradient-text::after {
        display: none !important;
    }
    
    .features::before,
    .workflow::before,
    .product-demo::before,
    .testimonials::before,
    .core-features::before,
    .company-intro::before,
    .feature-comparison::before,
    .timeline::before,
    .culture::before,
    .tech-advantages::before {
        opacity: 0.5;
    }
    
    .feature-card,
    .demo-window,
    .mockup-browser,
    .testimonials-slider,
    .preview-window,
    .arch-layer,
    .plan-card,
    .case-card,
    .timeline-content,
    .team-member,
    .contact-form,
    .comparison-table,
    .faq-item {
        backdrop-filter: blur(5px) !important;
    }
    
    .search-bar,
    .search-results,
    .tab-button,
    .form-group input,
    .form-group textarea {
        backdrop-filter: blur(3px) !important;
    }
    
    .progress-text {
        min-width: 200px !important;
        font-size: 0.8rem !important;
    }
} 