/* 首页样式 - 菜鸟帮AI论文系统 */

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4f91e2 0%, #91baed 100%);
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 4s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 5%;
    animation-delay: 1s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.hero-text {
    color: var(--text-white);
    padding-right: var(--space-lg);
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    animation: fadeInLeft 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    animation: fadeInLeft 1s ease 0.2s both;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    animation: fadeInLeft 1s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    animation: fadeInLeft 1s ease 0.6s both;
    flex-wrap: wrap;
    align-items: center;
}

.hero-visual {
    animation: fadeInRight 1s ease 0.3s both;
    justify-self: end;
    max-width: 500px;
    width: 100%;
}

.demo-window {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(10deg);
    transition: transform var(--transition-slow);
    margin: 0 auto;
}

.demo-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    background: var(--bg-gray-100);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid var(--bg-gray-100);
}

.window-controls {
    display: flex;
    gap: var(--space-sm);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-close { background: #ff5f57; }
.control-minimize { background: #ffbd2e; }
.control-maximize { background: #28ca42; }

.window-title {
    font-weight: 600;
    color: var(--text-secondary);
}

.window-content {
    padding: var(--space-xl);
}

.typing-demo {
    font-family: 'Courier New', monospace;
}

.demo-line {
    display: flex;
    margin-bottom: var(--space-md);
    align-items: center;
    min-height: 24px;
    line-height: 24px;
}

.demo-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
}

/* 特殊状态标签样式 */
.demo-line:nth-child(4) .demo-label,
.demo-line:nth-child(5) .demo-label {
    color: #28a745;
    position: relative;
}

.demo-line:nth-child(4) .demo-label::before,
.demo-line:nth-child(5) .demo-label::before {
    content: '●';
    color: #28a745;
    margin-right: 5px;
    animation: pulse 1.5s ease-in-out infinite;
}

.demo-line:nth-child(4) .typing-text,
.demo-line:nth-child(5) .typing-text {
    color: #28a745;
    font-weight: 500;
}

/* 状态显示区域 */
.demo-status-section {
    margin: var(--space-lg) 0;
    padding: var(--space-md);
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.status-item {
    margin-bottom: var(--space-md);
}

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

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.status-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.status-percentage {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.status-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-gray-100);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: var(--space-xs);
    position: relative;
}

.status-fill {
    height: 100%;
    border-radius: 3px;
    position: relative;
    background: linear-gradient(90deg, #4f91e2, #91baed);
    overflow: hidden;
}

.status-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.literature-progress {
    width: 0%;
    transition: width 0.3s ease-out;
}

.chart-progress {
    width: 0%;
    transition: width 0.3s ease-out;
}

.status-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.status-text::before {
    content: '●';
    color: #28a745;
    font-size: 0.6rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes progressGrow {
    from {
        width: 0%;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.typing-text {
    color: var(--text-primary);
    border-right: 2px solid var(--primary-color);
    animation: blink 1s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    min-width: 1px;
}

.demo-progress {
    margin-top: var(--space-xl);
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-gray-100);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    animation: progress 4s ease-in-out infinite;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    min-height: 1.5em;
    display: inline-block;
    min-width: 200px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    animation: scrollIndicatorIntro 1s ease 2s both;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator:active {
    transform: translateX(-50%) scale(0.95);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 13px;
    position: relative;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .mouse {
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.arrows {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
}

.arrows span {
    width: 14px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    transform-origin: center;
    animation: arrowBounce 2s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .arrows span {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.arrows span:nth-child(1) {
    animation-delay: 0s;
    width: 10px;
}

.arrows span:nth-child(2) {
    animation-delay: 0.15s;
    width: 12px;
}

.arrows span:nth-child(3) {
    animation-delay: 0.3s;
    width: 14px;
}

/* 核心优势区域 */
.features {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, rgba(79, 145, 226, 0.05) 0%, rgba(145, 186, 237, 0.05) 100%);
    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;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

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

/* 工作流程 */
.workflow {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
    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;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    position: relative;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-lg);
    background: var(--bg-white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    transition: all var(--transition-normal);
}

.step-icon::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.step:hover .step-icon {
    background: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.1);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 数据统计 */
.stats {
    padding: var(--space-3xl) 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.stat-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.stat-content .stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: var(--space-sm);
}

.stat-content .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 用户反馈 */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--bg-gray-50);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    pointer-events: none;
}

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

/* 用户反馈箭头按钮 */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.testimonial-arrow:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.testimonial-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.testimonials-slider {
    position: relative;
    overflow: visible;
    border-radius: var(--radius-xl);
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    min-height: 300px;
    padding: 0 60px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--space-3xl);
    text-align: center;
    min-height: 300px;
    display: none;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 1;
    will-change: opacity, transform;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

.testimonial-card.exiting {
    display: block;
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
    pointer-events: none;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.1);
    font-family: serif;
    line-height: 1;
    z-index: 1;
}

.stars {
    margin-bottom: var(--space-lg);
    color: #ffd700;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
}

.stars i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}

.testimonial-card.active .stars i {
    animation: starTwinkle 0.6s ease;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.author-avatar::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card.active .author-avatar::before {
    opacity: 1;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card.active .author-avatar img {
    transform: scale(1.05);
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    padding: var(--space-md);
}

.nav-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.nav-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dot.active::before {
    transform: scale(1);
}

.nav-dot.active {
    transform: scale(1.4);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.nav-dot:hover {
    transform: scale(1.2);
    border-color: var(--primary-dark);
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
}

.nav-dot:hover::before {
    transform: scale(0.7);
}

.nav-dot:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* CTA区域 */
.cta {
    padding: var(--space-3xl) 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.4)"/></svg>');
    animation: float 10s ease-in-out infinite;
}

.cta-content {
    text-align: center;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0.9;
}

.cta-feature i {
    color: #4ade80;
}

/* 页脚 */
/* 动画关键帧 */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--primary-color); }
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

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

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

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

@keyframes mouseScroll {
    0% { 
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% { 
        transform: translateX(-50%) translateY(12px);
        opacity: 0.7;
    }
    100% { 
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes arrowBounce {
    0%, 100% { 
        opacity: 0.4;
        transform: translateY(0) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateY(3px) scale(1.1);
    }
}

@keyframes scrollIndicatorIntro {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
        padding: 0 var(--space-lg);
    }
    
    .hero-text {
        padding-right: 0;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-visual {
        justify-self: center;
        max-width: 450px;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    .mouse {
        width: 22px;
        height: 36px;
        border-radius: 11px;
    }
    
    .wheel {
        width: 3px;
        height: 6px;
        top: 6px;
    }
    
    .arrows span {
        width: 10px;
        height: 1.5px;
    }
    
    .arrows span:nth-child(1) { width: 8px; }
    .arrows span:nth-child(2) { width: 9px; }
    .arrows span:nth-child(3) { width: 10px; }
    
    /* 箭头按钮平板优化 */
    .testimonial-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .testimonial-prev {
        left: 15px;
    }
    
    .testimonial-next {
        right: 15px;
    }
    
    .testimonials-slider {
        padding: 0 70px;
    }
    
    /* 状态显示区域中等屏幕优化 */
    .demo-status-section {
        padding: var(--space-md);
    }
    
    .status-header {
        margin-bottom: var(--space-sm);
    }
    
    .status-label {
        font-size: 0.82rem;
    }
    
    .status-percentage {
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: var(--space-xl);
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-lg);
        margin-bottom: var(--space-xl);
    }
    
    .scroll-indicator {
        bottom: 1rem;
        transform: translateX(-50%) scale(0.8);
    }
    
    .mouse {
        width: 20px;
        height: 32px;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    
    .wheel {
        width: 2.5px;
        height: 5px;
        top: 5px;
    }
    
    .arrows {
        gap: 2px;
    }
    
    .arrows span {
        width: 8px;
        height: 1px;
    }
    
    .arrows span:nth-child(1) { width: 6px; }
    .arrows span:nth-child(2) { width: 7px; }
    .arrows span:nth-child(3) { width: 8px; }
    
    .testimonials-slider {
        margin: 0 var(--space-md);
        padding: 0 50px;
        max-width: 95%;
    }
    
    /* 移动端箭头按钮优化 */
    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-width: 1px;
    }
    
    .testimonial-prev {
        left: 5px;
    }
    
    .testimonial-next {
        right: 5px;
    }
    
    /* 导航点移动端优化 */
    .nav-dot {
        width: 14px;
        height: 14px;
        border-width: 1px;
    }
    
    .nav-dot.active {
        transform: scale(1.3);
    }
    
    .nav-dot:hover {
        transform: scale(1.1);
    }
    
    .testimonial-card {
        padding: var(--space-xl);
        min-height: 250px;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
        top: 15px;
        left: 20px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
        margin-bottom: var(--space-lg);
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .author-info {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .demo-window {
        transform: none;
        max-width: 350px;
        margin: 0 auto;
    }
}
    
    .workflow-steps::before {
        display: none;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    /* 状态显示区域响应式 */
    .demo-status-section {
        padding: var(--space-sm);
        margin: var(--space-md) 0;
    }
    
    .status-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
        margin-bottom: var(--space-xs);
    }
    
    .status-label {
        font-size: 0.8rem;
    }
    
    .status-percentage {
        font-size: 0.75rem;
        padding: 1px 4px;
        align-self: flex-end;
    }
    
    .status-bar {
        height: 4px;
    }
    
    .status-text {
        font-size: 0.7rem;
    }
}

/* 产品演示 */
.product-demo {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #fcfdff 0%, #f0f7ff 100%);
    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;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.demo-tab {
    padding: var(--space-md) var(--space-xl);
    border: 2px solid var(--bg-gray-200);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.demo-tab:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.demo-tab.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-white);
}

.demo-tab i {
    font-size: 1.25rem;
}

.demo-content {
    position: relative;
    min-height: 600px;
}

.demo-panel {
    display: none;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.demo-panel.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.demo-mockup {
    position: relative;
}

.mockup-browser {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--bg-gray-200);
}

.browser-header {
    background: var(--bg-gray-100);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid var(--bg-gray-200);
}

.browser-controls {
    display: flex;
    gap: var(--space-sm);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.browser-url {
    background: var(--bg-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex: 1;
}

.browser-content {
    padding: var(--space-xl);
    background: var(--bg-gray-50);
    min-height: 400px;
}

.form-section h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-size: 1.25rem;
}

.form-field {
    margin-bottom: var(--space-lg);
}

.form-field label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.input-demo {
    background: var(--bg-white);
    padding: var(--space-md);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 500;
}

.progress-section {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-gray-200);
}

.progress-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.demo-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    width: 0%;
    animation: demoProgress 3s ease-in-out infinite;
}

@keyframes demoProgress {
    0% { width: 0%; }
    50% { width: 85%; }
    100% { width: 85%; }
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.outline-tree {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-gray-200);
}

.outline-node {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    margin-bottom: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: background var(--transition-normal);
}

.outline-node:hover {
    background: var(--bg-gray-50);
}

.outline-node.level-1 {
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(102, 126, 234, 0.1);
}

.outline-node.level-2 {
    margin-left: var(--space-lg);
    color: var(--text-primary);
}

.outline-node.level-3 {
    margin-left: var(--space-2xl);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.word-count {
    color: var(--primary-color);
    font-size: 0.8rem;
    background: rgba(102, 126, 234, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-left: auto;
}

.outline-children {
    margin-left: 0;
}

.search-section {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-gray-200);
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-gray-50);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: 2px solid var(--primary-color);
}

.search-bar i {
    color: var(--primary-color);
    margin-right: var(--space-sm);
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1rem;
    color: var(--text-primary);
}

.search-bar button {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-normal);
}

.search-bar button:hover {
    background: var(--primary-dark);
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.result-item {
    padding: var(--space-lg);
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-gray-200);
    transition: all var(--transition-normal);
}

.result-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.result-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.result-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

.journal {
    color: var(--primary-color);
    font-weight: 500;
}

.year {
    color: var(--text-secondary);
}

.relevance {
    color: #16a085;
    font-weight: 500;
}

.result-abstract {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.result-actions {
    display: flex;
    gap: var(--space-md);
}

.cite-btn, .view-btn {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.cite-btn {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
}

.view-btn {
    background: var(--bg-white);
    color: var(--text-secondary);
    border: 1px solid var(--bg-gray-200);
}

.cite-btn:hover {
    background: var(--primary-dark);
}

.view-btn:hover {
    background: var(--bg-gray-50);
    border-color: var(--primary-color);
}

.chart-section {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-gray-200);
}

.chart-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.chart-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.option-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.option-group select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--bg-gray-200);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-primary);
}

.chart-preview {
    background: var(--bg-gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.chart-placeholder {
    text-align: center;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: var(--space-lg);
    height: 200px;
    margin-bottom: var(--space-md);
}

.bar {
    width: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: var(--space-sm);
    animation: barGrow 2s ease-in-out infinite;
    position: relative;
}

.bar span {
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 500;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

@keyframes barGrow {
    0% { height: 0%; }
    50% { height: var(--target-height, 60%); }
    100% { height: var(--target-height, 60%); }
}

.chart-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.chart-description {
    background: var(--bg-gray-50);
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

.chart-description h5 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.chart-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.demo-description h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.demo-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.demo-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.demo-features i {
    color: #16a085;
    font-size: 1.125rem;
}

.demo-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    padding: var(--space-xl);
    background: var(--bg-gray-50);
    border-radius: var(--radius-xl);
}

.demo-note {
    margin-top: var(--space-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .demo-panel {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .demo-mockup {
        order: 2;
    }
    
    .demo-description {
        order: 1;
        text-align: center;
    }
    
    .chart-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .demo-tabs {
        grid-template-columns: 1fr 1fr;
        display: grid;
    }
    
    .demo-tab {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .demo-tab span {
        display: none;
    }
    
    .browser-content {
        padding: var(--space-md);
    }
    
    .chart-bars {
        height: 150px;
        gap: var(--space-md);
    }
    
    .bar {
        width: 40px;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .search-bar {
        flex-direction: column;
        gap: var(--space-md);
    }
}