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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 0px solid #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* 导航栏基础样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

/* 导航栏容器 */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* ==================== */
/* 首页导航栏样式 */
/* ==================== */

/* 首页导航栏初始状态透明 */
body.home-page .navbar {
    background-color: transparent;
}

/* 首页初始状态下的Logo和导航链接颜色（深色背景上应为浅色） */
/* Logo图片颜色通过filter属性处理，这里保留文字Logo样式作为备用 */
body.home-page .navbar:not(.scrolled) .logo-text {
    color: white !important;
}

body.home-page .navbar:not(.scrolled) .logo-text span {
    color: #60a5fa !important;
}

body.home-page .navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.home-page .navbar:not(.scrolled) .nav-link:hover,
body.home-page .navbar:not(.scrolled) .nav-link.active {
    color: white !important;
}

body.home-page .navbar:not(.scrolled) .nav-link.active::after {
    background-color: white !important;
}

body.home-page .navbar:not(.scrolled) .menu-toggle {
    color: white !important;
}

/* ==================== */
/* 其他页面导航栏样式 */
/* ==================== */

/* 其他页面导航栏默认有背景 */
body:not(.home-page) .navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* 其他页面Logo和导航链接颜色 */
/* Logo图片颜色通过filter属性处理，这里保留文字Logo样式作为备用 */
body:not(.home-page) .navbar .logo-text {
    color: #1f2937 !important;
}

body:not(.home-page) .navbar .logo-text span {
    color: #2563eb !important;
}

body:not(.home-page) .navbar .nav-link {
    color: #4b5563 !important;
}

body:not(.home-page) .navbar .nav-link:hover,
body:not(.home-page) .navbar .nav-link.active {
    color: #2563eb !important;
}

body:not(.home-page) .navbar .nav-link.active::after {
    background-color: #2563eb !important;
}

body:not(.home-page) .navbar .menu-toggle {
    color: #4b5563 !important;
}

/* 首页导航栏滚动后的状态 */
body.home-page .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* 首页滚动后的Logo和导航链接颜色 */
/* Logo图片颜色通过filter属性处理，这里保留文字Logo样式作为备用 */
body.home-page .navbar.scrolled .logo-text {
    color: #1f2937 !important;
}

body.home-page .navbar.scrolled .logo-text span {
    color: #2563eb !important;
}

body.home-page .navbar.scrolled .nav-link {
    color: #4b5563 !important;
}

body.home-page .navbar.scrolled .nav-link:hover,
body.home-page .navbar.scrolled .nav-link.active {
    color: #2563eb !important;
}

body.home-page .navbar.scrolled .nav-link.active::after {
    background-color: #2563eb !important;
}

body.home-page .navbar.scrolled .menu-toggle {
    color: #4b5563 !important;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    width: 160px;
    height: 50px;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

/* 首页透明状态下的Logo图片 */
body.home-page .navbar:not(.scrolled) .logo-image {
    filter: brightness(0) invert(1); /* 将Logo变为白色 */
}

/* 首页滚动后和其他页面的Logo图片 */
body.home-page .navbar.scrolled .logo-image,
body:not(.home-page) .navbar .logo-image {
    filter: none; /* 恢复原始颜色 */
}

/* 保留原有的文字Logo样式作为备用 */
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 0.4s ease;
    color: inherit;
}

.logo-text span {
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    transition: color 0.4s ease;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    transform-origin: left;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    transition: color 0.4s ease;
    cursor: pointer;
}

/* 英雄区域调整 - 确保内容不被导航栏遮挡 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}
/* 轮播图容器 */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 轮播图幻灯片 */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

/* 幻灯片遮罩层 - 恢复黑色蒙版效果 */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)); /* 恢复黑色蒙版 */
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 轮播指示器 - 默认居中 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

