/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #ecf0f1;
    --accent-color: #e74c3c;
    --light-color: #2c3e50;
    --dark-color: #ecf0f1;
    --gray-color: #95a5a6;
    --white-color: #34495e;
    --black-color: #121212;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--black-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(18, 18, 18, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    color: var(--white-color);
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--gray-color);
    border-radius: 8px;
}

/* 服务样式 */
.services {
    padding: 100px 0;
    background-color: var(--black-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* 项目案例样式 */
.projects {
    padding: 100px 0;
    background-color: var(--light-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-item {
    background-color: var(--black-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: var(--gray-color);
}

.project-item h3 {
    padding: 20px 20px 10px;
    color: var(--secondary-color);
}

.project-item p {
    padding: 0 20px 20px;
}

/* 团队样式 */
.team {
    padding: 100px 0;
    background-color: var(--black-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 250px;
    background-color: var(--gray-color);
}

.team-member h3 {
    padding: 15px 0 5px;
    color: var(--secondary-color);
}

.team-member p {
    padding: 0 0 15px;
    color: var(--gray-color);
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: var(--white-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-color);
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* 页脚样式 */
.footer {
    background-color: var(--black-color);
    color: var(--dark-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 10px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white-color);
        width: 80%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .footer-content {
        flex-direction: column;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

/* 企业公告模块样式 */
.news {
    padding: 100px 0;
    background-color: var(--light-color);
}

.news-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

@media (min-width: 992px) {
    .news-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-item {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-date {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.news-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.news-content {
    margin-bottom: 20px;
}

.news-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #2980b9;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-item {
        padding: 20px;
    }

    .news-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .news-title {
        font-size: 1.2rem;
    }
}

/* 移除了多余的样式属性 */

/* 已移除轮播相关样式 */

/* APP下载模块样式 */
.app-download {
    padding: 100px 0;
    background-color: var(--white-color);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.app-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.app-item:hover {
    transform: translateY(-5px);
}

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* 安卓图标样式 */
.app-icon.android {
    background-color: #3DDC84;
}

.app-icon.android::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 80px;
    top: 10px;
    left: 25px;
    border: 10px solid white;
    border-radius: 10px;
}

.app-icon.android::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 15px;
    left: 35px;
    background-color: white;
    border-radius: 50%;
}

/* iOS图标样式 */
.app-icon.ios {
    background-color: #007AFF;
}

.app-icon.ios::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20px;
    left: 20px;
    background-color: white;
    border-radius: 16px;
}

.app-icon.ios::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: 35px;
    left: 35px;
    background-color: #007AFF;
    border-radius: 50%;
}

/* 微信小程序图标样式 */
.app-icon.wechat {
    background-color: #07C160;
}

.app-icon.wechat::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20px;
    left: 20px;
    background-color: white;
    border-radius: 50%;
}

.app-icon.wechat::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: 35px;
    left: 35px;
    background-color: #07C160;
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px white;
}

.app-item h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* H5图标样式 */
.app-icon.h5 {
    background-color: #FF9500;
}

.app-icon.h5::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 40px;
    top: 30px;
    left: 20px;
    background-color: white;
    border-radius: 8px;
}

.app-icon.h5::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 35px;
    left: 30px;
    background-color: #FF9500;
    border-radius: 50%;
}



/* 响应式调整 */
@media (max-width: 768px) {
    .app-item {
        padding: 20px;
    }

    .app-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

.news-date {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.news-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.news-content {
    margin-bottom: 20px;
}

.news-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #2980b9;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-color);
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-btn.active {
    background-color: var(--primary-color);
}

/* 招聘模块样式 */
.careers {
    padding: 100px 0;
    background-color: var(--white-color);
}

.careers-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.job-listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.job-item {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.job-item:hover {
    transform: translateY(-5px);
}

.job-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.job-info {
    display: flex;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.job-location {
    margin-right: 20px;
    position: relative;
}

.job-location::after {
    content: '|';
    margin-left: 10px;
}

.job-item h4 {
    color: var(--secondary-color);
    margin: 15px 0 10px;
}

.job-responsibilities,
.job-requirements {
    padding-left: 20px;
    margin-bottom: 15px;
}

.job-responsibilities li,
.job-requirements li {
    margin-bottom: 8px;
}

.job-apply {
    margin-top: 20px;
    display: inline-block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .job-listings {
        grid-template-columns: 1fr;
    }
}