/* ============================================
   全局样式与变量定义
   ============================================ */
:root {
    /* 主色：深蓝色 */
    --primary-color: #165DFF;
    /* 辅助色：浅蓝色 */
    --secondary-color: #69B1FF;
    /* 强调色：暖橙色 */
    --accent-color: #FF7D00;
    /* 中性色 */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --dark-gray: #333333;
    --black: #111111;
    /* 字体 */
    --font-family: "Microsoft YaHei", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* 过渡效果 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ============================================
   渐变文字样式
   ============================================ */
.gradient-text {
    background: linear-gradient(90deg, #165DFF, #69B1FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============================================
   导航栏样式
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled,
.navbar.nav-fixed {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
}

.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: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Banner轮播区样式
   ============================================ */
.banner-section {
    margin-top: 70px;
    position: relative;
    height: 500px;
    overflow: hidden;
    background: transparent;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.banner-bg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateZ(0);
    will-change: transform;
    z-index: 0;
    margin: 0;
    padding: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.banner-tag {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.banner-subtitle {
    font-size: 20px;
    opacity: 0.95;
    font-weight: 400;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.banner-prev {
    left: 30px;
}

.banner-next {
    right: 30px;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   公司简介区样式
   ============================================ */
.about-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #F0F4F8 100%);
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 30px;
    text-align: justify;
}

.btn,
.btn-more {
    background: linear-gradient(90deg, #165DFF, #69B1FF);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(22, 93, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-more {
    border-radius: 30px;
    padding: 12px 40px;
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-more:hover::before {
    left: 100%;
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active,
.btn-more:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.3);
}

/* ============================================
   企业文化区样式
   ============================================ */
.culture-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 50%, #E8F2FF 100%);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.culture-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(22, 93, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    border: 1px solid rgba(105, 177, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.culture-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), #7C3AED);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 16px 16px 0 0;
}

.culture-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(105, 177, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.culture-item:hover::after {
    opacity: 1;
}

.culture-item:hover::before {
    transform: scaleX(1);
}

.culture-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(22, 93, 255, 0.25), 0 4px 16px rgba(105, 177, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(105, 177, 255, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 250, 255, 0.98) 100%);
}

.culture-tooltip {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(22, 93, 255, 0.95);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.culture-item:hover .culture-tooltip {
    opacity: 1;
    bottom: -40px;
}

.culture-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.culture-icon i {
    font-size: inherit;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.culture-item:hover .culture-icon {
    color: var(--secondary-color);
}

.culture-item:hover .culture-icon i {
    transform: scale(1.1) rotate(10deg);
}

.culture-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.culture-desc {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ============================================
   产品展示区样式
   ============================================ */
.products-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FAFBFC 0%, #F0F4F8 50%, #E8EDF2 100%);
    position: relative;
}

.product-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.products-grid-building {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(22, 93, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(105, 177, 255, 0.15);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.product-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #7C3AED);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(22, 93, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at bottom right, rgba(105, 177, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    box-shadow: 0 12px 40px rgba(22, 93, 255, 0.25), 0 4px 16px rgba(105, 177, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(105, 177, 255, 0.4);
    transform: translateY(-5px) scale(1.02);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 250, 255, 0.98) 100%);
}

.product-card-large {
    grid-column: span 1;
}

.product-card-small {
    grid-column: span 1;
}

.product-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.3);
    z-index: 2;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    flex: 1;
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    border-radius: 12px;
    font-weight: 600;
}

.building-badge {
    background: var(--accent-color);
}

.product-intro {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.building-text {
    color: #999;
    font-style: italic;
}

.product-features {
    margin-bottom: 20px;
}

.btn-toggle-features {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-toggle-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-toggle-features:hover::before {
    left: 100%;
}

.btn-toggle-features:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.btn-toggle-features:active {
    transform: translateY(0) scale(0.98);
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    animation: slideDown 0.3s ease-out;
}

.features-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-env {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    font-size: 14px;
}

.env-label {
    color: var(--dark-gray);
    font-weight: 600;
}

.env-value {
    color: var(--primary-color);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   联系我们区样式
   ============================================ */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #F0F4F8 100%);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 40px;
    flex-shrink: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(22, 93, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.contact-icon i {
    font-size: inherit;
    color: inherit;
}

.contact-item:hover .contact-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-details p {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-map {
    height: 400px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--light-gray);
}

.map-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    z-index: 1;
}

/* Leaflet 地图容器样式 */
#map .leaflet-container {
    border-radius: 12px;
    height: 100%;
    width: 100%;
}

/* 地图缩放控件 */
.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.map-zoom-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.map-zoom-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(22, 93, 255, 0.3);
}

.map-zoom-btn:active {
    transform: scale(0.95);
}

.map-zoom-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.map-zoom-btn:disabled:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: none;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.map-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.map-link-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.4);
}

.map-link-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.map-link-icon i {
    font-size: inherit;
    color: inherit;
}

/* 地图链接包装器 */
.map-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.map-link-wrapper:hover {
    transform: scale(1.01);
}

/* 地图占位符样式 */
.map-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--light-gray);
}

.map-static-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.map-link-wrapper:hover .map-static-image {
    transform: scale(1.05);
}

.map-link-wrapper:hover .map-placeholder {
    box-shadow: 0 8px 24px rgba(22, 93, 255, 0.3);
}

.map-overlay-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.map-click-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.map-link-wrapper:hover .map-click-hint {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.4);
}

.map-click-hint i {
    font-size: 16px;
}

/* ============================================
   招贤纳士区样式
   ============================================ */
.careers-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #F5F9FF 0%, #E8F2FF 50%, #D6E8FF 100%);
    position: relative;
}

.careers-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.careers-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* ============================================
   底部版权区样式
   ============================================ */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-separator {
    opacity: 0.5;
}

/* ============================================
   响应式设计 - 平板 (768px - 1199px)
   ============================================ */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-map {
        height: 300px;
    }
}

/* ============================================
   响应式设计 - 手机 (≤767px)
   ============================================ */
@media (max-width: 767px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: var(--transition);
        gap: 10px;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 12px 16px;
        text-align: left;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .banner-section {
        margin-top: 60px;
        height: 400px;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .banner-prev {
        left: 15px;
    }

    .banner-next {
        right: 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .about-section,
    .culture-section,
    .products-section,
    .contact-section,
    .careers-section {
        padding: 80px 0;
    }

    .about-text {
        font-size: 14px;
        text-align: left;
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        align-items: stretch;
    }

    .contact-item {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        font-size: 32px;
        width: 45px;
        height: 45px;
        margin: 0 auto;
    }

    .contact-details {
        text-align: center;
        width: 100%;
    }

    .contact-details h4 {
        text-align: center;
        margin-bottom: 8px;
    }

    .contact-details p {
        text-align: center;
    }

    .contact-map {
        height: 300px;
    }

    .map-controls {
        top: 15px;
        right: 15px;
        gap: 6px;
        padding: 3px;
    }

    .map-zoom-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .map-overlay {
        bottom: 15px;
        right: 15px;
    }

    .map-link-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .map-link-icon {
        font-size: 14px;
    }
}

/* ============================================
   页面加载动画
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease-out;
}

/* 滚动动画 */
@keyframes slideUpScale {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ============================================
   滚动动画 - fade-up类
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SVG背景纹理
   ============================================ */
.tech-pattern {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.tech-pattern-top {
    top: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(22,93,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.tech-pattern-bottom {
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(22,93,255,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(22,93,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}
