/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #eef0f8;
    color: #2d3348;
}

/* 全局容器 */
.wrapper {
    width: 1366px;
    margin: 0 auto;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 60px rgba(124,58,237,0.08), 0 0 120px rgba(59,130,246,0.04);
}

/* ==================== 第1部分：顶部客服热线 + 会员登录 ==================== */
.top-bar {
    height: 40px;
    background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 40%, #93c5fd 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    color: #fff;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1366px;
    z-index: 100;
}

.top-bar .hotline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar .hotline .phone-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.top-bar .hotline .phone-icon svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.top-bar .login-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .login-area a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar .login-area a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.top-bar .login-area .divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.3);
}

/* ==================== 第2部分：Logo + 导航 ==================== */
.header {
    height: 70px;
    background: #fff;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid rgba(124,58,237,0.1);
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1366px;
    z-index: 99;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .logo .logo-icon {
    width: 120px;
    height: 30px;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .logo .logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #4c1d95;
    letter-spacing: 1px;
}

.header .logo .logo-sub {
    font-size: 11px;
    color: #7c3aed;
    margin-top: 2px;
}

.header .nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.header .nav a {
    display: block;
    padding: 0 24px;
    height: 70px;
    line-height: 70px;
    color: #4b5563;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.header .nav a:hover,
.header .nav a.active {
    color: #7c3aed;
}

.header .nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    border-radius: 3px;
    transition: width 0.3s;
}

.header .nav a:hover::after,
.header .nav a.active::after {
    width: 60%;
}

/* 移动端菜单按钮 - 桌面端隐藏 */
.menu-toggle {
    display: none;
}

/* 移动端下拉导航 - 桌面端隐藏 */
.mobile-nav {
    display: none;
}

/* ==================== 第3部分：搜索栏 ==================== */
.search-section {
    height: 410px;
    background: linear-gradient(135deg, #f8f7ff 0%, #ede9fe 30%, #e0e7ff 70%, #dbeafe 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 110px;
}

.search-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(124,58,237,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124,58,237,0.04) 0%, transparent 70%);
    animation: bgPulse 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes bgPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.08); }
}

.search-section .search-box {
    width: 700px;
    height: 50px;
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(124,58,237,0.12);
    position: relative;
    z-index: 1;
}

.search-section .search-box input {
    flex: 1;
    height: 50px;
    border: none;
    padding: 0 24px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.search-section .search-box input::placeholder {
    color: #aaa;
}

.search-section .search-box button {
    width: 100px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.search-section .search-box button:hover {
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(124,58,237,0.3);
}

.search-section .hot-tags {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #555;
    position: relative;
    z-index: 1;
}

.search-section .hot-tags .tag-label {
    color: #6b7280;
}

.search-section .hot-tags .tag {
    padding: 4px 14px;
    background: rgba(255,255,255,0.75);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(124,58,237,0.15);
    backdrop-filter: blur(4px);
}

.search-section .hot-tags .tag:hover {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(124,58,237,0.3);
}

/* ==================== 第4部分：轮播图 + 最新消息 ==================== */
.banner-news {
    height: 480px;
    display: flex;
    background: #fff;
    position: relative;
}

.banner-news .carousel {
    width: 900px;
    height: 480px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(124,58,237,0.15);
}

.banner-news .carousel .slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 40%, #6366f1 100%);
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.banner-news .carousel .slide:nth-child(2) {
    background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 40%, #3b82f6 100%);
}

.banner-news .carousel .slide:nth-child(3) {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 40%, #8b5cf6 100%);
}

.banner-news .carousel .indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-news .carousel .indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-news .carousel .indicators span.active {
    background: rgba(255,255,255,0.95);
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.banner-news .news-panel {
    width: 466px;
    height: 480px;
    padding: 10px;
    background: #faf9fe;
    border-left: 1px solid rgba(124,58,237,0.08);
}

.banner-news .news-panel .news-title {
    font-size: 18px;
    font-weight: bold;
    color: #4c1d95;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(124,58,237,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-news .news-panel .news-title::before {
    content: "";
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #7c3aed, #3b82f6);
    border-radius: 2px;
}

.banner-news .news-panel .news-list {
    list-style: none;
}

.banner-news .news-panel .news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(124,58,237,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-news .news-panel .news-list li:hover {
    color: #7c3aed;
    background: rgba(124,58,237,0.04);
    border-radius: 6px;
    padding-left: 6px;
    padding-right: 6px;
}

.banner-news .news-panel .news-list li .dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    border-radius: 50%;
    flex-shrink: 0;
}

.banner-news .news-panel .news-list li .news-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner-news .news-panel .news-list li .news-date {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    margin-left: 10px;
}

/* ==================== 第5部分：产品信息三栏 ==================== */
.products-section {
    padding: 30px 0 10px;
    background: #fff;
}

.products-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.products-section .section-header h2 {
    font-size: 20px;
    color: #4c1d95;
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-section .section-header h2::before {
    content: "";
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #7c3aed, #3b82f6);
    border-radius: 2px;
}

.products-section .products-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.products-section .product-card {
    flex: 0 0 calc(33.333% - 14px);
    border: 1px solid rgba(124,58,237,0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
}

.products-section .product-card:hover {
    box-shadow: 0 8px 28px rgba(124,58,237,0.12);
    transform: translateY(-4px);
    border-color: rgba(124,58,237,0.25);
}

.products-section .product-card .product-img {
    height: 190px;
    background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.products-section .product-card .product-img::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    background: rgba(124,58,237,0.6);
    padding: 2px 8px;
    border-radius: 4px;
}

.products-section .product-card .product-info {
    padding: 14px 16px 8px;
}

.products-section .product-card .product-info .product-name {
    font-size: 15px;
    font-weight: bold;
    color: #1e1b4b;
    margin-bottom: 4px;
    line-height: 1.4;
}

.products-section .product-card .product-info .product-meta {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.products-section .product-card .product-info .product-meta .meta-label {
    color: #7c3aed;
    font-weight: 500;
}

/* ==================== 热门产品轮播样式 ==================== */
.products-section {
    position: relative;
}

.products-wrapper {
    position: static;
    display: block;
}

.products-content {
    padding: 0 40px;
}

.products-carousel {
    position: relative;
    display: block;
}

.products-viewport {
    overflow: hidden;
    border-radius: 4px;
}

.products-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 4px 4px 0 4px;
}

.products-grid .product-card {
    min-width: calc(33.333% - 14px);
    flex-shrink: 0;
}

/* 左右箭头按钮 - 绝对定位在最外侧 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(124,58,237,0.15);
    background: rgba(255,255,255,0.95);
    color: #7c3aed;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(124,58,237,0.08);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.carousel-btn-left {
    left: 0;
}

.carousel-btn-right {
    right: 0;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* ==================== 第6部分：专题链接 ==================== */
.topics-section {
    height: 500px;
    padding: 30px 40px;
    background: #faf9fe;
    position: relative;
    overflow: hidden;
}

.topics-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(124,58,237,0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(59,130,246,0.04) 0%, transparent 40%);
    z-index: 0;
}

.topics-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.topics-section .section-header h2 {
    font-size: 20px;
    color: #4c1d95;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topics-section .section-header h2::before {
    content: "";
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #7c3aed, #3b82f6);
    border-radius: 2px;
}

.topics-section .topics-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.topics-section .topic-card {
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(124,58,237,0.05);
    border: 1px solid rgba(124,58,237,0.06);
    transition: all 0.3s;
    cursor: pointer;
}

.topics-section .topic-card:hover {
    box-shadow: 0 8px 28px rgba(124,58,237,0.12);
    transform: translateY(-4px);
    border-color: rgba(124,58,237,0.15);
}

.topics-section .topic-card .topic-img {
    height: 155px;
    background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    font-size: 14px;
}

.topics-section .topic-card .topic-text {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    border-top: 1px solid rgba(124,58,237,0.06);
}

.topics-section .topics-row .topic-large {
    width: 660px;
}

.topics-section .topics-row .topic-small {
    width: 320px;
}

/* ==================== 第7部分：导航链接 + 社媒二维码 ==================== */
.links-section {
    height: 550px;
    padding: 40px;
    background: linear-gradient(180deg, #3b2d5c 0%, #4c3f7a 50%, #3d3568 100%);
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}

.links-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(167,139,250,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147,197,253,0.08) 0%, transparent 50%);
    z-index: 0;
}

.links-section .links-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.links-section .links-column {
    flex: 1;
}

.links-section .links-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: #c4b5fd;
    letter-spacing: 0.5px;
}

.links-section .links-column ul {
    list-style: none;
}

.links-section .links-column ul li {
    padding: 8px 0;
    font-size: 14px;
}

.links-section .links-column ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.3s;
}

.links-section .links-column ul li a:hover {
    color: #a78bfa;
}

.links-section .social-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}

