/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4a6cf7;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4a6cf7;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4a6cf7;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 横幅样式 */
.hero {
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.hero-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #4a6cf7;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 页面标题 */
.page-title {
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 关于我们预览部分 */
.about-preview {
    padding: 80px 0;
    background-color: white;
}

.about-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-preview p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a6cf7;
}

/* 入孵企业展示 */
.incubated-companies {
    padding: 80px 0;
    background-color: #f0f4ff;
}

.incubated-companies h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.company-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
}

.company-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #4a6cf7;
}

.company-card p {
    color: #666;
}

/* 新闻列表 */
.news-list {
    padding: 50px 0 80px;
    background-color: white;
}

.news-item {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #4a6cf7;
}

.news-date {
    color: #4a6cf7;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-item h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.news-item p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #4a6cf7;
    text-decoration: none;
    font-weight: bold;
    transition: padding-left 0.3s ease;
}

.read-more:hover {
    padding-left: 5px;
}

/* 关于我们内容 */
.about-content {
    padding: 80px 0;
    background-color: white;
}

.about-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 使命愿景 */
.mission-vision {
    padding: 80px 0;
    background-color: #f8f9ff;
}

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

.mv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a6cf7;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
}

/* 团队部分 */
.team-section {
    padding: 80px 0;
    background-color: white;
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.team-img {
    margin-bottom: 20px;
}

.team-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f0f4ff;
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #333;
}

.team-member p:nth-of-type(1) {
    color: #4a6cf7;
    font-weight: bold;
    margin-bottom: 10px;
}

.team-member p:nth-of-type(2) {
    color: #666;
    line-height: 1.6;
}

/* 联系方式部分 */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #6a11cb 0%, #4a6cf7 100%);
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    text-align: center;
}

.footer .container p:first-of-type {
    margin-bottom: 10px;
    font-weight: bold;
}

.footer .container p:last-of-type {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .nav-container {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        margin: 1.5rem 0;
        display: block;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero {
        padding: 120px 0 80px;
        margin-top: 0;
    }

    .hero-container h1 {
        font-size: 2rem;
    }

    .page-title {
        padding: 80px 0 40px;
        margin-top: 0;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .about-content .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-preview h2,
    .incubated-companies h2,
    .team-section h2 {
        font-size: 1.8rem;
    }
}