/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0066cc;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Banner区域样式 */
.banner-section {
    margin-top: 80px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* 解决方案区域样式 */
.solutions-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    grid-template-areas:
        "large square1 square2"
        "large square3 square4";
}

.solution-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: #fff;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.solution-item-large {
    grid-area: large;
}

.solution-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.solution-item-large .solution-image {
    min-height: 500px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-item:hover .solution-image img {
    transform: scale(1.1);
}

.solution-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.solution-item:hover .solution-overlay {
    transform: translateY(0);
}

.solution-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.solution-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.solution-item:hover .solution-arrow {
    background: #0066cc;
    transform: translateX(5px);
}

/* 公司介绍区域样式 */
.about-section {
    position: relative;
    padding: 100px 0;
    min-height: 600px;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.about-content .section-title {
    color: #fff;
}

.about-content .section-title::after {
    background: #fff;
}

.about-text {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.about-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 30px;
    border: 2px solid #fff;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.about-arrow:hover {
    background: #fff;
    color: #0066cc;
}

/* 客户案例区域样式 */
.cases-section {
    padding: 80px 0;
    background: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-item {
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.case-item:hover {
    transform: translateY(-10px);
}

.case-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.case-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-name {
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

.cases-more {
    text-align: center;
    margin-top: 50px;
}

.cases-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cases-more-btn:hover {
    background: #0052a3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

/* 底部区域样式 */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-info p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu ul li {
    margin-bottom: 12px;
}

.footer-menu ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
    color: #fff;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
}

.footer-qrcode p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 右下角浮动联系方式 */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-contact-item {
    position: relative;
}

.floating-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.floating-phone:hover {
    background: #0052a3;
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.floating-wechat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #06c755;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-wechat-btn:hover {
    background: #05a845;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.floating-wechat-popup {
    position: absolute;
    right: 60px;
    bottom: 0;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    width: 150px;
    text-align: center;
}

.floating-wechat-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #fff;
}

.floating-contact-item:hover .floating-wechat-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.floating-wechat-popup img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
    border-radius: 4px;
}

.floating-wechat-popup p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.floating-top-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 50px;
    height: 50px;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 10px;
    font-weight: 500;
    padding: 0;
}

.floating-top-btn:hover {
    background: #333;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-top-btn svg {
    transform: rotate(-90deg);
}

/* 页面标题区域样式 */
.page-header {
    margin-top: 80px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* 解决方案列表页面样式 */
.solutions-list-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.solution-list-item {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    align-items: stretch;
}

.solution-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.solution-list-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.solution-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-list-item:hover .solution-list-image img {
    transform: scale(1.05);
}

.solution-list-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-list-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.solution-list-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
}

.solution-list-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    max-width: 100%;
}

/* 客户案例列表页面样式 */
.cases-list-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.cases-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-list-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.case-list-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.case-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-list-item:hover .case-list-image img {
    transform: scale(1.05);
}

.case-list-content {
    padding: 25px 30px;
}

.case-list-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    text-align: center;
}

/* 公司介绍页面样式 */
.about-page-section {
    padding: 80px 0;
    background: #fff;
}

.about-company-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.about-company-name {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.about-text-block {
    max-width: 900px;
    margin: 0 auto 50px;
}

.about-text-en {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.about-text-cn {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 25px;
    text-align: justify;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 60px auto 0;
}

.about-image-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.about-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 联系我们页面样式 */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-item {
    margin-bottom: 35px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-name {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.contact-text {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "large large"
            "square1 square2"
            "square3 square4";
    }

    .solution-list-item {
        grid-template-columns: 400px 1fr;
        gap: 30px;
    }

    .solution-list-content {
        padding: 30px;
    }

    .solution-list-title {
        font-size: 28px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-list-grid {
        gap: 25px;
    }

    .case-list-image {
        height: 280px;
    }

    .case-list-content {
        padding: 20px 25px;
    }

    .case-list-text {
        font-size: 14px;
    }

    .about-images {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 700px;
    }

    .contact-info {
        padding: 50px 35px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .banner-section {
        height: 400px;
        margin-top: 70px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .solutions-section {
        padding: 50px 0;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "large"
            "square1"
            "square2"
            "square3"
            "square4";
    }

    .solution-image {
        min-height: 300px;
    }

    .solution-item-large .solution-image {
        min-height: 350px;
    }

    .solution-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    }

    .about-section {
        padding: 60px 0;
    }

    .about-text {
        font-size: 14px;
        padding: 0 15px;
    }

    .features {
        gap: 15px;
    }

    .feature-item {
        padding: 12px 20px;
    }

    .feature-icon {
        font-size: 14px;
    }

    .cases-section {
        padding: 50px 0;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cases-list-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .case-list-image {
        height: 250px;
    }

    .case-list-content {
        padding: 20px;
    }

    .case-list-text {
        font-size: 14px;
    }

    .page-header {
        padding: 60px 0 40px;
        margin-top: 70px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .solutions-list-section {
        padding: 50px 0;
    }

    .page-header {
        padding: 50px 0 30px;
        margin-top: 70px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .solutions-list-section {
        padding: 40px 0;
    }

    .about-page-section {
        padding: 40px 0;
    }

    .about-company-header {
        margin-bottom: 30px;
    }

    .about-logo {
        height: 50px;
        margin-bottom: 12px;
    }

    .about-company-name {
        font-size: 24px;
    }

    .about-text-block {
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .about-text-en,
    .about-text-cn {
        font-size: 14px;
        line-height: 1.8;
    }

    .about-images {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 0 10px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-info {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .contact-name {
        font-size: 22px;
    }

    .contact-text {
        font-size: 15px;
    }

    .solution-list-item {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .solution-list-image {
        min-height: 220px;
    }

    .solution-list-content {
        padding: 25px 15px;
    }

    .solution-list-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .solution-list-text {
        font-size: 14px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-info,
    .footer-menu {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }

    .banner-section {
        height: 300px;
    }

    .solution-content h3 {
        font-size: 20px;
    }

    .case-name {
        font-size: 18px;
    }

    .floating-contact {
        right: 15px;
        bottom: 15px;
        gap: 8px;
    }

    .floating-phone {
        padding: 10px 15px;
        font-size: 14px;
    }

    .floating-phone span {
        display: none;
    }

    .floating-wechat-btn,
    .floating-top-btn {
        width: 45px;
        height: 45px;
    }

    .floating-wechat-popup {
        right: 55px;
        width: 120px;
        padding: 12px;
    }
}
