/* --- 全局与重置 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    --bg-color: #FFFFFF; /* Main page background */
    --primary-color: #6d1224; /* 主色调 - 深红色 */
    --accent-color: #c5a553; /* 点缀色 - 暗金色 */
    --primary-text-color: #333333; /* 主要文本颜色 */
    --secondary-text-color: #6C757D; /* 次要文本颜色 */
    --section-bg-color: #f4f4f4; /* 辅助色/区域背景色 - 淡灰色 */
    --card-bg-color: #FFFFFF; /* 卡片背景色 */
    --border-color: #e0e0e0; /* 边框颜色 */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--section-bg-color); /* 使用区域背景色作为页面主背景 */
    color: var(--primary-text-color);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

h1, h2, h3, h4 {
    color: var(--primary-text-color);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

section {
    padding: 6rem 2rem;
}

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

/* --- 通用组件: 段落标题 --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem; /* 调整主标题和副标题之间的间距 */
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    margin-top: 0;
}

.section-header .highlight {
    color: var(--primary-color);
}

/* --- 头部与导航 --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.logo a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

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

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

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

/* 当前页面激活状态 */
.nav-links li a.active {
    color: var(--primary-color);
}

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

/* 移动端菜单按钮 */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

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

    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* 滚动时导航栏样式 */
.main-header.scrolled .nav-links li a {
    padding: 6px 0;
}

/* 导航栏动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-header {
    animation: fadeInDown 0.5s ease;
}

/* --- 主视觉区 (轮播) --- */
.hero {
    position: relative;
    height: 100vh;
    color: #fff;
    overflow: hidden;
    padding: 0; /* 覆盖section的全局padding，确保全屏 */
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s 1s;
    background-size: cover;
    background-position: center;
}

/* 为每个幻灯片设置自己的海报背景图 */
.hero-slide:nth-child(1) { background-image: url('../images/hero-poster1.jpg'); }
.hero-slide:nth-child(2) { background-image: url('../images/hero-poster2.jpg'); }
.hero-slide:nth-child(3) { background-image: url('../images/hero-poster3.jpg'); }
.hero-slide:nth-child(4) { background-image: url('../images/hero-poster4.jpg'); }

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1; /* 视频在背景图之上 */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-color: transparent; /* 确保视频背景透明 */
}

.hero-video.loaded {
    opacity: 1; /* 当视频加载完成时，使其浮现 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2; /* 遮罩在视频之上 */
}

.hero-content {
    position: relative;
    z-index: 3; /* 内容在遮罩之上，最顶层 */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: left;
    padding: 0 5%;
}

.hero-main-text {
    max-width: 700px;
}

.hero-main-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
}
.hero-main-text h1 span {
    display: block;
    color: var(--accent-color);
}

.hero-subtitle p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    letter-spacing: 1.5px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* 轮播控制 */
.hero-controls {
    position: absolute;
    bottom: 90px; /* 向上移动，为下方的topics bar留出空间 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.hero-prev, .hero-next {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-prev:hover, .hero-next:hover {
    background: var(--primary-color);
}

.hero-prev svg, .hero-next svg {
    width: 20px;
    height: 20px;
}

.hero-dots {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 1rem;
    transform: translateX(-50%);
    z-index: 10;
}

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

.hero-dot.active {
    background: var(--accent-color);
    border-color: #fff;
}

/* 底部热门话题栏 */
.hero-topics-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    z-index: 5;
}

.hero-topics-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.topics-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.topic-item {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.topic-item:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: #fff;
}

