/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #075bd8;
    --blue-dark: #00357f;
    --primary-color: #075bd8;
    --primary-dark: #00357f;
    --primary: #075bd8;
    --primary-light: #3b82f6;
    --secondary-color: #0047c9;
    --secondary: #10B981;
    --secondary-light: #34D399;
    --blue-soft: #eaf4ff;
    --text: #101b31;
    --text-primary: #101b31;
    --text-secondary: #66748b;
    --muted: #66748b;
    --line: #e2edfb;
    --border: #e2edfb;
    --bg: #f4f9ff;
    --white: #ffffff;
    --shadow: 0 20px 55px rgba(19, 91, 181, 0.13);
    --shadow-hover: 0 8px 24px rgba(7, 91, 216, 0.18);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f7fafd;
    overflow-x: hidden;
    font-weight: normal;
}

html {
    overflow-x: hidden;
}

img {
    /*display: block;*/
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 导航栏样式 */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(24, 144, 255, 0.08);
}

.navbar {
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 400;
    transition: var(--transition);
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    height: 50px;
    margin-right: 12px;
}

.logo h1,
.logo .logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: var(--transition);
    padding: 10px 0;
    display: block;
    position: relative;
    font-size: 16px;
}

.nav-menu>li>a {
    position: relative;
    overflow: hidden;
}

.nav-menu>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu>li>a:hover::before,
.nav-menu>li>a.active::before {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* 注册按钮样式 */
.btn-register {
    padding: 10px 15px;
    background: linear-gradient(135deg, #0369f6, #0047c9);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}


.btn-register:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.btn-s {
    color: #0f62ce;
    font-size: 20px;
    font-weight: 500;
}

.btn-s i {
    margin-right: 10px;
    font-size: 20px;
}

/* 下拉菜单样式 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown>a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: var(--transition);
    opacity: 0.6;
}

.nav-dropdown:hover>a::after {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: var(--white);
    min-width: 140px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid  rgba(24, 144, 255, 0.1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--white);
    border-left: 1px solid rgba(24, 144, 255, 0.1);
    border-top: 1px solid rgba(24, 144, 255, 0.1);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    color: var(--text-color);
    font-weight: 400;
    white-space: nowrap;
    transition: var(--transition);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dropdown-menu a::before {
    display: none;
}

.dropdown-menu a:hover {
    background-color: rgba(24, 144, 255, 0.05);
    color: var(--primary-color);
}

.dropdown-menu a:hover::before {
    display: none;
}

.dropdown-menu li:first-child a {
    border-radius: 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* 通用页面Banner样式 */
.page-banner {
    position: relative;
    padding: 100px 0 !important;
    text-align: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: left;
}

.page-banner-title {
    font-size:36px;
    font-weight:500;
    color: #062f91;
    margin: 0 0 40px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.page-banner-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    background:linear-gradient(90deg, rgba(7, 91, 216, 1), transparent);
    height: 4px;
    border-radius: 2px;
}

.page-banner-subtitle {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* 面包屑导航 */
.breadcrumb-nav {
    background: #fff;
    padding: 15px 0;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-nav .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-nav .container i {
    color: #0f62ce;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav span {
    color: #999;
    margin: 0 5px;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(110deg, #002c69, #001c4f 55%, #003174);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 20px 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: flex-start;
}

/* 页脚Logo区域 */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 2px;
}

.footer-logo a {
    display: block;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.footer-logo-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    letter-spacing: 1px;
}

/* 导航链接区域横向排布 */
.footer-nav-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 18px;
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 1px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section a:hover {
    padding-left: 4px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 14px;
}

/* 右侧区域：联系我们+二维码 */
.footer-right {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.footer-contact .contact-item {
    margin-bottom: 10px;
    line-height: 1.8;
    gap: 6px;
}

.footer-contact .contact-item i {
    color: var(--primary-color);
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact .contact-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer-contact .contact-link {
    color:#2196f3;
    font-weight: 400;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-contact .contact-link:hover {
    text-decoration: underline;
    padding-left: 0;
    color: #fff;
}

.footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 50px;
}

.qrcode-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: background 0.3s ease;
}

.qrcode-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-qrcode img {
    width: 120px;
    height:120px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    background: #fff;
    padding: 6px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.footer-qrcode img:hover {
    transform: scale(1.05);
}

.qrcode-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-qrcode p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.4;
    margin-top: 10px;
}

.footer-qrcode .qrcode-wechat-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #07c160;
    font-size: 13px;
    font-weight: 500;
}

.footer-qrcode .qrcode-wechat-icon i {
    font-size: 16px;
}

.footer-links {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.footer-links p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
}

.footer-links strong {
    color: var(--white);
    margin-right: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 14px;
    color: rgba(255, 255, 255, 0.5);
    border-top:1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.6;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-soft), var(--muted));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-hover);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(24, 144, 255, 0.3);
}

.socials {
    display: flex;
    gap: 13px;
    margin-top: 24px;
}

.socials span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}


.icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon i {
    font-size: 24px;
    color: currentColor;
}


.icon.white {
    color: #fff;
}

/* ========================================
   悬浮按钮
   ======================================== */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
}

.float-btn {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 60px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
    font-size: 30px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.float-btn i {
    transition: transform 0.3s;
}

.float-btn:hover i {
    transform: scale(1.15);
}

.float-phone {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    animation: floatPulse 2s ease-in-out infinite;
}

.float-phone:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    animation: none;
}

