/*融合互联2025年 Claude 4 0pus版本*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {  --primary-color: #4d7cff;
 --secondary-color: #00c8e6;
 --accent-color: #ffc145;
 --text-color: #e0e0e0;
 --bg-dark: #121212;
 --bg-darker: #0a0a0a;
 --bg-light: #1e1e1e;
 --white: #1a1a1a;
 --gray: #333333;
}

html { scroll-behavior: smooth; }

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
overflow-x: hidden;
background-color: var(--bg-dark);
}

/* 头部导航 */

header {
position: fixed;
top: 0;
width: 100%;
background: rgba(18, 18, 18, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
z-index: 1000;
transition: all 0.3s ease;
}

.header-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
}

.logo {
width: 150px; /* 调整适合您logo的宽度 */
height: 40px; /* 调整适合您logo的高度 */

display: flex;
align-items: center;
justify-content: center;
color: #999;
font-size: 0.9rem;
}
.logo img{width: 150px;}
nav ul {
display: flex;
list-style: none;
gap: 2rem;
}

nav a {
text-decoration: none;
color: var(--text-color);
font-weight: 500;
transition: all 0.3s ease;
position: relative;
}

nav a:hover { color: var(--primary-color); }

nav a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--primary-color);
transition: width 0.3s ease;
}

nav a:hover::after { width: 100%; }

.contact-phone {
color: var(--accent-color);
font-weight: bold;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 0.5rem;
}




/* 移动端菜单按钮 */

.mobile-menu-btn {
display: none;
flex-direction: column;
gap: 4px;
cursor: pointer;
}

.mobile-menu-btn span {
width: 25px;
height: 3px;
background: var(--primary-color);
transition: all 0.3s ease;
}

/* Banner区域 */

#home {
height: 100vh;
background: linear-gradient(135deg, rgba(77, 124, 255, 0.9), rgba(0, 200, 230, 0.9)),  url('../img/banner.jpg');
background-size: cover;
background-position: center;
background-attachment: scroll; /* iOS兼容性 */
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}

.banner-content {
text-align: center;
color: var(--text-color);
z-index: 1;
animation: fadeInUp 1s ease;
}

.banner-content h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
font-weight: 700;
}

.banner-content p {
font-size: 1.5rem;
margin-bottom: 2rem;
opacity: 0.9;
}

.cta-button {
display: inline-block;
padding: 1rem 2.5rem;
background: var(--accent-color);
color: var(--bg-darker);
text-decoration: none;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(255, 193, 69, 0.3);
}

.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(255, 193, 69, 0.4);
}
        
        /* 动画效果 */
        @keyframes 
fadeInUp {  from {
 opacity: 0;
 transform: translateY(30px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

/* 通用区块样式 */

section {
padding: 5rem 0;
position: relative;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.section-title {
text-align: center;
margin-bottom: 3rem;
}

.section-title h2 {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 1rem;
position: relative;
display: inline-block;
}

.section-title h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-title p {
font-size: 1.1rem;
color: #aaa;
margin-top: 1.5rem;
}

/* 主营业务 */

#services { background: var(--bg-darker); }

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.service-card {
background: var(--bg-light);
padding: 2rem;
border-radius: 10px;
text-align: center;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
position: relative;
overflow: hidden;
}

.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
transform: scaleX(0);
transition: transform 0.3s ease;
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
width: 60px;
height: 60px;
margin: 0 auto 1.5rem;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-color);
font-size: 1.5rem;
}

.service-card h3 {
font-size: 1.3rem;
margin-bottom: 1rem;
color: var(--text-color);
}

.service-card p {
color: #aaa;
line-height: 1.8;
}

/* 解决方案 */

#solutions { background:#171717; }

.solutions-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.solution-card {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: var(--text-color);
padding: 2.5rem;
border-radius: 15px;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}

.solution-card:hover {
transform: scale(1.05);
box-shadow: 0 20px 40px rgba(77, 124, 255, 0.3);
}

.solution-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
}

.solution-card p {
opacity: 0.9;
line-height: 1.8;
}


        /* 技术优势 */
        #advantages {
            background: var(--bg-darker);
            padding: 5rem 0;
        }
        
        .advantages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .advantage-item {
            display: flex;
            gap: 1.5rem;
            align-items: flex-start;
        }
        
        .advantage-icon {
            flex-shrink: 0;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.3rem;
        }
        
        .advantage-content h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }
        
        .advantage-content p {
            color: #aaa;
            line-height: 1.8;
        }