/* --- 客户Logo滚动区 --- */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logos-section {
    padding: 4rem 0; /* 再次减小上下内边距 */
    background: linear-gradient(135deg, #1D2B64 0%, #372E5A 100%);
    overflow: hidden;
}

.client-logos-section h2 {
    color: #fff;
    max-width: none;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem; /* 减小标题下边距 */
}

.client-logos-slider {
    margin-top: 0; /* 移除与标题之间的间距 */
}

.client-logos-track {
    display: flex;
    /* (10 logos + 10 duplicates) * (avg width 300 + gap 100) ~= 10000px */
    width: 10000px; 
    animation: scroll 100s linear infinite;
    gap: 100px;
    padding: 15px 0; /* 减小轨道内边距 */
}

.client-logos-slider:hover .client-logos-track {
    animation-play-state: paused;
}

.row-2 {
    animation-direction: reverse;
}

.client-logos-track img {
    height: 128px; /* Logo 高度减小20% */
    width: auto;
    max-width: 384px; /* 相应调整最大宽度 */
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logos-track img:hover {
    opacity: 1;
}


/* --- 客户区 (旧样式，将被替换) --- */
/* 
.clients {
    background-color: var(--bg-color);
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.client-logos span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-text-color);
    transition: color 0.3s ease;
}

.client-logos span:hover {
    color: var(--primary-text-color);
} 
*/

/* --- 服务区 --- */
.services {
    background-color: var(--card-bg-color);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

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

.service-card p {
    color: var(--secondary-text-color);
}

/* --- 关于我们 (旧样式，将被新理念区域取代) --- */
.about {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* --- 我们的理念 --- */
@keyframes text-anim {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#philosophy {
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem;
    background-color: #111319; /* 恢复为深色背景 */
}

#philosophy .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#philosophy .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

#philosophy .col-lg-6 {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

/* 装饰元素 - 调整为深色背景下的淡色装饰 */
.decoration-circle-1, .decoration-circle-2 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    z-index: 0;
}

.decoration-circle-1 {
    width: 200px;
    height: 200px;
    top: -30px;
    right: -30px;
    animation: float 8s ease-in-out infinite;
}

.decoration-circle-2 {
    width: 150px;
    height: 150px;
    bottom: -20px;
    left: -20px;
    animation: float 6s ease-in-out infinite reverse;
}

.decoration-diamonds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.diamond {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03); /* 可见的淡色菱形 */
    transform: rotate(45deg);
    animation: float-diamond 20s infinite ease-in-out;
}

.philosophy-content .section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 2rem;
    color: #fff; /* 恢复为亮色文字 */
}

.philosophy-content .animated-text-philosophy span {
    display: inline-block;
    opacity: 0;
    /* 动画现在由JS通过添加in-view类来触发 */
}

.philosophy-content .animated-text-philosophy.in-view span {
    transform: translateY(0);
    opacity: 1;
    color: var(--primary-color);
}

/* 移除固定的动画延迟 */

.philosophy-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7); /* 恢复为亮色文字 */
    margin-bottom: 1.5rem;
}

.philosophy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6); /* 恢复为亮色文字 */
}

.philosophy-content p strong {
    color: rgba(255, 255, 255, 0.9); /* 恢复为亮色文字 */
    font-weight: 600;
}

.philosophy-image {
    text-align: center;
}

.philosophy-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 992px) {
    #philosophy .row {
        flex-direction: column;
    }
    .philosophy-image {
        margin-top: 3rem;
    }
}

/* --- 客户案例 --- */
.cases {
    background-color: var(--card-bg-color);
    padding: 6rem 2rem;
}

.cases h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--primary-text-color);
}

.cases .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    max-width: 600px;
    margin: -2rem auto 3rem;
}

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

.case-card {
    border-radius: 12px;
    overflow: hidden;
    color: var(--primary-text-color);
    display: block;
    transition: box-shadow 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.case-card.large {
    grid-column: span 2;
}

.case-image-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.case-image-placeholder {
    height: 400px;
    background-color: #e9ecef;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.case-card:hover .case-image-placeholder {
    transform: scale(1.05);
}

.case-card h4, .case-card p {
    padding: 1.5rem 1.5rem 0;
    margin-top: 0;
}

.case-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.case-card p {
    color: var(--secondary-text-color);
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 1.5rem;
}

/* --- FAQ --- */
#faq {
    background: white;
    padding: 6rem 2rem;
}

#faq .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-text-color);
    font-weight: 500;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-icon i {
    color: var(--accent-color);
    font-size: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer p {
    margin: 0;
    padding: 0 1.5rem;
    color: var(--secondary-text-color);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

/* 兼容旧的FAQ样式 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list .faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
}

.faq-list .faq-item:last-child {
    border-bottom: none;
}

.faq-list .faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-list .faq-item p {
    color: var(--secondary-text-color);
}

/* --- 卡片进入动画 --- */
.service-card, .case-card, .faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.service-card.visible, .case-card.visible, .faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 页脚 --- */
.main-footer {
    background-color: var(--card-bg-color);
    text-align: center;
    padding: 4rem 2rem;
}
.footer-content h2 {
    font-size: 2.5rem;
}
.email-link {
    font-size: 1.5rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
}
.address, .phone {
    color: var(--secondary-text-color);
    margin-bottom: 0.5rem;
}
.footer-bottom {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: var(--secondary-text-color);
    font-size: 0.9rem;
}

/* --- 响应式设计 --- */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-card.large {
        grid-column: span 1;
    }

    .case-card h4, .case-card p {
        padding: 1rem 1rem 0;
    }

    .case-card p {
        padding-bottom: 1rem;
    }

    .case-image-placeholder {
        height: 250px;
    }

    /* FAQ移动端样式 */
    #faq {
        padding: 4rem 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem 0;
    }

    /* 客户案例移动端样式 */
    .cases {
        padding: 4rem 1rem;
    }

    .section-subtitle {
        margin: -1rem auto 2rem;
        font-size: 1rem;
    }
}

