/* 全局样式 */
:root {
    --primary-color: rgba(0, 116, 193, 1);
    --secondary-color: #00408F;
    --accent-color: #FF8800;
    --light-color: #f8f9fa;
    --dark-color: #333333;
    --text-color: #303030;
    --grey-color: #707070;
    --grey-light: #e9ecef;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--grey-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo-img {
    max-height: 70px;
    width: auto;
    display: block;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* 英雄区域样式 - 轮播图 */
.hero {
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(230, 242, 255, 0.9) 0%, rgba(245, 248, 255, 0.9) 100%);
    position: relative;
    margin-bottom: 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

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

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 80px 60px;
    max-width: 600px;
    color: #fff;
    background-color: transparent;
    margin: 80px auto 0;
    text-align: center;
}

.slide-content h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    line-height: 1.4;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

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

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

.indicator.active {
    background-color: var(--primary-color);
}

.carousel-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.carousel-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 框架区域样式 */
.framework {
    padding: 80px 0;
    background-color: #fff;
}

.framework .section-description {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--grey-color);
    font-size: 1.1rem;
    line-height: 1.7;
    text-indent: 2em;
}

/* 大数据平台区域样式 */
.bigdata-platform {
    padding: 50px 0 25px 0;
    background-color: var(--light-color);
}

