:root {
    --primary-color: #1e88e5;
    --secondary-color: #424242;
    --text-color: #333;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav ul li a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* 添加悬停效果和下划线动画 */
.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.nav ul li a:hover::after {
    width: 70%;
}

/* 当前页面指示器 */
.nav ul li a.active {
    color: var(--primary-color);
}

.nav ul li a.active::after {
    width: 70%;
}

/* Banner样式 */
.banner {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://soloist.ai/tle/images/circuit-pattern.png') repeat;
    opacity: 0.1;
}

.banner-buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* 服务部分样式 */
.services {
    padding: 60px 0;
    background: var(--light-gray);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
} 

/* 服务项目动画 */
.service-item {
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* 联系表单样式 */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #1565c0;
}

/* 响应式导航菜单 */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav ul {
        flex-direction: column;
    }

    .nav ul li {
        margin: 10px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
} 

/* 特色介绍样式 */
.features {
    padding: 80px 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-icon {
    width: 250px;
    height: 250px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 关于我们样式更新 */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .banner {
        padding: 120px 0 60px;
    }

    .banner-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        margin: 0;
    }
} 

/* 数据统计样式 */
.statistics {
    padding: 60px 0;
    background: var(--primary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-number span {
    font-size: 0.6em;
}

.stat-label {
    font-size: 1.1em;
}

/* 案例展示样式 */
.cases {
    padding: 80px 0;
    background: white;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.case-image {
    position: relative;
    padding-top: 75%; /* 4:3 比例 */
}

.case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.case-item:hover .case-overlay {
    transform: translateY(0);
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

/* 技术优势样式 */
.advantages {
    padding: 80px 0;
    background: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.advantage-item {
    display: flex;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-content ul {
    margin-top: 15px;
    padding-left: 20px;
}

.advantage-content ul li {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .advantage-icon {
        margin: 0 auto;
    }
} 

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.arrow-up {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(-135deg);
}

/* 产品轮播样式 */
.carousel {
    position: relative;
    margin: 40px 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
    }
}

/* 更新页脚样式 */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .carousel-slide img {
        height: 300px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
} 

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* 改进的移动端菜单按钮 */
.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.menu-icon span:first-child {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 9px;
}

.menu-icon span:last-child {
    bottom: 0;
}

.mobile-menu-btn.active .menu-icon span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-btn.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-icon span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* 图片淡入效果 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 移动端导航菜单改进 */
@media (max-width: 768px) {
    .nav {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .nav ul li:last-child a {
        border-bottom: none;
    }
} 

/* 服务项目样式优化 */
.service-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95em;
    color: var(--secondary-color);
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* 关于我们部分样式优化 */
.about-intro {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.about-features h3,
.about-certifications h3 {
    margin: 25px 0 15px;
    font-size: 1.3em;
    color: var(--primary-color);
}

.about-features ul {
    list-style: none;
    padding: 0;
}

.about-features li {
    margin-bottom: 20px;
}

.about-features li strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
    color: var(--secondary-color);
}

.about-features li p {
    color: #666;
    line-height: 1.6;
}

.about-certifications {
    margin: 25px 0;
}

.about-certifications h3 {
    margin-bottom: 15px;
    font-size: 1.3em;
    color: var(--primary-color);
    text-align: left;
}

.about-certifications ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
    text-align: left;
}

.about-certifications li {
    background: var(--light-gray);
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.9em;
    list-style: none;
}

.about-certifications li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-stats .stat {
    text-align: center;
}

.about-stats .number {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
}

.about-stats .label {
    font-size: 0.9em;
    color: var(--secondary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-certifications ul {
        grid-template-columns: 1fr;
    }
    
    .about-certifications li {
        text-align: left;
    }
} 

/* 客户评价样式 */
.testimonials {
    padding: 80px 0;
    background: var(--light-gray);
}

.testimonial-slider {
    position: relative;
    margin-top: 40px;
}

.testimonial-container {
    display: flex;
    overflow: hidden;
}

.testimonial-item {
    min-width: 100%;
    padding: 20px;
}

.testimonial-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--primary-color);
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.9em;
    color: #666;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
}

/* 合作伙伴样式 */
.partners {
    padding: 60px 0;
    background: white;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.partner-item {
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0);
}

/* 新闻动态样式 */
.news {
    padding: 80px 0;
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.news-date .day {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

.news-date .month {
    font-size: 0.9em;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    margin: 0 0 15px;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1565c0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
} 

/* 表单验证样式 */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 0.85em;
    margin-top: 5px;
    position: absolute;
    bottom: -20px;
}

.success-message {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 图片加载优化 */
.image-placeholder {
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

/* 页面切换动画 */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 表单输入动画 */
.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30,136,229,0.1);
    outline: none;
} 

/* 轮播图指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* 图片预览模态框样式 */
.image-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.image-preview-modal.active {
    display: flex;
}

.image-preview-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 2001;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s ease;
}

.modal-nav:hover {
    background: rgba(255,255,255,0.3);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

/* 优化轮播图过渡效果 */
.carousel-container {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
} 

/* 添加滚动动画样式 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 优化图片预览样式 */
.image-preview-modal img {
    cursor: grab;
    transition: transform 0.3s ease;
}

.image-preview-modal img:active {
    cursor: grabbing;
}

/* 添加触摸设备滑动提示 */
.swipe-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    opacity: 0.8;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* 优化客户评价轮播过渡效果 */
.testimonial-container {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item {
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.testimonial-item[aria-hidden="false"] {
    opacity: 1;
    transform: scale(1);
} 

/* 页面加载进度条样式 */
.page-loading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #64b5f6);
    z-index: 9999;
    transition: width 0.2s ease, opacity 0.3s ease;
}

/* 优化移动端触摸反馈 */
@media (hover: none) {
    .service-item,
    .feature-item,
    .case-item,
    .news-item,
    .partner-item {
        -webkit-tap-highlight-color: transparent;
    }

    .service-item:active,
    .feature-item:active,
    .case-item:active,
    .news-item:active,
    .partner-item:active {
        transform: scale(0.98);
    }
}

/* 添加滚动指示器 */
.scroll-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.scroll-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 优化表单触摸反馈 */
.form-group input,
.form-group textarea {
    -webkit-tap-highlight-color: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(30,136,229,0.05);
}

/* 添加移动端手势提示 */
.gesture-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.gesture-hint.visible {
    opacity: 1;
} 

/* 社交分享样式 */
.share-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: var(--primary-color);
    color: white;
}

/* 二维码模态框样式 */
.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.qrcode-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.qrcode-container h3 {
    margin-bottom: 20px;
}

.close-qrcode {
    margin-top: 20px;
    padding: 8px 20px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

/* 地图样式 */
.contact-map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

.map-info {
    padding: 10px;
}

.map-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.map-info p {
    margin: 5px 0;
    color: var(--secondary-color);
} 

/* 地图错误提示样式 */
.map-error {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--secondary-color);
    text-align: center;
    padding: 20px;
}

.map-error p {
    margin: 0;
    font-size: 1.1em;
}

/* 地图加载动画 */
.map-loading {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

.map-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: map-loading 1s linear infinite;
}

@keyframes map-loading {
    to {
        transform: rotate(360deg);
    }
} 

/* 移动端优化 */
@media (max-width: 768px) {
    .banner-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        margin: 0;
        width: 80%;
        text-align: center;
    }
} 

/* 添加导航栏滚动阴影效果 */
.header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
} 

/* 联系信息样式优化 */
.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.info-item:hover {
    background: var(--light-gray);
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.info-item p {
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 二维码按钮样式 */
.qr-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.qr-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

/* 二维码模态框样式 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.qr-modal.active {
    display: flex;
}

.qr-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.qr-container h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.qr-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.close-qr {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .info-item i {
        margin: 0 0 10px 0;
        font-size: 28px;
    }

    .info-item p {
        flex-direction: column;
        gap: 10px;
    }

    .qr-btn {
        width: 100%;
        padding: 8px;
    }
} 

/* 更新新闻部分样式 */
.news-more {
    text-align: center;
    margin-top: 40px;
}

.news-more .btn {
    padding: 12px 30px;
    font-size: 16px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.news-more .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 调整新闻网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
} 