/* 全局变量 */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #ff3366;
    --yellow-color: #ffd700;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --dark-gray: #666666;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --section-padding: 8rem 0;
    --section-height: 100vh;
    --gradient-1: linear-gradient(135deg, #00a8e8, #003459);
    --gradient-2: linear-gradient(135deg, #003459, #00a8e8);
    --gradient-3: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-2: 0 20px 50px rgba(0, 0, 0, 0.2);
    --max-width: 1200px;
    --content-padding: 0 2rem;
    --grid-gap: 4rem;
    --card-padding: 3rem;
    --border-radius: 20px;
    --section-padding: 10rem 0;
    --font-size-h1: clamp(3rem, 5vw, 6rem);
    --font-size-h2: clamp(4rem, 5vw, 6rem);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.logo img{
    width: 300px;
    height: auto;
}
/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, background-color, box-shadow;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

/* 首页横幅样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.secondary-button {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particles 20s linear infinite;
}

/* 服务介绍样式 */
.services {
    padding: var(--section-padding);
    background-color: var(--light-gray);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.services.animate {
    opacity: 1;
    transform: scale(1);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) {
    transition-delay: 0.2s;
}

.service-card:nth-child(2) {
    transition-delay: 0.4s;
}

.service-card:nth-child(3) {
    transition-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.learn-more:hover {
    gap: 1rem;
}

/* 关于我们样式 */
.about {
    padding: var(--section-padding);
    background: url('../img/8.png') center/cover;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9) 50%, rgba(255, 0, 0, 0)); 
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 2rem;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text h2 {
    color: #fff;
    font-size: var(--font-size-h1);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.about-text p>strong{
    color: var(--accent-color);
}
.about-text a {
    text-decoration: none;
    color: var(--yellow-color);
}

.about-image {
    flex: 1;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.stats-section {
    width: 100%;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    padding: 2rem 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    text-align: center;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    display: block;
    line-height: 1.5;
    white-space: nowrap;
    overflow: visible;
    max-width: 100%;
    word-wrap: normal;
    font-weight: 500;
    text-align: center;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
}

/* 案例展示样式 */
.cases {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 100vh;
    background-color: #000;
    transform: none !important;
    backface-visibility: visible;
    perspective: none;
    will-change: auto;
}

.cases-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('../img/5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.9;
    transform: none !important;
}

.cases-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6));
    z-index: 2;
    transform: none !important;
}

.cases .container {
    position: relative;
    z-index: 3;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transform: none !important;
    backface-visibility: visible;
    perspective: none;
    will-change: auto;
}

.cases h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    font-size: var(--font-size-h1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.case-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.case-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
}

.case-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.case-image {
    position: relative;
    /* height: 250px; */
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    contain: content;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 25px;
    color: #fff;
}

.case-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.case-content p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
}

.case-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.case-link:hover {
    background: #fff;
    color: #000;
}

/* 联系我们样式 */
.contact {
    padding: var(--section-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h2 {
    font-size: var(--font-size-h1);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #ff1a4d;
}

/* 页脚样式 */
.main-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-column a {
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.download-btn{
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.download-btn:hover{
    background-color: #ff1a4d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-color: #ff1a4d;
    text-decoration: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}


/* 动画效果 */
@keyframes particles {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(50px);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .services-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .about-text {
        width: 100%;
        order: 2;
        transform: translateY(50px);
    }
    
    .about-text.animate {
        transform: translateY(0);
    }
    
    .about-image {
        width: 100%;
        order: 1;
        transform: translateY(-50px);
    }
    
    .about-image.animate {
        transform: translateY(0);
    }
    
    .image-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .stats-section {
        padding: 1.5rem 0;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
        padding: 1.5rem;
    }

    .services-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .cases {
        padding: 80px 0;
    }
    
    .case-filters {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .case-image {
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
        min-height: 160px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cases h2 {
        font-size: 2rem;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-content h3 {
        font-size: 1.3rem;
    }
}

/* 服务卡片优化 */
.service-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 公司价值观样式 */
.company-values {
    margin: 2rem 0;
}

.company-values h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.company-values ul {
    list-style: none;
    padding: 0;
}

.company-values li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.company-values li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* 营业时间样式 */
.business-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.business-hours h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.business-hours p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* 表单验证样式 */
.form-group {
    position: relative;
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ff4444;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #00C851;
}

.error-message {
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    color: #ff4444;
    font-size: 0.875rem;
}

/* 性能优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 可访问性优化 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 图片懒加载样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 预加载动画 */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* 硬件加速 */
.section {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
    contain: content;
}

/* 优化滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(85, 85, 85, 0.5);
}

/* 优化动画性能 */
.parallax {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
    contain: content;
}

/* 优化图片加载 */
img {
    content-visibility: auto;
    will-change: transform;
}

/* 优化导航栏 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, background-color, box-shadow;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 优化案例卡片 */
.case-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform, opacity;
    contain: content;
}

.case-image {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    contain: content;
}

/* 优化视差效果 */
.hero-background,
.cases-bg {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    contain: content;
}

/* 减少动画复杂度 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 优化滚动性能 */
.cases {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}

.cases-bg {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

/* 优化卡片样式 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.case-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
}

.case-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 资讯模块样式 */
.news {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.news-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--content-padding);
}
.news-content a{text-decoration:none !important}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2);
}

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.news-content p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

.news-more {
    text-align: center;
}
.modal-text p>img{width: 100% !important;height: auto !important;}
.modal-text p{margin:10px}
.modal-text h1{font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;}
.modal-text h2{font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 0.5rem;}
.modal-text h3{
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.modal-text h4{
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.modal-text h5{
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.modal-text strong{
    
        color: #27ae60;

}
.modal-text em{
    font-style: italic;
}




.modal-text>ul{list-style: disc;margin-left: 1.5rem;margin-bottom: 1rem;color: #34495e;}

.more-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.more-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 资讯模块响应式样式 */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 1rem;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .news-content p {
        font-size: 0.9rem;
    }

    .more-button {
        padding: 0.8rem 1.5rem;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #000;
}

.modal-body {
    padding: 30px;
    display: flex;
    gap: 30px;
}

.modal-image {
    flex: 1;
    max-width: 400px;
}

.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.modal-info {
    flex: 1;
    overflow-y: auto;
    max-height: 600px;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.modal-date {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.modal-description,
.modal-content {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-specs {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.modal-specs h3 {
    margin-bottom: 15px;
    color: #333;
}

.modal-specs ul {
    list-style: none;
    padding: 0;
}

.modal-specs li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.modal-specs li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 弹窗响应式样式 */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        padding: 20px;
    }

    .modal-image {
        max-width: 100%;
    }

    .modal-content {
        margin: 3% auto;
        width: 95%;
    }

    .modal-info {
        max-height: none;
    }
} 