/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Modern Tech Style */
:root {
    --primary-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --card-hover-transform: translateY(-5px);
    --card-hover-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

body {
    background: var(--primary-gradient);
    color: #fff;
    min-height: 100vh;
}

/* Modern Header */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(79, 172, 254, 0.3);
}

nav a:hover {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
}

nav a.active {
    background: rgba(79, 172, 254, 0.3);
    color: #4facfe;
}

/* 标题样式 */
h1 {
    font-size: 2.5rem;
    margin: 2rem 0;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 15px rgba(79, 172, 254, 0.5);
}

.description {
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
}

/* 卡片样式 */
.tool-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: #fff;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(79, 172, 254, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.tool-card:hover .tool-content {
    transform: translateY(0);
    opacity: 1;
}

.tool-content {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tool-content h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: #fff;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
}

.tool-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tech-tags span {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

/* 面包屑导航 */
.breadcrumb {
    margin: 6rem 0 2rem;
    padding: 0 2rem;
    color: #fff;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: #4facfe;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.5rem;
}

/* Modern Tool Cards */
.tool-category {
    margin-bottom: 3rem;
}

.tool-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tool-category h3 i {
    color: #4facfe;
    font-size: 1.5rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tool-card-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tool-icon i {
    font-size: 1.5rem;
    color: #4facfe;
}

.tool-card h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.tool-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    transition: width 0.3s ease;
}

.tool-card:hover h3::after {
    width: 100%;
}

.tool-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tag {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(79, 172, 254, 0.2);
    transform: translateY(-2px);
}

.demo-card {
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: #4facfe;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.demo-card:hover {
    background: rgba(79, 172, 254, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.2);
}

.demo-card i {
    font-size: 1.2rem;
}

.external-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tool-card:hover .external-link {
    color: #4facfe;
    transform: scale(1.1);
}

.demo-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.demo-card:hover .demo-preview {
    opacity: 1;
}

.demo-preview img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card-container {
        grid-template-columns: 1fr;
    }

    .demo-card {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 1rem;
    }

    .demo-card a {
        flex-direction: row;
    }

    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tool-card {
        padding: 1.2rem;
    }

    .demo-card {
        padding: 0.8rem;
    }

    .demo-card i {
        font-size: 1.5rem;
    }

    .demo-card span {
        font-size: 0.8rem;
    }

    .tool-icon {
        font-size: 2rem;
    }

    .tool-card h3 {
        font-size: 1.3rem;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.tool-card {
    animation: float 6s ease-in-out infinite;
}

.tool-card:nth-child(2n) {
    animation-delay: 1s;
}

.tool-card:nth-child(3n) {
    animation-delay: 2s;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    color: #fff;
    margin-top: 4rem;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header h1 i {
    margin-right: 0.5rem;
}

.header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
    padding: 8rem 1rem 4rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Categories Section */
.categories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2937;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.category-link {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: #3498db;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-link {
    transform: translateX(5px);
}

/* Tools Section */
.tools-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tools-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.tool-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.tool-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tool-icon i {
    font-size: 1.5rem;
    color: white;
}

.tool-card h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.external-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #999;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tool-card:hover .external-link {
    opacity: 1;
}

/* Essential Tools Section */
.essential-tools {
    background-color: #ffffff;
}

.tool-category {
    margin-bottom: 2.5rem;
}

.tool-category h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-category h3 i {
    color: #3498db;
    font-size: 1.2rem;
}

.tool-category:last-child {
    margin-bottom: 0;
}

.tool-category .tools-grid {
    margin-bottom: 2rem;
}

/* Update existing tool-card styles for essential tools */
.essential-tools .tool-card {
    height: 100%;
    justify-content: flex-start;
}

.essential-tools .tool-icon {
    margin-top: 0.5rem;
}

/* Competitor Tools Section */
.competitor-tools {
    background-color: #f8fafc;
}

.competitor-tools .tool-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e5e7eb;
}

.competitor-tools .tool-icon {
    background: #e0e7ff;
}

.competitor-tools .tool-icon i {
    color: #4f46e5;
}

.competitor-tools .tool-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.1);
}

.competitor-tools .tool-card:hover .tool-icon {
    background: #4f46e5;
}

.competitor-tools .tool-card:hover .tool-icon i {
    color: white;
}

/* Template Tools Section */
.template-tools {
    background-color: #ffffff;
}

.template-tools .tool-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e5e7eb;
    padding-bottom: 3rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: #f0f7ff;
    color: #3498db;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.template-tools .tool-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.1);
}

.template-tools .tool-card:hover .tech-tags span {
    background-color: #4f46e5;
    color: white;
}

.template-tools .tool-icon {
    background: #e0e7ff;
    margin-bottom: 1rem;
}

.template-tools .tool-icon i {
    color: #4f46e5;
}

.template-tools .tool-card:hover .tool-icon {
    background: #4f46e5;
}

.template-tools .tool-card:hover .tool-icon i {
    color: white;
}

/* Navigation Templates Section */
.nav-templates {
    background-color: #f8fafc;
}

.nav-templates .tool-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e5e7eb;
    padding-bottom: 3rem;
}

.nav-templates .tool-icon {
    background: #e0e7ff;
    margin-bottom: 1rem;
}

.nav-templates .tool-icon i {
    color: #4f46e5;
}

