/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 基于 LOGO 深蓝色系的全站主题色 */
    --brand-color: #050B3F;      /* 主色：深蓝，呼应 LOGO 轮廓和文字 */
    --brand-color-2: #1A2348;    /* 辅色：略浅的靛蓝，用于渐变过渡 */
    --brand-accent: #3C5CFF;     /* 点缀色：亮蓝，用于高亮和按钮等 */
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/背景2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}

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

/* 导航栏样式 - 全局统一，所有页面共用 */
.navbar {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-img { height: 55px; display: block; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

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

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

/* 主要内容区域 */
.main-content {
    margin-top: 0;
    padding-top: 0;
    min-height: calc(100vh - 80px);
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 首页轮播图样式 */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    top: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--hero-carousel-transition, 800ms) ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    padding: 2rem 3rem;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    margin: 0 auto;
    max-width: 800px;
    margin-top: 80px; /* 为固定导航栏留出空间，避免内容被遮挡 */
}

.slide-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: white;
    color: var(--brand-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2%;
    transform: translateY(-50%);
    z-index: 3;
}

.carousel-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* 特色服务样式 */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--brand-color);
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 页面头部样式 */
.page-header {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    color: white;
}

.page-header h1 {
    font-size: 2.2rem; /* unified page title size (desktop) */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

/* 关于我们页面样式 */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 0 2rem 0;
}



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

.about-text h3 {
    font-size: 1.15rem;
    margin: 1rem 0 0.6rem;
    color: var(--brand-color);
}

.about-text p {
    margin-bottom: 0.7rem;
    line-height: 1.55;
    color: #666;
    font-size: 0.92rem;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.about-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-color);
    font-weight: bold;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    place-items: center;         /* 让四个统计卡在网格中水平垂直居中 */
    justify-content: center;     /* 整体在模块中左右居中 */
}

/* 上市图片展示区域 */
.about-ipo-image-wrapper {
    margin: 2.5rem auto 1.5rem auto;
    max-width: 1100px;
    text-align: center;
    padding: 0 20px;
}

.about-ipo-image {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-ipo-image-wrapper:hover .about-ipo-image {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

/* 核心能力展示模块 */
.about-capabilities {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 3rem auto 5rem auto;
    max-width: 900px;
    padding: 0 20px;
}

.capability-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.35s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.capability-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    border-color: var(--brand-color);
}

.capability-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 6px 20px rgba(5, 11, 63, 0.25);
}

.capability-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    width: 100%;
}

.capability-subtitle {
    font-size: 1rem;
    color: var(--brand-color);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    width: 100%;
}

.capability-image-wrapper {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.capability-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.capability-card:hover .capability-image {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* 响应式设计 */
@media (max-width: 1100px) {
    .about-capabilities {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .capability-card {
        padding: 2rem 1.5rem;
    }
}

/* 长期陪伴企业成长区域 */
.about-services-section {
    margin: 1.5rem 0 3rem 0;
    padding: 1.5rem 0 0 0;
    width: 100%;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1100px;      /* 和页面主体更接近的内容宽度 */
    margin: 0 auto;         /* 居中对齐 */
    padding: 0 10px;        /* 与其他模块保持左右内边距一致 */
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 180px;
    align-items: center;      /* 让图标与标题水平居中 */
    text-align: center;       /* 文本居中 */
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: var(--brand-color);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.service-content h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;         /* 列表保持易读的左对齐 */
    max-width: 260px;         /* 控制行宽，避免过长 */
}

.service-content li {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.85rem;
}

.service-content li:before {
    content: "•";
    color: var(--brand-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.stat-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 1;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
}

/* Tablet breakpoint: collapse About layout sooner */
@media (max-width: 1100px) {
    .page-header h1 {
        font-size: 2rem; /* unified tablet size */
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        padding: 0 15px;
    }
}

/* 平板端响应式 */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 15px;
    }
}

/* Remove special cap so About sections align to container */
#about .about-services-section .services-grid {
    max-width: 100%;
}

/* 生态赋能页面样式 */
.ecosystem-content {
    padding: 60px 0;
}

/* ========= 科技感增强：生态赋能 & IO团队 ========= */

/* 背景科技网格（轻量、低透明度） */
#portfolio.page,
#team.page {
    position: relative;
    overflow: hidden;
}