.links-section .social-area .qr-code {
    text-align: center;
}

.links-section .social-area .qr-code .qr-box {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.95);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c1d95;
    font-size: 12px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.links-section .social-area .qr-code:hover .qr-box {
    transform: scale(1.05);
}

.links-section .social-area .qr-code p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* ==================== 第8部分：页脚 ==================== */
.footer {
    height: 220px;
    background: #2d2255;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(59,130,246,0.3), transparent);
}

.footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer .footer-logo .logo-icon {
    width: 100px;
    height: 25px;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .footer-logo .logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #e8e6f9;
}

.footer .footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 16px;
}

.footer .footer-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

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

.footer .copyright {
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
}

.footer .copyright a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.3s;
}

.footer .copyright a:hover {
    color: rgba(255,255,255,0.6);
}

/* ==================== 科技感DNA螺旋背景 ==================== */
.wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='600' viewBox='0 0 400 600'%3E%3Cdefs%3E%3ClinearGradient id='dnaGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%237c3aed'/%3E%3Cstop offset='100%25' stop-color='%233b82f6'/%3E%3C/linearGradient%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='1.5'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke-width='1.2'%3E%3Cpath d='M50,50 C100,-30 150,-30 200,50 C250,130 300,130 350,50' stroke='%237c3aed' opacity='0.5'/%3E%3Cpath d='M50,65 C100,-15 150,-15 200,65 C250,145 300,145 350,65' stroke='%233b82f6' opacity='0.5'/%3E%3Cline x1='70' y1='50' x2='70' y2='65' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='130' y1='20' x2='130' y2='35' stroke='%233b82f6' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='200' y1='50' x2='200' y2='65' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='270' y1='95' x2='270' y2='110' stroke='%233b82f6' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='330' y1='50' x2='330' y2='65' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cpath d='M50,180 C100,100 150,100 200,180 C250,260 300,260 350,180' stroke='%237c3aed' opacity='0.5'/%3E%3Cpath d='M50,195 C100,115 150,115 200,195 C250,275 300,275 350,195' stroke='%233b82f6' opacity='0.5'/%3E%3Cline x1='70' y1='180' x2='70' y2='195' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='130' y1='150' x2='130' y2='165' stroke='%233b82f6' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='200' y1='180' x2='200' y2='195' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='270' y1='225' x2='270' y2='240' stroke='%233b82f6' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='330' y1='180' x2='330' y2='195' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cpath d='M50,310 C100,230 150,230 200,310 C250,390 300,390 350,310' stroke='%237c3aed' opacity='0.5'/%3E%3Cpath d='M50,325 C100,245 150,245 200,325 C250,405 300,405 350,325' stroke='%233b82f6' opacity='0.5'/%3E%3Cline x1='70' y1='310' x2='70' y2='325' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='130' y1='280' x2='130' y2='295' stroke='%233b82f6' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='200' y1='310' x2='200' y2='325' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='270' y1='355' x2='270' y2='370' stroke='%233b82f6' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='330' y1='310' x2='330' y2='325' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cpath d='M50,440 C100,360 150,360 200,440 C250,520 300,520 350,440' stroke='%237c3aed' opacity='0.5'/%3E%3Cpath d='M50,455 C100,375 150,375 200,455 C250,535 300,535 350,455' stroke='%233b82f6' opacity='0.5'/%3E%3Cline x1='70' y1='440' x2='70' y2='455' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='130' y1='410' x2='130' y2='425' stroke='%233b82f6' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='200' y1='440' x2='200' y2='455' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='270' y1='485' x2='270' y2='500' stroke='%233b82f6' opacity='0.3' stroke-width='0.8'/%3E%3Cline x1='330' y1='440' x2='330' y2='455' stroke='%237c3aed' opacity='0.3' stroke-width='0.8'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 400px 600px;
    background-repeat: repeat;
    background-position: right top;
}

/* 六边形分子背景叠加 */
.wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cpolygon points='60,0 120,36 120,94 60,130 0,94 0,36' fill='none' stroke='%237c3aed' stroke-width='0.6'/%3E%3Ccircle cx='60' cy='65' r='8' fill='%237c3aed' opacity='0.15'/%3E%3Ccircle cx='60' cy='65' r='3' fill='%233b82f6' opacity='0.2'/%3E%3C/svg%3E");
    background-size: 120px 104px;
    background-repeat: repeat;
    background-position: center center;
}

/* 分区科技感画布（第3/7/8部分） */
.section-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.search-section { position: relative; }
.links-section { position: relative; }
.footer { position: relative; }

