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

html {
    scroll-behavior: smooth;
}

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

/* 主题色变量 */
:root {
    --primary-blue: #2563eb;
    --light-blue: #3b82f6;
    --dark-blue: #1e40af;
    --accent-blue: #60a5fa;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    --gradient-3: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-color: #e5e7eb;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(37, 99, 235, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 首页大图区域 */
.hero {
    height: 100vh;
    background: var(--gradient-1);
    background-image: url('banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0;
    margin-left: 80px;
    padding: 0 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-slogan {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

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

/* 通用板块样式 */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.section-dark {
    background: var(--gradient-2);
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-dark .section-title {
    color: var(--white);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* 公司简介样式 */
.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.9;
    text-align: justify;
    word-break: break-word;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* 核心优势样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
    border: 1px solid var(--primary-blue);
}

.advantage-card:hover .card-number {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    transform: scale(1.1);
}

.card-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    background: var(--gradient-3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 对比表格样式 */
.comparison-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.comparison-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 600;
}

.table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    min-width: 600px;
}

.comparison-table th {
    background: var(--gradient-1);
    color: var(--white);
    padding: 1.2rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-blue);
}

.comparison-table th.highlight-column {
    background: var(--gradient-2);
    position: relative;
}

.comparison-table th.highlight-column::after {
    content: '✓';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--white);
}

.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.comparison-table td.feature-name {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    border-right: 2px solid var(--border-color);
}

.comparison-table td.highlight-column {
    background: rgba(37, 99, 235, 0.05);
    font-weight: 600;
    color: var(--primary-blue);
    border-left: 3px solid var(--primary-blue);
    border-right: 3px solid var(--primary-blue);
}

.comparison-table tbody tr:hover td {
    background-color: rgba(37, 99, 235, 0.03);
}

.comparison-table tbody tr:hover td.highlight-column {
    background-color: rgba(37, 99, 235, 0.1);
}

/* 专业团队样式 */
.team-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.team-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 团队成员布局 */
.team-members {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.member-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin-right: 2rem;
    flex-shrink: 0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.member-card:hover .member-avatar img {
    transform: scale(1.05);
}

.member-info {
    flex: 1;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-info p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* 发展规划时间轴 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-1);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    border: 4px solid var(--primary-blue);
    flex-shrink: 0;
    margin: 0 2rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 页尾样式 */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left h3 {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.footer-right p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    /* 移动端导航 */
    .nav-logo {
        gap: 8px;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        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;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    /* 移动端英雄区域 */
    .hero-content {
        margin: 0 auto;
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* 移动端栅格调整 */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-text p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .intro-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        padding: 1.5rem 1rem;
        flex: 1;
        margin: 0 0.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    /* 移动端表格样式 */
    .comparison-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .comparison-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .table-wrapper {
        border-radius: 10px;
        margin: 0 -10px;
    }

    .comparison-table {
        min-width: 500px;
        font-size: 0.9rem;
    }

    .comparison-table th {
        padding: 0.8rem 0.5rem;
        font-size: 1rem;
    }

    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }

    .comparison-table th.highlight-column::after {
        right: 5px;
        font-size: 1rem;
    }

    /* 移动端团队成员样式 */
    .member-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .member-avatar {
        width: 100px;
        height: 100px;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .member-info h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .member-info p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* 移动端时间轴 */
    .timeline::before {
        left: 30px;
        background: var(--gradient-1);
    }

    .timeline-item {
        flex-direction: row !important;
        margin-left: 0;
    }

    .timeline-year {
        width: 60px;
        height: 60px;
        margin: 0 1rem 0 0;
        font-size: 1rem;
        background: var(--gradient-1);
        color: var(--white);
        border: 3px solid var(--primary-blue);
    }

    .timeline-content {
        margin-left: 1rem;
        background: var(--white);
        border: 1px solid var(--border-color);
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
    }

    .timeline-content h3 {
        color: var(--primary-blue);
    }

    .timeline-content p {
        color: var(--text-light);
    }

    /* 移动端页尾 */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-right p {
        font-size: 0.9rem;
    }

    /* 移动端板块间距 */
    .section {
        padding: 60px 0;
    }

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

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-logo {
        gap: 6px;
    }
    
    .logo-img {
        width: 28px;
        height: 28px;
    }
    
    .nav-logo h2 {
        font-size: 1rem;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 15px;
        align-items: center;
    }

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

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

    .intro-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .advantage-card {
        padding: 2rem 1.5rem;
    }

    /* 超小屏幕表格优化 */
    .comparison-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .comparison-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .table-wrapper {
        margin: 0 -15px;
        border-radius: 8px;
    }

    .comparison-table {
        min-width: 450px;
        font-size: 0.8rem;
    }

    .comparison-table th {
        padding: 0.6rem 0.3rem;
        font-size: 0.9rem;
    }

    .comparison-table td {
        padding: 0.6rem 0.3rem;
    }

    .comparison-table th.highlight-column::after {
        right: 3px;
        font-size: 0.9rem;
    }

    /* 超小屏幕团队成员样式 */
    .member-card {
        padding: 1.5rem 1rem;
    }

    .member-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .member-info h3 {
        font-size: 1.2rem;
    }

    .member-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .timeline-content {
        padding: 1.5rem;
        background: var(--white);
        border: 1px solid var(--border-color);
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.08);
    }

    .timeline-content h3 {
        color: var(--primary-blue);
        font-size: 1.3rem;
    }

    .timeline-content p {
        color: var(--text-light);
        font-size: 0.95rem;
    }
}

/* 大屏幕优化 */
@media screen and (min-width: 1400px) {
    .hero-content {
        margin-left: 120px;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* 平滑过渡动画 */
.section {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* 确保标题始终可见 */
.section-title {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}



.section.animate {
    opacity: 1;
    transform: translateY(0);
}