#portfolio.page::before,
#team.page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: -1;
    animation: gridMove 18s linear infinite;
}

@keyframes gridMove {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-80px, -80px, 0); }
}

/* 标题下科技感发光底线 */
#about .page-header h1,
#portfolio .page-header h1,
#team .page-header h1 {
    position: relative;
}

#about .page-header h1::after,
#portfolio .page-header h1::after,
#team .page-header h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.6rem;
    width: 120px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--brand-color), var(--brand-color-2), transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(5, 11, 63, 0.35);
}

/* 生态赋能“关注领域”卡片边缘微光 */
.ecosystem-feature {
    position: relative;
    overflow: hidden;
}

.ecosystem-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(60,92,255,0.18), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.ecosystem-feature:hover::before {
    opacity: 1;
}

/* 图片4展示区域样式 */
.ecosystem-image-section {
    margin: 3rem 0 0.5rem 0;
    text-align: center;
    padding: 1rem 0;
}

.ecosystem-core-image {
    max-width: 1000px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(5, 11, 63, 0.06);
}

.ecosystem-image-section:hover .ecosystem-core-image {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

/* 图片4响应式设计 */
@media (max-width: 768px) {
    .ecosystem-image-section {
        margin: 0.25rem 0;
        padding: 0;
    }
}

.ecosystem-intro {
    margin-bottom: 4rem;
}

.intro-text {
    max-width: 100%;
    margin: 0;
    text-align: center;
}


/* 生态赋能视觉展示区域 */
.ecosystem-visual {
    margin: 3rem 0;
    padding: 1rem 0;
    text-align: center;
}

.main-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ecosystem-visual:hover .main-image {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.7rem; /* unified mobile size */
    }

    .page-header p {
        font-size: 0.9rem;
    }
    .ecosystem-visual {
        margin: 2rem 0;
        padding: 0.5rem 0;
    }
    
    .main-image {
        max-width: 100%;
    }
    
    .section-divider {
        margin: 2rem 0 1.5rem 0;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .divider-line {
        max-width: 100px;
    }
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.ecosystem-features {
    margin: 4rem 0;
}

/* 分隔符样式 */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0 2rem 0;
    gap: 1rem;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-color) 50%, transparent 100%);
    max-width: 200px;
}

.section-title {
    font-size: 1.8rem;
    color: var(--brand-color);
    font-weight: 600;
    margin: 0;
    padding: 0 1rem;
    white-space: nowrap;
}

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

.ecosystem-feature {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.ecosystem-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--brand-color);
}

.ecosystem-feature .feature-icon {
    font-size: 3rem;
    color: var(--brand-color);
    margin-bottom: 1rem;
}

.ecosystem-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.ecosystem-feature p {
    color: #666;
    line-height: 1.6;
}

.ecosystem-mission {
    padding: 4rem 0;
    margin-top: 4rem;
}

.ecosystem-mission .section-divider {
    margin: 0 0 2rem 0;
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.mission-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.mission-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--brand-color);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mission-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.mission-text p {
    color: #666;
    line-height: 1.6;
}

/* 投资组合页面样式 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 60px 0;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.portfolio-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-metrics span {
    background: var(--brand-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 团队页面样式 */
.team-intro {
    max-width: 100%;
    margin: 2rem auto 0 auto;
    text-align: left;
    color: #444;
    line-height: 1.8;
    font-size: 0.98rem;
}

.team-intro p {
    margin-bottom: 0.75rem;
}

.team-intro strong {
    color: var(--brand-color);
}

.founder-card {
    margin: 2.5rem auto 0 auto;
    max-width: 960px;
    background: white;
    border-radius: 16px;
    padding: 2.2rem 2.5rem 2.4rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.founder-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
    border: none; /* 去掉头像外层圆圈描边，仅保留圆形头像本身 */
}

.founder-info {
    width: 100%;
    text-align: left;
}

.founder-name {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    color: #222;
    text-align: center;
}

.founder-title {
    font-size: 1rem;
    color: var(--brand-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-align: center;
}

.founder-bio p {
    margin-bottom: 0.7rem;
    color: #555;
    line-height: 1.8;
    font-size: 0.96rem;
    position: relative;
    padding-left: 1rem;        /* 给左侧圆点留出空间 */
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

.founder-bio p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.95em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-color);
    transform: translateY(-50%);
}