/* 科技微光效 - 页头 */
.header::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(59,130,246,0.3), transparent);
    z-index: 1;
}

/* 卡片科技感光效 */
.product-card::before,
.topic-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 30%, rgba(124,58,237,0.08) 50%, rgba(59,130,246,0.08) 70%, transparent 80%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
    pointer-events: none;
}

/* 图片懒加载占位符 */
.lazy-image {
    position: relative;
    background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%);
    overflow: hidden;
}

.lazy-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        110deg,
        rgba(124,58,237,0.05) 25%,
        rgba(167,139,250,0.1) 50%,
        rgba(124,58,237,0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 0;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.lazy-image img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: relative;
    z-index: 1;
}

.lazy-image.loaded img {
    opacity: 1;
}

.lazy-image.loaded::before {
    animation: none;
    opacity: 0;
}

.product-card:hover::before,
.topic-card:hover::before {
    opacity: 1;
}

/* 卡片选中边框发光 */
.product-card:hover,
.topic-card:hover {
    box-shadow: 
        0 8px 30px rgba(124,58,237,0.15),
        0 0 0 1px rgba(124,58,237,0.2),
        0 0 20px rgba(59,130,246,0.08) inset;
}

/* 搜索栏科技网格背景 */
.search-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
    background-image: 
        linear-gradient(rgba(124,58,237,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

/* 轮播图科技叠加效果 */
.banner-news .carousel .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(59,130,246,0.2) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

/* 轮播图科技网格叠加 */
.banner-news .carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.25;
    background-image: 
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* 底部链接区粒子光点 */
.links-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(167,139,250,0.18) 0%, transparent 35%),
        radial-gradient(circle at 85% 70%, rgba(147,197,253,0.14) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(124,58,237,0.08) 0%, transparent 45%),
        radial-gradient(circle at 60% 20%, rgba(167,139,250,0.1) 0%, transparent 30%);
}

/* 章节标题发光线条动画 */
@keyframes lineGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
}

.section-header h2::before {
    animation: lineGlow 3s ease-in-out infinite;
}

/* ==================== 内页通用样式 ==================== */