.bigdata-platform-link {
    text-align: right;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bigdata-platform-link a {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bigdata-platform-link a:hover {
    color: var(--secondary-color);
}

.bigdata-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.bigdata-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.bigdata-title-container .section-title {
    margin-bottom: 0;
}

/* 移动端适配 - 大数据平台 */
@media (max-width: 768px) {
    .bigdata-title-container {
        gap: 15px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .bigdata-logo {
        height: 45px;
        flex-shrink: 0;
    }
    
    .bigdata-title-container .section-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 0;
    }
    
    .bigdata-platform .section-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .bigdata-title-container {
        gap: 12px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .bigdata-logo {
        height: 40px;
        flex-shrink: 0;
    }
    
    .bigdata-title-container .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    .bigdata-platform .section-description {
        font-size: 1.2rem;
        text-indent: 1.5em;
    }
    
    .bigdata-platform-link {
        margin-top: 15px;
    }
    
    .bigdata-platform-link a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .bigdata-title-container {
        gap: 10px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .bigdata-logo {
        height: 35px;
        flex-shrink: 0;
    }
    
    .bigdata-title-container .section-title {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    .bigdata-platform .section-description {
        font-size: 1.1rem;
        line-height: 1.5;
        text-indent: 1.2em;
    }
}

@media (max-width: 375px) {
    .bigdata-title-container {
        gap: 8px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .bigdata-logo {
        height: 30px;
        flex-shrink: 0;
    }
    
    .bigdata-title-container .section-title {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .bigdata-platform .section-description {
        font-size: 1.1rem;
        text-indent: 1em;
    }
    
    .bigdata-platform-link a {
        font-size: 1rem;
    }
}

/* 框架区域样式 */
.framework {
    padding: 30px 0;
    background-color: #fff;
}

/* 桌面端通用样式 - 移动到媒体查询之前以避免覆盖 */
.framework .section-description,
.bigdata-platform .section-description {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--grey-color);
    font-size: 1.1rem;
    line-height: 1.7;
    text-indent: 2em;
}

.framework-boxes {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.framework-box {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-align: center;
}

.framework-box.visible,
.framework-box:hover {
    opacity: 1;
    transform: translateY(0);
}

.framework-box:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.framework-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.framework-box p {
    color: var(--grey-color);
    margin-bottom: 20px;
    text-align: center;
}

.framework-box ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

.framework-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text-color);
}

.framework-box ul li:last-child {
    border-bottom: none;
}

/* 服务区域样式 */
.services {
    padding: 80px 0;
    background-color: var(--light-color);
}

.service-category {
    margin-bottom: 60px;
    text-align: center;
}

.service-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding: 0 20px;
    display: inline-block;
    text-align: center;
    position: relative;
}

.category-title::before,
.category-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 240px;
    height: 2px;
    background-color: var(--primary-color);
}

.category-title::before {
    right: 100%;
}

.category-title::after {
    left: 100%;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.service-item.visible,
.service-item:hover {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.service-item p {
    color: var(--grey-color);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
    text-indent: 2em;
    margin-bottom: 16px;
}

.service-image {
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    display: block;
    margin: 0 auto;
}

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

/* 关于我们区域 */
.about {
    padding: 0;
    background-color: transparent;
    position: relative;
}

.about-bg {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.about-overlay {
    position: relative;
    background-color: rgba(0, 116, 193, 0.7);
    max-width: 800px;
    padding: 50px 40px;
    margin: 0 0 0 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
}

.about .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
    margin-left: 0;
    margin-right: auto;
}

.about .section-title {
    color: #fff;
    text-align: left;
    margin-bottom: 30px;
    position: relative;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.about-item {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-item.visible,
.about-item:hover {
    opacity: 1;
    transform: translateY(0);
}

.about-item:hover {
    box-shadow: none;
}

.about-item h3 {
    color: #fff;
    font-size: 1.5rem;
    text-align: left;
    position: relative;
    line-height: 1.5;
    white-space: nowrap;
}

.about-item h3::before {
    display: none;
}

.about-item p {
    text-align: left;
}

@media (max-width: 1200px) {
    .about-item h3 {
        white-space: normal;
    }
}

/* 上级单位区域 */
.superior {
    padding: 80px 0;
    background-color: var(--light-color);
    text-align: center;
}

.superior-content-wrapper {
    width: 100%;
    background-color: #f5f9ff;
    padding: 40px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 82, 204, 0.1);
    border-bottom: 1px solid rgba(0, 82, 204, 0.1);
}

.superior-content {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.superior-content.visible,
.superior-content:hover {
    opacity: 1;
    transform: translateY(0);
}

.superior-content h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.superior-content p {
    color: var(--grey-color);
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
}

.superior-logo {
    text-align: center;
    margin: 15px auto;
    max-width: 500px;
}

.cnnic-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.cnnic-logo:hover {
    transform: scale(1.05);
}

/* 联系我们区域 */
.contact {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.contact p {
    color: var(--grey-color);
    font-size: 1.2rem;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
}

/* 动画延迟 */
.hero-item:nth-child(1) { transition-delay: 0.1s; }
.hero-item:nth-child(2) { transition-delay: 0.3s; }
.hero-item:nth-child(3) { transition-delay: 0.5s; }

.framework-box:nth-child(1) { transition-delay: 0.1s; }
.framework-box:nth-child(2) { transition-delay: 0.2s; }
.framework-box:nth-child(3) { transition-delay: 0.3s; }
.framework-box:nth-child(4) { transition-delay: 0.4s; }

.service-item:nth-child(1) { transition-delay: 0.1s; }
.service-item:nth-child(2) { transition-delay: 0.2s; }
.service-item:nth-child(3) { transition-delay: 0.3s; }

/* 响应式样式 */
@media (max-width: 992px) {
    .framework-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
    .slideshow-container {
        height: 500px;
    }
    
    .slide-content {
        padding: 40px;
        margin-top: 60px;
        max-width: 80%;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .framework-boxes,
    .service-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-bg {
        height: 450px;
    }
    
    .about .container {
        padding-left: 40px;
        margin-left: 0;
        margin-right: auto;
    }
    
    .about-overlay {
        max-width: 500px;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .framework-boxes {
        grid-template-columns: 1fr;
    }
    .slideshow-container {
        height: 600px;
        min-height: 600px;
    }
    
    .slide-content {
        padding: 20px;
        margin-top: 180px;
        max-width: 90%;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
    }
    
    .carousel-slide {
        min-height: 600px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .framework-boxes,
    .service-items {
        grid-template-columns: 1fr;
    }
    
    .category-title::before,
    .category-title::after {
        width: 100px;
    }
    
    .about-bg {
        height: 400px;
    }
    
    .about .container {
        padding-left: 20px;
        margin-left: 0;
        margin-right: auto;
    }
    
    .about-overlay {
        max-width: 100%;
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .slideshow-container {
        height: 650px;
        min-height: 650px;
    }
    
    .slide-content {
        padding: 15px;
        margin-top: 200px;
        max-width: 92%;
    }
    
    .carousel-slide {
        min-height: 650px;
    }
    
    .slide-content h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
    
    .hero-item h2,
    .framework-box h3,
    .category-title,
    .about-item h3 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .superior-content h3 {
        font-size: 1.6rem;
    }
    
    .superior-content p,
    .contact p {
        font-size: 1rem;
    }
    
    .category-title::before,
    .category-title::after {
        width: 50px;
    }
    
    .about .container {
        padding-left: 15px;
        margin-left: 0;
        margin-right: auto;
    }
    
    .about-bg {
        height: 350px;
    }
    
    .about-item h3 {
        font-size: 1.3rem;
    }
}

/* 极窄屏幕处理 */
@media (max-width: 320px) {
    .slideshow-container {
        height: 700px;
        min-height: 700px;
    }
    
    .slide-content {
        margin-top: 250px;
        padding: 12px;
    }
    
    .carousel-slide {
        min-height: 700px;
    }
    
    .slide-content h2 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

.superior .section-title {
    margin-bottom: 10px;
}

.superior .section-description {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--grey-color);
}

/*下面是新增的交互、浮层样式*/
/* 整体样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* 搜索section样式 - 完全独立 */
.search-section {
    padding: 40px 0;
    background: #ffffff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
    margin: 0;
    clear: both;
    overflow: hidden;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: -1;
}

/* 搜索区域样式 - Google风格 */
.search {
    max-width: 584px;
    margin: 0 auto;
    padding: 0;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
}

.search-wrap {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.input-with-select.el-input {
    flex: 1;
    margin-right: 0;
}

.el-input__inner {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 16px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px 1px rgba(64,60,67,.16);
    background: #fff;
}

.el-input__inner:hover {
    box-shadow: 0 2px 8px 1px rgba(64,60,67,.24);
}

.el-input__inner:focus {
    border-color: #4285f4;
    box-shadow: 0 2px 8px 1px rgba(64,60,67,.24);
}

.btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    background: none;
    color: #4285f4;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.btn:hover {
    background-color: rgba(66,133,244,0.1);
}

.btn img {
    display: none;
}

.btn::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23747775" d="m19.2 20.5-6.2-6.2q-.9.6-2.05.95Q9.8 15.6 8.5 15.6q-3.125 0-5.313-2.188Q1 11.225 1 8.1t2.188-5.313Q5.375.6 8.5.6t5.313 2.188Q16 5.375 16 8.5q0 1.3-.35 2.45-.35 1.15-.95 2.05l6.2 6.2ZM8.5 13.6q2.15 0 3.675-1.525Q13.7 10.55 13.7 8.4q0-2.15-1.525-3.675Q10.65 3.2 8.5 3.2q-2.15 0-3.675 1.525Q3.3 6.25 3.3 8.4q0 2.15 1.525 3.675Q6.35 13.6 8.5 13.6Z"/></svg>') no-repeat center;
    background-size: 20px 20px;
    display: inline-block;
}

.my-tabs-box.index-tab {
    margin-top: 0;
    display: flex;
    justify-content: center;
}

.radio-tabs .left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.wrap {
    margin-bottom: 0;
}

.rows-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.el-row {
    width: auto;
    margin-bottom: 0;
    display: flex;
    gap: 20px;
}

.web2,
.web3,
.web4,
.web5,
.web6,
.web7,
.web8,
.floating-web2,
.floating-web3,
.floating-web4,
.floating-web5,
.floating-web6,
.floating-web7,
.floating-web8 {
    padding: 6px 24px;
    margin-right: 0;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    background: #f8f9fa;
    color: #3c4043;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    justify-content: center;
}

.web2:hover,
.web3:hover,
.web4:hover,
.web5:hover,
.web6:hover,
.web7:hover,
.web8:hover,
.floating-web2:hover,
.floating-web3:hover,
.floating-web4:hover,
.floating-web5:hover,
.floating-web6:hover,
.floating-web7:hover,
.floating-web8:hover {
    background: #e8eaed;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.web2.active,
.web3.active,
.web4.active,
.web5.active,
.web6.active,
.web7.active,
.web8.active,
.floating-web2.active,
.floating-web3.active,
.floating-web4.active,
.floating-web5.active,
.floating-web6.active,
.floating-web7.active,
.floating-web8.active {
    background-color: #4285f4;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66,133,244,0.3);
}

.tips-box.web2 {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 20px;
}

.title {
    font-weight: bold;
    margin-bottom: 10px;
}

.word {
    margin-bottom: 0;
}

/* 浮层样式 */
.el-dialog__wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2015;
}

.el-dialog {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 30px;
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    top: 50%;
    transform: translateY(-50%);
}

.el-dialog__header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.el-dialog__title {
    font-size: 20px;
    font-weight: bold;
}

.el-dialog__headerbtn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #999;
    transition: color 0.3s ease;
}

.el-dialog__headerbtn:hover {
    color: #333;
}

.el-dialog__body {
    flex: 1;
    overflow-y: auto;
}

.floating-result {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    max-height: 500px;
    /* 可根据需要调整最大高度 */
    overflow-y: auto;
    word-wrap: break-word;
    /* 允许长单词换行 */
}

.info-label {
    font-weight: bold;
}

/* MA码查询结果样式 */
.info-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

/* IPv4/IPv6查询结果样式 */
.ip-query-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ip-query-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.ip-query-loading {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
}

.ip-query-error {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.ip-query-fallback {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.ip-query-fallback a {
    color: #0c5460;
    text-decoration: underline;
    font-weight: bold;
}

.info-container h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.ma-info-section {
    margin-top: 15px;
}

.ma-info-section h5 {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.info-item:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.info-icon {
    margin-right: 8px;
    font-size: 1.1rem;
    min-width: 20px;
}

.info-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-right: 8px;
    min-width: 80px;
}

.info-value {
    color: var(--text-color);
    flex: 1;
    word-break: break-all;
}

/* 错误和成功状态样式 */
.info-container.error {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
}

.info-container.success {
    border-left: 4px solid #28a745;
    background: #f8fff9;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--grey-color);
    font-style: italic;
}

.loading::before {
    content: "⏳";
    margin-right: 8px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.health-good {
    color: green;
}

.health-bad {
    color: red;
}

/* 禁用页面滚动 */
.no-scroll {
    overflow: hidden;
}
/* 框架盒子居中样式覆盖 */
.framework-boxes {
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .framework-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .framework-boxes {
        grid-template-columns: 1fr;
    }
}

/* 案例链接和弹窗样式 - 完全重写 */
.case-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.case-link:hover {
    color: #004499;
    text-decoration: underline;
}

/* 弹窗遮罩层 */
.case-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

/* 弹窗容器 - 根据需求修改 */
.case-popup {
    position: fixed;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    z-index: 1001;
    overflow-y: auto;
    max-height: 80vh;
    width: 500px;
    max-width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 移除覆盖样式，改为通过JS动态控制位置 */
.case-content {
    color: #333;
    line-height: 1.6;
}

.case-content h3 {
    margin-top: 0;
    color: #0066cc;
    font-size: 22px;
    margin-bottom: 15px;
}

.case-content p {
    margin-bottom: 15px;
}

.case-footer {
    text-align: center;
    margin-top: 15px;
}

.case-close-btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.case-close-btn:hover {
    background-color: #004499;
}

/* 调试样式 */
.case-popup-overlay.debug-show {
    display: block !important;
}

.case-popup.debug-show {
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* 以下为从 index.html 移动过来的弹窗和案例相关样式 */
/* 弹窗遮罩层样式 */
.case-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    z-index: 999999 !important;
    display: none;
}

/* 弹窗容器样式 */
.case-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background-color: #fff !important;
    padding: 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    z-index: 1000000 !important;
    width: 500px !important;
    max-width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
}

/* 弹窗内容区域 */
.case-content {
    padding: 5px;
    max-height: 70vh;
    overflow-y: auto; /* 允许内容滚动 */
}

/* 弹窗标题居中 */
.case-content h3 {
    text-align: center !important;
    margin-bottom: 15px !important;
    color: #0066cc !important; /* 蓝色标题 */
    font-size: 22px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #eee !important; /* 下边框 */
}

/* 弹窗正文段落添加缩进 */
.case-content p {
    text-indent: 2em !important; /* 添加两个汉字的空格 */
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

/* 弹窗图片样式 */
.case-content .case-image {
    text-align: center !important;
    margin: 15px 0 !important;
}

.case-content .case-image img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

/* 图片说明文字 */
.case-content .case-image .image-caption {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 5px !important;
    text-align: center !important;
    font-style: italic !important;
}

/* 多图并排显示 */
.case-content .image-row {
    display: flex !important;
    justify-content: space-between !important;
    margin: 15px 0 !important;
}

.case-content .image-row .case-image {
    width: 48% !important;
    margin: 0 !important;
}

/* 弹窗底部样式 */
.case-footer {
    text-align: center !important;
    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: 1px solid #eee !important; /* 上边框 */
}

/* 关闭按钮样式 */
.case-close-btn {
    background-color: #0066cc !important;
    color: white !important;
    border: none !important;
    padding: 8px 25px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: background-color 0.3s !important;
}

.case-close-btn:hover {
    background-color: #004499 !important;
}

/* 修复移动端显示问题 */
@media (max-width: 768px) {
    .case-popup {
        width: 90% !important;
        max-height: 80vh !important;
        padding: 15px !important;
    }
    .case-content {
        max-height: 65vh !important; /* 确保在移动端内容区域可以滚动 */
    }
    .case-content h3 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }
    .case-content p {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    .case-content .image-row {
        flex-direction: column !important;
    }
    .case-content .image-row .case-image {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    .case-footer {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
    .case-close-btn {
        width: 100% !important;
        padding: 10px !important;
    }
}

/* 确保所有category-title不会覆盖弹窗 */
.service-category,
.category-title,
.category-title::before,
.category-title::after,
.section-title {
    z-index: auto !important; /* 移除任何z-index设置 */
    position: relative !important;
}

/* 修正所有可能的样式冲突 */
.service-items {
    z-index: auto !important;
    position: relative !important;
}

/* 服务项目样式 */
.service-item {
    position: relative !important;
    padding-bottom: 20px !important;
    min-height: 320px !important;
    overflow: visible !important;
}

.case-popup-overlay * {
    position: relative;
}

/* 确保弹窗在最上层 */
.case-popup, .case-popup-overlay {
    transform: translateZ(0);
    will-change: transform;
}

/* 特别处理物理标识相关元素 */
.service-category:first-child,
.service-category:first-child .category-title,
.service-category:first-child .category-title::before,
.service-category:first-child .category-title::after {
    z-index: -1 !important; /* 负z-index确保它不会覆盖弹窗 */
}

/* 案例链接样式 - 精简为普通文本链接 */
.case-link {
    color: #0066cc !important;
    text-decoration: underline !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    cursor: pointer !important;
    transition: color 0.3s !important;
}
.case-link:hover {
    color: #004499 !important;
    text-decoration: underline !important;
}

/* 确保service-item内容不会覆盖链接 */
.service-item p {
    margin-bottom: 16px !important;
}


/* 移动端选项卡优化 */
@media (max-width: 768px) {
    /* 搜索框优化 */
    .search {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .search-wrap {
        margin-bottom: 20px;
    }
    
    .el-input__inner {
        height: 40px;
        font-size: 14px;
        padding: 0 40px 0 14px;
    }
    
    .btn {
        width: 36px;
        height: 36px;
        right: 10px;
    }
    
    /* 浮层对话框优化 */
    .el-dialog {
        width: 95%;
        max-width: 95%;
        padding: 20px;
        margin: 10px;
    }
    
    .el-dialog__body {
        padding: 15px 0;
    }
    
    .floating-result {
        margin-top: 15px;
        padding: 8px;
        max-height: 400px;
        font-size: 13px;
    }
    
    /* 选项卡优化 */
    .my-tabs-box.index-tab {
        margin-top: 0;
        display: flex;
        justify-content: center;
        padding: 0 10px;
    }
    
    .radio-tabs .left {
        flex: 1;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .el-row {
        width: 100%;
        margin-bottom: 0;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .web2,
    .web3,
    .web4,
    .web5,
    .web6,
    .web7,
    .web8,
    .floating-web2,
    .floating-web3,
    .floating-web4,
    .floating-web5,
    .floating-web6,
    .floating-web7,
    .floating-web8 {
        padding: 8px 16px;
        margin-right: 0;
        border: none;
        border-radius: 16px;
        cursor: pointer;
        background: #f8f9fa;
        color: #3c4043;
        font-size: 13px;
        font-weight: 500;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 60px;
        justify-content: center;
        flex: 1;
        max-width: calc(50% - 4px);
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    /* 搜索框优化 */
    .search {
        padding: 0 10px;
    }
    
    .search-wrap {
        margin-bottom: 15px;
    }
    
    .el-input__inner {
        height: 38px;
        font-size: 13px;
        padding: 0 38px 0 12px;
    }
    
    .btn {
        width: 34px;
        height: 34px;
        right: 8px;
    }
    
    /* 浮层对话框优化 */
    .el-dialog {
        width: 98%;
        max-width: 98%;
        padding: 15px;
        margin: 5px;
    }
    
    .floating-result {
        margin-top: 10px;
        padding: 6px;
        max-height: 350px;
        font-size: 12px;
    }
    
    /* 选项卡优化 */
    .my-tabs-box.index-tab {
        padding: 0 5px;
    }
    
    .el-row {
        gap: 6px;
    }
    
    .web2,
    .web3,
    .web4,
    .web5,
    .web6,
    .web7,
    .web8,
    .floating-web2,
    .floating-web3,
    .floating-web4,
    .floating-web5,
    .floating-web6,
    .floating-web7,
    .floating-web8 {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 14px;
        gap: 4px;
        min-width: 50px;
        flex: 1;
        max-width: calc(33.333% - 4px);
    }
}

@media (max-width: 480px) {
    /* 搜索框优化 */
    .search {
        padding: 0 8px;
    }
    
    .el-input__inner {
        height: 36px;
        font-size: 12px;
        padding: 0 36px 0 10px;
    }
    
    .btn {
        width: 32px;
        height: 32px;
        right: 6px;
    }
    
    /* 选项卡优化 */
    .el-row {
        gap: 4px;
    }
    
    .web2,
    .web3,
    .web4,
    .web5,
    .web6,
    .web7,
    .web8,
    .floating-web2,
    .floating-web3,
    .floating-web4,
    .floating-web5,
    .floating-web6,
    .floating-web7,
    .floating-web8 {
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 12px;
        gap: 2px;
        min-width: 40px;
        max-width: calc(33.333% - 3px);
    }
}

@media (max-width: 375px) {
    /* 搜索框优化 */
    .search {
        padding: 0 5px;
    }
    
    .el-input__inner {
        height: 34px;
        font-size: 11px;
        padding: 0 34px 0 8px;
    }
    
    .btn {
        width: 30px;
        height: 30px;
        right: 4px;
    }
    
    /* 选项卡优化 */
    .my-tabs-box.index-tab {
        padding: 0 2px;
    }
    
    .el-row {
        gap: 3px;
    }
    
    .web2,
    .web3,
    .web4,
    .web5,
    .web6,
    .web7,
    .web8,
    .floating-web2,
    .floating-web3,
    .floating-web4,
    .floating-web5,
    .floating-web6,
    .floating-web7,
    .floating-web8 {
        padding: 4px 6px;
        font-size: 10px;
        border-radius: 10px;
        gap: 1px;
        min-width: 35px;
        max-width: calc(33.333% - 2px);
    }
}
