/* 基础全局样式 */
body {
    margin: 0;
    background-color: #f9fafb;
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
}

/* 头部/尾部占位 */
#header-placeholder, #footer-placeholder {
    background: #f5f5f5;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-placeholder {
    height: 80px;
}

#footer-placeholder {
    height: 40px;
}

/* 视频播放器样式 */
.video-player {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.video-player video {
    width: 100%;
    height: auto;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    padding: 8px 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.video-player:hover .video-controls {
    transform: translateY(0);
}

.video-controls button {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin: 0 5px;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    margin: 0 10px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: #0080ff;
    border-radius: 2px;
}

.time-display {
    color: white;
    font-size: 12px;
    font-family: monospace;
    white-space: nowrap;
}

/* 主要内容 */
main {
    flex: 1;
    padding: 80px 40px 0px;
    background-color: #f9fafb;
}

.hero {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 24px;
    background: linear-gradient(135deg, #0080ff, #0080ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--medium-text);
    margin-bottom: 40px;
    font-weight: 500;
}

.film-strip {
    display: inline-block;
    height: 40px;
    width: 200px;
    background: linear-gradient(90deg, 
        #0080ff 0%, #0080ff 10%, transparent 10%, transparent 20%, 
        #0080ff 20%, #0080ff 30%, transparent 30%, transparent 40%,
        #0080ff 40%, #0080ff 50%, transparent 50%, transparent 60%,
        #0080ff 60%, #0080ff 70%, transparent 70%, transparent 80%,
        #0080ff 80%, #0080ff 90%, transparent 90%, transparent 100%);
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(74, 108, 247, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
    font-size: 28px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.feature-desc {
    color: var(--medium-text);
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.6;
}

.feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.coming-soon {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(74, 108, 247, 0.05) 10px,
        rgba(74, 108, 247, 0.05) 20px
    );
}

.coming-soon .feature-title {
    color: var(--light-text);
}

/* 智能生产力区域 */
.ai-productivity {
    max-width: 1300px;
    margin: 40px auto 100px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    padding: 50px;
}

.ai-header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-text);
    background: linear-gradient(135deg, #0080ff, #0080ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ai-subtitle {
    font-size: 20px;
    color: var(--medium-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.ai-container {
    display: flex;
    gap: 40px;
}

.tabs-container {
    flex: 0 0 300px;
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
}

.tab {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 15px;
}

.tab:hover, .tab.active {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.tab.active {
    box-shadow: 0 4px 8px rgba(74, 108, 247, 0.1);
}

.tab-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-content {
    flex: 1;
    padding: 0;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 视频区域布局 */
.video-section {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.video-container {
    border-radius: 12px;
    overflow: hidden;
    width: 32%;
    height: 100%;
}

.video-placeholder {
    width: 100%;
    height: 340px;
    background: #e0f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.video-placeholder:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent var(--primary-blue);
    margin-left: 5px;
}

.video-info {
    flex: 1;
    padding-top: 10px;
}

.video-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.video-desc {
    font-size: 17px;
    color: var(--medium-text);
    line-height: 1.7;
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .footer-content {
        justify-content: flex-start;
    }
    
    .qrcode-column {
        flex: 1 0 100%;
        text-align: center;
        align-items: center;
        margin-top: 30px;
    }
    
    .qrcode-container {
        align-items: center;
        margin-left: 0;
    }
    
    .qrcode-title {
        text-align: center;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ai-container {
        flex-direction: column;
    }
    
    .tabs-container {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 15px;
        flex: none;
    }
    
    .tab {
        flex: 0 0 auto;
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .video-section {
        flex-direction: column;
    }
    
    .video-container {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-productivity {
        padding: 30px 20px;
    }
    
    .video-placeholder {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-card {
        min-height: auto;
        padding: 20px 15px;
    }
    
    .ai-header {
        margin-bottom: 40px;
    }
    
    .ai-title {
        font-size: 28px;
    }
    
    .ai-subtitle {
        font-size: 16px;
    }
    
    .video-title {
        font-size: 22px;
    }
    
    .video-desc {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .video-placeholder {
        height: 200px;
    }
    
    .video-title {
        font-size: 20px;
    }
    
    .video-desc {
        font-size: 14px;
    }
}

/* 公众号二维码区域样式（原代码保留） */
.qrcode-column {
    flex: 0 0 200px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.qrcode-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
}

.qrcode-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--dark-text);
    text-align: right;
    width: 100%;
}

.qrcode-image {
    width: 120px;
    height: 120px;
    background-color: #fff;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 8px;
    background-image: 
        linear-gradient(#000 1px, transparent 1px),
        linear-gradient(to right, #000 1px, transparent 1px);
    background-size: 12px 12px;
}

.qrcode-text {
    font-size: 13px;
    color: var(--medium-text);
    text-align: center;
    width: 100%;
}