* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

/* 顶部导航栏 */
.top-nav {
    background: linear-gradient(135deg, #1e5fa8 0%, #4a90e2 100%);
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 30px;
    height: 30px;
}

.logo-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.region-tag {
    background-color: white;
    color: #1e5fa8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

.login-btn {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #ff5520;
}

/* 主横幅区 */
.hero-banner {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 办税日历提示 */
.tax-calendar-notice {
    background-color: #f8f9fa;
    padding: 16px 40px;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

.notice-label {
    font-weight: 600;
    color: #333;
}

/* 主内容区 */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 80px;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
}

/* 功能卡片网格 */
.function-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.function-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.function-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #4a90e2;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    text-align: left;
    width: 100%;
}

/* 页脚 */
.footer {
    background: white;
    color: #666;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-info p {
    font-size: 13px;
    margin: 0;
    line-height: 1.8;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .function-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .function-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-title {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }

    .function-grid {
        grid-template-columns: 1fr;
    }

    .banner-title {
        font-size: 32px;
        padding-left: 5%;
    }

    .hero-banner {
        height: 280px;
    }
}
