/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    background-color: #f5f5f5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #13d8a7;
}

ul, li {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #13d8a7;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0094b5;
    color: #fff;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #13d8a7;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav {
    display: flex;
}

.nav-item {
    margin: 0 15px;
    font-size: 16px;
    position: relative;
}

.nav-item.active {
    color: #13d8a7;
    font-weight: bold;
}

.nav-item.active:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: #13d8a7;
}

.user-actions {
    display: flex;
    align-items: center;
}

.login-btn {
    margin-right: 15px;
}

/* 主内容区 */
.main {
    margin-top: 70px;
    padding: 30px 0;
}

/* 横幅 */
.banner {
    height: 550px;
    overflow: hidden;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#13D8A7, endColorstr=#0094b5);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#13d8a7), to(#0094b5));
    background-image: linear-gradient(to bottom, #13d8a7, #0094b5);
    color: #fff;
    padding-top: 140px;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.banner-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-actions {
    margin-bottom: 40px;
}

.banner-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.8);
    color: #13d8a7;
    padding: 5px 15px;
    border-radius: 15px;
    margin: 0 5px 10px;
    font-size: 14px;
    font-weight: bold;
}

/* 内容区块 */
.section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #13d8a7;
}

.section-more {
    color: #666;
}

.section-more i {
    margin-left: 5px;
}

/* 简历制作特点 */
.features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.feature-item {
    width: 24%;
    text-align: center;
    padding: 20px 15px;
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #f2f8ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon i {
    font-size: 30px;
    color: #13d8a7;
}

.feature-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-desc {
    color: #666;
    font-size: 14px;
}

/* 简历模板推荐 */
.template-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.template-item {
    width: 25%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.template-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.template-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.template-thumb {
    height: 0;
    padding-bottom: 141.4%; /* A4纸比例 */
    position: relative;
    overflow: hidden;
}

.template-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-info {
    padding: 15px;
}

.template-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

/* 职业模板 */
.profession-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.profession-item {
    width: 16.666%;
    padding: 0 5px;
    margin-bottom: 10px;
}

.profession-link {
    display: block;
    background-color: #f5f8ff;
    text-align: center;
    padding: 15px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.profession-link:hover {
    background-color: #e0ecff;
    transform: translateY(-3px);
}

.profession-name {
    font-size: 14px;
    font-weight: 500;
}

/* 功能特点 */
.advantages {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.advantage-item {
    width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.advantage-inner {
    display: flex;
    align-items: flex-start;
}

.advantage-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #f2f8ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.advantage-icon i {
    font-size: 24px;
    color: #13d8a7;
}

.advantage-content {
    flex-grow: 1;
}

.advantage-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.advantage-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 简历攻略 */
.article-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.article-item {
    width: 50%;
    padding: 0 15px;
    margin-bottom: 20px;
}

.article-inner {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    transition: all 0.3s;
}

.article-inner:hover {
    background-color: #f0f5ff;
}

.article-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-info {
    flex-grow: 1;
}

.article-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-meta {
    color: #999;
    font-size: 12px;
}

/* 页脚 */
.footer {
    background-color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
}

.footer-company {
    width: 300px;
    margin-right: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #13d8a7;
}

.footer-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
}

.social-item {
    margin-right: 15px;
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.social-item:hover {
    background-color: #e0ecff;
}

.social-item i {
    font-size: 20px;
    color: #13d8a7;
}

.footer-links {
    flex-grow: 1;
    display: flex;
}

.footer-link-group {
    flex-grow: 1;
}

.footer-link-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list a {
    color: #666;
}

.footer-link-list a:hover {
    color: #13d8a7;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    color: #999;
}

.footer-copyright a {
    color: #999;
}

.footer-copy {
    display: flex;
}

.footer-copy-item {
    margin-left: 20px;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .container {
        width: 100%;
    }
    
    .template-item {
        width: 33.333%;
    }
    
    .profession-item {
        width: 20%;
    }
}

@media screen and (max-width: 992px) {
    .template-item {
        width: 50%;
    }
    
    .profession-item {
        width: 25%;
    }
    
    .advantage-item {
        width: 50%;
    }
    
    .article-item {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-company {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .nav-item {
        margin: 0 10px;
    }
    
    .banner {
        height: 350px;
        padding-top: 40px;
    }
    
    .feature-item {
        width: 48%;
        margin-bottom: 15px;
    }
    
    .template-item {
        width: 100%;
    }
    
    .profession-item {
        width: 33.333%;
    }
    
    .advantage-item {
        width: 100%;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .footer-link-group {
        width: 50%;
        margin-bottom: 20px;
    }
}
