/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    height: 64px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 16px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #1a1a1a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.github-link {
    color: #666;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s;
}

.github-link:hover {
    color: #1a1a1a;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-black {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-black:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #d0d0d0;
}

.btn-outline:hover {
    border-color: #1a1a1a;
    background: #f8f8f8;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
    background: #ffffff;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 32px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 48px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 通用section样式 */
.section {
    padding: 100px 0;
}

.section-gray {
    background: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 介绍区域 */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.intro-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.intro-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 16px;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* UI图片样式 */
.ui-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

/* 功能卡片网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #1a1a1a;
    transform: translateY(-4px);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 使用指南 */
.guide-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.guide-step:nth-child(even) .guide-content {
    order: 2;
}

.guide-number {
    width: 56px;
    height: 56px;
    background: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.guide-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.guide-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.7;
}

.guide-tips {
    list-style: none;
}

.guide-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.guide-tip i {
    color: #1a1a1a;
}

/* 下载卡片 */
.download-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
}

.download-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.download-btn {
    padding: 16px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.download-btn:hover {
    border-color: #1a1a1a;
    background: #ffffff;
}

.download-btn i {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: block;
}

.download-btn span {
    font-size: 13px;
    color: #666;
}

/* 评测区域 */
.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.review-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
}

.review-icon.pros {
    background: #dcfce7;
    color: #16a34a;
}

.review-icon.cons {
    background: #fef3c7;
    color: #d97706;
}

.review-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.review-list {
    list-style: none;
}

.review-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.review-item i {
    margin-top: 4px;
    font-size: 14px;
}

.review-item.pros i { color: #16a34a; }
.review-item.cons i { color: #d97706; }

.review-item-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.review-item-content p {
    font-size: 13px;
    color: #666;
}

/* 对比表格 */
.comparison-table {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
    overflow-x: auto;
}

.comparison-table h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

th {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

th:first-child {
    text-align: left;
}

th.trae {
    color: #1a1a1a;
}

td {
    font-size: 14px;
    color: #666;
}

td:first-child {
    text-align: left;
    color: #333;
}

.check-icon { color: #16a34a; }
.cross-icon { color: #ccc; }

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: inherit;
}

.faq-question i {
    color: #999;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.faq-contact {
    text-align: center;
    margin-top: 48px;
}

.faq-contact-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 48px;
    display: inline-block;
}

.faq-contact-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.faq-contact-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.faq-contact-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: #666;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #1a1a1a;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid #f0f0f0;
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #999;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #1a1a1a;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .intro-grid,
    .guide-step,
    .review-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .guide-step:nth-child(even) .guide-content {
        order: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* 图标显示修复 */
.fa, .fas, .far, .fab {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fab {
    font-family: 'Font Awesome 6 Brands';
}

.far {
    font-weight: 400;
}