.nav-templates .tool-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.1);
}

.nav-templates .tool-card:hover .tool-icon {
    background: #4f46e5;
}

.nav-templates .tool-card:hover .tool-icon i {
    color: white;
}

.nav-templates .tech-tags span {
    background-color: #e0e7ff;
    color: #4f46e5;
}

.nav-templates .tool-card:hover .tech-tags span {
    background-color: #4f46e5;
    color: white;
}

/* Information Resources Section */
.info-resources {
    background-color: #ffffff;
}

.info-resources .tool-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e5e7eb;
    padding-bottom: 3rem;
}

.info-resources .tool-icon {
    background: #e0e7ff;
    margin-bottom: 1rem;
}

.info-resources .tool-icon i {
    color: #4f46e5;
}

.info-resources .tool-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.1);
}

.info-resources .tool-card:hover .tool-icon {
    background: #4f46e5;
}

.info-resources .tool-card:hover .tool-icon i {
    color: white;
}

.info-resources .tech-tags span {
    background-color: #e0e7ff;
    color: #4f46e5;
}

.info-resources .tool-card:hover .tech-tags span {
    background-color: #4f46e5;
    color: white;
}

/* Money-Making Articles Section */
.money-articles {
    background-color: #f8f9fa;
}

.money-articles .tool-category {
    margin-bottom: 2rem;
}

.money-articles .tool-category h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.money-articles .tool-category h3 i {
    margin-right: 0.5rem;
    color: #6c757d;
}

.money-articles .tool-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.money-articles .tool-card:hover {
    border-color: #6c757d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.money-articles .tool-icon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.money-articles .tool-card h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.money-articles .article-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.money-articles .tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.money-articles .tech-tags span {
    background-color: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.money-articles .external-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.money-articles .tool-card:hover .external-link {
    opacity: 1;
}

/* Article Meta Information */
.article-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments for article meta */
@media (max-width: 768px) {
    .article-meta {
        gap: 0.4rem;
    }

    .article-date {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .article-meta {
        gap: 0.3rem;
    }

    .article-date {
        font-size: 0.8rem;
    }
}

/* Responsive adjustments for money-making articles */
@media (max-width: 768px) {
    .money-articles .tool-category h3 {
        font-size: 1.3rem;
    }

    .money-articles .tool-card {
        padding: 1.25rem;
    }

    .money-articles .tool-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .money-articles .tool-card h3 {
        font-size: 1.1rem;
    }

    .money-articles .article-date {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .money-articles .tool-category h3 {
        font-size: 1.2rem;
    }

    .money-articles .tool-card {
        padding: 1rem;
    }

    .money-articles .tool-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .money-articles .tool-card h3 {
        font-size: 1rem;
    }

    .money-articles .article-date {
        font-size: 0.8rem;
    }

    .money-articles .tech-tags span {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-card {
        padding: 1.25rem;
    }

    .tech-tags {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 0.5rem;
    }

    .template-tools .tool-card {
        padding-bottom: 1.5rem;
    }

    .nav-templates .tool-card {
        padding-bottom: 1.5rem;
    }

    .info-resources .tool-card {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .tool-icon {
        width: 40px;
        height: 40px;
    }

    .tool-icon i {
        font-size: 1.25rem;
    }

    .tool-card h3 {
        font-size: 1.1rem;
    }

    .tech-tags span {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Responsive adjustments for tool categories */
@media (max-width: 768px) {
    .tool-category {
        margin-bottom: 2rem;
    }

    .tool-category h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .tool-category {
        margin-bottom: 1.5rem;
    }

    .tool-category h3 {
        font-size: 1.1rem;
    }
}

/* Tech Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: #f0f7ff;
    color: #3498db;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive adjustments for tech tags */
@media (max-width: 768px) {
    .tech-tags {
        gap: 0.4rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .tech-tags {
        gap: 0.3rem;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
}

.demo-link {
    margin-top: 1rem;
    text-align: center;
}

.demo-link a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.demo-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .demo-link {
        margin-top: 0.8rem;
    }
    
    .demo-link a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .demo-link {
        margin-top: 0.6rem;
    }
    
    .demo-link a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Load Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.tools-grid {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* 粒子背景 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* 点击波纹效果 */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* 鼠标跟随效果 */
.cursor-follower {
    width: 20px;
    height: 20px;
    background: rgba(79, 172, 254, 0.3);
    border: 2px solid #4facfe;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower.active {
    transform: scale(0.8);
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 主题切换按钮 */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(79, 172, 254, 0.2);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: scale(1.1);
}

.theme-toggle i {
    color: #4facfe;
    font-size: 1.5rem;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(79, 172, 254, 0.3);
    border-top-color: #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 视差滚动效果 */
.parallax {
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

/* 亮色主题 */
body.light-theme {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

body.light-theme .tool-card {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

body.light-theme .tool-content h3 {
    color: #333;
}

body.light-theme .tool-content p {
    color: #666;
}

body.light-theme .tech-tags span {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
}

body.light-theme header {
    background: rgba(255, 255, 255, 0.9);
}

body.light-theme nav a {
    color: #333;
}

body.light-theme .breadcrumb {
    color: #333;
}

body.light-theme .breadcrumb a {
    color: #4facfe;
}

body.light-theme footer {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
} 