/* 页面 Banner */
.page-banner {
    margin-top: 110px;
    padding: 50px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(0,0,0,0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.page-banner-sm {
    margin-top: 110px;
    padding: 18px 0;
    text-align: left;
}
.page-banner-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 40px; }
.page-banner-sm .page-banner-content { max-width: none; margin: 0; }
.page-banner-content h1 { font-size: 34px; font-weight: bold; margin-bottom: 10px; }
.page-banner-content p { font-size: 16px; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* 面包屑 */
.breadcrumb { font-size: 13px; opacity: 0.7; margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; transition: opacity 0.3s; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* 内容区 */
.content-section { padding: 40px; background: #fff; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-header h2 { font-size: 22px; color: #4c1d95; display: flex; align-items: center; gap: 8px; }
.section-header h2::before { content: ""; width: 4px; height: 24px; background: linear-gradient(180deg, #7c3aed, #3b82f6); border-radius: 2px; }

/* 按钮 */
.btn-primary { display: inline-block; padding: 12px 28px; background: linear-gradient(135deg, #7c3aed, #3b82f6); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.3s; }
.btn-primary:hover { opacity: 0.9; box-shadow: 0 4px 16px rgba(124,58,237,0.35); transform: translateY(-1px); }
.btn-outline { display: inline-block; padding: 12px 28px; background: transparent; color: #7c3aed; border: 1.5px solid #7c3aed; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.3s; }
.btn-outline:hover { background: rgba(124,58,237,0.06); border-color: #4c1d95; color: #4c1d95; }
.btn-sm { padding: 6px 16px; background: linear-gradient(135deg, #7c3aed, #3b82f6); color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; transition: opacity 0.3s; }
.btn-sm:hover { opacity: 0.85; }
.btn-reset { display: block; width: 100%; padding: 10px; background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; cursor: pointer; transition: all 0.3s; margin-top: 16px; }
.btn-reset:hover { background: #e5e7eb; color: #374151; }

/* ==================== 产品列表页 ==================== */
.sidebar-layout { display: flex; gap: 30px; }
.filter-sidebar { width: 240px; flex-shrink: 0; }
.main-content { flex: 1; min-width: 0; }
.filter-block { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(124,58,237,0.08); }
.filter-block h4 { font-size: 15px; font-weight: 600; color: #4c1d95; margin-bottom: 12px; }
.filter-list { list-style: none; }
.filter-list li { padding: 4px 0; }
.filter-list a { display: block; padding: 6px 12px; color: #4b5563; text-decoration: none; font-size: 14px; border-radius: 6px; transition: all 0.2s; }
.filter-list a:hover, .filter-list a.active { color: #7c3aed; background: rgba(124,58,237,0.06); font-weight: 500; }
.filter-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #4b5563; cursor: pointer; padding: 4px 0; }
.filter-check input[type="checkbox"] { accent-color: #7c3aed; }
.price-range { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-input { width: 70px; padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; outline: none; }
.price-input:focus { border-color: #7c3aed; }

.list-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(124,58,237,0.08); }
.result-count { font-size: 14px; color: #6b7280; }
.sort-options { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6b7280; }
.sort-options select { padding: 6px 12px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; outline: none; color: #374151; }
.sort-options select:focus { border-color: #7c3aed; }

.product-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-list-grid .product-card { border: 1px solid rgba(124,58,237,0.1); border-radius: 4px; overflow: hidden; transition: all 0.3s; cursor: pointer; background: #fff; text-decoration: none; display: block; position: relative; }
.product-list-grid .product-card:hover { box-shadow: 0 8px 28px rgba(124,58,237,0.12); transform: translateY(-4px); border-color: rgba(124,58,237,0.25); }
.product-list-grid .product-card .product-img { height: 200px; background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%); position: relative; overflow: hidden; }
.product-list-grid .product-card .product-info { padding: 16px; }
.product-list-grid .product-cat { font-size: 11px; color: #7c3aed; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-list-grid .product-name { font-size: 15px; font-weight: bold; color: #1e1b4b; margin-bottom: 8px; line-height: 1.4; }
.product-list-grid .product-meta { font-size: 12px; color: #6b7280; line-height: 1.7; margin-bottom: 8px; }
.product-list-grid .product-meta .meta-label { color: #7c3aed; font-weight: 500; }
.product-list-grid .product-price { font-size: 18px; font-weight: bold; color: #7c3aed; margin-top: 8px; }

/* 分页 */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(124,58,237,0.08); }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; color: #4b5563; text-decoration: none; transition: all 0.2s; }
.page-btn:hover { border-color: #7c3aed; color: #7c3aed; }
.page-btn.active { background: linear-gradient(135deg, #7c3aed, #3b82f6); color: #fff; border-color: transparent; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ==================== 产品详情页 ==================== */
.product-detail-layout { display: flex; gap: 40px; margin-bottom: 40px; }
.product-detail-gallery { width: 480px; flex-shrink: 0; }

.gallery-main { width: 480px; height: 400px; border-radius: 4px; overflow: hidden; position: relative; background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%); margin-bottom: 12px; }
.gallery-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.gallery-slide.active { opacity: 1; pointer-events: auto; }

.gallery-thumbs { display: flex; gap: 10px; }
.thumb { width: 90px; height: 70px; border-radius: 3px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%); display: block; }
.thumb:hover { border-color: #a78bfa; }
.thumb.active { border-color: #7c3aed; box-shadow: 0 0 8px rgba(124,58,237,0.3); }

.product-detail-info { flex: 1; }
.product-detail-cat { font-size: 13px; color: #7c3aed; font-weight: 500; margin-bottom: 8px; }
.product-detail-info h1 { font-size: 26px; color: #1e1b4b; margin-bottom: 12px; line-height: 1.3; }
.product-detail-desc { font-size: 15px; color: #6b7280; line-height: 1.6; margin-bottom: 20px; }
.product-detail-price { font-size: 28px; font-weight: bold; color: #7c3aed; margin-bottom: 20px; }
.product-detail-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.qty-selector { display: flex; align-items: center; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.qty-btn { width: 36px; height: 40px; border: none; background: #f9fafb; font-size: 18px; color: #4b5563; cursor: pointer; transition: background 0.2s; }
.qty-btn:hover { background: #f3f4f6; }
.qty-input { width: 50px; height: 40px; border: none; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; text-align: center; font-size: 15px; outline: none; }
.product-detail-meta { display: flex; flex-direction: column; gap: 8px; }
.product-detail-meta .meta-item { font-size: 14px; color: #6b7280; }
.product-detail-meta .meta-label { color: #374151; font-weight: 500; margin-right: 6px; }
.in-stock { color: #10b981; font-weight: 500; }

/* 产品标签切换 */
.product-tabs { margin-top: 20px; }
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid rgba(124,58,237,0.1); margin-bottom: 24px; }
.tab-btn { padding: 12px 24px; border: none; background: none; font-size: 15px; color: #6b7280; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab-btn:hover { color: #7c3aed; }
.tab-btn.active { color: #7c3aed; border-bottom-color: #7c3aed; font-weight: 600; }
.tab-content { padding: 0; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(even) { background: #faf9fe; }
.specs-table th { width: 200px; padding: 12px 20px; text-align: left; font-size: 14px; color: #7c3aed; font-weight: 600; border-bottom: 1px solid rgba(124,58,237,0.06); }
.specs-table td { padding: 12px 20px; font-size: 14px; color: #374151; border-bottom: 1px solid rgba(124,58,237,0.06); }

/* 相关产品 */
.related-products { padding: 40px; background: #faf9fe; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-grid .product-card { border: 1px solid rgba(124,58,237,0.1); border-radius: 4px; overflow: hidden; transition: all 0.3s; cursor: pointer; background: #fff; text-decoration: none; display: block; }
.related-grid .product-card:hover { box-shadow: 0 8px 28px rgba(124,58,237,0.12); transform: translateY(-4px); }
.related-grid .product-card .product-img { height: 180px; background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%); }
.related-grid .product-card .product-info { padding: 14px; }
.related-grid .product-card .product-name { font-size: 14px; font-weight: 600; color: #1e1b4b; margin-bottom: 6px; }
.related-grid .product-card .product-price { font-size: 16px; font-weight: bold; color: #7c3aed; }

/* ==================== 文章列表页 ==================== */
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid rgba(124,58,237,0.08); }
.cat-tab { padding: 8px 20px; border: 1px solid rgba(124,58,237,0.15); border-radius: 20px; font-size: 14px; color: #6b7280; text-decoration: none; transition: all 0.2s; }
.cat-tab:hover, .cat-tab.active { background: linear-gradient(135deg, #7c3aed, #3b82f6); color: #fff; border-color: transparent; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { border: 1px solid rgba(124,58,237,0.08); border-radius: 4px; overflow: hidden; transition: all 0.3s; background: #fff; text-decoration: none; display: block; }
.article-card:hover { box-shadow: 0 8px 28px rgba(124,58,237,0.12); transform: translateY(-4px); border-color: rgba(124,58,237,0.2); }
.article-card-img { height: 200px; background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%); }
.article-card-body { padding: 20px; }
.article-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.article-tag { font-size: 11px; font-weight: 600; color: #7c3aed; background: rgba(124,58,237,0.08); padding: 3px 10px; border-radius: 4px; }
.article-date { font-size: 12px; color: #9ca3af; }
.article-card-body h3 { font-size: 17px; color: #1e1b4b; margin-bottom: 8px; line-height: 1.4; }
.article-card-body p { font-size: 14px; color: #6b7280; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==================== 文章详情页 ==================== */
.article-detail-layout { display: flex; gap: 40px; }
.article-main { flex: 1; min-width: 0; }
.article-sidebar { width: 280px; flex-shrink: 0; }
.article-header { margin-bottom: 24px; }
.article-header .article-tag { font-size: 12px; font-weight: 600; color: #7c3aed; background: rgba(124,58,237,0.08); padding: 4px 12px; border-radius: 4px; display: inline-block; margin-bottom: 10px; }
.article-header h1 { font-size: 28px; color: #1e1b4b; line-height: 1.35; margin-bottom: 12px; }
.article-meta-bar { display: flex; gap: 20px; font-size: 13px; color: #9ca3af; }
.article-featured-img { width: 100%; height: 400px; border-radius: 4px; overflow: hidden; background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%); margin-bottom: 30px; }
.article-body { font-size: 16px; color: #374151; line-height: 1.8; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: 22px; color: #4c1d95; margin: 32px 0 14px; }
.article-body h2::before { content: ""; display: inline-block; width: 4px; height: 20px; background: linear-gradient(180deg, #7c3aed, #3b82f6); border-radius: 2px; margin-right: 10px; vertical-align: middle; }
.article-body blockquote { margin: 24px 0; padding: 20px 24px; border-left: 4px solid #7c3aed; background: #faf9fe; border-radius: 0 8px 8px 0; font-style: italic; color: #6b7280; }
.article-body a { color: #7c3aed; text-decoration: underline; }

.article-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(124,58,237,0.1); }
.article-nav-link { font-size: 14px; color: #7c3aed; text-decoration: none; transition: opacity 0.2s; }
.article-nav-link:hover { opacity: 0.7; }

.sidebar-block { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(124,58,237,0.08); }
.sidebar-block h4 { font-size: 16px; font-weight: 600; color: #4c1d95; margin-bottom: 14px; }
.sidebar-articles { list-style: none; }
.sidebar-articles li { padding: 8px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px dashed rgba(124,58,237,0.08); }
.sidebar-articles li a { font-size: 14px; color: #4b5563; text-decoration: none; transition: color 0.2s; flex: 1; }
.sidebar-articles li a:hover { color: #7c3aed; }
.sidebar-articles li span { font-size: 12px; color: #9ca3af; flex-shrink: 0; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item { padding: 5px 14px; border: 1px solid rgba(124,58,237,0.15); border-radius: 20px; font-size: 13px; color: #7c3aed; text-decoration: none; transition: all 0.2s; }
.tag-item:hover { background: #7c3aed; color: #fff; border-color: #7c3aed; }

/* ==================== 专题页 ==================== */
.topic-hero { display: flex; align-items: center; margin-top: 110px; height: 300px; padding: 0 60px; gap: 50px; color: #fff; position: relative; overflow: hidden; }
.topic-hero-content { flex: 1; position: relative; z-index: 1; }
.topic-hero-content h1 { font-size: 30px; font-weight: bold; margin-bottom: 12px; line-height: 1.3; }
.topic-hero-content p { font-size: 15px; opacity: 0.85; line-height: 1.6; }
.topic-hero-img { width: 380px; height: 210px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.1); position: relative; z-index: 1; }

.topic-sections { margin-bottom: 50px; }
.topic-block { display: flex; align-items: center; gap: 50px; padding: 30px 0; border-bottom: 1px solid rgba(124,58,237,0.08); }
.topic-block:last-child { border-bottom: none; }
.topic-block-text { flex: 1; }
.topic-block-text h2 { font-size: 24px; color: #4c1d95; margin-bottom: 14px; }
.topic-block-text p { font-size: 15px; color: #6b7280; line-height: 1.7; margin-bottom: 16px; }
.topic-features { list-style: none; margin-bottom: 20px; }
.topic-features li { padding: 6px 0; font-size: 14px; color: #374151; display: flex; align-items: center; gap: 8px; }
.topic-features li::before { content: ""; width: 6px; height: 6px; background: linear-gradient(135deg, #7c3aed, #3b82f6); border-radius: 50%; flex-shrink: 0; }
.topic-block-img { width: 420px; height: 280px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%); }

.topic-cta { text-align: center; padding: 50px 40px; background: linear-gradient(135deg, #f8f7ff 0%, #ede9fe 30%, #e0e7ff 70%, #dbeafe 100%); border-radius: 16px; }
.topic-cta h2 { font-size: 26px; color: #4c1d95; margin-bottom: 12px; }
.topic-cta p { font-size: 16px; color: #6b7280; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.topic-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==================== 关于我们页 ==================== */
.about-hero { margin-top: 110px; padding: 50px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, rgba(0,0,0,0.2) 0%, transparent 60%); pointer-events: none; }
.about-hero-content { position: relative; z-index: 1; }
.about-hero-content h1 { font-size: 34px; font-weight: bold; margin-bottom: 10px; }
.about-hero-content p { font-size: 16px; opacity: 0.85; }

.about-intro { margin-bottom: 50px; }
.about-intro-text { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.about-intro-text h2 { font-size: 26px; color: #4c1d95; margin-bottom: 16px; }
.about-intro-text p { font-size: 15px; color: #6b7280; line-height: 1.8; margin-bottom: 14px; }

.about-intro-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; padding: 30px 20px; background: linear-gradient(135deg, #f8f7ff, #ede9fe); border-radius: 12px; border: 1px solid rgba(124,58,237,0.08); }
.stat-num { font-size: 36px; font-weight: bold; color: #7c3aed; margin-bottom: 6px; }
.stat-label { font-size: 14px; color: #6b7280; }

.about-mission { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.mission-card { text-align: center; padding: 32px 24px; background: #fff; border: 1px solid rgba(124,58,237,0.08); border-radius: 12px; transition: all 0.3s; }
.mission-card:hover { box-shadow: 0 8px 30px rgba(124,58,237,0.1); transform: translateY(-4px); }
.mission-icon { margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.mission-card h3 { font-size: 18px; color: #4c1d95; margin-bottom: 10px; }
.mission-card p { font-size: 14px; color: #6b7280; line-height: 1.7; }

.about-timeline { margin-bottom: 50px; }
.about-timeline h2 { font-size: 26px; color: #4c1d95; text-align: center; margin-bottom: 30px; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #7c3aed, #3b82f6); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -31px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #3b82f6); border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(124,58,237,0.2); }
.timeline-content { padding: 0 0 0 24px; }
.timeline-year { font-size: 13px; font-weight: 600; color: #7c3aed; margin-bottom: 4px; }
.timeline-content h4 { font-size: 17px; color: #1e1b4b; margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: #6b7280; line-height: 1.7; }

.about-certifications { margin-bottom: 50px; }
.about-certifications h2 { font-size: 26px; color: #4c1d95; text-align: center; margin-bottom: 30px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { text-align: center; padding: 28px 20px; background: #fff; border: 1px solid rgba(124,58,237,0.08); border-radius: 12px; transition: all 0.3s; }
.cert-card:hover { box-shadow: 0 8px 28px rgba(124,58,237,0.1); transform: translateY(-3px); }
.cert-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #f8f7ff, #ede9fe); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; color: #7c3aed; margin: 0 auto 14px; }
.cert-card h4 { font-size: 16px; color: #1e1b4b; margin-bottom: 8px; }
.cert-card p { font-size: 13px; color: #6b7280; line-height: 1.6; }

.about-contact { margin-bottom: 20px; }
.about-contact h2 { font-size: 26px; color: #4c1d95; text-align: center; margin-bottom: 30px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { text-align: center; padding: 36px 20px 28px; background: #fff; border: 1px solid rgba(124,58,237,0.08); border-radius: 14px; transition: all 0.35s; position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #7c3aed, #3b82f6); border-radius: 14px 14px 0 0; opacity: 0; transition: opacity 0.35s; }
.contact-card:hover { box-shadow: 0 12px 32px rgba(124,58,237,0.12); transform: translateY(-6px); border-color: rgba(124,58,237,0.18); }
.contact-card:hover::before { opacity: 1; }
.contact-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; transition: all 0.35s; }
.contact-card:hover .contact-icon { background: linear-gradient(135deg, #7c3aed, #3b82f6); transform: scale(1.08); }
.contact-card:hover .contact-icon svg path,
.contact-card:hover .contact-icon svg circle { fill: #fff; stroke: #fff; }
.contact-card:hover .contact-icon svg path[fill="none"] { fill: none; stroke: #fff; }
.contact-card h4 { font-size: 16px; color: #1e1b4b; margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: #6b7280; line-height: 1.7; }

/* ==================== 搜索结果页 ==================== */

.search-page-header {
    margin-top: 110px;
    background: linear-gradient(135deg, #f8f7ff 0%, #ede9fe 30%, #e0e7ff 70%, #dbeafe 100%);
    position: relative;
}
.search-page-bar {
    padding: 24px 40px;
    display: flex;
    justify-content: center;
}
.search-page-box {
    width: 700px;
    height: 50px;
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(124,58,237,0.12);
    background: #fff;
}
.search-page-box .search-icon {
    margin: auto 0 auto 18px;
    flex-shrink: 0;
}
.search-page-box input {
    flex: 1;
    height: 50px;
    border: none;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    background: transparent;
}
.search-page-box button {
    width: 100px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}
.search-page-box button:hover { opacity: 0.9; }

.search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 16px;
    flex-wrap: wrap;
    gap: 16px;
}
.search-summary .result-count { font-size: 14px; color: #6b7280; }
.search-summary .result-count strong { color: #7c3aed; }

.search-tabs { display: flex; gap: 4px; }
.search-tab {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.search-tab span { opacity: 0.6; font-size: 12px; margin-left: 2px; }
.search-tab:hover { color: #7c3aed; }
.search-tab.active { background: #fff; color: #7c3aed; font-weight: 600; border-color: rgba(124,58,237,0.15); box-shadow: 0 1px 6px rgba(124,58,237,0.08); }

.search-layout { display: flex; gap: 30px; }

/* 搜索结果卡片列表 */
.search-result-list { display: flex; flex-direction: column; gap: 16px; }
.search-result-card {
    display: flex;
    gap: 20px;
    padding: 18px;
    border: 1px solid rgba(124,58,237,0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    background: #fff;
}
.search-result-card:hover { box-shadow: 0 6px 22px rgba(124,58,237,0.1); transform: translateY(-2px); border-color: rgba(124,58,237,0.18); }

.result-img { width: 180px; height: 130px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%); }
.result-file-icon { display: flex; align-items: center; justify-content: center; background: #faf9fe; border: 1px solid rgba(124,58,237,0.08); }

.result-body { flex: 1; min-width: 0; }
.result-type { font-size: 11px; font-weight: 600; display: inline-block; padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; }
.badge-product { color: #7c3aed; background: rgba(124,58,237,0.08); }
.badge-article { color: #3b82f6; background: rgba(59,130,246,0.08); }
.badge-download { color: #10b981; background: rgba(16,185,129,0.08); }

.result-body h3 { font-size: 17px; color: #1e1b4b; margin-bottom: 8px; line-height: 1.35; }
.result-body p { font-size: 14px; color: #6b7280; line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-body mark { background: rgba(124,58,237,0.12); color: #7c3aed; padding: 0 2px; border-radius: 2px; }

.result-footer { display: flex; align-items: center; justify-content: space-between; }
.result-sku { font-size: 12px; color: #9ca3af; }
.result-price { font-size: 17px; font-weight: bold; color: #7c3aed; }
.result-date { font-size: 12px; color: #9ca3af; }
.result-file { font-size: 12px; color: #9ca3af; }
.result-dl { font-size: 13px; color: #7c3aed; font-weight: 500; }

/* 搜索状态提示 */
.search-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}
.search-status-icon { margin-bottom: 16px; opacity: 0.6; }
.search-status-text { color: #9ca3af; font-size: 15px; margin: 0; }
.search-status-text.error { color: #ef4444; }

/* ==================== 响应式设计 ==================== */

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1366px) and (min-width: 768px) {
    .wrapper {
        width: 100%;
        min-width: 320px;
    }

    .top-bar,
    .header {
        width: 100%;
        left: 0;
        transform: none;
        padding: 0 20px;
    }

    .header .nav a {
        padding: 0 16px;
        font-size: 14px;
    }

    .search-section .search-box {
        width: 90%;
        max-width: 550px;
    }

    .banner-news {
        flex-direction: column;
        height: auto;
    }

    .banner-news .carousel {
        width: 100%;
        height: 320px;
    }

    .banner-news .news-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(124,58,237,0.08);
    }

    .topics-section .topics-row {
        flex-wrap: wrap;
    }

    .topics-section .topics-row .topic-large {
        width: calc(50% - 10px);
    }

    .topics-section .topics-row .topic-small {
        width: calc(50% - 10px);
    }

    .links-section .links-grid {
        gap: 20px;
    }

    .products-grid .product-card {
        min-width: calc(50% - 10px);
    }
}

/* 手机设备 (最大767px) */
@media screen and (max-width: 767px) {
    .wrapper {
        width: 100%;
        min-width: 320px;
    }

    .top-bar {
        width: 100%;
        left: 0;
        transform: none;
        padding: 0 15px;
        height: 36px;
        font-size: 12px;
    }

    .top-bar .hotline {
        display: none;
    }

    .top-bar .login-area {
        gap: 15px;
    }

    .header {
        width: 100%;
        left: 0;
        transform: none;
        padding: 0 15px;
        height: 60px;
        top: 36px;
    }

    .header .logo .logo-icon {
        width: 90px;
        height: 22px;
    }
    .header .logo .logo-text { font-size: 18px; }
    .header .logo .logo-sub { display: none; }

    .header .nav {
        display: none;
    }

    /* 三横线菜单按钮 */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #7c3aed;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* 移动端下拉导航 - 从顶部展开 */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 96px; /* 36px top-bar + 60px header */
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 98;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }

    .mobile-nav.active {
        max-height: 420px;
    }

    .mobile-nav a {
        display: block;
        padding: 14px 24px;
        font-size: 16px;
        color: #4b5563;
        text-decoration: none;
        border-bottom: 1px solid rgba(124,58,237,0.06);
        transition: all 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav a:active,
    .mobile-nav a.active {
        color: #7c3aed;
        background: rgba(124,58,237,0.06);
        font-weight: 500;
    }

    .search-section {
        height: 316px;
        padding-top: 96px;
    }

    .search-section .search-box {
        width: 95%;
        max-width: 400px;
        height: 44px;
    }

    .search-section .search-box input {
        font-size: 14px;
        padding: 0 16px;
    }

    .search-section .search-box button {
        width: 80px;
        font-size: 14px;
    }

    .search-section .hot-tags {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-section .hot-tags .tag {
        padding: 3px 10px;
        font-size: 12px;
    }

    .banner-news {
        flex-direction: column;
        height: auto;
    }

    .banner-news .carousel {
        width: 100%;
        height: 200px;
    }

    .banner-news .carousel .indicators {
        bottom: 12px;
    }

    .banner-news .carousel .indicators span {
        width: 8px;
        height: 8px;
    }

    .banner-news .carousel .indicators span.active {
        width: 22px;
    }

    .banner-news .news-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(124,58,237,0.08);
        height: auto;
        padding: 15px;
    }

    .banner-news .news-panel .news-title {
        font-size: 16px;
    }

    .banner-news .news-panel .news-list li {
        padding: 8px 0;
        font-size: 13px;
    }

    .products-section {
        height: auto;
        padding: 20px 0;
    }

    .products-content {
        padding: 0 15px;
    }

    .products-section .section-header h2 {
        font-size: 18px;
    }

    .products-grid {
        flex-wrap: nowrap;
    }

    .products-grid .product-card {
        min-width: calc(100% - 8px);
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .topics-section {
        height: auto;
        padding: 20px 15px;
    }

    .topics-section .section-header h2 {
        font-size: 18px;
    }

    .topics-section .topics-row {
        flex-direction: column;
        gap: 15px;
    }

    .topics-section .topics-row .topic-large,
    .topics-section .topics-row .topic-small {
        width: 100%;
    }

    .topics-section .topic-card .topic-img {
        height: 120px;
    }

    .links-section {
        height: auto;
        padding: 30px 15px;
    }

    .links-section .links-grid {
        flex-direction: column;
        gap: 25px;
    }

    .links-section .links-column h3 {
        font-size: 15px;
    }

    .links-section .links-column ul li {
        font-size: 13px;
        padding: 6px 0;
    }
    .links-section .links-column ul li a { font-size: 13px; }

    .links-section .social-area {
        flex-direction: column;
        gap: 30px;
    }

    .footer {
        height: auto;
        padding: 25px 15px;
    }

    .footer .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer .copyright {
        font-size: 11px;
    }
}

/* 小屏手机 (最大480px) */
@media screen and (max-width: 480px) {
    .search-section .search-box {
        height: 40px;
    }

    .search-section .search-box button {
        width: 70px;
        font-size: 13px;
    }

    .banner-news .carousel {
        height: 160px;
    }

    .topics-section .topic-card .topic-text {
        font-size: 13px;
        padding: 0 12px;
    }
}

/* 超小屏手机 (最大360px) */
@media screen and (max-width: 360px) {
    .header .logo .logo-icon {
        width: 70px;
        height: 18px;
    }
    .header .logo .logo-text { font-size: 16px; }

    .search-section {
        height: 296px;
    }

    .banner-news .carousel {
        height: 140px;
    }
}

/* ==================== 内页响应式 - 平板 (768px - 1366px) ==================== */
@media screen and (max-width: 1366px) and (min-width: 768px) {
    .page-banner, .page-banner-sm { margin-top: 110px; }
    .content-section { padding: 30px; }
    .sidebar-layout { flex-direction: column; }
    .filter-sidebar { width: 100%; display: flex; gap: 20px; flex-wrap: wrap; }
    .filter-block { flex: 1; min-width: 180px; border-bottom: none; padding-bottom: 0; }
    .product-list-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-layout { flex-direction: column; }
    .product-detail-gallery { width: 100%; }
    .gallery-main { width: 100%; height: 350px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .article-detail-layout { flex-direction: column; }
    .article-sidebar { width: 100%; }
    .article-featured-img { height: 300px; }
    .topic-hero { flex-direction: column; height: auto; margin-top: 110px; padding: 30px; gap: 20px; }
    .topic-hero-content h1 { font-size: 26px; }
    .topic-hero-img { width: 100%; height: 200px; }
    .topic-block { flex-direction: column; gap: 30px; }
    .topic-block-reverse { flex-direction: column-reverse; }
    .topic-block-img { width: 100%; height: 240px; }
    .about-intro-stats { grid-template-columns: repeat(2, 1fr); }
    .about-mission { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto; }
    .about-mission .mission-card:last-child { grid-column: 1 / -1; max-width: 400px; justify-self: center; }
    .cert-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }

    /* search */
    .search-page-header { margin-top: 110px; }
    .search-page-bar { padding: 20px; }
    .search-page-box { width: 90%; max-width: 550px; }
    .search-summary { padding: 0 20px 14px; flex-direction: column; align-items: flex-start; }
    .search-layout { flex-direction: column; }
    .result-img { width: 140px; height: 100px; }
}

/* ==================== 内页响应式 - 手机 (max 767px) ==================== */
@media screen and (max-width: 767px) {
    .page-banner { margin-top: 96px; padding: 30px 0; }
    .page-banner-sm { margin-top: 96px; padding: 14px 0; }
    .page-banner-content { padding: 0 20px; }
    .page-banner-content h1 { font-size: 24px; }
    .page-banner-content p { font-size: 14px; }
    .breadcrumb { font-size: 12px; }

    .content-section { padding: 20px 15px; }
    .sidebar-layout { flex-direction: column; }
    .filter-sidebar { width: 100%; }
    .list-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
    .product-list-grid { grid-template-columns: 1fr; }
    .pagination { flex-wrap: wrap; gap: 4px; }
    .page-btn { min-width: 32px; height: 32px; font-size: 13px; padding: 0 8px; }

    .product-detail-layout { flex-direction: column; gap: 24px; }
    .product-detail-gallery { width: 100%; }
    .gallery-main { width: 100%; height: 260px; }
    .thumb { width: 65px; height: 55px; }
    .product-detail-info h1 { font-size: 22px; }
    .product-detail-price { font-size: 24px; }
    .product-detail-actions { flex-direction: column; align-items: stretch; }
    .product-detail-actions .btn-primary, .product-detail-actions .btn-outline { text-align: center; }
    .specs-table th { width: 120px; font-size: 13px; padding: 10px 12px; }
    .specs-table td { font-size: 13px; padding: 10px 12px; }
    .tab-nav { overflow-x: auto; }
    .tab-btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
    .related-products { padding: 20px 15px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .related-grid .product-card .product-img { height: 130px; }

    .category-tabs { gap: 6px; }
    .cat-tab { padding: 6px 14px; font-size: 13px; }
    .article-grid { grid-template-columns: 1fr; }
    .article-card-img { height: 180px; }

    .article-detail-layout { flex-direction: column; }
    .article-sidebar { width: 100%; }
    .article-header h1 { font-size: 22px; }
    .article-meta-bar { flex-wrap: wrap; gap: 10px; }
    .article-featured-img { height: 220px; }
    .article-body { font-size: 15px; }
    .article-body h2 { font-size: 19px; }
    .article-nav { flex-direction: column; gap: 10px; text-align: center; }

    .topic-hero { flex-direction: column; height: auto; margin-top: 96px; padding: 24px 20px; gap: 18px; }
    .topic-hero-content h1 { font-size: 22px; }
    .topic-hero-content p { font-size: 14px; }
    .topic-hero-img { width: 100%; height: 180px; }
    .topic-block { flex-direction: column; gap: 20px; }
    .topic-block-reverse { flex-direction: column-reverse; }
    .topic-block-img { width: 100%; height: 200px; }
    .topic-block-text h2 { font-size: 20px; }
    .topic-cta { padding: 30px 20px; }
    .topic-cta h2 { font-size: 22px; }

    .about-hero { margin-top: 96px; padding: 30px 20px; }
    .about-hero-content h1 { font-size: 24px; }
    .about-hero-content p { font-size: 14px; }
    .about-intro-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-item { padding: 20px 14px; }
    .stat-num { font-size: 28px; }
    .about-mission { grid-template-columns: 1fr; }
    .about-timeline h2, .about-certifications h2, .about-contact h2 { font-size: 22px; }
    .timeline { padding-left: 28px; }
    .timeline-dot { left: -21px; width: 12px; height: 12px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* search */
    .search-page-header { margin-top: 96px; }
    .search-page-bar { padding: 14px 15px; }
    .search-page-box { width: 100%; height: 42px; }
    .search-page-box .search-icon { margin-left: 14px; }
    .search-page-box input { height: 42px; font-size: 14px; padding: 0 10px; }
    .search-page-box button { width: 64px; height: 42px; font-size: 13px; }
    .search-summary { padding: 0 15px 12px; flex-direction: column; align-items: flex-start; }
    .search-tabs { flex-wrap: wrap; }
    .search-layout { flex-direction: column; }
    .search-result-card { flex-direction: column; gap: 14px; padding: 14px; }
    .result-img { width: 100%; height: 170px; }
}

/* ==================== Legal 政策页面 ==================== */
.legal-layout {
    display: flex;
    min-height: calc(100vh - 320px);
    background: #f5f3ff;
    position: relative;
}

/* 左侧导航栏 */
.legal-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #f5f3ff;
    border-right: 1px solid rgba(124,58,237,0.12);
    padding: 40px 0;
    position: sticky;
    top: 110px;
    align-self: flex-start;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    z-index: 5;
}

.legal-sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #4c1d95;
    padding: 0 30px 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-sidebar-title::before {
    content: "";
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #7c3aed, #3b82f6);
    border-radius: 2px;
}

.legal-nav { display: flex; flex-direction: column; padding: 0 20px; }

.legal-nav-item {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s;
    margin-bottom: 2px;
    position: relative;
}

.legal-nav-item:hover {
    background: rgba(124,58,237,0.08);
    color: #7c3aed;
    padding-left: 20px;
}

.legal-nav-item.active {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(124,58,237,0.25);
}

.legal-sidebar-footer {
    margin: 30px 30px 0;
    padding-top: 16px;
    border-top: 1px solid rgba(124,58,237,0.1);
    font-size: 12px;
    color: #9ca3af;
}

/* 移动端顶部标签 */
.legal-mobile-tabs {
    display: none;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: 110px;
    z-index: 10;
    padding: 0 16px;
}

.legal-mobile-tab {
    display: inline-block;
    padding: 14px 18px;
    font-size: 13px;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
    white-space: nowrap;
}

.legal-mobile-tab:hover { color: #7c3aed; }

.legal-mobile-tab.active {
    color: #7c3aed;
    font-weight: 600;
    border-bottom-color: #7c3aed;
}

/* 右侧内容区 */
.legal-content {
    flex: 1;
    padding: 40px 50px 60px;
    min-width: 0;
    background: #f5f3ff;
}

.legal-section {
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(124,58,237,0.08);
}

.legal-section:last-child { border-bottom: none; margin-bottom: 0; }

.legal-section h2 {
    font-size: 26px;
    font-weight: bold;
    color: #1e1b4b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2::before {
    content: "";
    width: 5px;
    height: 28px;
    background: linear-gradient(180deg, #7c3aed, #3b82f6);
    border-radius: 3px;
    flex-shrink: 0;
}

.legal-date {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 28px;
    font-style: italic;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 30px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(124,58,237,0.12);
}

.legal-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    margin: 20px 0 8px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.85;
    color: #4b5563;
    margin-bottom: 14px;
}

.legal-section ul {
    margin: 8px 0 16px 20px;
}

.legal-section ul li {
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 6px;
    padding-left: 4px;
}

.legal-section ul li strong {
    color: #374151;
    font-weight: 600;
}

/* 回到顶部 */
.legal-back-top {
    text-align: right;
    margin-top: 20px;
}

.legal-back-top a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7c3aed;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 20px;
    transition: all 0.3s;
}

.legal-back-top a:hover {
    background: #7c3aed;
    color: #fff;
    border-color: transparent;
}

/* 联系卡片 */
.legal-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.legal-contact-card {
    background: #faf9fe;
    border: 1px solid rgba(124,58,237,0.08);
    border-radius: 10px;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.3s;
}

.legal-contact-card:hover {
    border-color: rgba(124,58,237,0.2);
    box-shadow: 0 4px 16px rgba(124,58,237,0.06);
}

.legal-contact-icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.legal-contact-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e1b4b;
    margin-bottom: 4px;
}

.legal-contact-card p {
    font-size: 14px;
    color: #7c3aed;
    font-weight: 500;
    margin-bottom: 2px;
}

.legal-contact-card span {
    font-size: 12px;
    color: #9ca3af;
}

/* ==================== Legal 响应式 ==================== */
@media screen and (max-width: 1023px) {
    .legal-layout { flex-direction: column; }
    .legal-sidebar { display: none; }
    .legal-mobile-tabs { display: flex; }
    .legal-content { padding: 24px 20px 40px; }
    .legal-section h2 { font-size: 22px; }
    .legal-section h3 { font-size: 16px; }
    .legal-contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 767px) {
    .legal-mobile-tabs { top: 96px; }
    .legal-content { padding: 20px 16px 32px; }
    .legal-section { padding-bottom: 36px; margin-bottom: 36px; }
    .legal-section h2 { font-size: 20px; }
    .legal-section h3 { font-size: 15px; margin-top: 24px; }
    .legal-section h4 { font-size: 14px; }
    .legal-section p { font-size: 14px; }
    .legal-section ul li { font-size: 13px; }
    .legal-contact-cards { grid-template-columns: 1fr; }
    .legal-mobile-tab { padding: 12px 14px; font-size: 12px; }
}