/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    line-height: 1.6;
    font-size: 16px;
}

/* 通用样式 */
.app {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.page.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 加载动画 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.logo-animation {
    margin-bottom: 40px;
}

.logo-image-container {
    margin-bottom: 15px;
}

.polymled-logo {
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
}

.logo {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    animation: logoGlow 2s ease-in-out infinite;
}

.tech-text {
    font-size: 18px;
    color: #1a73e8;
    letter-spacing: 2px;
}

.loading-bar {
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #1a73e8);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.loading-text {
    margin-top: 50px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero区域 */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 115, 232, 0.1) 0%, transparent 70%);
}

.tech-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%231a73e8" opacity="0.5"/></svg>');
    background-size: 50px 50px;
    animation: particles 20s linear infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-logo {
    margin-bottom: 30px;
}

.logo-main {
    font-size: 64px;
    font-weight: bold;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.logo-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.hero-title {
    font-size: 37px !important;
    font-weight: 900 !important;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 27px !important;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    display: inline-block;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}

.btn-outline {
    background: transparent;
    color: #1a73e8;
    border: 2px solid #1a73e8;
}

.btn-outline:hover {
    background: #1a73e8;
    color: #fff;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

/* 章节样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.section-title-flyant {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* 核心优势 */
.advantages-section {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: #1a73e8;
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.2);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* 产品预览 - 重新设计 */
.products-preview {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.products-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(26, 115, 232, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 20%);
    pointer-events: none;
}

.products-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.product-swiper {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-direction: column;
    padding: 30px;
    box-sizing: border-box;
}

.product-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.product-slide.prev {
    transform: translateX(-100%);
}

.product-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.product-image {
    max-width: 80%;
    max-height: 250px;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

.product-tech-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, transparent 0%, rgba(26, 115, 232, 0.1) 100%),
        linear-gradient(45deg, transparent 49%, rgba(0, 255, 136, 0.1) 50%, transparent 51%);
    background-size: 200% 200%, 100% 100%;
    animation: techGlow 3s ease infinite alternate;
    z-index: 1;
}

@keyframes techGlow {
    0% {
        background-position: 0% 50%, 0% 0%;
        opacity: 0.5;
    }
    100% {
        background-position: 100% 50%, 0% 0%;
        opacity: 0.8;
    }
}

.product-info {
    text-align: center;
    z-index: 2;
}

.product-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: 1px;
}

.product-model {
    font-size: 16px;
    color: #1a73e8;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

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

.spec-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(26, 115, 232, 0.3);
    border-radius: 12px;
    padding: 12px 5px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(26, 115, 232, 0.2);
    transform: translateY(-5px);
}

.spec-value {
    font-size: 16px;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 5px;
}

.spec-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.product-detail-btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.4);
}

.product-nav-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    z-index: 10;
    position: relative;
}

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

.nav-dot.active {
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(26, 115, 232, 0.5);
}

.slide-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slide-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slide-btn:hover {
    background: rgba(26, 115, 232, 0.5);
    transform: scale(1.1);
}

.prev-btn {
    margin-left: 20px;
}

.next-btn {
    margin-right: 20px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-swiper {
        height: 600px;
    }
    
    .product-name {
        font-size: 20px;
    }
    
    .product-specs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .spec-value {
        font-size: 14px;
    }
    
    .spec-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .products-preview {
        padding: 40px 15px;
    }
    
    .product-swiper {
        height: 580px;
    }
    
    .product-slide {
        padding: 20px 10px;
    }
    
    .product-name {
        font-size: 18px;
    }
    
    .product-model {
        font-size: 14px;
    }
    
    .product-specs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .spec-item {
        padding: 8px 3px;
    }
    
    .spec-value {
        font-size: 13px;
    }
    
    .prev-btn {
        margin-left: 10px;
    }
    
    .next-btn {
        margin-right: 10px;
    }
}

/* 公司介绍和知识产权 - 新设计 */
.about-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(26, 115, 232, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 20%);
    pointer-events: none;
}

.tab-container {
    max-width: 1000px;
    margin: 40px auto 0;
    position: relative;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
}

