﻿/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft Yahei", sans-serif !important;
    color: #333;
    background: linear-gradient(135deg, rgba(240, 244, 250, 0.98) 0%, rgba(220, 230, 240, 0.95) 50%, rgba(240, 244, 250, 0.98) 100%);
    padding-top: 80px !important;
}

/* 顶部导航 */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    height: 80px;
    border-bottom: 1px solid rgba(30, 159, 255, 0.2); /* 添加蓝色权威边框 */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo span {
        font-size: 24px;
        font-weight: bold;
        color: #1E9FFF; /* 权威的蓝色 */
        font-family: "Microsoft Yahei", "SimHei", sans-serif;
    }

    .logo div {
        font-size: 2.2rem;
        color: #1E9FFF;
    }

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    font-family: "Microsoft Yahei", sans-serif;
    transition: color 0.3s ease;
}

    nav a:hover, nav .highlight {
        color: #1E9FFF;
    }

/* Banner 部分 */
.hero {
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
    padding: 120px 20px;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: "Microsoft Yahei", "SimHei", sans-serif;
}

.hero-content .hero-slogan {
    font-size: 1.5rem;
    color: #1E9FFF;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-content .hero-desc {
    font-size: 1.2rem;
    color: #555;
    margin: 0 auto;
    max-width: 800px;
}

.balloon {
    position: absolute;
    width: 80px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, #fff, #ffb6c1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

    .balloon.left {
        left: 10%;
        animation-delay: 0s;
    }

    .balloon.right {
        right: 10%;
        animation-delay: 3s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* 功能模块 */
.features {
    text-align: center;
    padding: 80px 10%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5px);
}

/* 响应式设计 - 服务页面 */
@media (max-width: 600px) {
    /* 修改服务页面的三栏布局为垂直堆叠 */
    .v-flex {
        flex-direction: column;
    }

    .v-flex > section {
        width: 100% !important;
        margin-bottom: 40px;
    }

    /* 调整服务页面图片大小 */
    .v-flex img {
        max-width: 250px;
        max-height: 333px;
        width: 100%;
        height: auto;
    }

    /* 调整功能标题 */
    .v-flex h2 {
        font-size: 2rem;
    }
}

/* 合作伙伴 */
.partners {
    text-align: center;
    padding: 80px 10%;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-top: 1px solid rgba(30, 159, 255, 0.15);
    border-bottom: 1px solid rgba(30, 159, 255, 0.15);
}

.partners h2 {
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: #2c3e50;
    font-weight: bold;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.partner-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 159, 255, 0.08);
}

    .partner-item:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

    .features h2 {
        font-size: 2.4rem;
        margin-bottom: 70px;
        color: #2c3e50;
        font-weight: bold;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 35px;
    animation: fadeInUp 0.8s ease-out;
}

.feature-item {
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(30, 159, 255, 0.1);
}

    .feature-item:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

    .feature-item h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        color: #2c3e50;
        font-weight: bold;
    }

    .feature-item p {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
        margin: 0;
    }

    .feature-item .icon {
        font-size: 3rem;
        margin-bottom: 20px;
        color: #1E9FFF;
    }

/* 图文模块 */
.showcase {
    text-align: center;
    padding: 100px 8%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

    .showcase h2 {
        font-size: 2.4rem;
        margin-bottom: 60px;
        color: #2c3e50;
        font-weight: bold;
    }

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(30, 159, 255, 0.1);
}

    .showcase-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .showcase-item p {
        padding: 20px;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        margin: 0;
    }

    .showcase-item:hover {
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        transform: translateY(-8px);
        border-color: rgba(30, 159, 255, 0.3);
    }

    .showcase-item:hover img {
        transform: scale(1.05);
    }

/* FAQ */
.faq {
    background: rgba(248, 249, 250, 0.92);
    padding: 80px 10%;
    text-align: left;
}

    .faq h2 {
        text-align: center;
        margin-bottom: 60px;
        font-size: 2.2rem;
        color: #2c3e50;
        font-weight: bold;
    }

    .faq ul {
        list-style: none;
        max-width: 800px;
        margin: 0 auto;
        padding: 0;
    }

    .faq li {
        margin-bottom: 25px;
        line-height: 1.8;
        background: rgba(255, 255, 255, 0.96);
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        border: 1px solid rgba(30, 159, 255, 0.08);
    }

        .faq li:hover {
            box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        }

    .faq strong {
        color: #1E9FFF;
        font-size: 1.1rem;
        display: block;
        margin-bottom: 8px;
    }

/* 页脚 */
.site-footer {
    background: rgba(247, 247, 247, 0.95);
    text-align: center;
    padding: 30px 10px;
    font-size: 14px;
}

.footer-links {
    margin-bottom: 10px;
}

    .footer-links a {
        margin: 0 10px;
        color: #666;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #e86b8b;
        }

