/* 现代化设计样式 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    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-dark);
    background-color: var(--light-bg);
}

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

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2rem;
    font-weight: bold;
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--box-shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* 特性区域 */
.features {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* 关于区域 */
.about {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.about-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* 下载区域 */
.download {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.download-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.download-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.download-info {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: var(--box-shadow);
}

.download-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.download-info ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.download-info li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.download-info li:last-child {
    border-bottom: none;
}

.download-info li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.update-notes, .portable-features {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #f1f5f9;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.update-notes h4, .portable-features h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.update-notes ul, .portable-features ul {
    list-style: none;
    padding-left: 0;
}

.update-notes li, .portable-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #cbd5e1;
    display: flex;
    align-items: flex-start;
}

.update-notes li:last-child, .portable-features li:last-child {
    border-bottom: none;
}

.update-notes li::before, .portable-features li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
    margin-top: 3px;
}

.installation-tips {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.installation-tips h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.installation-tips p {
    margin: 0.8rem 0;
    color: #64748b;
    line-height: 1.6;
}

.installation-tips p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.download-seo-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: var(--box-shadow);
}

.download-seo-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.faq-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.alternative-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.alternative-downloads .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    transition: var(--transition);
}

.alternative-downloads .btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.language-item {
    background-color: #f1f5f9;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.language-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.seo-content {
    padding: 5rem 0;
    background-color: white;
}

.seo-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.seo-articles article {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.seo-articles article:hover {
    box-shadow: var(--box-shadow);
}

.seo-articles h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.seo-articles p {
    color: #64748b;
    line-height: 1.7;
}

/* 特性页面 */
.features-page {
    padding: 5rem 0;
    background-color: white;
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-section {
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: #f8fafc;
    border-left: 4px solid var(--primary-color);
}

.feature-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-section p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.feature-section ul {
    list-style: none;
    padding-left: 1rem;
}

.feature-section li {
    padding: 0.5rem 0;
    position: relative;
}

.feature-section li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* 关于页面 */
.about-page {
    padding: 5rem 0;
    background-color: white;
}

.about-content-page {
    max-width: 800px;
    margin: 0 auto;
}

.about-content-page h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.about-content-page h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-dark);
}

.about-content-page p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content-page ul {
    list-style: none;
    margin: 1.5rem 0;
}

.about-content-page li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.about-content-page li:last-child {
    border-bottom: none;
}

.about-content-page li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--dark-bg), #1e293b);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

/* 教程页面样式 */
.tutorial {
    padding: 5rem 0;
    background-color: white;
}

.tutorial-content {
    max-width: 900px;
    margin: 0 auto;
}

.tutorial-section {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.tutorial-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tutorial-section h3 i {
    color: var(--primary-color);
}

.tutorial-section p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tutorial-section ul, .tutorial-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #64748b;
}

.tutorial-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.feature-list {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.feature-list h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-list ul {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.note {
    background-color: #fff7ed;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

.note strong {
    color: #d97706;
    display: block;
    margin-bottom: 0.5rem;
}

.shortcut-table {
    margin: 2rem 0;
}

.shortcut-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.shortcut-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.shortcut-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.shortcut-table tr:last-child td {
    border-bottom: none;
}

.shortcut-table tr:hover {
    background-color: #f8fafc;
}

.shortcut-table kbd {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 600;
    color: var(--secondary-color);
}

.plugin-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.plugin-item {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.plugin-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plugin-item p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tip-item {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.tip-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-item h5 i {
    color: #f59e0b;
}

.tip-item p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq {
    margin: 1.5rem 0;
}

.faq-item {
    background-color: #f8fafc;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.faq-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h5 i {
    color: var(--primary-color);
}

.faq-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.faq-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .feature-card, .download-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

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

/* 教程页面图片样式 */
.tutorial-image {
    margin: 2rem 0;
    text-align: center;
}

.tutorial-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e2e8f0;
}

.image-caption {
    margin-top: 0.8rem;
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

/* 面包屑导航样式 */
.breadcrumb {
    padding: 1.5rem 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.breadcrumb nav li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb nav li:not(:last-child)::after {
    content: '›';
    margin: 0 0.8rem;
    color: #94a3b8;
}

.breadcrumb nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb nav a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb nav span {
    color: #64748b;
    font-weight: 500;
}