.float-wechat {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: #fff;
}

.float-wechat:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}


/* 电话按钮脉冲动画 */
@keyframes floatPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 8px 28px rgba(59, 130, 246, 0.5);
    }
}

.float-text {
    position: absolute;
    right:80px;
    white-space: nowrap;
    padding: 8px 14px;
    background: #001c4f;
    color: #fff;
    font-size: 12px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    font-weight: 500;
}

.float-text::after {
    content: '';
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #001c4f;
}

.float-btn:hover .float-text {
    opacity: 1;
    visibility: visible;
}

.float-popup {
    position: absolute;
    right: 80px;
    bottom: -20px;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    text-align: center;
    width: 180px;
    z-index: 10;
}

.float-popup::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 75%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #fff;
}

.float-btn:hover .float-popup {
    opacity: 1;
    visibility: visible;
}

.float-popup img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin: 0 auto 8px;
    display: block;
    object-fit: cover;
}

.float-popup p {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

/* ========================================
   移动端底部栏
   ======================================== */
.mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.1);
    display: none;
    grid-template-columns: repeat(2, 1fr);
    z-index: 1000;
    border-top: 1px solid var(--border);
}

.bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    text-decoration: none;
    font-size: 15px;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-weight: 600;
}

.bar-item:active {
    background: rgba(59, 130, 246, 0.05);
}

.bar-item i {
    font-size: 20px;
}

.bar-item.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

/* 平板端 ≤980px */
@media (max-width: 980px) {
    .container {
        padding: 0 20px !important;
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar .container {
        gap: 20px;
        flex-wrap: wrap;
        position: relative;
    }

    .logo img {
        height: 38px;
    }

    /* 移动端汉堡菜单 */
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 10px 20px;
        box-shadow: 0 20px 34px rgba(0, 48, 118, 0.12);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu>li>a {
        padding: 15px 0;
        border-bottom: 1px solid #eef4fb;
        font-size: 15px;
    }

    .nav-menu>li>a::before {
        display: none;
    }

    /* 下拉菜单移动端 */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: #f8fbff;
        display: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-menu a {
        justify-content: flex-start;
        padding: 12px 20px;
    }

    .btn-s {
        font-size: 14px;
    }

    .btn-register {
        padding: 8px 14px;
        font-size: 12px;
        display: none;
    }

    /* Banner 移动端 */
    .page-banner {
        padding: 60px 0 !important;
    }

    .page-banner-content {
        padding: 0 20px;
    }

    .page-banner-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .page-banner-subtitle {
        font-size: 15px;
    }

    /* 面包屑 */
    .breadcrumb-nav {
        font-size: 13px;
        padding: 12px 0;
    }

    /* 页脚移动端 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        display: none;
    }

    .footer-logo {
       
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-nav-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        display: none;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-right {
        flex-direction: column;
        gap: 24px;
    }

    .footer-qrcode {
        text-align: left;
        padding: 0;
    }

    .qrcode-card {
        padding: 10px;
    }

    .footer-qrcode img {
        width: 100px;
        height: 100px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    /* 悬浮按钮移动端调整 */
    .float-buttons {
        display: none;
    }

    /* 移动端底部栏显示 */
    .mobile-bar {
        display: grid;
    }

    /* 返回顶部 */
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 80px;
        right: 20px;
    }
}

/* 手机端 ≤620px */
@media (max-width: 620px) {
    .container {
        padding: 0 16px !important;
    }

    .navbar .container {
        gap: 12px;
    }

    .logo img {
        height: 32px;
    }

    .btn-s {
        font-size: 13px;
    }

    .btn-s i {
        margin-right: 6px;
        font-size: 13px;
    }

    /* Banner */
    .page-banner {
        padding: 40px 0 !important;
    }

    .page-banner-content {
        padding: 0 16px;
    }

    .page-banner-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .page-banner-title::after {
        width: 50px;
        height: 3px;
    }

    .page-banner-subtitle {
        font-size: 14px;
    }

    /* 面包屑 */
    .breadcrumb-nav {
        font-size: 12px;
        padding: 10px 0;
    }

    .breadcrumb-nav .container {
        gap: 6px;
    }

    /* 页脚 */
    .footer {
        padding: 30px 16px 12px;
    }

    .footer-logo img {
        height: 36px;
    }

    .footer-nav-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        display: none;
    }

    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-section ul li {
        margin-bottom: 8px;
    }

    .footer-contact .contact-link {
        font-size: 14px;
    }

    .footer-qrcode img {
        width: 100px;
        height:100px;
        padding: 4px;
    }

    .qrcode-card {
        padding: 8px;
        gap: 8px;
    }

    .footer-qrcode .qrcode-wechat-icon {
        font-size: 12px;
    }

    .footer-links p {
        font-size: 11px;
    }

    .footer-bottom p {
        font-size: 10px;
    }

    /* 移动端底部栏 */
    .mobile-bar {
        display: grid;
    }

    /* 页脚底部留出底部栏空间 */
    .footer {
        padding-bottom: 70px;
    }
}


/* 图片懒加载动画 */
/* 图片懒加载样式 */
img.lazy {
    opacity: 0;
    transition: opacity 0.4s ease-in;
    background-color: #f0f4f8;
    min-height: 100px;
}
img.lazy.lazy-loaded {
    opacity: 1;
    background-color: transparent;
}