/* 首页样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    margin-bottom: 25px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box .input-group {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 25px;
    overflow: hidden;
}

.search-box input {
    height: 40px;
    border: none;
    font-size: 16px;
    padding-left: 20px;
}

.search-box .btn {
    height: 40px;
    padding: 0 30px;
    border-radius: 0;
}

/* 搜索建议 */
#searchSuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: 10px;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-suggestions {
    padding: 10px 0;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f7fafc;
    text-decoration: none;
}

.suggestion-item i {
    font-size: 20px;
    color: #667eea;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.suggestion-item span {
    font-weight: 600;
    margin-right: 10px;
}

.suggestion-item small {
    color: #718096;
    font-size: 13px;
}

.stats-section {
    background: white;
    padding: 40px 0;
    margin-bottom: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    display: block;
}

.stat-item .stat-label {
    color: #666;
    font-size: 1rem;
    margin-top: 10px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #667eea, #764ba2);
}

.tool-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.tool-card .tool-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

.tool-card .tool-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.tool-card .tool-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tool-card .tool-tags {
    margin-bottom: 15px;
}

.tool-card .badge {
    margin-right: 5px;
    padding: 5px 10px;
    font-weight: normal;
}

.tool-card .btn-use {
    width: 100%;
}

.category-section {
    background: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 20px;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.category-card .category-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}

.category-card .category-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.category-card .category-count {
    color: #999;
    font-size: 0.9rem;
}

.vip-banner {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 50px;
    border-radius: 15px;
}

.vip-banner h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.vip-banner p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.vip-banner .btn {
    padding: 12px 40px;
    font-size: 1.1rem;
}