/* --- 核心业务 (图文卡片) - 已重构 --- */
.news-style-section {
    padding: 80px 20px;
    background: #fff;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.news-item {
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-item.reverse {
    flex-direction: row-reverse;
}

.news-img {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

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

.news-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-info h3 {
    font-size: 24px;
    margin: 0 0 10px;
    color: #333;
}

.news-subtitle {
    font-size: 18px;
    color: #007bff;
    margin: 0 0 15px;
    font-weight: 500;
}

.news-info p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
}

.news-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.news-tags span {
    padding: 6px 15px;
    background: rgba(0,123,255,0.1);
    color: #007bff;
    border-radius: 20px;
    font-size: 14px;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .news-style-section {
        padding: 40px 15px;
    }

    .news-list {
        gap: 30px;
        margin-top: 30px;
    }

    .news-item,
    .news-item.reverse {
        flex-direction: column;
        max-width: 600px;
        margin: 0 auto;
        border-radius: 15px;
    }

    .news-img {
        flex: 0 0 auto;
        height: 200px;
        width: 100%;
    }

    .news-info {
        padding: 25px;
    }

    .news-info h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .news-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .news-info p {
        font-size: 15px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .news-tags {
        gap: 8px;
    }

    .news-tags span {
        padding: 5px 12px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .news-style-section {
        padding: 30px 10px;
    }

    .news-list {
        gap: 20px;
    }

    .news-item {
        border-radius: 12px;
    }

    .news-img {
        height: 180px;
    }

    .news-info {
        padding: 20px;
    }

    .news-info h3 {
        font-size: 18px;
    }

    .news-subtitle {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .news-info p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .news-tags span {
        padding: 4px 10px;
        font-size: 12px;
    }
}

/* 动画效果 */
.news-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

/* 为每个item设置不同的动画延迟 */
.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }

/* --- 联系我们与地图 --- */
.contact-us-section {
    padding: 6rem 2rem;
    background-color: #f8f9fa;
}

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

.contact-us-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details, .contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-details {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item h4 {
    font-size: 1.2rem;
    color: var(--primary-text-color);
    margin-bottom: 0.5rem;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--secondary-text-color);
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: var(--accent-color);
}

.contact-info-item .qr-code {
    max-width: 150px;
    height: auto;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
    padding: 5px;
    border-radius: 4px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    border: none;
}

/* --- 服务区 (旧样式，已废弃) --- */
.services {
    background-color: var(--card-bg-color);
}

/* --- 浮动操作按钮 --- */
.back-to-top, .contact-fab {
    position: fixed;
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.back-to-top {
    left: 30px;  /* 增加与左边缘的距离 */
    bottom: 30px; /* 与联系我们按钮保持相同高度 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.contact-fab {
    right: 30px; /* 增加与右边缘的距离 */
    bottom: 30px; /* 与返回顶部按钮保持相同高度 */
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover, .contact-fab:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 优化弹窗样式 */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-overlay-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-overlay.visible .contact-overlay-content {
    transform: scale(1);
    opacity: 1;
}

.contact-overlay-content .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-overlay-content .close-btn:hover {
    background-color: #f5f5f5;
    color: #333;
    transform: rotate(90deg);
}

.contact-overlay-content h3 {
    font-size: 2rem;
    color: var(--primary-text-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-info-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
}

.contact-info-item h4 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-info-item p {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    margin: 0;
}

.contact-info-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-item a:hover {
    color: #0056b3;
}

.contact-overlay-content .qr-code {
    max-width: 200px;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-overlay-content .qr-code:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .contact-overlay-content {
        width: 95%;
        padding: 2rem;
    }
    
    .contact-overlay-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-info-item {
        padding: 1rem;
    }
}

/* --------------------------------
   Footer Links Section
----------------------------------- */

.footer-links-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    position: relative; /* 确保 z-index 生效 */
    z-index: 1; /* 设置一个较低的堆叠层级 */
}
.links-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.links-column {
    flex: 1;
    min-width: 280px;
}
.links-title {
    font-size: 1.5rem;
    color: var(--primary-text-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}
.links-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
}
.links-content a {
    color: var(--secondary-text-color);
    background-color: #f8f9fa;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.links-content a:hover {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .links-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .links-column {
        width: 100%;
    }
}

/* -------------------------------- 
   FAQ Section
----------------------------------- */
#faq {
    padding: 80px 0;
    background-color: #fff;
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    transition: background-color 0.3s;
}

.faq-item:hover {
    background-color: #f8f9fa;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0 1rem;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-icon i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 1rem;
}

.faq-answer p {
    margin: 0;
    padding: 1rem 0 0;
    color: var(--secondary-text-color);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Or a larger value if needed */
    padding-top: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

/* Cleanup old/duplicate rules */
.faq-list {
   /* This class is deprecated, styles moved to .faq-container and .faq-item */
   /* Keeping it here to avoid breaking anything until fully removed */
}

/* --- 子页面通用样式 (itservice.html) --- */

.subhero-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: var(--primary-color);
}

.subhero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85;
}

.subhero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

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

.subhero-content {
    max-width: 600px;
    flex: 1;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subhero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.subhero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.subhero-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.subhero-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), #0056b3);
    opacity: 0.15;
    z-index: 1;
}

.subhero-decoration-1 {
    width: 200px;
    height: 200px;
    top: -30px;
    right: -30px;
    animation: float 8s ease-in-out infinite;
}

.subhero-decoration-2 {
    width: 150px;
    height: 150px;
    bottom: -20px;
    left: -20px;
    animation: float 6s ease-in-out infinite reverse;
}

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

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

.subhero-title .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

.subhero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subhero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    font-weight: 400;
}

