

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf5 100%);
    min-height: 100vh;
    color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}
.logo {
    font-size: 42px;
    font-weight: bold;
    color: #2d8cf0;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.tagline {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.search-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}
.search-form {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}
.search-input {
    flex: 1;
    height: 56px;
    padding: 0 20px;
    border: 2px solid #e5e6eb;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}
.search-input:focus {
    border-color: #2d8cf0;
    box-shadow: 0 0 0 4px rgba(45,140,240,0.1);
}
.search-btn {
    height: 56px;
    padding: 0 35px;
    background: #2d8cf0;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.search-btn:hover {
    background: #1b74d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45,140,240,0.3);
}
.features {
    margin-bottom: 50px;
}
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}
.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #2d8cf0;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #2d8cf0;
}
.feature-text {
    font-size: 18px;
    font-weight: 500;
    color: #444;
}
.tool-desc {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}
.tool-desc h3 {
    font-size: 24px;
    color: #2d8cf0;
    margin-bottom: 20px;
}
.tool-desc p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}
.tool-list {
    margin-top: 20px;
    padding-left: 20px;
}
.tool-list li {
    font-size: 16px;
    line-height: 2;
    color: #555;
}
.hot-tools {
    margin-bottom: 50px;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.tool-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.tool-card:hover {
    transform: translateY(-5px);
}
.tool-card h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tool-card p {
    color: #666;
    line-height: 1.6;
}

/* 便民工具模块样式*/
.convenient-tools {
    margin-bottom: 50px;
    border: 2px solid #2d8cf0;
    border-radius: 8px;
    overflow: hidden;
}
.tools-header {
    background-color: #2d8cf0;
    color: #fff;
    padding: 15px 20px;
    font-size: 28px;
    font-weight: bold;
}
.tools-content {
    background-color: #f8f9fa;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.convenient-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
}
.convenient-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.convenient-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.convenient-name {
    font-size: 20px;
    color: #333;
    font-weight: 500;
}
.convenient-item {
    text-decoration: none !important;
}
.convenient-item:hover {
    text-decoration: none !important;
}
/* 工具图标颜色扩展 */
.icon-blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.icon-orange { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.icon-red { background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%); }
.icon-green { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.icon-purple { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.icon-pink { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.icon-teal { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.icon-indigo { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.footer {
    background: #2c3e50;
    color: #fff;
    padding: 30px 0;
    margin-top: 60px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.footer-info p {
    font-size: 15px;
    opacity: 0.9;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2d8cf0;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 999;
}
.back-to-top:hover {
    background: #1b74d0;
    transform: scale(1.1);
}

/* 响应式适配 */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tools-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .logo {
        font-size: 32px;
    }
    .search-form {
        flex-direction: column;
    }
    .search-box {
        padding: 30px 20px;
    }
    .section-title {
        font-size: 24px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .tools-content {
        grid-template-columns: 1fr;
    }
}