/* 公司简介 */

#about { background: var(--bg-dark); }

.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
margin-top: 3rem;
}

.about-text h3 {
font-size: 1.8rem;
color: var(--primary-color);
margin-bottom: 1.5rem;
}

.about-text p {
color: #aaa;
line-height: 2;
margin-bottom: 1.5rem;
}

.about-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
margin-top: 2rem;
}

.stat-item { text-align: center; }

.stat-number {
font-size: 2.5rem;
font-weight: bold;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.stat-label {
color: #aaa;
margin-top: 0.5rem;
}

.about-image {
position: relative;
height: 400px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 15px;
overflow: hidden;
}

/* 联系我们 */

#contact { background: var(--bg-darker); }

.contact-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 3rem;
margin-top: 3rem;
}

.contact-info {
background: var(--bg-light);
padding: 2.5rem;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
font-size: 1.5rem;
color: var(--primary-color);
margin-bottom: 2rem;
}

.contact-item {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
}

.contact-icon {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-color);
}

/* 联系我们模块补充样式 */
.contact-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 350px;
}

.qrcode-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qrcode-card p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.qrcode-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.qrcode-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    border: 5px solid white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.qrcode-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 10px 25px rgba(77, 124, 255, 0.2);
}

.qrcode {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qrcode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(77, 124, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 2rem;
}

.qrcode-image:hover .qrcode-overlay {
    opacity: 1;
}

.qrcode-note {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .qrcode-card {
        max-width: 100%;
    }
}

/* 移动端底部菜单 */

.mobile-bottom-menu {
display: none;
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--bg-light);
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
z-index: 1000;
}

.mobile-menu-items {
display: flex;
justify-content: space-around;
padding: 0.5rem 0;
}

.mobile-menu-item {
flex: 1;
text-align: center;
padding: 0.8rem;
cursor: pointer;
transition: all 0.3s ease;
}

.mobile-menu-item:active { background: var(--gray); }

.mobile-menu-item i {
font-size: 1.5rem;
color: var(--primary-color);
display: block;
margin-bottom: 0.3rem;
}

.mobile-menu-item span {
font-size: 0.8rem;
color: var(--text-color);
}

/* 弹窗样式 */

.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 2000;
align-items: center;
justify-content: center;
}

.modal-content {
background: var(--bg-light);
padding: 2rem;
border-radius: 15px;
text-align: center;
max-width: 90%;
width: 300px;
}

.modal-content h3 {
color: var(--primary-color);
margin-bottom: 1rem;
}

.modal-content p {
margin-bottom: 1.5rem;
color: #aaa;
}

.modal-buttons {
display: flex;
gap: 1rem;
justify-content: center;
}

.modal-btn {
padding: 0.8rem 1.5rem;
border: none;
border-radius: 25px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease;
}

.modal-btn-primary {
background: var(--primary-color);
color: var(--text-color);
}

