:root {
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #42A5F5;
    --primary-lighter: #E3F2FD;
    --accent: #FF7043;
    --accent-light: #FFCCBC;
    --text-dark: #263238;
    --text-regular: #546E7A;
    --text-light: #78909C;
    --text-lighter: #B0BEC5;
    --bg-white: #FFFFFF;
    --bg-light: #F8FBFF;
    --bg-gray: #F0F7FF;
    --border: #E0E9F2;
    --shadow-sm: 0 2px 8px rgba(30, 136, 229, 0.08);
    --shadow-md: 0 8px 24px rgba(30, 136, 229, 0.12);
    --shadow-lg: 0 16px 48px rgba(30, 136, 229, 0.16);
    --shadow-hover: 0 12px 32px rgba(30, 136, 229, 0.20);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --header-height: 80px;
    --header-height-mobile: 64px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Roboto, sans-serif;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

html {
    scroll-behavior: smooth;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-regular);
    background-color: #FAFCFF;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding: 0 24px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 18px;
    height: 1px;
    background: var(--primary);
    opacity: 0.4;
}

.section-label::before {
    left: 0;
}

.section-label::after {
    right: 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 15px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30, 136, 229, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-outline-blue {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-blue:hover {
    background: var(--primary);
    color: #fff;
}

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(30, 136, 229, 0.08);
    transition: var(--transition);
}

.site-header.transparent {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 16px rgba(30, 136, 229, 0.08);
    border-bottom: 1px solid rgba(30, 136, 229, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* 品牌logo图片（同时支持浅色/深色场景切换） */
.brand-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.brand-img-reverse {
    display: none;
    height: 44px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

/* 导航栏透明状态（首屏深色背景）：显示反色logo */
.site-header.transparent .brand-img {
    display: none;
}

.site-header.transparent .brand-img-reverse {
    display: block;
}

/* 老版文字品牌（保留兼容） */
.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.site-header.transparent .brand-name {
    color: #fff;
}

.brand-subtitle {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: 2px;
}

.site-header.transparent .brand-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ============ NAVIGATION ============ */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.site-header.transparent .nav-link {
    color: #fff;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.site-header.transparent .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.site-header.scrolled .nav-link {
    color: var(--text-dark);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--primary-lighter);
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-regular);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--primary-lighter);
    color: var(--primary);
}

.header-cta {
    margin-left: 16px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.header-cta:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.3);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.site-header.transparent .mobile-toggle span {
    background: #fff;
}

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

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

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

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: calc(var(--header-height-mobile) + 20px) 20px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--border);
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.mobile-menu-link:hover {
    color: var(--primary);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 16px;
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu a {
    display: block;
    padding: 12px 4px;
    color: var(--text-regular);
    font-size: 14px;
}

.mobile-submenu a:hover {
    color: var(--primary);
}

.mobile-menu-cta {
    display: block;
    margin-top: 24px;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============ PAGE BANNER (除首页外) ============ */
.page-banner {
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    margin-top: var(--header-height);
    overflow: hidden;
}

.page-banner::before {
    /* content: ''; */
    /* position: absolute; */
    /* inset: 0; */
    /* background: linear-gradient(135deg, rgba(30, 136, 229, 0.08) 0%, rgba(227, 242, 253, 0.25) 50%, rgba(30, 136, 229, 0.12) 100%); */
    /* z-index: 1; */
}

.page-banner-no-overlay::before {
    display: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease;
}

.banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.banner-breadcrumb a:hover {
    color: var(--primary-dark);
}

.banner-breadcrumb .sep {
    color: var(--text-lighter);
    font-size: 12px;
}

.banner-title {
    font-size: 52px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.banner-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    line-height: 1.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    :root {
        scroll-padding-top: calc(var(--header-height-mobile) + 20px);
    }

    .page-banner {
        height: 360px;
        padding-bottom: 50px;
        margin-top: var(--header-height-mobile);
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-desc {
        font-size: 15px;
    }
}

/* ============ FOOTER (亮色主题) ============ */
.site-footer {
    /* background: linear-gradient(180deg, #F0F7FF 0%, #E3F2FD 100%); */
    background: #fff;
    color: var(--text-regular);
    padding: 80px 0 0;
    position: relative;
    border-top: 1px solid rgba(30, 136, 229, 0.1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 0.9fr 0.9fr 1.4fr 1.3fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand {
    min-width: 0;
}

.footer-brand img {
    height: 55px;
    width: auto;
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 2;
    color: var(--text-light);
    max-width: 360px;
    margin: 0;
    text-align: justify;
}

.footer-heading {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-regular);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-regular);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(30, 136, 229, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--primary);
    color: #fff;
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
}

.footer-qrcode {
    display: flex;
    gap: 20px;
}

.footer-qrcode-item {
    text-align: center;
}

.footer-qrcode-item img {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.1);
}

.footer-qrcode-item span {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(30, 136, 229, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--text-light);
    margin-left: 8px;
}

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

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.8fr 0.9fr 0.9fr 1.3fr 1.2fr;
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-qrcode {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand img {
        height: 52px;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-qrcode {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-qrcode {
        grid-column: 1 / -1;
    }

    .footer-qrcode-item img {
        width: 90px;
        height: 90px;
    }
}

/* ============ 动画 ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ 通用卡片组件 ============ */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.25);
    flex-shrink: 0;
}

.icon-box svg {
    width: 28px;
    height: 28px;
}

/* ============ 列表项 ============ */
.feature-list-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.feature-list-item:last-child {
    border-bottom: none;
}

.cta-section {
    background: url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.9) 0%, rgba(30, 136, 229, 0.92) 50%, rgba(25, 118, 210, 0.9) 100%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

.text-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.text-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.text-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.text-clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* ============ 悬浮工具栏 ============ */
.floating-toolbar {
    position: fixed;
    right: 24px;
    /* top: 50%; */
    /* transform: translateY(-50%); */
    bottom: 24px;
    z-index: 1000;
}

.floating-toolbar-inner {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px 8px;
    width: 72px;
}

.floating-toolbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.floating-toolbar-item:hover {
    background: var(--primary-lighter);
    transform: scale(1.05);
}

.floating-toolbar-item.active {
    background: var(--primary);
    transform: scale(1);
}

.floating-toolbar-item.active .floating-toolbar-icon {
    color: #fff;
}

.floating-toolbar-item.active .floating-toolbar-text {
    color: #fff;
}

.floating-toolbar-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.floating-toolbar-icon svg {
    width: 24px;
    height: 24px;
}

.floating-toolbar-text {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.floating-toolbar-divider {
    width: 32px;
    height: 1px;
    background: rgba(226, 232, 240, 0.8);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.floating-toolbar-divider.hidden {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.floating-toolbar-item.hidden {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* 二维码弹窗 */
.floating-toolbar-qr-popup {
    position: absolute;
    right: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    padding: 24px;
    width: 200px;
    text-align: center;
    pointer-events: none;
}

.floating-toolbar-qr-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #fff;
    box-shadow: 2px -2px 4px rgba(15, 23, 42, 0.04);
}

.floating-toolbar-qr-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.floating-toolbar-qr-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
    overflow: hidden;
}

.floating-toolbar-qr-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-toolbar-qr-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.floating-toolbar-qr-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* 响应式：移动端底部横向 */
@media (max-width: 639px) {
    .floating-toolbar {
        position: fixed !important;
        right: auto !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .floating-toolbar-inner {
        width: 100% !important;
        padding: 10px 16px !important;
        border-radius: 0 !important;
        border-top: 1px solid var(--border) !important;
        box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1) !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    .floating-toolbar-item {
        flex-direction: row !important;
        gap: 6px !important;
        padding: 10px 14px !important;
        width: auto !important;
    }

    .floating-toolbar-item .floating-toolbar-text {
        font-size: 13px !important;
    }

    .floating-toolbar-divider {
        width: 1px !important;
        height: 24px !important;
        margin: 0 4px !important;
    }

    .floating-toolbar-qr-popup {
        right: auto !important;
        bottom: calc(100% + 12px) !important;
        left: 50% !important;
        top: auto !important;
        transform: translateX(-50%) scale(0.9) !important;
    }

    .floating-toolbar-qr-popup.open {
        transform: translateX(-50%) scale(1) !important;
    }

    .floating-toolbar-qr-popup::after {
        right: auto !important;
        left: 50% !important;
        top: auto !important;
        bottom: -8px !important;
        transform: translateX(-50%) rotate(45deg) !important;
    }
}