/* 全局变量 */
:root {
    --primary-color: #0a192f;
    --primary-color-dark: #020c1b;
    --secondary-color: #333BDB;
    --accent-color: #112240;
    --text-color: #ffffff;
    --text-color-light: #ccd6f6;
    --neon-glow: 0 0 10px rgba(67, 116, 228, 0.4),;
    --gradient-bg: linear-gradient(120deg, #0a192f 0%, #112240 100%);
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
}

.main-nav.scrolled {
    background: rgba(10, 25, 47, 0.85);
    box-shadow: 0 0 20px rgba(67, 116, 228, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.05em;
    padding: 5px 0;
}

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

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

/* 开屏动画样式 */
.splash-screen {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #112;
}



.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(67, 116, 228, 0.1) 0%, transparent 70%);
    animation: pulse 2s infinite;
}

.company-logo {
    max-width: 200px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 2em;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* 通用部分样式 */
.section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* 产品卡片样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.product-card {
    background: var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(67, 116, 228, 0.1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 48%, var(--secondary-color) 50%, transparent 52%);
    background-size: 200% 200%;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.product-card:hover::before {
    background-position: 100% 100%;
}

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

/* 新闻资讯样式 */
.news-ticker {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 按钮样式 */
.glow-button {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.glow-button:hover {
    color: var(--primary-color);
    box-shadow: var(--neon-glow);
}

.glow-button:hover::before {
    left: 0;
}

/* 页脚样式 */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-info p {
    margin-bottom: 10px;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(67, 116, 228, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(67, 116, 228, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 116, 228, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    h2 {
        font-size: 2em;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* 联系页面样式 */
.contact-page .hero-section {
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.contact-page .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, var(--secondary-color) 49%, transparent 51%) 0 0 / 20px 20px,
        radial-gradient(var(--secondary-color) 1px, transparent 1px) 0 0 / 20px 20px;
    opacity: 0.1;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
}

/* 改进联系信息卡片 */
.contact-card {
    background: var(--accent-color);
    color: var(--text-color-light);
    padding: 40px 30px;
    border: 1px solid rgba(67, 116, 228, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card .icon {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(67, 116, 228, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

/* 改进表单样式 */
.form-container {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(67, 116, 228, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    animation: formBorderGlow 2s ease-in-out infinite;
}

@keyframes formBorderGlow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group label {
    color: var(--text-color-light);
    font-size: 0.9em;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(67, 116, 228, 0.2);
    border-radius: 8px;
    color: var(--text-color-light);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(67, 116, 228, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(140, 140, 155, 0.7);
}

/* 提交按钮改进 */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.submit-btn:hover {
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(67, 116, 228, 0.3);
}

.submit-btn:hover::before {
    left: 0;
}

/* 地图容器改进 */
.map-container {
    border: 1px solid rgba(67, 116, 228, 0.2);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--secondary-color), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* 消息提示样式改进 */
.message {
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: messageSlideIn 0.3s ease forwards;
}

@keyframes messageSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message.success {
    background: rgba(67, 116, 228, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(67, 116, 228, 0.2);
}

.message.error {
    background: rgba(255, 100, 100, 0.1);
    color: #ff6464;
    border: 1px solid rgba(255, 100, 100, 0.2);
}

/* 添加科技感的背景网格 */
.tech-background {
    position: relative;
    background-color: var(--primary-color);
    background-image: 
        linear-gradient(rgba(67, 116, 228, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 116, 228, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* 添加动态边框效果 */
.tech-border {
    position: relative;
    border: 1px solid rgba(67, 116, 228, 0.4);
}

.tech-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 0;
    height: 0;
    background: transparent;
    border: 2px solid transparent;
    animation: border-animation 2s linear infinite;
}

@keyframes border-animation {
    0% {
        width: 0;
        height: 0;
        border-color: var(--secondary-color);
    }
    50% {
        width: 100%;
        height: 0;
        border-color: var(--secondary-color);
    }
    100% {
        width: 100%;
        height: 100%;
        border-color: var(--secondary-color);
    }
}

/* 添加科技感的文字效果 */
.tech-text {
    color: var(--text-color-light);
    text-shadow: 0 0 10px rgba(67, 116, 228, 0.4);
    letter-spacing: 1px;
}

/* 添加粒子效果的器样式 */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    z-index: 0;
    pointer-events: none;
}

.particles-js-canvas-el {
    transition: opacity 0.5s ease;
}


@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* 添加悬浮效果 */
.floating {
    animation: float 6s ease-in-out infinite;
}

/* 优化背景效果 */
.tech-main {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.tech-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(67, 116, 228, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(-45deg, rgba(67, 116, 228, 0.03) 25%, transparent 25%) -50px 0,
        linear-gradient(45deg, transparent 75%, rgba(67, 116, 228, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(67, 116, 228, 0.03) 75%);
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
}

/* 科技感标题 */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.tech-highlight {
    position: relative;
    color: var(--text-color-light);
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.tech-highlight::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 2px 0 var(--secondary-color);
    animation: glitch 1s infinite;
}

.title-decoration {
    position: relative;
    height: 4px;
    width: 100px;
    margin: 20px auto;
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.title-decoration::before,
.title-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-color);
    transform: rotate(45deg) translateY(-50%);
}

.title-decoration::before { left: -10px; }
.title-decoration::after { right: -10px; }

/* 科技卡片效果 */
.tech-card {
    background: rgba(17, 34, 64, 0.8);
    border: 1px solid rgba(67, 116, 228, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(67, 116, 228, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tech-card:hover::before {
    transform: translateX(100%);
}

.card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(67, 116, 228, 0.1) 0%,
        transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-card:hover .card-glow {
    opacity: 1;
}

/* 时间轴效果 */
.tech-timeline {
    position: relative;
    padding: 40px 0;
}

.tech-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent,
        var(--secondary-color),
        transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.time-point {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--secondary-color);
}

/* 动画效果 */
@keyframes glitch {
    0% { clip-path: inset(50% 0 30% 0); }
    20% { clip-path: inset(30% 0 60% 0); }
    40% { clip-path: inset(10% 0 80% 0); }
    60% { clip-path: inset(40% 0 43% 0); }
    80% { clip-path: inset(20% 0 70% 0); }
    100% { clip-path: inset(50% 0 30% 0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* 响应式控制 */
@media (max-width: 768px) {
    .tech-highlight {
        font-size: 2em;
    }
    
    .tech-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .time-point {
        left: 30px;
    }
} 

/* 关于我们页面特定样式 */
.about-page .tech-hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-bg);
}

.about-section {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.company-intro-section {
    padding-top: 2rem;
}

.tech-sphere-container {
    width: 100%;
    height: 300px;
    position: relative;
}

.hero-content {
    text-align: center;
    padding: 2rem 0;
}

.glitch-text {
    font-size: 3em;
    font-weight: bold;
    color: var(--text-color-light);
    position: relative;
    text-shadow: 0 0 10px var(--secondary-color);
    margin-bottom: 1rem;
}

.tech-subtitle {
    font-size: 1.2em;
    margin-bottom: 1rem;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-number {
    font-size: 2em;
    color: var(--secondary-color);
    font-weight: bold;
    text-shadow: 0 0 10px var(--secondary-color);
}

.stat-label {
    font-size: 0.9em;
    margin-top: 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-page .tech-hero {
        height: 50vh;
    }

    .glitch-text {
        font-size: 2.5em;
    }

    .tech-subtitle {
        font-size: 1.1em;
    }

    .about-section {
        padding: 2rem 0;
    }

    .tech-sphere-container {
        height: 250px;
    }
}

/* 故障文字效果 */
.glitch-text {
    font-size: 4em;
    font-weight: bold;
    color: var(--text-color-light);
    position: relative;
    text-shadow: 0 0 10px var(--secondary-color);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--secondary-color);
    animation: glitch-2 3s infinite linear alternate-reverse;
}

/* 科技球体效果 */
.tech-sphere {
    position: relative;
    width: 300px;
    height: 300px;
}

.sphere-core {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px var(--secondary-color);
    animation: pulse 2s infinite;
}

.sphere-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(67, 116, 228, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.sphere-orbit::before,
.sphere-orbit::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary-color);
}

/* 高级时间轴效果 */
.tech-timeline-advanced {
    position: relative;
    padding: 60px 0;
}

.timeline-content {
    display: flex;
    margin-bottom: 40px;
}

.time-marker {
    position: relative;
    width: 60px;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px var(--secondary-color);
}

.marker-line {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 2px;
    height: calc(100% + 40px);
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
}

/* 数字增长动画 */
.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    color: var(--secondary-color);
    font-weight: bold;
    text-shadow: 0 0 10px var(--secondary-color);
}

/* 团队成员卡效果 */
.team-member {
    position: relative;
    overflow: hidden;
}

.member-photo {
    position: relative;
    overflow: hidden;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(67, 116, 228, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .photo-overlay {
    opacity: 1;
}

.tech-connect-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-connect-lines::before,
.tech-connect-lines::after {
    content: '';
    position: absolute;
    background: var(--secondary-color);
    opacity: 0.2;
}

/* 动画关键帧 */
@keyframes glitch-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 40% 0); }
    40% { clip-path: inset(40% 0 60% 0); }
    60% { clip-path: inset(80% 0 20% 0); }
    80% { clip-path: inset(10% 0 90% 0); }
    100% { clip-path: inset(30% 0 70% 0); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(80% 0 20% 0); }
    20% { clip-path: inset(20% 0 80% 0); }
    40% { clip-path: inset(60% 0 40% 0); }
    60% { clip-path: inset(40% 0 60% 0); }
    80% { clip-path: inset(90% 0 10% 0); }
    100% { clip-path: inset(70% 0 30% 0); }
}

/* 动指引效果 */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-indicator-text {
    color: var(--secondary-color);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    position: relative;
    padding: 0 15px;
    text-shadow: 0 0 8px var(--secondary-color);
}

/* 装饰线条 */
.scroll-indicator-text::before,
.scroll-indicator-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--secondary-color);
    transform-origin: center;
}

.scroll-indicator-text::before {
    right: 100%;
    animation: lineGlow 2s infinite;
}

.scroll-indicator-text::after {
    left: 100%;
    animation: lineGlow 2s infinite reverse;
}

/* 箭头容器 */
.scroll-indicator-arrow {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 发光圆环 */
.scroll-indicator-arrow::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: pulseRing 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

/* 箭头主体 */
.scroll-indicator-arrow::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    transform: rotate(45deg) translateY(-5px);
    animation: arrowBounce 2s infinite;
    box-shadow: 2px 2px 8px rgba(67, 116, 228, 0.3);
}

/* 动画关键帧 */
@keyframes pulseRing {
    0% {
        transform: scale(0.7);
        opacity: 0.3;
    }
    50% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.7);
        opacity: 0.3;
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: rotate(45deg) translateY(-5px);
    }
    50% {
        transform: rotate(45deg) translateY(5px);
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* 悬停效果 */
.scroll-indicator:hover .scroll-indicator-text {
    text-shadow: 0 0 15px var(--secondary-color);
}

.scroll-indicator:hover .scroll-indicator-arrow::before {
    animation-duration: 1s;
}

.scroll-indicator:hover .scroll-indicator-arrow::after {
    animation-duration: 1s;
}

/* 滚动时隐藏果 */
.scroll-indicator.hidden {
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* 公司名称动态效果 */
.company-name {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

.text-glitch {
    position: relative;
    display: inline-block;
    color: var(--text-color-light);
    text-shadow: 0 0 10px var(--secondary-color);
}

.text-glitch::before,
.text-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    clip: rect(0, 0, 0, 0);
}

.text-glitch::before {
    left: 2px;
    text-shadow: 1px 0 var(--secondary-color);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.text-glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--secondary-color);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.company-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.company-decoration .line {
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    position: relative;
}

.company-decoration .dot {
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin: 0 10px;
    box-shadow: 0 0 10px var(--secondary-color);
}

/* Section 粒子容器 */
.section-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.section-particles canvas {
    transition: opacity 0.3s ease;
}

.tech-section {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
}

.tech-section > .container {
    position: relative;
    z-index: 1;
}

/* 动画键帧 */
@keyframes glitch-anim-1 {
    0% { clip: rect(20px, 9999px, 21px, 0); }
    10% { clip: rect(42px, 9999px, 44px, 0); }
    20% { clip: rect(60px, 9999px, 62px, 0); }
    /* ... 更多关键帧 ... */
}

@keyframes glitch-anim-2 {
    0% { clip: rect(12px, 9999px, 13px, 0); }
    10% { clip: rect(32px, 9999px, 33px, 0); }
    20% { clip: rect(54px, 9999px, 55px, 0); }
    /* ... 更多关键帧 ... */
}

/* 科技感按钮样式 */
.tech-button {
    position: relative;
    padding: 12px 30px;
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 1em;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* 按钮边框效果 */
.tech-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    z-index: -1;
    transform: skewX(-10deg);
    box-shadow: 0 0 10px rgba(67, 116, 228, 0.2);
}

/* 按钮发光效果 */
.tech-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 90%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(67, 116, 228, 0.1), 
        transparent
    );
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -2;
}

/* 悬停效果 */
.tech-button:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.tech-button:hover::before {
    background: var(--secondary-color);
    transform: skewX(-10deg) scale(1.05);
    box-shadow: 0 0 20px rgba(67, 116, 228, 0.4) ;
}

.tech-button:hover::after {
    opacity: 1;
    animation: buttonGlow 2s infinite;
}

/* 击效果 */
.tech-button:active::before {
    transform: skewX(-10deg) scale(0.95);
}

/* 按钮内部装饰 */
.tech-button span {
    position: relative;
    z-index: 1;
}

/* 按钮角落装饰 */
.tech-button .corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.tech-button .corner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.tech-button .corner-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.tech-button .corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.tech-button .corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* 按钮动画 */
@keyframes buttonGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* 表单交按钮特殊样式 */
.contact-form .tech-button {
    width: 100%;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.1em;
    background: linear-gradient(90deg,
        transparent,
        rgba(67, 116, 228, 0.1),
        transparent
    );
}

.contact-form .tech-button::before {
    border-width: 1px;
    background: linear-gradient(90deg,
        rgba(67, 116, 228, 0.1),
        rgba(67, 116, 228, 0.2),
        rgba(67, 116, 228, 0.1)
    );
    opacity: 0;
}

.contact-form .tech-button:hover::before {
    opacity: 1;
}

/* 添加加载动画 */
.tech-button.loading {
    pointer-events: none;
}

.tech-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: buttonLoading 1s infinite linear;
}

@keyframes buttonLoading {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 移动端导航栏 */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1001;
    background: transparent;
    border: none;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    position: relative;
    transition: all 0.3s ease;
}

.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

.mobile-nav-toggle span::before { top: -8px; }
.mobile-nav-toggle span::after { bottom: -8px; }

/* 移动端菜单激活状态 */
.mobile-nav-toggle.active span {
    background: transparent;
}

.mobile-nav-toggle.active span::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle.active span::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .tech-sphere {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

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

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-visual {
        display: none;
    }

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

@media (max-width: 768px) {
    /* 导航栏调整 */
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-color-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

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

    /* 首页调整 */
    .company-name {
        font-size: 2.5em;
    }

    .tagline {
        font-size: 1.5em;
    }

    /* 内容区域调整 */
    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .tech-highlight {
        font-size: 2em;
    }

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

    /* 表单调整 */
    .form-group {
        margin-bottom: 20px;
    }

    .tech-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    /* 页脚调整 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    /* 更小屏幕的调整 */
    .container {
        padding: 0 15px;
    }

    .company-name {
        font-size: 2em;
    }

    .tech-card {
        padding: 20px;
    }

    .tech-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-card {
        margin-bottom: 20px;
    }

    .contact-info {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
}

/* 横屏模式适配 */
@media (max-height: 600px) and (orientation: landscape) {
    .splash-screen {
        height: auto;
        min-height: 100vh;
        padding: 50px 0;
    }

    .company-name {
        font-size: 2em;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #0a192f;
        --primary-color-dark: #020c1b;
    }
}

/* 高分辨率屏幕适配 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tech-button::before {
        border-width: 1px;
    }
}

/* 触摸屏优化 */
@media (hover: none) {
    .tech-button:hover {
        transform: none;
    }

    .tech-card:hover {
        transform: none;
    }
}

/* 科技感翻页控制按钮 */
.tech-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.control-btn {
    position: relative;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

/* 按钮边框效果 */
.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

/* 按钮发光效果 */
.control-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, 
    rgba(67, 116, 228, 0.2) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 按钮图标 */
.control-btn i {
    color: var(--secondary-color);
    font-size: 1.2em;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* 悬停效果 */
.control-btn:hover::before {
    transform: rotate(225deg);
    box-shadow: 0 0 15px rgba(67, 116, 228, 0.2);
}

.control-btn:hover::after {
    opacity: 1;
    animation: controlGlow 2s infinite;
}

.control-btn:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--secondary-color);
}

/* 点击效果 */
.control-btn:active::before {
    transform: rotate(135deg) scale(0.95);
}

/* 禁用状态 */
.control-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.control-btn:disabled::before {
    border-color: var(--text-color);
}

.control-btn:disabled i {
    color: var(--text-color);
}

/* 翻页按钮动画 */
@keyframes controlGlow {
    0%, 100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 分页指示器 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-numbers span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.1em;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

/* 页码边框效果 */
.page-numbers span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--secondary-color);
    opacity: 0;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

/* 当前页码 */
.page-numbers span.current {
    color: var(--secondary-color);
}

.page-numbers span.current::before {
    opacity: 1;
    animation: pageSpin 2s linear infinite;
}

/* 悬停效果 */
.page-numbers span:hover {
    color: var(--secondary-color);
}

.page-numbers span:hover::before {
    opacity: 0.5;
    transform: rotate(225deg);
}

/* 页码动画 */
@keyframes pageSpin {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tech-controls {
        gap: 15px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .page-numbers span {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
}

/* 新闻页面样式 */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-btn {
    position: relative;
    padding: 10px 25px;
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.filter-btn .btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--secondary-color);
    opacity: 0;
    transform: skewX(-10deg);
    transition: all 0.3s ease;
}

.filter-btn:hover .btn-border,
.filter-btn.active .btn-border {
    opacity: 1;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--secondary-color);
}

/* 新闻卡片样式 */
.news-card {
    display: flex;
    gap: 30px;
    padding: 30px;
    margin-bottom: 30px;
    background: var(--accent-color);
    border: 1px solid rgba(67, 116, 228, 0.1);
    transition: all 0.3s ease;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--secondary-color);
    min-width: 100px;
}

.news-date .day {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
}

.news-date .month,
.news-date .year {
    font-size: 0.9em;
    color: var(--text-color-light);
}

.news-content {
    flex: 1;
}

.news-content h3 {
    color: var(--text-color-light);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    color: var(--text-color);
    font-size: 0.9em;
}

.news-meta .category {
    color: var(--secondary-color);
}

.news-meta .views i {
    margin-right: 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-filter {
        flex-wrap: wrap;
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .news-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .news-date {
        align-self: flex-start;
    }
}

/* 文字效果相关样式 */
.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(67, 116, 228, 0.4),
        transparent
    );
    pointer-events: none;
}

.glitch-layer-1, .glitch-layer-2 {
    mix-blend-mode: multiply;
    pointer-events: none;
}

.typing-text {
    border-right: 2px solid #333BDB;
    white-space: nowrap;
    overflow: hidden;
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    from, to { border-color: transparent }
    50% { border-color: #333BDB; }
}

/* 产品页面样式 */
.products-page {
    position: relative;
    z-index: 1;
    padding-top: 60px;
}

.products-page section {
    position: relative;
    z-index: 2;
}

.products-page .hero-section {
    position: relative;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 20px;
    background: var(--gradient-bg);
    overflow: hidden;
}

.products-page .hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--text-color-light);
    text-shadow: var(--neon-glow);
}

.products-page .hero-section .subtitle {
    font-size: 1.1em;
    color: var(--secondary-color);
    opacity: 0.8;
}

.products-showcase {
    padding: 30px 0;
    position: relative;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}

.product-card {
    background: rgba(17, 34, 64, 0.6);
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(67, 116, 228, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--secondary-color),
        transparent
    );
    animation: borderGlow 2s linear infinite;
}

.product-icon {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: var(--neon-glow);
}

.product-card h3 {
    color: var(--text-color-light);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 0.95em;
}

.product-card .features {
    list-style: none;
    margin-bottom: 20px;
}

.product-card .features li {
    color: var(--text-color-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95em;
}

.product-card .features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.service-process {
    padding: 40px 0;
    background: var(--primary-color-dark);
    position: relative;
}

.service-process h2 {
    text-align: center;
    color: var(--text-color-light);
    font-size: 2em;
    margin-bottom: 30px;
    text-shadow: var(--neon-glow);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 10px;
}

.process-step {
    text-align: center;
    padding: 20px;
    background: rgba(17, 34, 64, 0.4);
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 1.8em;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: var(--neon-glow);
}

.process-step h3 {
    color: var(--text-color-light);
    margin-bottom: 8px;
    font-size: 1.1em;
}

.process-step p {
    color: var(--text-color);
    font-size: 0.9em;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 新闻页面样式 */
.news-page {
    padding-top: 80px; /* 增加顶部内边距，避免被导航栏遮挡 */
}

.news-page .hero-section {
    position: relative;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 20px;
    background: var(--gradient-bg);
    overflow: hidden;
}

/* 合作伙伴页面样式 */
.partners-page {
    padding-top: 80px; /* 增加顶部内边距，避免被导航栏遮挡 */
}

.partners-page .hero-section {
    position: relative;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 20px;
    background: var(--gradient-bg);
    overflow: hidden;
}

.partners-showcase {
    padding: 40px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}