.subhero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.subhero-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-shadow: none;
}

.subhero-btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.subhero-btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.subhero-btn-secondary {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.subhero-btn-secondary:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .subhero-container {
        flex-direction: column;
        text-align: center;
    }

    .subhero-content {
        max-width: 100%;
    }

    .subhero-image {
        margin-top: 40px;
        max-width: 400px;
        width: 100%;
    }

    .subhero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .subhero-image {
        max-width: 100%;
    }

    .subhero-decoration-1 {
        width: 150px;
        height: 150px;
    }

    .subhero-decoration-2 {
        width: 100px;
        height: 100px;
    }
}

/* --- 关于我们页面: 公司介绍 --- */
.about-company-section {
    background-color: var(--card-bg-color);
}

.about-company-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-text-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--secondary-text-color);
}

.company-values {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

.company-values li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.company-values i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* --- 关于我们页面: 核心团队 --- */
.team-section {
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.team-member-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 0 0 5px var(--accent-color);
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text-color);
}

.team-member-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member-bio {
    font-size: 0.95rem;
    color: var(--secondary-text-color);
}

/* --- 响应式: 关于我们页面 --- */
@media (max-width: 992px) {
    .about-company-content {
        flex-direction: column;
        gap: 2rem;
    }
    .about-text, .about-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* 电脑租赁页面样式 */
.why-us-section {
    background-color: var(--bg-color);
    padding: 6rem 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-us-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.why-us-item:hover {
    transform: translateY(-5px);
}

.why-us-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.why-us-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-text-color);
}

.why-us-text {
    color: var(--secondary-text-color);
    line-height: 1.6;
}

/* 租赁产品展示样式 */
.rental-products-section {
    background-color: var(--card-bg-color);
    padding: 6rem 0;
}

.product-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--primary-text-color);
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h4 {
    font-size: 1.25rem;
    margin: 1.5rem;
    color: var(--primary-text-color);
}

.product-card p {
    margin: 0 1.5rem;
    color: var(--secondary-text-color);
}

.product-specs {
    list-style: none;
    margin: 1.5rem;
    padding: 0;
}

.product-specs li {
    margin-bottom: 0.5rem;
    color: var(--secondary-text-color);
    display: flex;
    align-items: center;
}

.product-specs li i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.product-btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    border-radius: 0 0 10px 10px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.product-btn:hover {
    background-color: var(--accent-color);
}

/* 租赁流程样式 */
.rental-process-section {
    background-color: var(--section-bg-color);
    padding: 6rem 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s;
}

.process-step:hover .process-icon {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.process-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-text-color);
}

.process-description {
    color: var(--secondary-text-color);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .why-us-grid,
    .product-grid,
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 180px;
    }

    .process-step::after {
        display: none;
    }
}
