﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(120deg, #1e5799 0%, #207cca 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    header h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    header p {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto;
        opacity: 0.9;
    }

.intro {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .intro h2 {
        color: #2c3e50;
        margin-bottom: 15px;
        font-size: 1.8rem;
        border-bottom: 2px solid #eaeaea;
        padding-bottom: 10px;
    }

    .intro p {
        font-size: 1.1rem;
        color: #555;
    }

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: #f0f0f0;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .filter-btn i {
        font-size: 1.1rem;
    }

    .filter-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .filter-btn.active {
        background: linear-gradient(120deg, #1e5799 0%, #207cca 100%);
        color: white;
        box-shadow: 0 4px 10px rgba(30, 87, 153, 0.4);
    }

.js {
    background: #f0db4f;
    color: #323330;
}

.python {
    background: #3776ab;
    color: white;
}

.nocode {
    background: #00b894;
    color: white;
}

.cloud {
    background: #0984e3;
    color: white;
}

.dotnet {
    background: #512bd4;
    color: white;
}

.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.tool-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

    .tool-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

.tech-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    z-index: 10;
}

.tech-js {
    background: #f0db4f;
    color: #323330;
}

.tech-python {
    background: #3776ab;
}

.tech-nocode {
    background: #00b894;
}

.tech-cloud {
    background: #0984e3;
}

.tech-dotnet {
    background: #512bd4;
}

.tool-header {
    padding: 25px 25px 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(120deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #eaeaea;
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tool-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
}

.tool-body {
    padding: 25px;
}

.tool-description {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.tool-features h4 {
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}

    .tool-features h4 i {
        color: #f1c40f;
    }

.features-list {
    padding-left: 25px;
    margin-bottom: 25px;
}

    .features-list li {
        margin-bottom: 10px;
        color: #555;
    }

.tool-link {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(120deg, #1e5799 0%, #207cca 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .tool-link:hover {
        background: white;
        color: #207cca;
        border-color: #207cca;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(32, 124, 202, 0.3);
    }

.conclusion {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

    .conclusion h2 {
        color: #2c3e50;
        margin-bottom: 20px;
        font-size: 2rem;
        border-bottom: 2px solid #eaeaea;
        padding-bottom: 10px;
    }

    .conclusion p {
        margin-bottom: 15px;
        font-size: 1.1rem;
        color: #555;
        line-height: 1.7;
    }

.counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1e5799;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .tools-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 600px) {
    .filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 90%;
    }

    .tools-container {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2.2rem;
    }
}

/* 添加链接样式 */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

    .footer-links a {
        color: #8c9ba5; /* 柔和的蓝灰色 */
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #5c6bc0; /* 悬停时变为更亮的蓝色 */
            text-decoration: underline;
        }

/* Logo link styles - 匹配header渐变背景 */
.logo-link {
    text-decoration: none;
    color: white; /* 与header文字颜色一致 */
    transition: all 0.3s ease;
    display: inline-block;
}

    .logo-link:hover {
        opacity: 0.9;
        transform: scale(1.02);
    }

        .logo-link:hover .logo span {
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
        }

        .logo-link:hover .fas.fa-chart-line {
            filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
            transform: rotate(-5deg);
        }