/* ========== CSS变量定义 ========== */
:root {
    --primary-color: #333;
    --accent-color: #ff6b35;
    --secondary-color: #ff8c42;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== 隐藏滚动条样式 ========== */
/* Webkit浏览器 (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Firefox */
html {
    scrollbar-width: none;
}

/* IE和Edge */
body {
    -ms-overflow-style: none;
}

/* ========== 顶部导航栏样式 ========== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(252, 248, 245, 0.5) 0%, 
        rgba(249, 243, 237, 0.55) 50%, 
        rgba(252, 248, 245, 0.5) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(245, 235, 225, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(249, 243, 237, 0.1) 0%, 
        rgba(245, 235, 225, 0.05) 50%, 
        rgba(249, 243, 237, 0.1) 100%);
    pointer-events: none;
    z-index: -1;
}

.navbar-container {
    max-width: min(1400px, 95vw);
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 20px;
    transition: all 0.15s ease;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    overflow: hidden;
    height: 40px;
    line-height: 40px;
}

.nav-link .nav-text-cn,
.nav-link .nav-text-en {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.15s ease;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.nav-link .nav-text-cn {
    top: 0;
    opacity: 1;
}

.nav-link .nav-text-en {
    top: 40px;
    opacity: 0;
    color: var(--accent-color);
}

.nav-link:hover .nav-text-cn {
    top: -40px;
    opacity: 0;
}

.nav-link:hover .nav-text-en {
    top: 0;
    opacity: 1;
}

.nav-link:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(252, 248, 245, 0.5) 0%, 
        rgba(249, 243, 237, 0.55) 50%, 
        rgba(252, 248, 245, 0.5) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 30px;
    border: 1px solid rgba(245, 235, 225, 0.3);
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

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

.mobile-nav-menu li {
    margin: 20px 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ========== 移动端菜单动画 ========== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ========== 主容器 ========== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 8vw 60px;
}

/* ========== 页面标题区域 ========== */
.page-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 300;
}

.title-decoration {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== 公司简介部分 ========== */
.company-intro {
    background: white;
    border-radius: 15px;
    padding: 50px 40px;
    margin-bottom: 60px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.company-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.intro-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

/* ========== 卡片样式 ========== */
.glass-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

/* ========== 企业环境展示样式 ========== */
.environment-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.environment-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.environment-image-container:hover {
    transform: translateY(-5px);
}

.environment-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}

.environment-image:hover {
    transform: scale(1.02);
}

/* ========== 公司文化使命样式 ========== */
.culture-section {
    padding: 80px 0;
}

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

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

.culture-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.culture-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.culture-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.culture-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 400;
}

.culture-description {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 300;
}

/* ========== 荣誉资质展示样式 ========== */
.honors-section {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    justify-items: center;
}

.honor-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    cursor: pointer;
    min-height: 520px;
    max-width: min(350px, 90vw);
    width: 100%;
}

.honor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.honor-single-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
    display: flex;
    gap: 30px;
    align-items: center;
    max-width: 600px;
    margin: 30px auto;
}

.honor-single-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.honor-card .honor-image-section {
    width: min(280px, 80%);
    height: auto;
    aspect-ratio: 4/5;
    margin-bottom: 30px;
    max-width: 280px;
}

.honor-single-card .honor-image-section {
    flex-shrink: 0;
    width: 130px;
    height: 200px;
}

.honor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.honor-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.honor-icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.honor-icon-placeholder:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 140, 66, 0.15));
    border-color: rgba(255, 107, 53, 0.4);
    transform: scale(1.05);
}

.honor-icon-placeholder .icon-text {
    color: rgba(255, 107, 53, 0.8);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.honor-icon-placeholder .icon-desc {
    color: rgba(255, 107, 53, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.honor-text-section {
    flex: 1;
}

.honor-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.honor-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.honor-project {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 10px;
}

.honor-year {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* 响应式设计 - 荣誉资质 */
@media (max-width: 1024px) {
    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .honor-card {
        max-width: min(320px, 85vw);
    }
    
    .honor-card .honor-image-section {
        width: min(250px, 75%);
    }
}

@media (max-width: 768px) {
    .honors-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        justify-items: center;
    }
    
    .honor-card {
        padding: 25px;
        max-width: min(400px, 90vw);
        width: 100%;
    }
    
    .honor-card .honor-image-section {
        width: min(300px, 80%);
        margin-bottom: 15px;
    }
}

/* ========== 专利展示样式 ========== */
.patents-section {
    padding: 80px 0;
}

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

.patent-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    cursor: pointer;
}

.patent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.patent-image-section {
    flex-shrink: 0;
    width: 76px;
    height: 100px;
}

.patent-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
}

.patent-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.patent-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.patent-image-placeholder:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 140, 66, 0.15));
    border-color: rgba(255, 107, 53, 0.5);
    transform: scale(1.05);
}

.patent-image-placeholder .icon-text {
    font-size: 1.2rem;
    color: rgba(255, 107, 53, 0.8);
    font-weight: 600;
    margin-bottom: 5px;
}

.patent-image-placeholder .icon-desc {
    color: rgba(255, 107, 53, 0.6);
    font-size: 0.7rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.patent-text-section {
    flex: 1;
    min-width: 0;
}

.patent-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1.3;
}

.patent-subtitle {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.patent-description {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 8px;
}

.patent-year {
    font-size: 0.7rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .main-container {
        padding: 100px 30px 60px;
    }

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

    .patents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar-container {
        height: 70px;
        padding: 0 20px;
    }

    .navbar-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        top: 70px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .main-container {
        padding: 100px 20px 40px;
    }

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

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

    .culture-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .environment-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .environment-image-container {
        padding: 10px;
    }

    .environment-image {
        height: 250px;
    }

    .patents-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .honor-single-card {
        flex-direction: column;
        text-align: center;
    }

    .honor-image-section {
        width: 120px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }

    .culture-card {
        padding: 30px 20px;
    }

    .patent-card {
        flex-direction: column;
        text-align: center;
    }

    .patent-image-section {
        width: 60px;
        height: 60px;
    }
}