/* 响应式调整 */
/* 移动端汉堡菜单样式 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    margin-right: 15px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #1E9FFF;
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    /* 隐藏完整导航，显示汉堡菜单 */
    .mobile-menu-toggle {
        display: flex;
    }

    #navMain {
        position: absolute;
        top: 80px; /* 与导航栏高度一致 */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        border-top: 1px solid rgba(30, 159, 255, 0.2);
        flex-direction: column;
        padding: 20px 0;
        display: none; /* 默认隐藏 */
        z-index: 9;
    }

    #navMain.active {
        display: flex; /* 激活时显示 */
    }

    nav a {
        margin: 10px 20px;
        font-size: 16px;
        text-align: center;
    }

    /* 调整分隔符 */
    nav a[href="javascript:void(0);"] {
        display: none;
    }
}


.labtory-popup {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .labtory-popup form {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .labtory-popup iframe {
        flex: 1; /* 自动填满剩余空间 */
        width: 100%;
        border: none;
    }

    .labtory-popup .layui-form-item {
        margin-bottom: 0px !important;
    }


/*会员定价*/
.pricing-table-modern {
    margin: 50px auto;
    width: 100%;
    max-width: 1200px;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

    .pricing-table-modern table {
        border-collapse: separate;
        border-spacing: 0;
        width: 100%;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
/*        border-radius: 12px;*/
        overflow: hidden;
    }

    .pricing-table-modern th,
    .pricing-table-modern td {
        padding: 18px 12px;
        text-align: center;
    }

    .pricing-table-modern .header-col {
        background: #f4f6f8;
        font-weight: 600;
        font-size: 16px;
        color: #333;
    }

    .pricing-table-modern th {
        font-size: 18px;
        line-height: 1.3;
    }

    .pricing-table-modern td {
        font-size: 15px;
        color: #555;
    }

    .pricing-table-modern .col-highlight {
        background: linear-gradient(135deg, #fff2e6, #fff7e6);
        font-weight: bold;
        color: #ff6600;
        box-shadow: inset 0 0 0 1px #ff9a00;
/*        border-radius: 0 12px 12px 0;*/
        position: relative;
    }

    .pricing-table-modern .best-tag {
        display: inline-block;
        margin-left: 6px;
        padding: 3px 8px;
        background: #ff5722;
        color: white;
        font-size: 12px;
        border-radius: 4px;
        vertical-align: middle;
    }

.buy-btn {
    padding: 8px 18px;
    background: linear-gradient(90deg, #ff9a00, #ff6600);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .buy-btn:hover {
        background: linear-gradient(90deg, #ffb347, #ff4500);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(255,102,0,0.35);
    }

.buy-row td {
    background: #fff8f0;
    font-weight: 500;
}

.buy-row .header-col {
    background: #f4f6f8;
}

/* 价格表格响应式设计 */
@media (max-width: 600px) {
    .pricing-table-modern {
        overflow-x: auto;
        padding: 0 15px;
    }

    /* 表格容器横向滚动 */
    .pricing-table-modern table {
        min-width: 800px;
    }

    /* 调整价格表格单元格 */
    .pricing-table-modern th,
    .pricing-table-modern td {
        padding: 12px 8px;
        font-size: 14px;
    }

    /* 调整按钮大小 */
    .pricing-table-modern .buy-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}

.tip-free-msg {
    color: red;
    font-size: 16px;
    margin-top: 10px;
}

.layui-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* 防止高度不一致导致错位 */
}

.lab-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    .lab-buttons .open-new {
        font-size: 16px;
        color: #1E9FFF;
        text-decoration: underline;
        cursor: pointer;
    }

        .lab-buttons .open-new:hover {
            color: #0b8ada;
        }

.my-close-btn {
    position: fixed;
    right: 16px;
    top: 16px;
    padding: 4px 10px;
    background-color: #FF5722;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .my-close-btn:hover {
        background-color: #E64A19;
    }

.lab-container {
    display: flex;
    flex-direction: column;
    height: 100%; /* 或者 100vh 看你页面布局 */
}

    .lab-container .header {
        display: flex;
        align-items: center;
        height: 50px; /* 上面部分固定 50px */
        padding: 0 10px;
        box-sizing: border-box;
    }

        .lab-container .header .v-flex-1 {
            flex: 1;
        }

    .lab-container iframe {
        flex: 1; /* 占剩余空间 */
        width: 100%;
        border: none;
    }

.service-box {
    position: fixed;
    right: 20px;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    z-index: 999; /* Ensure it's above other elements */
    background: white; /* Add background to make it visible */
}

    .service-box:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

    .service-box img {
        width: 40px;
    }

    .service-box span {
        margin-top:5px;
    }