* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.4;
}

/* 状态栏 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 8px;
}

/* 顶部导航 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.header h1 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.header-icons {
    display: flex;
    gap: 16px;
    font-size: 20px;
}

/* 主要内容 */
.main-content {
    padding-bottom: 80px;
}

/* 园区服务横幅 */
.hero-section {
    color: white;
    position: relative;
    overflow: hidden;
}

.search-bar {
    position:relative;
    margin-top:-18%;
    padding:0 10%;
}
.search-bar-box{
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    display:flex;
}
.search-bar input {
    width: 100%;
    height:100%;
    font-size:14px;
    color:#666;
    flex:1;
    background:none;
    border:none;
    border-left:1px solid #999999;
    padding-left:10px;
    outline:none;
}
.search-bar input::placeholder {
    color: #999;
}
.search-icon {
    display:inline-block;
    margin-right:10px;
    width:15px;height:15px;
    background:url("../images/h5/qft/icon-sear.png") no-repeat center;background-size:100%;
}
/* 服务图标导航 */
.service-nav {
    position:relative;
    z-index:10;
    display: flex;
    justify-content: space-around;
    padding: 20px 10px;
    margin:10px;
    background-color: #fff;
    margin-bottom: 12px;border-radius: 8px;
}
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: 600;
}

.service-item span {
    font-size: 12px;
    color: #333;
    text-align: center;
}

/* 热门服务 */
.hot-service-section {
    margin-bottom: 10px;
    padding: 10px;
}

.hot-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.hot-service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hot-service-card.enterprise {
    grid-column: 1;
    grid-row: 1 / 3;
}

.hot-service-card.talent {
    grid-column: 2;
    grid-row: 1;
}

.hot-service-card.tech {
    grid-column: 2;
    grid-row: 2;
}

.card-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.apply-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.apply-btn.blue {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.apply-btn.orange {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.apply-btn.green {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decoration-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    opacity: 0.7;
}

.decoration-shapes {
    position: absolute;
    bottom: -10px;
    right: -10px;
}

.shape {
    position: absolute;
    border-radius: 4px;
    opacity: 0.3;
}

.shape1 {
    width: 30px;
    height: 40px;
    background: #2196F3;
    bottom: 20px;
    right: 15px;
    transform: rotate(15deg);
}

.shape2 {
    width: 25px;
    height: 35px;
    background: #1976D2;
    bottom: 10px;
    right: 35px;
    transform: rotate(-10deg);
}

.shape3 {
    width: 20px;
    height: 30px;
    background: #42A5F5;
    bottom: 30px;
    right: 50px;
    transform: rotate(25deg);
}

.decoration-bag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 20px;
    opacity: 0.6;
    transform: rotate(15deg);
}

.decoration-circles {
    position: absolute;
    bottom: -5px;
    right: -5px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.circle1 {
    width: 40px;
    height: 40px;
    background: #4CAF50;
    bottom: 10px;
    right: 10px;
}

.circle2 {
    width: 25px;
    height: 25px;
    background: #66BB6A;
    bottom: 25px;
    right: 35px;
}

/* 服务分类 */
.service-section {
    background-color: #fff;
    margin:0 10px 10px;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom:0;
}

.more-link {
    font-size: 14px;
    color: #999;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.service-card:hover {
    background-color: #f8f9fa;
}

.service-card img {
    border-radius: 6px;
    object-fit: cover;
}

.service-card span {
    font-size: 14px;
    color: #333;
    text-align: center;
}


/* 响应式设计 */
@media (max-width: 375px) {
    .service-nav {
        padding: 16px 8px;
    }
    
    .service-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .service-grid {
        gap: 12px;
    }
}

/* 滚动优化 */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-overflow-scrolling: touch;
}

/* 输入框焦点效果 */
.search-bar input:focus {
    outline: none;
    box-shadow:none;
}


/*更多*/
/* 搜索框 */
.search-container {
    padding: 12px 16px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 20px;
    padding: 8px 16px;
    gap: 8px;
}

.search-icon {
    font-size: 16px;
    color: #999;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

/* 主要内容区域 */
.main-container {
    display: flex;
    height: calc(100vh - 160px);
}

/* 左侧边栏 */
.sidebar {
    width: 90px;
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
    padding: 0;
    height:100%;
    overflow-y:auto;
}

.category-item {
    padding: 15px 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.category-item:hover {
    background-color: #f8f8f8;
}

.category-item.active {
    background-color: #fff;
    font-weight: 500;
    color:#1e57d9;
    border-left: 3px solid #1e57d9;
}
/* 右侧内容区域 */
.content-area {
    flex: 1;
    padding: 16px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height:100%;
    overflow-y: auto;
}
/* 服务卡片 - 左右布局 */
.service-next-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    cursor: pointer;
    margin-bottom: 10px;
}
/* 服务图标 - 左侧 */
.service-image {
    width:106px;
    height: 80px;
    border-radius: 8px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
/* 服务信息 - 右侧 */
.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-info h3 {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 0px;
    line-height: 1.2;
}
.service-info p {
    margin:5px 0 0;
    font-size: 12px;
    color: #999;
    line-height: 1.2;
}
/* 响应式设计 */
@media (max-width: 375px) {
    .sidebar {
        width: 100px;
    }
    
    .category-item {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .service-image {
        width: 53px;
        height: 40px;
        margin-right: 12px;
    }
    
    .content-area {
        padding: 12px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeIn 0.5s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}