:root {
    --primary: #1c54f2;
    --secondary: #6f8cff;
    --dark: #0f1e3d;
    --text: #1f2a44;
    --muted: #5b6985;
}

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

body {
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(160deg, #f8fbff 0%, #edf1ff 100%);
    line-height: 1.6;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(111, 140, 255, 0.12), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(28, 84, 242, 0.15), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(15, 30, 61, 0.1), transparent 55%);
    z-index: -2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 18px rgba(8, 36, 79, 0.08);
    backdrop-filter: blur(10px);
}

.container {
    width: min(1200px, 92vw);
    margin: auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    width: 120px;
    font-size: 1.35rem;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    transition: background 0.3s, color 0.3s;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(28, 84, 242, 0.12);
    color: var(--primary);
}

/* 子导航下拉菜单样式 */
.has-submenu {
    position: relative;
}

/* 下拉图标 */
.dropdown-icon {
    font-size: 0.7em;
    margin-left: 4px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}
.has-submenu:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* 子菜单容器 */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 24px rgba(8, 36, 79, 0.12);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    margin-top: 0.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 子菜单项 */
.submenu li {
    list-style: none;
}
.submenu a {
    display: block;
    padding: 0.625rem 1.25rem;
    color: #333;
    text-decoration: none;
    font-size: 0.925rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.submenu a:hover,
.submenu a.active {
    background: rgba(28, 84, 242, 0.08);
    color: var(--primary, #1c54f2);
    padding-left: 1.5rem;
}

/* 汉堡菜单按钮 - 移动端显示 */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background: var(--primary, #1c54f2);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/*.pagination {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 0.6rem;*/
/*    margin: 2rem 0 1rem;*/
/*}*/

/* 分页容器 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0;
    padding: 0;
    list-style: none;
}

/* 分页链接和当前页 */
.pagination a,
.pagination .laypage-curr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(28, 84, 242, 0.3);
    background: transparent;
    color: var(--primary, #1c54f2);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
}

/* 鼠标悬停效果 */
.pagination a:hover {
    background: var(--primary, #1c54f2);
    color: #fff;
    border-color: var(--primary, #1c54f2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 84, 242, 0.2);
}

/* 当前页样式 */
.pagination .laypage-curr {
    background: var(--primary, #1c54f2);
    color: #fff;
    border-color: var(--primary, #1c54f2);
    box-shadow: 0 10px 25px rgba(28, 84, 242, 0.3);
}

/* 上一页/下一页特殊样式 */
.pagination .laypage-prev,
.pagination .laypage-next {
    width: auto;
    min-width: 80px;
    padding: 0 15px;
    border-radius: 20px;
}

/* 禁用状态 */
.pagination .laypage-prev[style*="cursor: no-drop"] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pagination a,
    .pagination .laypage-curr {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination .laypage-prev,
    .pagination .laypage-next {
        min-width: 70px;
        padding: 0 12px;
        font-size: 13px;
    }
}




.hero {
    padding: 4.5rem 0 3.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.1rem);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.hero-content p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-stats {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 1rem 1.5rem;
    box-shadow: 0 12px 35px rgba(28, 84, 242, 0.15);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(28, 84, 242, 0.35), transparent 70%);
    right: -20px;
    top: -20px;
    filter: blur(6px);
}

.stat-card strong {
    font-size: 2rem;
    display: block;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 10px 25px rgba(28, 84, 242, 0.25);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-2px);
}

section {
    padding: 4rem 0;
    position: relative;
    z-index: 0;
}

section::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: 28px;
    border: 1px solid rgba(23, 44, 99, 0.05);
    pointer-events: none;
    z-index: -1;
}

section:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.7);
}

.section-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 65px rgba(13, 34, 79, 0.12);
    margin-bottom: 2.5rem;
}

.section-card::before {
    display: none;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.section-title p {
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.card {
    background: #fff;
    border-radius: 18px;
    padding: 1.7rem;
    box-shadow: 0 12px 30px rgba(10, 23, 61, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(10, 23, 61, 0.12);
}

.tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: rgba(28, 84, 242, 0.15);
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.9rem;
    color: #4c5976;
}

.list li {
    list-style: none;
    padding-left: 1.4rem;
    position: relative;
}

.list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 9px;
}

.case-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.case-tabs button {
    border: none;
    background: #edf1ff;
    color: #1c54f2;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.case-tabs button.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(28, 84, 242, 0.35);
}

.case-panel {
    display: none;
}

.case-panel.active {
    display: grid;
}

.tab-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tab-bar a {
    font-size: 14px;
    border: none;
    background: rgba(28, 84, 242, 0.1);
    color: var(--primary);
    padding: 0.65rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tab-bar a.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 15px 30px rgba(28, 84, 242, 0.25);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.page-panel {
    display: none;
}

.page-panel.active {
    display: block;
}

.mar_top5{
    margin-top: 5px;
}

.mar_top10{
    margin-top: 10px;
}

.mar_top15{
    margin-top: 15px;
}
.mar_bottom5{
    margin-bottom: 5px;
}

.mar_bottom10{
    margin-bottom: 10px;
}

.mar_bottom15{
    margin-bottom: 15px;
}

.articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.article-card h3 {
    margin-bottom: 0.6rem;
}

.article-meta {
    font-size: 0.85rem;
    color: #7a88a8;
    margin-bottom: 0.8rem;
}
/* 微信二维码网格容器 */
.wechat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* 微信卡片样式 */
.wechat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wechat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary, #1c54f2);
}

/* 微信标题 */
.wechat-header {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    width: 100%;
}

.wechat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary, #1c54f2);
}

/* 二维码图片容器 */
.wechat-qrcode {
    width: 160px;
    height: 160px;
    margin: 0 auto 15px;
    padding: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* 描述文字 */
.wechat-desc {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {

    input, textarea, select {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .wechat-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wechat-card {
        padding: 15px;
    }

    .wechat-qrcode {
        width: 140px;
        height: 140px;
    }
}

/* 合作伙伴网格 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 合作伙伴项目 */
.partner-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary, #1c54f2);
}

/* 合作伙伴Logo图片 */
.partner-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    /*filter: grayscale(100%);*/
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* 合作伙伴描述提示 */
.partner-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.partner-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
}

.partner-item:hover .partner-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .partner-item {
        height: 100px;
        padding: 15px;
    }
}

.news-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.timeline {
    border-left: 3px solid rgba(28, 84, 242, 0.2);
    padding-left: 1.2rem;
    margin-left: 1rem;
}

.timeline-item {
    margin-bottom: 1.5rem;
}

footer {
    background: var(--dark);
    color: #d4daec;
    padding: 2.5rem 0;
    margin-top: 3rem;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #d4daec;
}

.hero-graphic {
    background: radial-gradient(circle at top, #eaf0ff, #c7d9ff);
    border-radius: 24px;
    padding: 2rem;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.hero-graphic img {
    width: 100%;
    border-radius: 20px;
    margin-top: 1.2rem;
    max-height: 260px;
    object-fit: cover;
}

.grid-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.highlight {
    background: rgba(28, 84, 242, 0.08);
    border-radius: 16px;
    padding: 1rem;
}

.highlight strong {
    display: block;
    margin-bottom: 0.4rem;
}

.solution-hero {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: #fff;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.solution-section {
    margin-bottom: 3rem;
}

.solution-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

.architecture-diagram {
    border: 1px dashed rgba(31, 42, 68, 0.2);
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.case-highlight {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    background: #fff;
    border-radius: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    margin-top: 1rem;
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
    opacity: 0.75;
    animation: float 12s ease-in-out infinite;
}

.hero-orb-1 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(111, 140, 255, 0.5), transparent 65%);
    top: -60px;
    right: -40px;
}

.hero-orb-2 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(28, 84, 242, 0.45), transparent 70%);
    bottom: -50px;
    left: -30px;
    animation-duration: 16s;
}

