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

html, body {
    font-family: 'Microsoft YaHei', '微软雅黑', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: auto;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* ====== 导航栏样式 - 与 index.html 一致 ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar:hover {
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar:hover .nav-link {
    color: #000000;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
}

.logo-link {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
}

.logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-hover {
    display: none;
}

.navbar:hover .logo-default {
    display: none;
}

.navbar:hover .logo-hover {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-right: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar:hover .nav-link::after {
    background-color: #000000;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-item-active > .nav-link::after {
    transform: scaleX(1);
}

/* ====== 二级菜单样式 - 同步 index.html ====== */
.sub-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    list-style: none;
    padding: 8px;
    border-radius: 16px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 2px 10px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2000;
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.05));
}

.nav-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu-item {
    padding: 0;
    margin: 2px 0;
}

.sub-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.sub-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.sub-menu-link::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.sub-menu-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.sub-menu-link:hover::before {
    opacity: 1;
}

.sub-menu-link:hover::after {
    transform: translateY(-50%) scaleY(1);
}

.sub-menu-item + .sub-menu-item {
    position: relative;
}

.sub-menu-item + .sub-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.06) 20%,
        rgba(0, 0, 0, 0.06) 80%,
        transparent 100%);
}

/* ====== 页面 Banner 区域 ====== */
.solution-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/solution/banner1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    animation: bannerZoom 20s ease-in-out infinite;
}

@keyframes bannerZoom {
    0%, 100% {
        transform: scale(1.02);
    }
    50% {
        transform: scale(1.08);
    }
}

.solution-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.solution-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 30px;
}

.solution-banner-title {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 8px;
    animation: fadeInUp 0.8s ease-out;
}

.solution-banner-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 4px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* ====== 滚动动画类 ====== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

/* ====== 服务内容区域 ====== */
.service-content-section {
    padding: 100px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 24px;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #10b981;
}

.section-subtitle {
    text-align: center;
    color: #999;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: 1px;
}

.intro-card {
    background: #fafafa;
    padding: 48px 56px;
    border-radius: 20px;
    margin-bottom: 60px;
    border: 1px solid #f0f0f0;
}

.intro-card p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 16px;
    text-align: justify;
}

.intro-card p:last-child {
    margin-bottom: 0;
}

.intro-card strong {
    color: #10b981;
    font-weight: 600;
}

.service-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    flex-wrap: nowrap;
}

.service-card {
    background: #ffffff;
    padding: 44px 40px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: 420px;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border: 2px solid #e8f5f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.04);
}

.service-card-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #10b981;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.service-card-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.service-card-desc ul {
    list-style: none;
    padding-left: 0;
}

.service-card-desc li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.service-card-desc li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

/* ====== 核心优势区域 ====== */
.advantages-section {
    padding: 100px 20px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f0f0;
}

.advantages-section .section-title {
    color: #1a1a1a;
}

.advantages-section .section-subtitle {
    color: #999;
}

.advantages-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    margin-top: 50px;
    flex-wrap: nowrap;
}

.advantage-card {
    background: #ffffff;
    padding: 48px 44px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: 500px;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
}

.advantage-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.advantage-card-number {
    width: 48px;
    height: 48px;
    border: 2px solid #10b981;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #10b981;
    flex-shrink: 0;
}

.advantage-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.advantage-card-desc {
    font-size: 16px;
    line-height: 2;
    color: #666;
    text-align: justify;
}

/* ====== 创造价值区域 ====== */
.value-section {
    padding: 100px 20px;
    background: #ffffff;
}

.value-section .section-title {
    color: #1a1a1a;
}

.value-section .section-subtitle {
    color: #999;
}

.value-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin-top: 50px;
    flex-wrap: nowrap;
}

.value-card {
    background: #ffffff;
    padding: 44px 36px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 0;
    max-width: 380px;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08);
}

.value-card-icon {
    width: 64px;
    height: 64px;
    border: 2px solid #e8f5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: all 0.3s ease;
}

.value-card:hover .value-card-icon {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.04);
}

.value-card-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #10b981;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.value-card-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* ====== 页脚样式 ====== */
.site-footer {
    width: 100%;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.footer-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.footer-intro {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-item {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qrcode-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #ffffff;
    padding: 4px;
}

.qrcode-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-beian {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.beian-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ====== 响应式设计 ====== */
@media (max-width: 900px) {
    .service-cards,
    .advantages-grid,
    .value-grid {
        flex-wrap: wrap;
    }

    .service-card,
    .advantage-card,
    .value-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 65px;
        padding: 0 20px;
    }

    .logo {
        height: 38px;
    }

    .nav-menu {
        gap: 24px;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .sub-menu-grid {
        min-width: 260px;
        max-width: 300px;
    }

    .sub-menu-grid .sub-menu-item {
        width: 100%;
    }

    .solution-banner {
        height: 55vh;
    }

    .solution-banner-title {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .solution-banner-subtitle {
        font-size: 16px;
    }

    .service-content-section,
    .advantages-section,
    .value-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .intro-card {
        padding: 28px 24px;
    }

    .intro-card p {
        font-size: 14px;
    }

    .service-card,
    .advantage-card {
        padding: 32px 24px;
    }

    .value-card {
        padding: 36px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .solution-banner-title {
        font-size: 28px;
    }

    .solution-banner-subtitle {
        font-size: 14px;
    }
}