.team-image-wrapper {
    margin: 2.2rem auto 0 auto;
    max-width: 900px;
    text-align: center;
}

.team-large-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-image-wrapper:hover .team-large-image {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

.founder-case {
    margin-top: 1.6rem;
}

.founder-case img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.24);
    border-color: rgba(60, 92, 255, 0.55);
}

/* 调整创始人卡片与底部信息栏之间的距离 */
.founder-card {
    margin-bottom: 3rem;
}

/* 核心团队轮播模块 */
.core-team-section {
    margin: 0 auto 3rem auto;
    max-width: 960px;
}

.core-team-carousel {
    position: relative;
    margin-top: 2rem;
}

.core-team-track {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.core-team-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.core-team-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.core-team-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.core-team-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.core-team-btn {
    pointer-events: auto;
    background: rgba(5, 11, 63, 0.55);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.core-team-btn:hover {
    background: rgba(5, 11, 63, 0.75);
    transform: scale(1.08);
}

.core-team-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1.2rem;
}

.core-team-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(5, 11, 63, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.core-team-indicator.active {
    background: var(--brand-color);
    transform: scale(1.15);
}

@media (max-width: 900px) {
    .founder-card {
        grid-template-columns: 1fr;
        padding: 1.8rem;
    }

    .founder-photo img {
        width: 170px;
        height: 170px;
    }
}

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

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--brand-color);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.position {
    color: var(--brand-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.description {
    color: #666;
    line-height: 1.6;
}

/* 新闻中心页面样式 */
.news-content {
    padding: 60px 0;
}

.add-news-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.add-news-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 3px solid var(--brand-color);
    padding-bottom: 0.5rem;
}

.news-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-color);
}

.news-list-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-list-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 3px solid var(--brand-color);
    padding-bottom: 0.5rem;
}

.news-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand-color);
    color: white;
    border-color: var(--brand-color);
}

.news-list {
    display: grid;
    gap: 1.5rem;
}

.news-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--brand-color);
    transition: all 0.3s ease;
}

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

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.news-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.news-category {
    background: var(--brand-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

.news-author {
    color: #666;
    font-size: 0.9rem;
}

.news-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-content-preview {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.news-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-view {
    background: var(--brand-color);
    color: white;
}

.btn-view:hover {
    background: var(--brand-color-2);
}

.btn-edit {
    background: #28a745;
    color: white;
}

.btn-edit:hover {
    background: #218838;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .news-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .news-filters {
        justify-content: center;
    }
    
    .news-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* 联系我们页面样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 60px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-color);
}

.submit-btn {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-color-2) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-qrcodes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #fff;
    padding: 4px;
}

.footer-qrcode p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ffffff;
}

/* 页脚在小屏下改为上下布局，二维码居中 */
@media (max-width: 768px) {
    .footer-content {
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-qrcodes {
        justify-content: center;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ffffff;
}

/* =============================
   功能开关：隐藏新闻中心入口
   - 仅隐藏前端展示，不删除任何配置/数据
   - 若需恢复，只需删除或注释本段样式
   ============================= */

/* 隐藏顶部导航中的“新闻中心” */
.nav-link[data-page="news"] {
    display: none !important;
}

/* 隐藏页脚中的“新闻中心”快速链接 */
.footer-section a[href="#news"] {
    display: none !important;
}

/* 隐藏新闻中心页面本身 */
#news.page {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--brand-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .slide-content {
        padding: 1.5rem 2rem;
        max-width: 600px;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .carousel-controls {
        padding: 0 5%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .slide-content {
        padding: 1rem 1.5rem;
        max-width: 400px;
    }
    
    .features-grid,
    .portfolio-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .about-text h2 {
        font-size: 1.4rem;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .stat-item {
        padding: 1.2rem 0.8rem;
        min-height: 90px;
    }
    
    .stat-item h3 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    .about-services-section {
        margin: 1.2rem 0;
        padding: 0.8rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 1.2rem;
        min-height: 160px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-content h3 {
        font-size: 1rem;
    }
    
    .service-content li {
        font-size: 0.8rem;
    }
    
    .portfolio-metrics {
        flex-direction: column;
    }
}
