/*
 * BAILU CODE - 全新设计样式
 * 科技感、现代、扁平、暗黑高级风格
 */

/* ==================== CSS 变量定义 ==================== */
:root {
    /* 主色调 - iOS蓝色系（与原网站一致） */
    --primary-color: #007aff;
    --primary-hover-color: #0056b3;
    --primary-light: #3395ff;
    --primary-dark: #0056cc;
    --accent-color: #00b7ff;
    --accent-light: #47ffd1;
    
    /* 背景色 - 深邃暗黑 */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2c2c2c;
    --bg-card: rgba(44, 44, 44, 0.6);
    --background-color: #1a1a1a;
    --card-background-color: #2c2c2c;
    
    /* 文字颜色 */
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-muted: #6B7280;
    --subtle-text-color: #a0a0a0;
    --heading-color: #ffffff;
    --text-color: #e0e0e0;
    
    /* 边框颜色 */
    --border-color: rgba(68, 68, 68, 0.5);
    --border-hover: rgba(0, 122, 255, 0.5);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
    --gradient-accent: linear-gradient(45deg, #47ffd1, #00b7ff);
    --gradient-card: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(0, 122, 255, 0.02));
}

/* ==================== 基础样式重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ==================== 背景装饰层 ==================== */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* 网格覆盖层 */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 122, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* 渐变光球 */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #007aff 0%, transparent 70%);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00b7ff 0%, transparent 70%);
    top: 50%;
    right: -200px;
    animation-delay: -7s;
}

.gradient-orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #47ffd1 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ==================== 容器样式 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ==================== 头部样式 ==================== */
header {
    padding: 20px 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.nav-login-btn):hover {
    color: var(--primary-color);
}

.nav-links a:not(.nav-login-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-login-btn):hover::after {
    width: 100%;
}

.nav-login-btn {
    width: 100px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    background: linear-gradient(
        to bottom right,
        #2e8eff 0%,
        rgba(46, 142, 255, 0) 30%
    );
    background-color: rgba(46, 142, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    outline: none;
    position: relative;
}

.nav-login-btn:hover,
.nav-login-btn:focus {
    background-color: rgba(46, 142, 255, 0.7);
    box-shadow: 0 0 10px rgba(46, 142, 255, 0.5);
    outline: none;
}

.nav-login-btn::after {
    content: attr(data-text);
    width: 96px;
    height: 36px;
    border-radius: 6px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    position: absolute;
    top: 2px;
    left: 2px;
}

/* ==================== 主要内容区域 ==================== */
main {
    position: relative;
    z-index: 1;
}

/* ==================== 英雄区域 ==================== */
.hero {
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 英雄区域背景图片 */
.hero-image {
    position: absolute;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.3;
    z-index: -1;
}

.image-left {
    top: 50%;
    left: 20px;
    transform: translateY(-50%) perspective(1500px) rotateY(30deg);
}

.image-right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%) perspective(1500px) rotateY(-30deg);
}

.hero:hover .image-left {
    transform: translateY(-50%) perspective(1500px) rotateY(25deg) translateX(-10px);
    opacity: 0.6;
}

.hero:hover .image-right {
    transform: translateY(-50%) perspective(1500px) rotateY(-25deg) translateX(10px);
    opacity: 0.6;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(
        90deg,
        #9CA3AF 0%,
        #9CA3AF 40%,
        #FFFFFF 50%,
        #9CA3AF 60%,
        #9CA3AF 100%
    );
    background-size: 200% 100%;
    background-position: 200% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease-out, shimmer 2s linear infinite;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.5s ease-out 0.15s;
    animation-fill-mode: backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out 0.3s;
    animation-fill-mode: backwards;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
}

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

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.4);
}

.cta-icon {
    font-size: 1.1rem;
}

/* 视频展示区域 */
.hero-visual {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease-out 0.45s;
    animation-fill-mode: backwards;
}

.video-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-showcase:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0, 122, 255, 0.2);
}