/* 轮播指示器 - 右侧对齐 */
.carousel-indicators.indicators-right {
    justify-content: flex-end;
    padding-right: 30px;
    left: auto;
    right: 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* 调整内容区域层级 */
.hero-content {
    position: relative;
    z-index: 2;
}

/* 调整滚动指示器层级 */
.scroll-indicator {
    z-index: 2;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 移动端指示器位置调整 */
    .carousel-indicators.indicators-right {
        padding-right: 20px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

/* 调整内容位置，确保在导航栏下方 */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 60px; /* 给导航栏留出空间 */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #60a5fa;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e5e7eb;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0; /* 初始状态不可见 */
    animation: dropIn 1.2s ease-out 0.5s forwards; /* 掉落动画效果 */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.slide-overlay-hidden {
    display: none !important;
}

.hero-content.overlay-disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-float {
    overflow: hidden;
}

.scroll-float-text {
    display: inline-block;
    font-size: clamp(1.6rem, 2vw, 10rem);
    font-weight: 900;
    text-align: center;
    line-height: 1.5;
}

.scroll-float-text .char {
    display: inline-block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}
@keyframes dropIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    60% {
        opacity: 1;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 确保导航菜单在透明背景时也能看清（针对移动端） */
@media (max-width: 768px) {
    /* 首页移动端菜单样式 */
    body.home-page .navbar:not(.scrolled) .nav-menu {
        background-color: rgba(0, 0, 0, 0.9);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    }
    
    body.home-page .navbar:not(.scrolled) .nav-link {
        color: rgba(255, 255, 255, 0.9);
    }
    
    body.home-page .navbar.scrolled .nav-menu {
        background-color: white !important;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* 其他页面移动端菜单样式 */
    body:not(.home-page) .navbar .nav-menu {
        background-color: white !important;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* 移动端Logo图片大小调整 */
    .logo-image {
        width: 140px;
        height: 44px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
    }
    
    .nav-link.active::after {
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务区域 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.service-description {
    color: #6b7280;
    margin-bottom: 20px;
    min-height: 110px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-card .btn {
    margin-top: auto;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 136px;
    align-self: left;
}

/* 案例展示 */
.portfolio {
    background-color: #f3f4f6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.portfolio-empty {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
}

.case-detail-page {
    padding: 80px 0;
}

.case-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    align-items: center;
}

.case-detail-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
}
.case-detail-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.case-detail-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.case-detail-content {
    margin-top: 20px;
    text-align: center;
    color: #0f172a;
}

.case-detail-content {
    color: #ffffff;
}

.case-detail-description {
    margin: 20px 0;
    text-align: left;
    color: #0f172a;
    line-height: 1.8;
    font-size: 1rem;
}

.case-detail-description p,
.case-detail-description li {
    margin-bottom: 16px;
}

.case-detail-label {
    color: #94a3b8;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.case-detail-title {
    font-size: 2.6rem;
    margin-bottom: 18px;
    line-height: 1.3;
    color: #0f172a;
}

.case-detail-remark {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.btn.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
}

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

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

.portfolio-info {
    padding: 20px;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1f2937;
}

.portfolio-category {
    color: #6b7280;
    font-size: 0.9rem;
}

.portfolio-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    background: white;
    color: #2563eb;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-control:hover {
    background: #2563eb;
    color: white;
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #6b7280;
    line-height: 1.7;
}

.about-features {
    list-style: none;
    margin: 25px 0 35px;
}

.about-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.about-features i {
    color: #10b981;
    margin-right: 10px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 联系表单 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4b5563;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small.note {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #1f2937;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.2rem;
    color: #2563eb;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f3f4f6;
    border-radius: 50%;
    color: #4b5563;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: #f9fafb;
    padding: 70px 0 30px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #60a5fa;
}

.footer-col p {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.7;
}

.subscribe-form {
    display: flex;
    margin-top: 15px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Inter', sans-serif;
}

.subscribe-form button {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #1d4ed8;
}

/* 联系方式样式 */
.contact-info-list {
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #d1d5db;
    transition: opacity 0.3s ease;
}

.contact-item.hidden {
    display: none;
}

.contact-item i {
    width: 20px;
    margin-right: 10px;
    margin-top: 3px;
    color: #60a5fa;
    font-size: 0.9rem;
}

.contact-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-value {
    color: #fff;
    font-weight: 500;
}

.contact .contact-value {
    color: #0f172a;
}

/* 公司信息样式 */
.company-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

.company-item {
    margin-bottom: 8px;
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.company-summary-col {
    max-width: 280px;
}

.company-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.company-subtitle {
    color: #a5b4fc;
    margin-top: 12px;
    line-height: 1.6;
}

.company-item.hidden {
    display: none;
}

.company-item strong {
    color: #9ca3af;
    margin-right: 5px;
}

.company-value {
    color: white;
}

.contact-result {
    margin-top: 12px;
    font-size: 0.95rem;
}

.contact-result.info {
    color: #2563eb;
}

.contact-result.success {
    color: #10b981;
}

.contact-result.error {
    color: #ef4444;
}

/* 配置加载状态 */
.config-loading {
    opacity: 0.6;
}

.config-loaded {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-icp {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #d1d5db;
}

.footer-icp a {
    color: #d1d5db;
    margin-right: 12px;
    text-decoration: none;
}

.footer-icp a:hover {
    color: #60a5fa;
}

.footer-icp-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: text-bottom;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-links a:hover {
    color: #60a5fa;
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #1f2937;
}

/* 动画类 */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ==================== */
/* 新增页面样式 */
/* ==================== */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    margin-top: 70px; /* 给导航栏留出空间 */
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}


/* 服务页面样式 */
.service-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #6b7280;
}

.service-features i {
    color: #10b981;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* 工具页面样式 */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    justify-items: center;
}

.tool-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tool-card .btn {
    align-self: flex-start;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.tool-desc {
    color: #6b7280;
    font-size: 0.98rem;
}

/* 服务流程 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1f2937;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
}

/* 案例筛选 */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* 客户评价 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-style: italic;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    color: #e5e7eb;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1f2937;
}

.testimonial-author p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* 关于页面样式 */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 10px;
}

.stat-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* 价值观 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.value-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.value-description {
    color: #6b7280;
    line-height: 1.6;
}

/* 团队介绍 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.member-image {
    height: 250px;
    overflow: hidden;
}

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

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

.member-info {
    padding: 25px;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #1f2937;
}

.member-position {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 发展历程 */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-year {
    position: absolute;
    right: -60px;
    top: 0;
    background: #2563eb;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
}

.timeline-item:nth-child(even) .timeline-year {
    right: auto;
    left: -60px;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1f2937;
}

.timeline-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* 联系页面样式 */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: #4b5563;
}

.checkbox-label input {
    margin-right: 10px;
    margin-top: 5px;
}

.contact-note {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 5px;
}

.office-hours {
    background: #f3f4f6;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.office-hours h4 {
    margin-bottom: 10px;
    color: #1f2937;
}

.office-hours p {
    color: #6b7280;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f3f4f6;
    border-radius: 50%;
    color: #4b5563;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* 地图位置 */
.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.map-info {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    max-width: 500px;
}

.map-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.map-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-info i {
    font-size: 1.2rem;
}

/* 常见问题 */
.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.7;
}

/* 文本居中工具类 */
.text-center {
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 60px;
        margin-left: 0 !important;
    }
    
    .timeline-year {
        left: 0 !important;
        right: auto !important;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    /* 超小屏幕Logo图片大小调整 */
    .logo-image {
        width: 120px;
        height: 38px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
