/* 基础样式 */
:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #7209b7;
    --text-color: #333;
    --light-text: #666;
    --background: #fff;
    --light-bg: #f8f9fa;
    --border-color: #e6e6e6;
    --success-color: #2ecc71;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

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

.btn.secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: #f0f5ff;
}

.btn.download {
    background-color: var(--success-color);
    color: white;
}

.btn.download:hover {
    background-color: #27ae60;
}

.btn.large {
    padding: 14px 28px;
    font-size: 18px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 头部导航 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0;
}

.tagline {
    font-size: 14px;
    color: var(--light-text);
    margin-top: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #e0e6ff 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #222;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--light-text);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.placeholder-image {
    height: 300px;
    background-color: #e0e6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
}

/* 特点部分 */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Requirements Section */
.requirements {
    padding: 80px 0;
    background-color: white;
}

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

.requirements-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.requirements-card h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.requirements-card ul {
    list-style: none;
}

.requirements-card ul li {
    margin-bottom: 15px;
    padding-left: 5px;
}

.requirements-card ul li strong {
    color: var(--text-color);
    font-weight: 600;
}

.requirements-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f5ff;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.requirements-note p {
    color: var(--light-text);
    font-size: 16px;
}

/* 下载部分 */
.download-section {
    padding: 80px 0;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.download-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.download-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.download-card p {
    margin-bottom: 20px;
    color: var(--light-text);
}

/* 安装指南 */
.installation {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.installation-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid var(--border-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s ease;
}

.tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-pane {
    display: none;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.tab-pane ol, .tab-pane ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.tab-pane li {
    margin-bottom: 10px;
}

.code-block {
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 20px 0;
}

code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f1f1f1;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 14px;
}

/* 提示词指南 */
.prompting {
    padding: 80px 0;
}

.prompting-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.prompting-text {
    flex: 1;
}

.prompting-image {
    flex: 1;
}

.prompting-text h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.prompting-text ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.prompting-text li {
    margin-bottom: 10px;
}

.prompt-example {
    margin-top: 30px;
}

.prompt-example h4 {
    margin-bottom: 15px;
}

/* 使用案例 */
.use-cases {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.use-case-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.use-case-video {
    height: 200px;
    background-color: #e0e6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.use-case-info {
    padding: 20px;
}

.use-case-info h3 {
    margin-bottom: 10px;
}

.view-more {
    text-align: center;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: white;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item details {
    background-color: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Remove default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: #e9ecef;
}

.faq-item summary::after {
    content: '+'; /* Custom arrow */
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item details[open] summary {
    background-color: #e9ecef;
    border-bottom: 1px solid var(--border-color);
}

.faq-item details[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 20px;
    color: var(--light-text);
    line-height: 1.7;
}

/* CTA部分 */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn.primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn.primary:hover {
    background-color: #f0f0f0;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.link-group h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: #ccc;
}

.link-group ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .prompting-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 20px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }

    .requirements-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
} 