.floating-badge {
    position: absolute;
    inset: auto 10% 10% auto;
    background: rgba(15, 30, 61, 0.8);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.85rem;
    backdrop-filter: blur(6px);
}

.floating-badge strong {
    display: block;
    font-size: 1.1rem;
}

.card-image-product {
    height: 370px !important;
    object-fit: contain !important;
}

.card-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #e5e9f8;
    height: 280px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-image-cover img {
    object-fit: cover !important;
}

.card-image-contain img {
    object-fit: contain !important;
}
.div-content p{
    line-height: 1.9rem !important;
}

.div-content h1,.div-content h2,.div-content h3{
    margin-bottom: 5px !important;
}

.div-content img{
    margin: 10px 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dfe5f7, #c8d0ec);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b84a3;
    font-weight: 600;
    letter-spacing: 0.08em;
}

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

.solution-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.case-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}


.product-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1rem;
    align-items: start;
}


.product-thumb {
    width: 100%;
    height: 176px;
    border-radius: 14px;
    overflow: hidden;
    background: #dadef0;
}

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

.news-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    align-items: start;
}

.news-card > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.news-card > div:last-child .btn {
    margin-top: 0.3rem;
    align-self: flex-start;
}

.news-thumb {
    width: 100%;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    background: #dadef0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.about-media {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(28, 84, 242, 0.8), rgba(15, 30, 61, 0.8));
    box-shadow: 0 25px 60px rgba(15, 30, 61, 0.35);
    position: relative;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.partner-badge {
    background: rgba(28, 84, 242, 0.08);
    border-radius: 14px;
    padding: 0.8rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

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

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(28, 84, 242, 0.2); }
    100% { box-shadow: 0 0 0 20px rgba(28, 84, 242, 0); }
}

