/* ============================================================
   全局样式（适用于所有页面）
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f5f6fa;
    color: #333;
    padding-top: 70px; /* 为固定导航留空间 */
    /* background-color: #000; */
}

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

.section-title {
    text-align: center;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 6px;
    color: #1e2a3a;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(14px, 1.5vw, 18px);
    color: #8c8c8c;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.section-padding {
    padding: 50px 0;
}

.bg-light {
    background: #ffffff;
}

.bg-gray {
    background: #f8f9fc;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ============================================================
   导航栏（所有页面共用）
   ============================================================ */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #0a0a0a;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.custom-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo span {
    color: #5fb878;
}

.logo{
    height: 40px;
}
.logo-img{
    position: relative;
    height:100%;
    /* margin-top:-4px; */
}

/* 导航菜单（桌面端） */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 10px;
}

.nav-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-size: 15px;
    display: inline-block;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* 语言切换按钮 */
.lang-switch {
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    font-size: 14px;
    margin-left: 15px;
    transition: 0.2s;
    white-space: nowrap;
}

.lang-switch:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* 汉堡按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
    margin-left: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

/* 移动端菜单展开 */
.nav-menu.open {
    display: flex;
    flex-direction: column;
    background:#1a1a1a;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 15px 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.nav-menu.open li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-menu.open li:last-child {
    border-bottom: none;
}

.nav-menu.open a {
    display: block;
    padding: 12px 10px;
    color: rgba(255,255,255,0.9);
}

.nav-menu.open a:hover {
    background: rgba(255,255,255,0.08);
}

.nav-menu.open .lang-switch {
    display: block;
    margin: 10px 0 0 0;
    width: fit-content;
}

/* 响应式：屏幕小于 768px 显示汉堡 */
@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
    }
    .nav-menu.open {
        display: flex;
    }
    .lang-switch {
        margin-left: 10px;
        padding: 4px 10px;
        font-size: 12px;
    }
}

/* ============================================================
   轮播（仅首页）
   ============================================================ */
#banner {
    margin-top: 0;
}

.layui-carousel {
    background: #1e2a3a;
}

.banner-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    height: auto;
    padding: 40px 20px;
}

.banner-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
}

