/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #6366f1;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #6366f1;
    color: white;
}

.btn-primary:hover {
    background: #5855eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-secondary:hover {
    background: #6366f1;
    color: white;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    margin-bottom: 60px;
}

.search-box {
    background: white;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-box i {
    color: #64748b;
    margin-left: 20px;
    margin-right: 15px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 15px 0;
    color: #333;
}

.search-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #5855eb;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* 分类区域 */
.categories {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1e293b;
}

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

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 32px;
    color: white;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.category-card p {
    color: #64748b;
    margin-bottom: 15px;
}

.tool-count {
    background: #f1f5f9;
    color: #6366f1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 热门工具 */
.featured-tools {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.filter-tab {
    padding: 10px 20px;
    border: none;
    background: white;
    color: #64748b;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-tab.active,
.filter-tab:hover {
    background: #6366f1;
    color: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

.tool-rating {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.tool-rating .stars {
    color: #fbbf24;
}

.tool-rating .rating-text {
    color: #64748b;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tool-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-right: 15px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.tool-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1e293b;
}

.tool-category {
    color: #6366f1;
    font-size: 0.9rem;
    font-weight: 500;
}

.tool-description {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-tags {
    display: flex;
    gap: 8px;
}

.tool-tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.tool-price {
    font-weight: 600;
    color: #059669;
}

.tool-price.paid {
    color: #dc2626;
}

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

/* 特色功能 */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

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

/* 页脚 */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 10px;
    color: #6366f1;
}

.footer-section p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .search-box {
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
    }
    
    .search-box input {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}

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

.category-card,
.tool-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8fafc;
    padding: 15px 0;
    margin-top: 70px;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #5855eb;
}

.breadcrumb-nav .separator {
    color: #94a3b8;
}

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

/* 分类页面样式 */
.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.category-icon-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
}

.category-details h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.category-details p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.category-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.stat-item i {
    opacity: 0.8;
}

/* 筛选区域 */
.filters-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.filter-group label {
    font-weight: 500;
    color: #374151;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
}

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

.sort-select {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #374151;
    cursor: pointer;
    font-size: 14px;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn.active,
.view-btn:hover {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
}

/* 工具列表区域 */
.tools-section {
    padding: 40px 0 80px;
    background: #f8fafc;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: #94a3b8;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 15px;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 30px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.page-btn {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn:hover:not(:disabled) {
    border-color: #6366f1;
    color: #6366f1;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.page-number.active,
.page-number:hover {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
}

/* 相关分类 */
.related-categories {
    padding: 80px 0;
    background: white;
}

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

.related-category-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

.related-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 工具详情页样式 */
.tool-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.tool-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.tool-main-info {
    display: flex;
    gap: 30px;
    flex: 1;
}

.tool-logo-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
}

.tool-basic-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tool-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.tool-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-badge,
.price-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.category-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.price-badge {
    background: #10b981;
    color: white;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #fbbf24;
}

.rating-text {
    font-size: 14px;
    opacity: 0.9;
}

.tool-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.tool-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    min-width: 180px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 详情内容布局 */
.tool-detail-content {
    padding: 60px 0;
    background: #f8fafc;
}

.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.main-content {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.content-section {
    padding: 40px;
    border-bottom: 1px solid #f1f5f9;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
}

.tool-description {
    color: #64748b;
    line-height: 1.8;
    font-size: 16px;
}

.features-list {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

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

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

.use-case {
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: #6366f1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 15px;
}

.use-case h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.use-case p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.screenshot-placeholder {
    aspect-ratio: 16/10;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 2px dashed #d1d5db;
}

.screenshot-placeholder i {
    font-size: 32px;
    margin-bottom: 10px;
}

.reviews {
    display: grid;
    gap: 25px;
}

.review-item {
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.reviewer-name {
    font-weight: 600;
    color: #1e293b;
}

.review-rating {
    color: #fbbf24;
}

.review-content {
    color: #64748b;
    line-height: 1.6;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sidebar-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.pricing-info {
    display: grid;
    gap: 15px;
}

.pricing-plan {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s;
}

.pricing-plan.featured {
    border-color: #6366f1;
    background: #f8fafc;
}

.plan-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 10px;
}

.plan-features {
    list-style: none;
    font-size: 14px;
    color: #64748b;
}

.plan-features li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}

.tool-info-list {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item .label {
    font-weight: 500;
    color: #64748b;
}

.info-item .value {
    font-weight: 600;
    color: #1e293b;
}

.related-tools {
    display: grid;
    gap: 15px;
}

.related-tool {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.related-tool:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.related-tool-logo {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.related-tool-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.related-tool-info p {
    font-size: 12px;
    color: #64748b;
}

.share-buttons {
    display: grid;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    text-decoration: none;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.copy {
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 列表视图样式 */
.tools-grid.list-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tools-grid.list-view .tool-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px;
}

.tools-grid.list-view .tool-header {
    margin-bottom: 0;
}

.tools-grid.list-view .tool-description {
    flex: 1;
    margin-bottom: 0;
}

.tools-grid.list-view .tool-footer {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tool-header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tool-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .category-info {
        flex-direction: column;
        text-align: center;
    }
    
    .category-details h1 {
        font-size: 2.5rem;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group,
    .sort-group {
        justify-content: center;
    }
    
    .tool-main-info {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-basic-info h1 {
        font-size: 2.5rem;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .tools-grid.list-view .tool-card {
        flex-direction: column;
        text-align: center;
    }
    
    .tools-grid.list-view .tool-footer {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .category-details h1 {
        font-size: 2rem;
    }
    
    .tool-basic-info h1 {
        font-size: 2rem;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-numbers {
        justify-content: center;
    }
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8fafc;
    padding: 15px 0;
    margin-top: 70px;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #5855eb;
}

.breadcrumb-nav .separator {
    color: #94a3b8;
}

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

/* 分类页面样式 */
.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.category-icon-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
}

.category-details h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.category-details p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.category-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.stat-item i {
    opacity: 0.8;
}

/* 筛选区域 */
.filters-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.filter-group label {
    font-weight: 500;
    color: #374151;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
}

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

.sort-select {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #374151;
    cursor: pointer;
    font-size: 14px;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn.active,
.view-btn:hover {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
}

/* 工具列表区域 */
.tools-section {
    padding: 40px 0 80px;
    background: #f8fafc;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: #94a3b8;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 15px;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 30px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.page-btn {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn:hover:not(:disabled) {
    border-color: #6366f1;
    color: #6366f1;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.page-number.active,
.page-number:hover {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
}

/* 相关分类 */
.related-categories {
    padding: 80px 0;
    background: white;
}

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

.related-category-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

.related-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 工具详情页样式 */
.tool-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.tool-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.tool-main-info {
    display: flex;
    gap: 30px;
    flex: 1;
}

.tool-logo-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
}

.tool-basic-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tool-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.tool-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-badge,
.price-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.category-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.price-badge {
    background: #10b981;
    color: white;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #fbbf24;
}

.rating-text {
    font-size: 14px;
    opacity: 0.9;
}

.tool-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.tool-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    min-width: 180px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 详情内容布局 */
.tool-detail-content {
    padding: 60px 0;
    background: #f8fafc;
}

.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.main-content {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.content-section {
    padding: 40px;
    border-bottom: 1px solid #f1f5f9;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
}

.tool-description {
    color: #64748b;
    line-height: 1.8;
    font-size: 16px;
}

.features-list {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

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

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

.use-case {
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: #6366f1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 15px;
}

.use-case h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.use-case p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.screenshot-placeholder {
    aspect-ratio: 16/10;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 2px dashed #d1d5db;
}

.screenshot-placeholder i {
    font-size: 32px;
    margin-bottom: 10px;
}

.reviews {
    display: grid;
    gap: 25px;
}

.review-item {
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.reviewer-name {
    font-weight: 600;
    color: #1e293b;
}

.review-rating {
    color: #fbbf24;
}

.review-content {
    color: #64748b;
    line-height: 1.6;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sidebar-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.pricing-info {
    display: grid;
    gap: 15px;
}

.pricing-plan {
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s;
}

.pricing-plan.featured {
    border-color: #6366f1;
    background: #f8fafc;
}

.plan-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 10px;
}

.plan-features {
    list-style: none;
    font-size: 14px;
    color: #64748b;
}

.plan-features li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}

.tool-info-list {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item .label {
    font-weight: 500;
    color: #64748b;
}

.info-item .value {
    font-weight: 600;
    color: #1e293b;
}

.related-tools {
    display: grid;
    gap: 15px;
}

.related-tool {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.related-tool:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.related-tool-logo {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.related-tool-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.related-tool-info p {
    font-size: 12px;
    color: #64748b;
}

.share-buttons {
    display: grid;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    text-decoration: none;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.copy {
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 列表视图样式 */
.tools-grid.list-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tools-grid.list-view .tool-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px;
}

.tools-grid.list-view .tool-header {
    margin-bottom: 0;
}

.tools-grid.list-view .tool-description {
    flex: 1;
    margin-bottom: 0;
}

.tools-grid.list-view .tool-footer {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tool-header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tool-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .category-info {
        flex-direction: column;
        text-align: center;
    }
    
    .category-details h1 {
        font-size: 2.5rem;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group,
    .sort-group {
        justify-content: center;
    }
    
    .tool-main-info {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-basic-info h1 {
        font-size: 2.5rem;
    }
    
    .tool-actions {
        flex-direction: column;
    }
    
    .tools-grid.list-view .tool-card {
        flex-direction: column;
        text-align: center;
    }
    
    .tools-grid.list-view .tool-footer {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .category-details h1 {
        font-size: 2rem;
    }
    
    .tool-basic-info h1 {
        font-size: 2rem;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-numbers {
        justify-content: center;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5855eb;
}