.pulse {
    animation: pulse-border 2.8s infinite;
}

.page-hero {
    background: linear-gradient(120deg, rgba(15, 30, 61, 0.95), rgba(28, 84, 242, 0.92));
    color: #fff;
    padding: 4rem 0 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 60%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.breadcrumb-light {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 0.4rem;
}


.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.media-card {
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 16px 45px rgba(15, 30, 61, 0.12);
}

.dual-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.media-frame {
    border-radius: 24px;
    overflow: hidden;
    height: 320px;
    background: #e5e9f8;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.badge {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(28, 84, 242, 0.12);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.table-grid .card {
    min-height: 180px;
}


@media (max-width: 500px) {
    .news-card{
        width: 80vw;
    }
    .card-image{
        height: 150px;
    }
}

@media (max-width: 768px) {
    /* 防止页面水平滚动 */
    body, html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }


    [data-animate] {
        opacity: 1;
    }

    /* 确保容器不会超出屏幕 */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* 导航栏容器 - 严格的左右布局 */
    .container.nav {
        padding: 1rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between; /* Logo在左，汉堡在右 */
        align-items: center;
        position: relative;
    }

    /* Logo样式 - 确保占据左侧空间 */
    .logo {
        width: 100px;
        max-width: 150px; /* 限制最大宽度 */
        font-size: 1.2rem;
        color: var(--primary);
        letter-spacing: 0.05em;
        flex: 0 0 auto; /* 不伸缩，固定大小 */
        order: 1; /* 确保是第一个元素 */
    }
    .logo img {
        width: 100%;
        max-width: 100%; /* 确保图片不超出容器 */
        height: auto;
        display: block;
    }

    /* 汉堡按钮样式 - 确保在最右侧 */
    .hamburger-btn {
        display: flex;
        flex: 0 0 auto; /* 不伸缩，固定大小 */
        order: 2; /* 确保是第二个元素 */
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        margin-left: auto; /* 将按钮推到最右侧 */
    }

    .hamburger-btn span {
        width: 100%;
        height: 2px;
        background: var(--primary, #1c54f2);
        transition: all 0.3s ease;
        border-radius: 1px;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 隐藏桌面导航链接 - 初始状态就隐藏 */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px; /* 固定宽度代替百分比 */
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        margin: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto; /* 只允许垂直滚动 */
        overflow-x: hidden; /* 禁止水平滚动 */
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        visibility: hidden; /* 初始不可见 */
    }

    .nav-links.active {
        right: 0;
        visibility: visible; /* 激活时可见 */
    }

    /* 导航遮罩 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

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

    .nav-links a {
        display: block;
        padding: 12px 15px;
        border-radius: 8px;
        font-size: 1rem;
        width: 100%;
        text-align: left;
        box-sizing: border-box; /* 确保padding不会增加宽度 */
    }

    /* 移动端子菜单样式 */
    .has-submenu .dropdown-icon {
        float: right;
        transition: transform 0.3s ease;
    }

    .has-submenu.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .submenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        border: none;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 8px;
        margin-top: 5px;
        display: none;
        box-sizing: border-box; /* 确保计算正确 */
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .submenu a {
        padding: 10px 20px;
        font-size: 0.9rem;
        color: #666;
        box-sizing: border-box; /* 确保padding不会增加宽度 */
    }

    .submenu a.active {
        background: rgba(28, 84, 242, 0.1);
    }

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

    /* 其他组件的移动端样式 */
    .case-tabs {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .section-card {
        padding: 2.2rem 1.6rem;
    }

    .product-card {
        display: grid;
        gap: 1rem;
        align-items: start;
        grid-template-columns: 1fr
    }
}