.banner-slide .banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.banner-slide h2 {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-slide p {
    font-size: clamp(16px, 2vw, 24px);
    opacity: 0.9;
    margin-bottom: 20px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.banner-slide .layui-btn {
    border-radius: 30px;
    padding: 0 30px;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    background: #5fb878;
    border: none;
}

.banner-slide .layui-btn:hover {
    background: #4aa565;
}

/* ============================================================
   关于我们
   ============================================================ */
.about-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    text-align: justify;
}

.about-features {
    margin-top: 20px;
}

.about-features .layui-col-md4 {
    text-align: center;
    padding: 15px 10px;
}

.about-features i {
    font-size: 40px;
    color: #5fb878;
}

.about-features h4 {
    margin: 10px 0 5px;
    font-weight: 600;
    font-size: 18px;
}

.about-features p {
    color: #777;
    font-size: 14px;
}

/* ============================================================
   业务展示
   ============================================================ */
.service-item {
    background: #fff;
    border-radius: 8px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

.service-item i {
    font-size: 44px;
    color: #5fb878;
}

.service-item h4 {
    font-size: 18px;
    margin: 15px 0 8px;
    font-weight: 600;
}

.service-item p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   新闻动态
   ============================================================ */
.news-item {
    background: #fff;
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 16px;
    border-left: 4px solid #5fb878;
}

.news-item .news-title {
    font-size: 18px;
    font-weight: 600;
}

.news-item .news-title a {
    color: #1e2a3a;
    text-decoration: none;
}

.news-item .news-title a:hover {
    color: #5fb878;
}

.news-item .news-meta {
    margin-top: 6px;
    font-size: 13px;
    color: #aaa;
}

.news-item .news-meta span {
    margin-right: 15px;
}

.news-item .news-summary {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   团队介绍
   ============================================================ */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e0e5ee;
    margin: 0 auto 12px;
    background-size: cover;
    background-position: center;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.team-member h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
}

.team-member p {
    color: #888;
    font-size: 14px;
    margin-bottom: 2px;
}

.team-member .bio {
    font-size: 13px;
    color: #aaa;
}

/* ============================================================
   合作伙伴
   ============================================================ */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 15px 10px;
    height: 80px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s;
    margin-bottom: 16px;
}

.partner-logo:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.partner-logo img {
    max-width: 80%;
    max-height: 50px;
    filter: grayscale(60%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-info {
    background: #fff;
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    height: 100%;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-info i {
    color: #5fb878;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.contact-form .layui-input,
.contact-form .layui-textarea {
    border-radius: 6px;
    border: 1px solid #e0e5ee;
}

.contact-form .layui-btn {
    background: #5fb878;
    border-radius: 30px;
    padding: 0 36px;
}

.contact-form .layui-btn:hover {
    background: #4aa565;
}

/* ============================================================
   页脚
   ============================================================ */
.footer {
    background: #1e2a3a;
    color: rgba(255,255,255,0.7);
    padding: 30px 0 20px;
    text-align: center;
}

.footer a {
    color: rgba(255,255,255,0.7);
    margin: 0 10px;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer .copyright {
    margin-top: 16px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
}

/* ============================================================
   支持页面（support.html）专用样式
   ============================================================ */
.support-container {
    /* max-width: 700px; */
    margin: 30px auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.support-container h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1c1c1e;
}

.support-container .subtitle {
    color: #6c6c70;
    font-size: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5ea;
    padding-bottom: 20px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item .label {
    font-size: 14px;
    font-weight: 500;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-item .value {
    font-size: 18px;
    color: #1c1c1e;
    word-break: break-word;
}

.contact-item .value a {
    color: #007aff;
    text-decoration: none;
}

.contact-item .value a:hover {
    text-decoration: underline;
}

.support-footer {
    margin-top: 30px;
    font-size: 14px;
    color: #8e8e93;
    border-top: 1px solid #e5e5ea;
    padding-top: 20px;
    text-align: center;
}

.support-footer a {
    color: #007aff;
    text-decoration: none;
}

.support-footer a:hover {
    text-decoration: underline;
}

/* ============================================================
   隐私页面（privacy.html）专用样式
   ============================================================ */
.privacy-container {
    /* max-width: 800px; */
    margin: 30px auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    line-height: 1.7;
}

.privacy-container h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.privacy-container .last-updated {
    color: #6c6c70;
    font-size: 14px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5ea;
    padding-bottom: 15px;
}

.privacy-container h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: #1c1c1e;
}

.privacy-container p,
.privacy-container li {
    margin-bottom: 12px;
    color: #3a3a3c;
}

.privacy-container ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-container a {
    color: #007aff;
    text-decoration: none;
}

.privacy-container a:hover {
    text-decoration: underline;
}

.privacy-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5ea;
    font-size: 14px;
    color: #8e8e93;
    text-align: center;
}

.privacy-footer a {
    color: #007aff;
    text-decoration: none;
}

.privacy-footer a:hover {
    text-decoration: underline;
}

/* ============================================================
   响应式调整（移动端通用）
   ============================================================ */
@media (max-width: 767px) {
    .section-padding {
        padding: 30px 0;
    }

    .layui-col-space30 > * {
        padding: 7.5px !important;
    }

    .layui-col-space20 > * {
        padding: 5px !important;
    }

    .contact-info p {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .support-container {
        padding: 25px 20px;
        margin: 20px 15px;
    }
    .support-container h1 {
        font-size: 24px;
    }
    .contact-item .value {
        font-size: 16px;
    }

    .privacy-container {
        padding: 25px 20px;
        margin: 20px 15px;
    }
    .privacy-container h1 {
        font-size: 24px;
    }
}