/* 基础样式 */
:root {
    --primary-color: #00E673;     /* 绿色强调色 */
    --secondary-color: #AAAAAA;   /* 次要文字颜色 */
    --accent-color: #00B75A;      /* 深绿色次要强调色 */
    --text-color: #FFFFFF;        /* 主要文字颜色 */
    --light-text: #FFFFFF;        /* 亮文字颜色 */
    --bg-color: #0E0E10;          /* 主背景色 */
    --dark-bg: #0A0A0A;           /* 更暗的背景色 */
    --light-bg: #1E1E1E;          /* 较浅的背景色，用于卡片 */
    --border-radius: 8px;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-text);
    font-weight: 700;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: black;
}

.btn-primary:hover {
    background-color: #00cc66;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: #1E1E1E;
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: #2D2D30;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: black;
}

.btn-disabled {
    background-color: #333333;
    color: #777777;
    cursor: not-allowed;
}

/* 导航栏 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.version-number {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
}

.version-tag {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.version-tag:hover {
    transform: none;
    box-shadow: none;
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, #1E1E1E, var(--dark-bg));
    color: var(--light-text);
    padding: 2rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.svg');
    opacity: 0.03;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* 功能部分 */
.features {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: var(--light-text);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover::before,
.feature-card.active::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.feature-card.active {
    border: 1px solid var(--primary-color);
    background-color: rgba(0, 230, 115, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--light-text);
}

/* 工作流程 */
.workflow {
    padding: 6rem 0;
    background-color: var(--bg-color);
    color: var(--light-text);
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.step-number {
    background-color: var(--primary-color);
    color: black;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 130px;
    left: 30px;
    width: 2px;
    height: calc(100% + 3rem);
    background-color: #333333;
    z-index: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.step-image {
    flex: 1;
}

.step-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.step-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow);
}

/* 展示区域 */
.showcase {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.showcase-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    background-color: var(--light-bg);
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.showcase-item img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
    transform: translateY(30%);
    transition: var(--transition);
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* 下载区域 */
.download {
    padding: 6rem 0;
    background-color: var(--bg-color);
    color: var(--light-text);
}

.download-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
    transition: var(--transition);
    color: var(--light-text);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.download-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.download-card p {
    margin-bottom: 1.5rem;
}

.download-card.soon {
    opacity: 0.7;
}

.system-req {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    color: var(--light-text);
}

.system-req h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.system-req ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.system-req li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.system-req li i {
    color: var(--primary-color);
}

/* 视频类型选择样式 */
.video-type-selector {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.video-type-button {
    padding: 8px 16px;
    border-radius: 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
}

.video-type-button:hover,
.video-type-button.active {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 解说模式选择样式 */
.narration-mode-selector {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
    background-color: var(--dark-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.narration-mode-selector h3 {
    color: var(--light-text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.narration-mode-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
}

.narration-mode-button:hover,
.narration-mode-button.active {
    background-color: var(--primary-color);
}

.narration-mode-button .mode-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--light-text);
}

.narration-mode-button.active .mode-indicator {
    background-color: var(--accent-color);
}

/* 页脚 */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 8px;
    color: var(--primary-color);
}

.wechat-qrcode {
    margin-top: 15px;
    text-align: center;
    max-width: 150px;
}

.wechat-qrcode img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.wechat-qrcode p {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 导航栏滚动效果 */
nav.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-bg);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 960px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .workflow-step {
        flex-direction: column;
    }
    
    .workflow-step:not(:last-child)::after {
        display: none;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .video-type-selector {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .narration-mode-selector {
        padding: 0.8rem;
    }
    
    .narration-mode-button {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .video-type-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
} 