:root {
    --primary-color: #3a86ff;
    --secondary-color: #ff9e00;
    --accent-color: #8338ec;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --text-light: #666;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7fb;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    height:80px; /* 根据需要调整高度 */
    width: auto; /* 保持宽高比 */
    object-fit: contain;
}
.nav-links {
    
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* 无障碍工具条 */
.accessibility-toolbar {
    background-color: var(--dark-color);
    color: white;
    padding: 10px 0;
}

.accessibility-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.accessibility-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.accessibility-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 轮播图样式 */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 400px; /* 根据需要调整轮播图高度 */
}

.hero-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片覆盖整个区域，不会变形 */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 文字阴影，提高在图片上的可读性 */
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content .cta-button {
    animation: fadeInUp 1s ease 0.4s both;
}

/* 添加遮罩层，使文字更清晰 */
.hero-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 半透明黑色遮罩 */
    z-index: 1;
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    z-index: 20;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: white;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-swiper {
        height: 400px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
}
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e68900;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 孵化器简介区域 */
.incubator-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.incubator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.incubator-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.incubator-image img {
    width: 100%;
    height: auto;
    display: block;
}

.incubator-info h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.incubator-info p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.incubator-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
}

/* 孵化器参观点 */
.services-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
}

/* 孵化成果 */
.achievements-section {
    padding: 80px 0;
    background-color: white;
}

.achievements-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.achievements-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.achievement-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.achievement-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.achievement-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.achievement-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 加入孵化器 */
.join-incubator {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
}

.join-content {
    max-width: 800px;
    margin: 0 auto;
}

.join-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.join-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* 产品展示区域 */
.products-section {
    padding: 80px 0;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}



.btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2a75ff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 小程序接入部分 */
.mini-program-section {
    background-color: var(--light-color);
    padding: 30px 0;
    text-align: center;
}

.mini-program-content {
    max-width: 800px;
    margin: 0 auto;
}

.mini-program-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.mini-program-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.mini-program-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

.hidden{
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .incubator-content {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .achievement-card {
        flex: 0 0 100%;
    }
    
    .incubator-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .join-steps {
        grid-template-columns: 1fr;
    }
    
    .mini-program-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .incubator-stats {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* 高对比度模式 */
.high-contrast {
    background-color: black !important;
    color: white !important;
}

.high-contrast .product-card,
.high-contrast header,
.high-contrast .mini-program-section,
.high-contrast .service-card,
.high-contrast .achievement-card {
    background-color: #111 !important;
    color: white !important;
}

.high-contrast .product-title,
.high-contrast .section-title h2,
.high-contrast .mini-program-content h2,
.high-contrast .service-card h4,
.high-contrast .achievement-card h4,
.high-contrast .incubator-info h3 {
    color: white !important;
}

.high-contrast .product-description,
.high-contrast .section-title p,
.high-contrast .mini-program-content p,
.high-contrast .service-card p,
.high-contrast .achievement-card p,
.high-contrast .incubator-info p {
    color: #ddd !important;
}

/* 字体放大模式 */
.large-text {
    font-size: 1.2em;
}

.large-text .product-title {
    font-size: 1.5rem;
}

.large-text .product-description {
    font-size: 1.1rem;
}