/* --- 全局与变量定义 --- */
:root {
    --primary-color: #007bff; /* 经典蓝色 - 调整为更通用的亮蓝色 */
    --secondary-color: #17a2b8; /* 青色 - 调整为信息蓝 */
    --light-bg: #f8f9fa;     /* 非常浅的灰色背景 */
    --card-bg: #ffffff;       /* 卡片背景 - 白色 */
    --border-color: #dee2e6;  /* 边框颜色 - 浅灰色 */
    --text-color: #212529;    /* 主要文字颜色 - 深灰色 */
    --text-muted: #6c757d;   /* 辅助文字颜色 - 中灰色 */
    --success-color: #28a745; /* 成功绿色 */
    --shadow-color: rgba(0, 0, 0, 0.1); /* 阴影颜色 */
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 导航栏 --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* 白色半透明背景 */
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- 封面区域 --- */
.hero-section {
    min-height: 90vh; /* 调整高度，避免过高 */
    padding-top: 80px; /* 导航栏高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: url('https://s2.loli.net/2024/05/16/y2U3T8lE45eQJ7b.jpg') no-repeat center center/cover; */
    position: relative;
    color: var(--text-color); /* 确保文字默认是深色的 */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 调整渐变以适应亮色主题，或者移除渐变如果背景图本身适合 */
    background: linear-gradient(to top, var(--light-bg) 5%, rgba(248, 249, 250, 0.3) 50%,  rgba(248, 249, 250, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2em; /* 略微调整大小 */
    font-weight: 700;
    margin-bottom: 20px;
    /* 渐变文字在亮色背景下可能需要调整颜色以保证对比度 */
    background: linear-gradient(90deg, #b13fce, #1746b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Glow 效果在亮色背景下可能不明显或不搭，可以考虑移除或调整 */
    /* animation: glow 2s ease-in-out infinite alternate; */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* 添加轻微的文本阴影以增强可读性 */
}

/* 移除或调整 glow 动画，因为它更适合暗色主题 */
/*
@keyframes glow {
    from { text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--secondary-color); }
    to { text-shadow: 0 0 10px var(--primary-color), 0 0 15px var(--secondary-color); }
}
*/

.hero-content .subtitle {
    font-size: 1.3em; /* 略微调整大小 */
    color:  #793b88;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 按钮样式 --- */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600; /* 调整字重 */
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid transparent; /* 调整为1px边框 */
    box-shadow: 0 2px 5px var(--shadow-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0069d9; /* 略深的蓝色 */
    border-color: #0062cc;
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}
.btn-link:hover {
    text-decoration: underline;
    color: #0056b3; /* 略深的蓝色 */
    transform: none;
    box-shadow: none;
}


.btn-download {
    background-color: var(--success-color); /* 使用绿色表示下载 */
    color: #fff;
    border: 1px solid var(--success-color);
    padding: 10px 20px;
    margin-top: 10px;
    margin-right: 10px;
    border-radius: 5px; /* 调整为方形一点的按钮 */
}
.btn-download:hover {
    background-color: #218838; /* 深一点的绿色 */
    border-color: #1e7e34;
}


/* --- 内容区域通用样式 --- */
.content-section {
    padding: 80px 0; /* 调整padding */
}

.section-header {
    text-align: center;
    margin-bottom: 50px; /* 调整margin */
}

.section-header h2 {
    font-size: 2.2em; /* 调整大小 */
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1em; /* 调整大小 */
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* --- AI工作流部分 --- */
.workflow-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* 调整gap */
    align-items: center;
}

.workflow-text h3 {
    font-size: 1.6em; /* 调整大小 */
    color: var(--primary-color);
    margin-bottom: 20px;
}

.workflow-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.workflow-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.workflow-text ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.workflow-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color); /* 使用成功绿色 */
    font-weight: bold;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 600; /* 调整字重 */
}

.workflow-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px var(--shadow-color); /* 标准阴影 */
}

/* --- 核心功能网格 --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px; /* 调整圆角 */
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px var(--shadow-color);
    /* backdrop-filter: blur(5px); */ /* 在亮色主题下，如果背景是纯色，则不需要 */
}

.feature-card:hover {
    transform: translateY(-5px); /* 调整悬浮效果 */
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.15); /* 使用主色调的阴影 */
}

.feature-card h3 {
    font-size: 1.4em; /* 调整大小 */
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

/* --- 快速开始步骤 --- */
.getting-started-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* 调整gap */
    text-align: center;
}

.step {
    border: 1px solid var(--border-color);
    padding: 30px; /* 调整padding */
    border-radius: 8px;
    background: var(--card-bg);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.step-number {
    width: 50px; /* 调整大小 */
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.6em; /* 调整大小 */
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.5em; /* 调整大小 */
    margin-bottom: 15px;
    color: var(--text-color);
}

.step p {
    color: var(--text-muted);
}

/* --- 手风琴/折叠面板 --- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion details {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.accordion details[open] {
    background-color: #f0f3f5; /* 打开时一个非常浅的颜色 */
    border-left: 3px solid var(--primary-color);
}

.accordion summary {
    padding: 18px 20px; /* 调整padding */
    font-size: 1.15em; /* 调整大小 */
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-color);
    transition: background-color 0.2s ease;
}
.accordion summary:hover {
    background-color: #e9ecef;
}

.accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5em;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.accordion details[open] summary::after {
    transform: rotate(45deg);
}

.details-content {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.details-content ul, .details-content ol {
    padding-left: 20px;
}

.details-content li {
    margin-bottom: 10px;
}

.details-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.details-content a:hover {
    text-decoration: underline;
    color: #0056b3; /* 深一点的蓝色 */
}

/* --- 页脚 --- */
.footer {
    background-color: #e9ecef; /* 页脚使用浅灰色背景 */
    text-align: center;
    padding: 50px 0; /* 调整padding */
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer h2 {
    font-size: 1.8em; /* 调整大小 */
    margin-bottom: 15px;
    color: var(--text-color);
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 25px; /* 调整margin */
}

.contact-info {
    margin-bottom: 20px;
    font-size: 1.05em; /* 调整大小 */
}

.contact-info span {
    margin: 0 10px; /* 调整margin */
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.contact-info a:hover {
    text-decoration: underline;
}

.version-info {
    margin-bottom: 25px; /* 调整margin */
}

.version-info a {
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.version-info a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.copyright {
    font-size: 0.9em;
    color: #868e96; /* 更浅的灰色 */
}

/* --- 响应式设计 --- */
@media (max-width: 992px) { /* 调整断点 */
    .workflow-showcase {
        grid-template-columns: 1fr;
    }
    .workflow-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        /* 实际项目中这里应该实现汉堡菜单的显示/隐藏逻辑 */
        display: none; 
    }

    .hero-content h1 {
        font-size: 2.6em;
    }

    .hero-content .subtitle {
        font-size: 1.1em;
    }

    .section-header h2 {
        font-size: 1.9em;
    }
    .features-grid, .getting-started-steps {
        grid-template-columns: 1fr; /* 单列显示 */
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content .subtitle {
        font-size: 1em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .footer {
        padding: 30px 0;
    }
    .contact-info span {
        display: block;
        margin: 5px 0;
    }
}