:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    --secondary-color: #2962ff;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --gray-bg: #f5f7fa;
    --border-color: #e0e0e0;
}

/* 全局样式 */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

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

/* 宣传视频区域 */
.video-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.video-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-banner .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-banner .play-button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #1e88e5;
    margin-left: 5px;
}

.video-banner .play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 视频全屏时的样式 */
.video-banner video:fullscreen {
    object-fit: contain;
    background: #000;
}

/* 视频错误提示样式 */
.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 3;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .video-banner {
        height: 300px;
    }
    
    .video-banner .play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-banner .play-button::before {
        border-width: 12px 0 12px 20px;
    }
}

/* 导航栏样式 */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 80px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* 下拉菜单样式 */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--gray-bg);
    color: var(--primary-color);
}

/* 下拉菜单指示器样式 */
.has-dropdown > a {
    position: relative;
    padding-bottom: 5px;
}

.has-dropdown > a::after {
    display: inline-block;
    font-size: 10px;
    transition: transform 0.3s ease;
}


.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding-left: 20px;
    }

    .has-dropdown:hover .dropdown-menu {
        transform: none;
    }
}


/* 子导航 */
.sub-nav {
    background-color: #fff;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.sub-nav .container {
    display: flex;
    justify-content: center;
}

.sub-nav a {
    text-decoration: none;
    color: #666;
    margin: 0 20px;
    padding: 5px 0;
    position: relative;
}

.sub-nav a:hover {
    color: #1a237e;
}

.sub-nav a.active {
    color: #1a237e;
    font-weight: bold;
}

.sub-nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1a237e;
}

/* 内容区域 */
.section {
    padding: 60px 40px;
    /* background-color: #fff; */
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #1a237e;
    margin: 15px auto 0;
}

/* 公司简介 */
.about-intro {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    padding: 0 40px 30px 40px;
}

.about-intro-img {
    flex: 0 0 40%;
    background-color: #eee;
}

.about-intro-img img {
    width: 100%;
    height: auto;
}

.about-intro-text {
    flex: 1;
    padding: 0 20px 20px 20px;
}

.about-intro-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.company-vision {
    margin-top: 40px;
    text-align: center;
}

.company-vision h3 {
    margin-bottom: 15px;
    color: #1a237e;
}

/* 企业文化 */
.culture-hero {
    height: 300px;
    position: relative;
    background: url('img/culture-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 80px;
}

.culture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 126, 0.7);
}

.culture-content {
    position: relative;
    z-index: 1;
}

.culture-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.culture-subtitle {
    font-size: 24px;
    opacity: 0.9;
}

.culture-values {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.value-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

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

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

.value-content {
    padding: 30px;
}

.value-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f2ff;
    color: #1a237e;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.value-content h3 {
    font-size: 24px;
    color: #1a237e;
    margin-bottom: 15px;
}

.value-content p {
    color: #666;
    line-height: 1.6;
}

.culture-mission {
    background: #f8f9ff;
    padding: 80px 0;
}

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


.mission-text h3 {
    font-size: 36px;
    color: #1a237e;
    margin-bottom: 30px;
}

.mission-text p {
    font-size: 24px;
    line-height: 1.8;
    color: #333;
}

.mission-image {
    flex: 0.6;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .culture-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .culture-values {
        grid-template-columns: 1fr;
    }

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

    .culture-hero {
        height: 400px;
    }

    .culture-content h2 {
        font-size: 36px;
    }

    .culture-subtitle {
        font-size: 20px;
    }
}

/* 团队介绍 */
.team-intro {
    text-align: center;
    margin-bottom: 40px;
}

.team-structure {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.team-structure-img {
    flex: 0 0 40%;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.team-structure-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-structure-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-structure-text h3 {
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 18px;
}

.department-list {
    margin-top: 20px;
}

.department-item {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.department-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1a237e;
}

.team-members {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.team-member-photo {
    flex: 0 0 calc(50% - 15px);
    aspect-ratio: 1/1;
    background-color: #eee;
}

/* 办公环境 */
.office-img {
    width: 100%;
    height: 400px;
    background-color: #eee;
    margin-bottom: 30px;
}

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

/* 知识产权 */
.ip-section {
    /* background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), */
        /* url('img/tech-pattern.png'); */
    /* background-size: cover; */
    padding: 40px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

/* .ip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(26, 35, 126, 0.03) 0%, transparent 10%),
        radial-gradient(circle at 80% 70%, rgba(26, 35, 126, 0.03) 0%, transparent 10%),
        linear-gradient(to right, rgba(100, 181, 246, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(100, 181, 246, 0.05) 1px, transparent 1px);
    background-size:
        20% 20%,
        20% 20%,
        20px 20px,
        20px 20px;
    z-index: -1;
} */

.ip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.ip-item {
    aspect-ratio: 3/4;
    /* background-color: #fff; */
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* .ip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
} */

.ip-item img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.ip-caption {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* 页脚自定义样式 */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: bold;
}

.footer-about {
    margin-bottom: 20px;
    color: #aaa;
    font-size: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #aaa;
    font-size: 14px;
}

.footer-contact-item i {
    margin-right: 10px;
    color: #0066cc;
}

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

.footer-link-item {
    margin-bottom: 10px;
}

.footer-link {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
    text-decoration: none;
}

.footer-link:hover {
    color: #0066cc;
    padding-left: 5px;
}

.footer-news-item {
    margin-bottom: 15px;
}

.footer-news-title {
    color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.footer-news-title:hover {
    color: #0066cc;
}

.footer-news-date {
    color: #666;
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}