.modal-btn-secondary {
background: var(--gray);
color: var(--text-color);
}
        
        /* 响应式设计 */
        @media (max-width: 768px) {

.header-container { padding: 1rem; }

nav ul {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--bg-light);
flex-direction: column;
padding: 1rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

nav ul.active { display: flex; }

.mobile-menu-btn { display: flex; }

.contact-phone { display: none; }

.banner-content h1 { font-size: 2rem; }

.banner-content p { font-size: 1.1rem; }

.about-content { grid-template-columns: 1fr; }

.mobile-bottom-menu { display: block; }

section { padding-bottom: 6rem; }

/* 移动端背景图优化 */
#home {
    background-attachment: scroll !important;
    /* 为了确保在移动设备上正常显示，使用多种背景图路径 */
    background-image: 
        linear-gradient(135deg, rgba(77, 124, 255, 0.9), rgba(0, 200, 230, 0.9)), 
        url('../img/banner.jpg'),
        url('./img/banner.jpg'),
        url('img/banner.jpg') !important;
    min-height: 100vh;
    height: auto;
}
}

/* 视差滚动效果 */

.parallax {
background-attachment: scroll; /* iOS 兼容性 */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

/* iOS 专用背景图处理 */
@supports (-webkit-overflow-scrolling: touch) {
    .parallax {
        background-attachment: scroll !important;
    }
    
    #home {
        background-attachment: scroll !important;
        /* 为 iOS 添加额外的背景图声明 */
        background-image: linear-gradient(135deg, rgba(77, 124, 255, 0.9), rgba(0, 200, 230, 0.9)), url('../img/banner.jpg') !important;
    }
}

/* 滚动动画 */

.scroll-animation {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}

.scroll-animation.active {
opacity: 1;
transform: translateY(0);
}

/* 底部版权信息 */

.footer {
background: var(--bg-light);
border-top: 1px solid var(--gray);
padding: 2rem 0;
margin-top: 0rem;
font-size: 0.9rem;
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}

.footer-info p {
color: #aaa;
margin: 0.3rem 0;
}

.footer-info a {
color: #aaa;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-info a:hover { color: var(--primary-color); }

.footer-info .separator {
margin: 0 0.5rem;
color: #555;
}

.footer-links {
display: flex;
gap: 2rem;
}

.footer-links a {
color: #aaa;
text-decoration: none;
transition: color 0.3s ease;
position: relative;
}

.footer-links a:hover { color: var(--primary-color); }

.footer-links a::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 1px;
background: var(--primary-color);
transition: width 0.3s ease;
}

.footer-links a:hover::after { width: 100%; }


/* 微信弹窗样式补充 */
.qrcode-modal {
    margin: 1.5rem 0;
}

.qrcode-modal .qrcode {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border: 5px solid white;
    border-radius: 8px;
}

/* 底部菜单样式优化 */
.mobile-menu-items {
    display: flex;
}

.mobile-menu-item {
    flex: 1; /* 两个按钮平分宽度 */
}

/* 确保Font Awesome图标正常显示 */
.fas.fa-phone-alt, .fab.fa-weixin {
    font-size: 1.6rem;
}

/* 只在移动端显示的模块 */
.mobile-only-description {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 移动端显示该模块 */
@media (max-width: 768px) {
    .mobile-only-description {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        line-height: 1.8;
        color: #aaa;
        margin-bottom: 1.5rem !important;
        padding: 0;
    }
    
    /* 移动端公司名称样式优化 */
    .about-text h3 {
        font-size: 1.2rem !important;
        line-height: 1.2;
        white-space: nowrap;
        word-break: keep-all;
        text-align: center;
        width: 100%;
        font-weight: 600;
    }
    
    /* 移动端图片完整显示优化 */
    .about-image {
        height: auto;
        min-height: 200px;
        max-height: 300px;
    }
    
    .about-image img {
        object-fit: contain !important;
        height: 100%;
        max-height: 300px;
    }
}


        
        /* 移动端隐藏底部版权信息 */
        @media (max-width: 768px) {

.footer { display: none; }
}
        
        /* 平板端优化 */
        @media (max-width: 1024px) {

.footer-content {
flex-direction: column;
text-align: center;
}

.footer-links { margin-top: 1rem; }
}