.video-showcase img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== 社交媒体栏 ==================== */
.social-media-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-icon {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.social-link img.social-icon {
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.social-link.xiaohongshu {
    background: linear-gradient(135deg, #FF2442 0%, #FF6B81 100%);
    color: white;
}

.social-link.discord {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: white;
}

.social-link.threads {
    background: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ==================== 任务输入区域（保持原样式） ==================== */
.task-input-container {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    position: relative;
}

.task-intro-text {
    text-align: center;
    margin-bottom: 30px;
}

.task-intro-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.task-input-wrapper {
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.task-input-wrapper:hover {
    border-color: #666;
}

.task-input-wrapper:focus-within {
    border-color: #007aff;
}

.task-input-wrapper.plan-mode {
    border-color: #00ff88;
}

.input-section {
    position: relative;
    padding: 15px;
}

#task-input-field {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #e0e0e0;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;
    resize: none;
    min-height: 60px;
    max-height: 200px;
    padding: 0 50px 0 0;
}

#task-input-field::placeholder {
    color: #a0a0a0;
    font-size: 16px;
}

.task-send-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #444;
    color: #e0e0e0;
    border: 1px solid #666;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.task-send-btn:hover {
    background-color: #555;
    border-color: #777;
}

.task-send-btn:active {
    background-color: #333;
}

.task-send-btn:disabled {
    background-color: #333;
    color: #666;
    border-color: #444;
    cursor: not-allowed;
}

.task-send-btn i {
    font-size: 14px;
}

.hint-text {
    color: #a0a0a0;
    font-size: 14px;
    padding: 6px 15px 8px;
}

.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background-color: #252525;
}

.action-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-icon-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.action-icon-btn:hover {
    color: #e0e0e0;
    background-color: #333;
}

.model-indicator {
    color: #a0a0a0;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
}

.action-right {
    display: flex;
    gap: 8px;
}

.mode-btn {
    background: none;
    border: 1px solid #444;
    color: #a0a0a0;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.mode-btn:hover {
    color: #e0e0e0;
    border-color: #666;
}

.mode-btn.active {
    background-color: #333;
    color: #e0e0e0;
    border-color: #666;
}

.mode-btn.plan-mode {
    border-color: #00ff88;
    color: #00ff88;
}

.mode-btn.plan-mode.active {
    background-color: #00ff88;
    color: #000;
}

/* ==================== 推广内容（保持原样式） ==================== */
.task-promotion {
    margin-top: 40px;
}

.promotion-content {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(0, 122, 255, 0.03));
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promotion-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007aff, #00ff88, #007aff);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.promotion-content h3 {
    color: var(--heading-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    background: linear-gradient(45deg, #47ffd1, #00b7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-content p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 25px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.promotion-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.promotion-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.promotion-link:hover::before {
    left: 100%;
}

.promotion-link:hover {
    background: linear-gradient(135deg, #0056cc 0%, #0044aa 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.promotion-link:active {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.promotion-link i {
    font-size: 1rem;
    opacity: 0.9;
}

.promotion-link span {
    position: relative;
    z-index: 1;
}

/* ==================== 功能特性区域 ==================== */
.features-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.title-decoration {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-card {
    background: linear-gradient(113deg, #000 0%, #1B2429 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.25);
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--heading-color);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ==================== 扩展功能展示区域 ==================== */
.extended-features-section {
    padding: 80px 0;
}

/* 主要特性网格 */
.main-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.main-feature-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(113deg, #000 0%, #1B2429 100%);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.main-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2) 0%, rgba(0, 183, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.main-feature-card:hover::before {
    opacity: 1;
}

.main-feature-card:hover {
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.3);
}

.feature-image-container {
    position: relative;
    height: 307px;
    overflow: hidden;
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    filter: grayscale(100%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.main-feature-card:hover .feature-image-container img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    padding-top: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: 2;
}

.feature-overlay h3 {
    color: var(--heading-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-overlay p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* MCP 全宽卡片 */
.mcp-feature-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(113deg, #000 0%, #1B2429 100%);
    background-image: url('https://img.cdn1.vip/i/68f73bd4808ef_1761033172.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 144px;
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mcp-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.4), transparent);
    transition: left 1.5s ease;
    z-index: 1;
}

.mcp-feature-card:hover::before {
    left: 100%;
}

.mcp-feature-card:hover {
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
}

.mcp-feature-card .feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    z-index: 2;
}

/* 小功能网格 */
.small-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.small-features-grid:last-child {
    margin-bottom: 0;
}

.small-feature-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(113deg, #000 0%, #1B2429 100%);
    padding: 24px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.small-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 183, 255, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.small-feature-card:hover::before {
    opacity: 1;
}

.small-feature-card:hover {
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.25);
}

.small-feature-card h3 {
    color: var(--heading-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.small-feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ==================== 优势区域 ==================== */
.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0, 122, 255, 0.15);
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 40px rgba(0, 122, 255, 0.15);
}

.benefit-card:hover .benefit-number {
    color: rgba(0, 122, 255, 0.9);
    text-shadow: 0 0 20px rgba(0, 122, 255, 0.6),
                 0 0 40px rgba(0, 122, 255, 0.4),
                 0 0 60px rgba(0, 122, 255, 0.2);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--heading-color);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==================== 科研区域 ==================== */
.research-section {
    padding: 80px 0;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.research-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.research-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.25);
    transition: all 0.3s ease;
}

.research-card:hover .research-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
}

.research-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 40px rgba(74, 144, 226, 0.15);
}

.research-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.research-quote {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    font-family: 'KaiTi', 'STKaiti', serif;
    margin-top: 32px;
}

/* ==================== 价格区域 ==================== */
.pricing-section {
    padding: 80px 0 40px;
}

.pricing-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0, 122, 255, 0.25);
    transform: translateY(-6px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-badge.free {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.pricing-badge.pro {
    background: linear-gradient(135deg, #007aff, #0056cc);
    color: white;
}

.pricing-badge.enterprise {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pricing-feature-item:hover {
    background: rgba(0, 122, 255, 0.1);
    transform: translateX(6px);
}

.pricing-feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.pricing-feature-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ==================== 下载按钮区域 ==================== */
.download-section {
    text-align: center;
    margin-top: 60px;
    padding-bottom: 40px;
}

.download-btn {
    width: 200px;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
    background-size: 250%;
    background-position: left;
    color: #ffd277;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 1s;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.download-btn::before {
    position: absolute;
    content: attr(data-text);
    color: #ffd277;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 97%;
    height: 90%;
    border-radius: 8px;
    transition-duration: 1s;
    background-color: rgba(0, 0, 0, 0.842);
    background-size: 200%;
}

.download-btn span {
    position: relative;
    z-index: 1;
}

.download-btn:hover {
    background-position: right;
    transition-duration: 1s;
}

.download-btn:hover::before {
    background-position: right;
    transition-duration: 1s;
}

.download-btn:active {
    transform: scale(0.95);
}

/* ==================== 页脚 ==================== */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

/* ==================== AI 聊天样式 - 参考 spu.php 实现 ==================== */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    z-index: 999;
}

.chat-button i {
    font-size: 24px;
    color: white;
}

.chat-button:hover {
    background: var(--primary-hover-color);
    transform: scale(1.1);
}

/* ==================== AI 聊天模态框样式（保持原有样式） ==================== */
.chat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: flex-end;
    justify-content: flex-end;
}

.chat-modal.visible {
    display: flex;
    opacity: 1;
}

.chat-modal-content {
    width: 420px;
    height: 600px;
    max-height: calc(100vh - 40px);
    margin: 20px;
    background-color: var(--bg-tertiary);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    border: 1px solid var(--border-color);
}

.chat-modal.visible .chat-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 24px;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 0;
    line-height: 1;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages::-webkit-scrollbar { 
    width: 6px; 
}
.chat-messages::-webkit-scrollbar-track { 
    background: transparent; 
}
.chat-messages::-webkit-scrollbar-thumb { 
    background: var(--text-muted);
    border-radius: 3px; 
}

.message {
    display: flex;
    align-items: flex-start;
    max-width: 90%;
}

.user-message {
    align-self: flex-end;
}

.bot-message {
    align-self: flex-start;
}

.message-content {
    padding: 12px 16px;
    border-radius: 16px;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 15px;
}

.user-message .message-content {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 6px;
}

.bot-message .message-content {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 6px;
}

.bot-message .message-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.bot-message .message-content li {
    margin: 4px 0;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #95aac9;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-container {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-shrink: 0;
}

.chat-input-container textarea {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    resize: none;
    line-height: 1.5;
    max-height: 120px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.chat-input-container textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.chat-input-container textarea::placeholder {
    color: var(--text-muted);
}

.chat-input-container button {
    height: 44px;
    width: 44px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input-container button:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.chat-input-container button:not(:disabled):hover {
    background-color: var(--primary-hover-color);
    transform: scale(1.05);
}

/* Markdown 样式 */
.message-content p:first-child { margin-top: 0; }
.message-content p:last-child { margin-bottom: 0; }
.message-content ul, .message-content ol { padding-left: 20px; margin: 10px 0; }
.message-content code {
    background-color: rgba(0,0,0,0.05);
    padding: 2px 5px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.9em;
}
.user-message .message-content code {
    background-color: rgba(255,255,255,0.2);
}
.message-content pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 10px 0;
    font-size: 0.9em;
}
.message-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* TTS 音频控制样式 */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 音频播放效果样式 */
.audio-visualizer {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.audio-visualizer.playing {
    opacity: 1;
}

.audio-visualizer .bar {
    display: inline-block;
    width: 3px;
    height: 20px;
    background-color: rgba(0, 122, 255, 0.6);
    border-radius: 2px;
    animation: audio-wave 1.2s linear infinite;
}

.audio-visualizer .bar:nth-child(2) {
    height: 28px;
    animation-delay: 0.2s;
}

.audio-visualizer .bar:nth-child(3) {
    height: 16px;
    animation-delay: 0.4s;
}

.audio-visualizer .bar:nth-child(4) {
    height: 24px;
    animation-delay: 0.6s;
}

.audio-visualizer .bar:nth-child(5) {
    height: 12px;
    animation-delay: 0.8s;
}

@keyframes audio-wave {
    0%, 100% {
        background-color: rgba(0, 122, 255, 0.4);
        transform: scaleY(0.8);
    }
    20% {
        background-color: rgba(0, 122, 255, 1);
        transform: scaleY(1.2);
    }
    40% {
        background-color: rgba(0, 122, 255, 0.8);
        transform: scaleY(1);
    }
    60% {
        background-color: rgba(0, 122, 255, 0.9);
        transform: scaleY(1.1);
    }
    80% {
        background-color: rgba(0, 122, 255, 0.6);
        transform: scaleY(0.9);
    }
}

.audio-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.audio-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.audio-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.audio-progress {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5px;
    overflow: hidden;
    margin: 0 8px;
    position: relative;
}

.audio-progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s ease;
}

.tts-status {
    font-size: 11px;
    color: var(--subtle-text-color);
    margin-left: 8px;
}

/* ==================== 安装模态框样式 ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    margin: 12% auto;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.4s ease;
}

.modal-content h2 {
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 32px;
    font-weight: 300;
    transition: color 0.3s, transform 0.3s;
    cursor: pointer;
    line-height: 1;
}

.close-button:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

/* ==================== 动画定义 ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* ==================== 响应式设计 - 平板 ==================== */
@media (max-width: 1200px) {
    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 16px;
    }

    .title-decoration {
        width: 40px;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .main-features-grid,
    .small-features-grid {
        grid-template-columns: 1fr;
    }

    .small-feature-card {
        height: 160px;
    }

    .mcp-feature-card {
        height: 180px;
    }

    .nav-links {
        gap: 20px;
    }
}

/* ==================== 响应式设计 - 移动设备 ==================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    header {
        padding: 16px 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .nav-login-btn {
        width: 80px;
        height: 36px;
    }
    
    .nav-login-btn::after {
        width: 76px;
        height: 32px;
        font-size: 12px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card,
    .benefit-card,
    .research-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-grid {
        max-width: 100%;
    }

    .pricing-title {
        font-size: 1.35rem;
    }

    .pricing-price {
        font-size: 1.75rem;
    }
    
    .download-btn {
        width: 180px;
        height: 45px;
        font-size: 13px;
    }

    .feature-image-container {
        height: 240px;
    }

    .small-feature-card {
        height: 140px;
        padding: 20px;
    }

    .small-feature-card h3 {
        font-size: 1rem;
    }

    .small-feature-card p {
        font-size: 0.85rem;
    }

    .mcp-feature-card {
        height: 160px;
    }

    .social-media-bar {
        gap: 12px;
    }

    .social-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .task-input-container {
        padding: 0 16px;
    }

    .promotion-content {
        padding: 24px;
    }

    .promotion-links {
        flex-direction: column;
    }

    .promotion-link {
        width: 100%;
        justify-content: center;
    }

    .action-bar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .action-left,
    .action-right {
        justify-content: center;
    }

    .chat-modal-content {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        margin: 10px;
    }

    .modal-content {
        padding: 32px 24px;
    }
}

/* ==================== 辅助类 ==================== */
.floating-task {
    position: absolute;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 35px 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.5s ease;
    max-width: 300px;
    word-wrap: break-word;
    line-height: 1.4;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.floating-task.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.floating-task.hide {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
}

.floating-task:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.4);
}

.floating-task-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.floating-task-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