.tab-btn {
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    z-index: 2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn.active {
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.4);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 公司介绍标签页 */
.company-intro {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.intro-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    text-align: left;
    text-indent: 0;
}

.company-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 40px 0;
    margin-left: -20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(26, 115, 232, 0.1);
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* 合作伙伴 */
.partners-section {
    margin-top: 50px;
    text-align: center;
}

.partners-section h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.partner-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: rgba(26, 115, 232, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 知识产权标签页 */
.ip-content {
    padding: 20px 0;
}

.ip-intro {
    text-align: center;
    margin-bottom: 40px;
}

.ip-intro p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}

.ip-gallery {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.ip-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 80%;
    margin: 0 auto;
    
}

.ip-row:last-child .ip-item.large {
    grid-column: span 2;
}

.ip-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 200px;
}

.patent-item {
    background-image: url('../images/image-cfrP.png');
    background-size: 1600px 960px; /* 原始图片尺寸 */
    background-repeat: no-repeat;
    cursor: pointer;
}

.ip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(26, 115, 232, 0.5);
}

.ip-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.ip-caption {
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .tabs {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .company-intro {
        flex-direction: column;
    }
    
    .intro-image {
        order: -1;
    }
    
    /* 移动端上统计数据保持两列布局 */
    .company-stats {
        grid-template-columns: 1fr 1fr;
        max-width: 500px;
        margin: 0px auto;
        margin-top: -40px;
    
    }
    
    .intro-text p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .ip-row {
        grid-template-columns: 1fr;
    }
    
    .ip-row:last-child .ip-item.large {
        grid-column: span 1;
    }
    
    .patent-item {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 15px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 26px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .partners-section h3 {
        font-size: 20px;
    }
    
    .ip-intro p {
        font-size: 18px;
    }
}

/* 公司实力 */
.company-strength {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.strength-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* 减小间距 */
    max-width: 600px;
    margin: 0 auto 50px; /* 减小下边距 */
}

.stat-item {
    text-align: center;
    padding: 25px 15px; /* 减小内边距 */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 32px; /* 减小字体大小 */
    font-weight: bold;
    background: linear-gradient(45deg, #00ff88, #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px; /* 减小与标签的间距 */
}

.stat-label {
    font-size: 12px; /* 减小字体大小 */
    color: rgba(255, 255, 255, 0.7);
}

.partners-section {
    text-align: center;
}

.partners-section h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.nav-item.active {
    color: #1a73e8;
}

.nav-icon {
    width: 24px;
    height: 24px;
    background: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.home-icon {
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>');
}

.products-icon {
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 4V2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v2h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6c0-1.1.9-2 2-2h4z"/></svg>');
}

.tech-icon {
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></svg>');
}

.contact-icon {
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h4z"/></svg>');
}

.nav-item span {
    font-size: 12px;
}

/* 产品详情页 */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    z-index: 1000;
}

.back-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin-right: 15px;
}

.page-title {
    font-size: 18px;
    font-weight: bold;
}

.product-detail-content {
    padding: 80px 20px 20px;
}

/* 弹窗样式 */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: bold;
}

.modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.modal-body {
    padding: 20px;
}

/* 隐藏的导航项 */
.hidden-nav-item {
    display: none;
}

/* 联系我们页面样式 */
.contact-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    overflow-y: auto;
    display: none;
}

.contact-page.active {
    display: block;
}

.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.contact-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 800px;
    width: 100%;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 32px;
    margin: 0;
    font-weight: bold;
}

.contact-info {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info > div {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
}

.contact-info p {
    font-size: 16px;
    color: #f0f0f0;
    line-height: 1.6;
    margin: 8px 0;
}

.wechat-qrcode {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        background: linear-gradient(45deg, #00ff88, #1a73e8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 48px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .advantage-card {
        padding: 20px;
    }
    
    .strength-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 安全区域适配 */
@supports (padding: max(0px)) {
    .bottom-nav {
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }
    
    .page-header {
        padding-top: max(15px, env(safe-area-inset-top));
    }
    
    .contact-page {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}