/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 微信内置浏览器：文档流滚动；非 iPhone 微信同样显示顶栏（UA 未必含 Android，故用 wechat-non-iphone 统一预留顶距） */
html.wechat-webview {
    scroll-behavior: auto;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-text-size-adjust: 100%;
    --navbar-offset: 0px;
}

/* iPhone / iPod 微信：顶栏占位 */
html.wechat-webview.wechat-iphone {
    --navbar-offset: 70px;
}

/* 非 iPhone 微信（Android / 鸿蒙 / iPad 等）：顶栏占位与桌面一致 */
html.wechat-webview.wechat-non-iphone {
    --navbar-offset: 70px;
}

html.wechat-webview body {
    position: static;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-text-size-adjust: 100%;
}

html.wechat-webview .login-hero {
    overflow: visible;
}

html.wechat-webview .hero-placeholder {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.28);
}

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

/* 渐变主题色 */
:root {
    --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #4caf50 100%);
    --secondary-gradient: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    --orange: #ff6b35;
    --green: #4caf50;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* 固定顶栏高度：与抽屉 top、正文顶距对齐；移动端双行导航时由媒体查询覆盖 */
    --navbar-offset: 70px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 0.75rem;
}

/* 右侧：导航链接（语言项在「生态合作与价格」之后，见 .nav-item-lang） */
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.5rem, 2vw, 1.25rem);
    min-width: 0;
}

.nav-item-lang {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.nav-logo h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(0.5rem, 1.35vw, 1.35rem);
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
}

/* 避免「立即购买 / 用户登录」在窄屏下被压扁或挤出可视区域 */
.nav-menu > .nav-item-buy,
.nav-menu > .nav-item-login {
    flex-shrink: 0;
}

/* 英文界面：导航中隐藏「立即购买」「用户登录」（外链淘宝 + 国内登录入口，海外用户不适用） */
html[lang="en"] .nav-item-buy,
html[lang="en"] .nav-item-login {
    display: none;
}

/* 中文界面：导航中隐藏「用户登录」（移到 footer「产品服务」末尾，与使用手册并列） */
html[lang="zh-CN"] .nav-item-login,
html[lang="zh"] .nav-item-login {
    display: none;
}

@media (min-width: 901px) {
    .nav-menu {
        flex-wrap: nowrap;
    }
}

/* 桌面偏窄：再收紧，保证整行容纳长文案（如「生态合作与价格」） */
@media (max-width: 1160px) {
    .nav-container {
        gap: 0.5rem;
    }

    .nav-logo h2 {
        font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    }

    .nav-menu {
        gap: clamp(0.4rem, 1vw, 0.95rem);
    }
}

@media (max-width: 1000px) {
    .nav-menu {
        gap: 0.45rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .nav-link-login {
        padding: 0.38rem 0.95rem;
        font-size: 0.86rem;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-login {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.45rem 1.4rem;
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-weight: 600;
}

.nav-link-login::after {
    display: none;
}

.nav-link-login:hover,
.nav-link-login:focus {
    color: var(--white);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.nav-link:hover:not(.nav-link-login) {
    color: var(--orange);
}

.nav-lang {
    display: flex;
    align-items: center;
    list-style: none;
}
.lang-switch-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.82rem;
    padding: 3px 6px;
    border-radius: 10px;
    background: rgba(44, 62, 80, 0.06);
}
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: var(--dark);
    padding: 0.25rem 0.45rem;
    border-radius: 6px;
    opacity: 0.65;
    transition: opacity 0.2s, color 0.2s, background 0.2s;
    min-height: 30px;
    min-width: 2rem;
}
.lang-btn:hover {
    opacity: 1;
    color: var(--orange);
}
.lang-btn.active {
    opacity: 1;
    font-weight: 700;
    color: var(--orange);
    background: rgba(255, 107, 53, 0.12);
}
.lang-sep {
    color: #aaa;
    user-select: none;
    font-weight: 300;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 首页横幅 */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    position: relative;
    /* 不可 hidden：WebView（尤其微信 X5）在宽屏下会拦截纵向滚动；圆角/裁剪由 .hero-carousel-inner 负责 */
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}


.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--orange);
    transform: translateY(-2px);
}

.hero-image-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInRight 1s ease 0.6s both;
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero-carousel-item {
    display: none;
    position: relative;
    width: 100%;
    animation: heroFadeIn 0.6s ease;
}

.hero-carousel-item.active {
    display: block;
}

.hero-carousel-label {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
    z-index: 2;
    pointer-events: none;
}

.hero-carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hero-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover,
.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero .hero-content .hero-slogan {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff !important;
    margin-top: 0.5rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero .hero-content .hero-buy-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 2rem;
    background: #ffffff;
    color: var(--orange);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero .hero-content .hero-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-placeholder i {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-placeholder p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

/* 产品图片样式 */
.hero-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    background: transparent; /* 支持PNG透明背景 */
}

/* 图片优化样式 */
picture {
    display: block;
}

picture img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

/* 图片加载状态 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.hero-product-image:hover {
    transform: scale(1.05);
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-10px);
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.product-image-constrained {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-constrained img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.product-image img:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* APP截图样式 */
.app-screenshots {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-screenshot {
    width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.app-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}



.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-placeholder:hover {
    transform: translateY(-10px);
}

.about-placeholder i {
    font-size: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.about-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
}

/* 产品与服务 */
.products {
    padding: 100px 0;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.product-item.reverse {
    direction: rtl;
}

.product-item.reverse .product-content {
    direction: ltr;
}

.product-content h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.product-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-features {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

.product-features i {
    color: var(--green);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.product-image {
    display: flex;
    justify-content: center;
}

.product-placeholder {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.product-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-placeholder i {
    font-size: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.product-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
}

/* 效果展示 */
.demo {
    padding: 100px 0;
    background: var(--light);
}

.demo-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.video-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.video-container-wide {
    grid-column: 1 / -1;
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.video-info {
    padding: 1.5rem;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.video-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.video-embed {
    position: relative;
    width: 100%;
    background: #000;
}

.video-embed iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
    /* iOS WebKit：避免跨域 iframe 视频层合成异常导致整区黑屏 */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* 服务对象 */
.services {
    padding: 100px 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* 服务图标 */
.service-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 不同服务对象的颜色主题 */
.service-card-1 .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card-2 .service-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card-3 .service-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card-4 .service-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-card-5 .service-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.service-card-6 .service-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* 图片展示区 */
.service-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.service-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* 服务内容 */
.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.service-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.service-description p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.service-description p strong {
    color: var(--dark);
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
}

/* 常见问题 */
.faq-section {
    padding: 90px 0;
    background: var(--white);
}

.faq-list {
    max-width: 760px;
    margin: 2rem auto 0;
}

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 0 1.1rem;
    background: #fafafa;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 1rem 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    margin-top: -0.15rem;
    border-right: 2px solid var(--dark);
    border-bottom: 2px solid var(--dark);
    transform: rotate(45deg);
    opacity: 0.55;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 0.1rem;
    opacity: 0.85;
}

.faq-item[open] {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-body {
    border-top: 1px solid #eee;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
}

.faq-a {
    margin: 0;
    padding: 0 0 0.75rem;
    color: #555;
    line-height: 1.65;
}

.faq-detail {
    color: #555;
    line-height: 1.65;
    font-size: 0.95rem;
    padding-bottom: 0.75rem;
}

.faq-detail p {
    margin: 0 0 0.5rem;
}

.faq-detail p:last-child {
    margin-bottom: 0;
}

.faq-detail .faq-ul {
    margin: 0.35rem 0 0;
    padding-left: 1.15rem;
}

.faq-detail .faq-ul li {
    margin-bottom: 0.4rem;
}

.faq-detail .faq-ul li:last-child {
    margin-bottom: 0;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.so-easy-title {
    text-align: center;
    color: var(--dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-cards-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
    min-width: 180px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-card-image {
    flex-shrink: 0;
    width: 120px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.info-card:hover .info-card-image img {
    transform: scale(1.1);
}

.info-card-content {
    flex: 1;
}

.info-card-content h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.info-card-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}



.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--orange);
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem 3rem;
    margin-bottom: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--orange);
}

/* 页脚联系方式 + 二维码（二维码始终在右侧） */
.footer-contact-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.25rem;
}

.footer-contact-text {
    flex: 1;
    min-width: 10em; /* 保证邮箱等文字有足够宽度，不被二维码遮挡 */
    padding-right: 0.5rem;
    overflow-wrap: break-word;
}

.footer-contact-qr {
    flex-shrink: 0;
    text-align: center;
}

.footer-contact-qr img {
    width: 132px;
    max-width: 140px;
    height: auto;
    border-radius: 12px;
    background: #ffffff;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-contact-qr-label {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: #bdc3c7;
    line-height: 1.3;
}

/* 双微信/WhatsApp 二维码并排：两张图 + 各自的 label */
.footer-contact-qr-double {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    flex-shrink: 0;
}
.footer-contact-qr-double .footer-contact-qr {
    flex-shrink: 0;
}
.footer-contact-qr-double .footer-contact-qr img {
    width: 100px;
    height: 128px;             /* 统一固定高度：100:128 ≈ 0.78，与 WeChat-Ben-EN 原图比例一致；object-fit: cover 让其他比例图轻微裁切保持视觉一致 */
    max-width: 108px;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;            /* 点击放大 */
    pointer-events: auto;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.footer-contact-qr-double .footer-contact-qr img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.footer-contact-qr-double .footer-contact-qr-label {
    font-size: 0.72rem;
    margin-top: 0.35rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
}

.footer-legal {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--orange);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    :root {
        /* 第一行 Logo + 下方导航（可换行，含购买/登录） */
        --navbar-offset: 144px;
    }

    /* iPhone 微信：与常规移动端一致的双行顶栏占位 */
    html.wechat-webview.wechat-iphone {
        --navbar-offset: 144px;
    }

    /* 非 iPhone 微信：双行顶栏占位（与 :root 移动端顶栏高度一致） */
    html.wechat-webview.wechat-non-iphone {
        --navbar-offset: 144px;
    }

    /* 手机：第一行站点名居中；第二行小字平铺导航，语言在「生态合作与价格」之后 */
    .nav-container {
        flex-wrap: wrap;
        align-items: center;
        align-content: flex-start;
        height: auto;
        min-height: 0;
        padding-top: 0.4rem;
        padding-bottom: 0.45rem;
        row-gap: 0.3rem;
        padding-left: max(10px, env(safe-area-inset-left, 0px));
        padding-right: max(10px, env(safe-area-inset-right, 0px));
    }

    .nav-logo {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .nav-logo h2 {
        max-width: 100%;
        font-size: 1.3rem;
    }

    .nav-right {
        flex: 0 0 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0;
        min-width: 0;
    }

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        align-content: center;
        gap: 0.12rem 0.2rem;
        margin: 0;
        padding: 0;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        background: transparent;
        box-shadow: none;
        pointer-events: auto;
        overflow: visible;
        transform: none;
        transition: none;
        list-style: none;
        text-align: center;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .lang-switch-inner {
        padding: 1px 4px;
        font-size: clamp(0.58rem, 2.4vw, 0.72rem);
        gap: 0.06rem;
    }

    .lang-btn {
        min-height: 0;
        min-width: 0;
        padding: 0.08rem 0.2rem;
        font-size: inherit;
    }

    .lang-sep {
        font-size: clamp(0.55rem, 2.2vw, 0.65rem);
    }

    .nav-menu .nav-item {
        flex: 0 0 auto;
    }

    .nav-menu .nav-item-lang {
        flex-shrink: 0;
    }

    .nav-menu .nav-link {
        display: inline-block;
        padding: 0.12rem 0.16rem;
        font-size: clamp(0.6rem, 2.75vw, 0.74rem);
        font-weight: 500;
        line-height: 1.3;
        min-height: 0;
        white-space: nowrap;
    }

    .nav-menu .nav-link-login {
        padding: 0.16rem 0.48rem;
        font-size: clamp(0.58rem, 2.65vw, 0.72rem);
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }


    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-carousel-label {
        font-size: 1.2rem;
        top: 0.65rem;
        letter-spacing: 0.06em;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }



    .product-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-item.reverse {
        direction: ltr;
    }


    .demo-videos {
        grid-template-columns: 1fr;
    }
    
    .video-embed iframe {
        height: 300px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-cards {
        order: -1;
        margin-bottom: 2rem;
    }

    .so-easy-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .info-cards-container {
        flex-direction: column;
        gap: 1rem;
    }



    .info-card {
        padding: 0.8rem;
        text-align: center;
    }

    .info-card-image {
        width: 80px;
        height: 120px;
    }

    .info-card-content h4 {
        font-size: 0.9rem;
    }

    .info-card-content p {
        font-size: 0.85rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero .hero-content .hero-slogan {
        font-size: 1.75rem;
    }

    .hero .hero-content .hero-buy-btn {
        font-size: 0.95rem;
        padding: 0.5rem 1.6rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.1rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .about,
    .products,
    .demo,
    .services,
    .contact {
        padding: 70px 0;
    }

    .footer {
        padding: 50px 0 20px;
    }

    .footer-content {
        gap: 1.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        max-width: 100%;
    }

    .service-image {
        height: 240px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.4rem;
    }

    .service-description {
        gap: 0.8rem;
    }

    .service-description p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .service-description p strong {
        min-width: 70px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 100%;
        padding: 0 1rem;
    }

    /* 联系方式保持「左文字 + 右二维码」横排，不改为上下堆叠 */
    .footer-contact-content {
        gap: 0.75rem;
    }

    .footer-contact-qr img {
        width: 108px;
        max-width: 118px;
    }

    /* 双图并排：更紧凑 */
    .footer-contact-qr-double .footer-contact-qr img {
        width: 84px;
        height: 108px;
        max-width: 92px;
    }
    .footer-contact-qr-double .footer-contact-qr-label {
        font-size: 0.66rem;
    }

    .login-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .login-hero-content h1 {
        font-size: 2.4rem;
    }

    .login-actions {
        justify-content: center;
    }

    .login-hero-illustration {
        order: -1;
    }

    .support-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .support-cta {
        text-align: center;
    }

    .login-interface {
        padding: 80px 0 60px;
    }

    .login-interface-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .interface-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .interface-image img {
        height: 220px;
    }

    .interface-caption {
        padding: 1.3rem 1.4rem 1.6rem;
        text-align: left;
    }
}

/* 极窄屏：再收紧导航，避免链接与语言拆成两行（Android 常见逻辑宽度 360±） */
@media (max-width: 360px) {
    .nav-menu .nav-link {
        padding: 0.08rem 0.1rem;
        font-size: clamp(0.55rem, 3.5vw, 0.72rem);
    }

    .lang-switch-inner {
        padding: 0 2px;
        font-size: clamp(0.52rem, 3.2vw, 0.68rem);
    }

    .lang-btn {
        padding: 0.06rem 0.14rem;
    }
}

@media (max-width: 480px) {
    .footer-contact-qr img {
        width: 96px;
        max-width: 104px;
    }

    .footer-contact-qr-double .footer-contact-qr img {
        width: 72px;
        height: 92px;
        max-width: 80px;
    }
    .footer-contact-qr-double .footer-contact-qr-label {
        font-size: 0.6rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .login-main {
        padding-top: calc(var(--navbar-offset) + 1rem);
    }

    .login-hero {
        padding: calc(var(--navbar-offset) + 2.25rem) 0 60px;
    }

    .login-hero-content h1 {
        font-size: 2rem;
    }

    .login-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .support-card {
        padding: 2.2rem 1.5rem;
    }

    .interface-caption {
        padding: 1.3rem 1.4rem 1.5rem;
    }

    .interface-card {
        max-width: 100%;
    }

    .interface-image img {
        height: 200px;
    }

    .hero {
        padding: calc(var(--navbar-offset) + 1.75rem) 0 60px;
    }

    /* app 页顶栏为双行时，横幅区留出与顶栏一致的上边距 */
    .app-hero {
        padding-top: calc(var(--navbar-offset) + 0.75rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero .hero-content .hero-slogan {
        font-size: 1.5rem;
    }

    .hero .hero-content .hero-buy-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.4rem;
    }

    .about,
    .products,
    .demo,
    .services,
    .contact {
        padding: 60px 0;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 1.2rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-description {
        gap: 0.7rem;
    }

    .service-description p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .service-description p strong {
        min-width: 60px;
        font-size: 0.9rem;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .app-step-card {
        gap: 1rem;
    }

    .app-step-summary {
        margin-top: 1.6rem;
    }
}

/* 滚动动画（不再用 pointer-events:none，避免与 WebView 合成层叠加后出现整页无法点击/滑动） */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 平滑滚动（触摸端关闭：与惯性滚动、IntersectionObserver 入场后易冲突，表现为「先能滑后不能滑」） */
html {
    scroll-behavior: smooth;
}

@media (hover: none) and (pointer: coarse) {
    html {
        scroll-behavior: auto;
    }
}

/* 版本信息样式 */
.version-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.version-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version-text span {
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    .version-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
} 

.login-page {
    background: var(--light);
}

.login-main {
    padding-top: 110px;
}

.login-hero {
    background: var(--primary-gradient);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.login-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
}

.login-hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.login-hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.login-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.login-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.login-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.login-hero-tip {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.login-hero-illustration picture,
.login-hero-illustration img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.login-features {
    padding: 100px 0;
    background: var(--white);
}

.login-interface {
    padding: 100px 0 80px;
    background: var(--light);
}

.login-interface-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.interface-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.interface-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.interface-image img {
    width: 100%;
    height: 280px;
    display: block;
    object-fit: cover;
}

.interface-caption {
    padding: 1.4rem 1.6rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.interface-caption h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin: 0;
}

.interface-caption p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1180px) {
    .login-interface {
        padding: 90px 0 70px;
    }

    .login-interface-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 820px;
        margin: 0 auto;
        gap: 2.2rem;
    }

    .interface-card {
        max-width: 620px;
        margin: 0 auto;
    }

    .interface-image img {
        height: 260px;
    }
}

@media (max-width: 900px) {
    .login-interface-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .interface-card {
        max-width: 100%;
    }

    .interface-image img {
        height: 240px;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    text-align: left;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card i {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: #555;
    line-height: 1.7;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.login-support {
    padding: 100px 0;
    background: var(--light);
}

.support-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    box-shadow: var(--shadow);
    align-items: center;
}

.support-content h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.support-content p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.support-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    color: #444;
    font-size: 1rem;
}

.support-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.support-list i {
    color: var(--green);
    font-size: 1.1rem;
}

.support-cta {
    background: var(--primary-gradient);
    padding: 2.5rem;
    border-radius: 18px;
    color: var(--white);
    box-shadow: var(--shadow);
}

.support-cta h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.support-cta p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.support-cta .btn {
    background: var(--white);
    color: var(--orange);
    font-weight: 600;
}

.support-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/*
 * 右侧「联系我们」：aside 本身不占任何视口矩形（微信 X5 对「全高 fixed 父级」常误吞触摸）。
 * 仅子元素 fixed：遮罩一层 + 轨道一层，避免整屏不可滚动。
 */
.contact-float {
    position: static;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
    pointer-events: none;
}

.contact-float-rail {
    position: fixed;
    right: 0;
    top: 50%;
    bottom: auto;
    left: auto;
    z-index: 1003;
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    /* 关键：轨道本身不接收事件，避免在 max-width≈100vw 时形成整屏透明挡板（全页无法滑动、点击无响应） */
    pointer-events: none;
    transform: translateY(-50%);
    width: fit-content;
    max-width: min(100vw, 340px);
    box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-float-box {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    pointer-events: none;
    width: fit-content;
}

.contact-float-tab {
    pointer-events: auto;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.55rem 1rem 0.45rem;
    min-width: 48px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: 14px 0 0 14px;
    box-shadow: -4px 4px 20px rgba(255, 107, 53, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    font-family: inherit;
}

.contact-float-tab:hover {
    transform: translateX(-2px);
    box-shadow: -6px 6px 28px rgba(255, 107, 53, 0.45);
}

.contact-float-tab:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.contact-float-tab-icon {
    font-size: 1.15rem;
    opacity: 0.95;
}

.contact-float-tab-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.35;
}

.contact-float-panel {
    width: 0;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    background: var(--white);
    border-radius: 14px 0 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-right: none;
    transition: width 0.3s ease, max-width 0.3s ease, opacity 0.25s ease;
    pointer-events: none;
}

.contact-float.is-open .contact-float-panel {
    width: min(300px, calc(100vw - 56px));
    max-width: min(300px, calc(100vw - 56px));
    opacity: 1;
    pointer-events: auto;
}

.contact-float.is-open .contact-float-box,
.contact-float.is-open .contact-float-panel-inner,
.contact-float.is-open .contact-float-body,
.contact-float.is-open .contact-float-qr,
.contact-float.is-open .footer-contact-qr,
.contact-float.is-open img.qr-zoomable {
    pointer-events: auto;
}

.contact-float-panel-inner {
    width: min(300px, calc(100vw - 56px));
    padding: 1rem 1rem 1.1rem;
    box-sizing: border-box;
}

.contact-float-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-float-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-float-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--light);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-float-close:hover {
    background: rgba(255, 107, 53, 0.12);
    color: var(--orange);
}

.contact-float-body {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.55;
}

.contact-float-body .contact-phone,
.contact-float-body .contact-email,
.contact-float-body .contact-address {
    margin: 0 0 0.65rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

/* 浮动客服面板统一不展示电话号码（双微信图为主） */
.contact-float-body .contact-phone {
    display: none !important;
}

/* 浮动客服面板内双微信图横排 */
.contact-float-qr {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.5rem 0 0.85rem;
}
.contact-float-qr .footer-contact-qr img {
    width: 110px;
    max-width: 118px;
    cursor: zoom-in;
}
.contact-float-qr .footer-contact-qr-label {
    font-size: 0.74rem;
}

.contact-float-body .contact-phone i,
.contact-float-body .contact-email i,
.contact-float-body .contact-address i {
    color: var(--orange);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.contact-float-qr {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-float-qr img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
}

.contact-float-qr .footer-contact-qr-label {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.contact-float-form-link {
    display: block;
    margin-top: 0.85rem;
    text-align: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    background: var(--secondary-gradient);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-float-form-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.35);
    color: var(--white);
}

.contact-float-backdrop {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    background: rgba(44, 62, 80, 0.25);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    /* 仅展开时由 display:block 显示；未展开不占触摸 */
    pointer-events: auto;
}

.contact-float.is-open .contact-float-backdrop {
    display: block;
}

/* 移动端：毛玻璃易触发合成层/触摸异常，仅用半透明底 */
@media (max-width: 768px) {
    .contact-float-backdrop {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(44, 62, 80, 0.35);
    }
}

/* 手机端：小圆形气泡按钮 + 与面板留出间距 */
@media (max-width: 768px) {
    .contact-float-rail {
        top: auto;
        bottom: max(10px, env(safe-area-inset-bottom, 0px));
        right: 10px;
        transform: none;
        width: fit-content;
        max-width: calc(100vw - 20px);
        box-shadow: none;
        filter: none;
    }

    .contact-float-box {
        align-items: flex-end;
        gap: 8px;
    }

    /* 气泡：圆形、仅图标，弱化长条胶囊感 */
    .contact-float-tab {
        flex-direction: row;
        writing-mode: horizontal-tb;
        width: 46px;
        height: 46px;
        min-width: 46px;
        padding: 0;
        gap: 0;
        border-radius: 50%;
        box-shadow:
            0 4px 14px rgba(255, 107, 53, 0.38),
            0 2px 8px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
        border: 2px solid rgba(255, 255, 255, 0.92);
        -webkit-tap-highlight-color: transparent;
        justify-content: center;
        align-items: center;
    }

    .contact-float-tab:hover {
        transform: scale(1.04);
        box-shadow:
            0 6px 18px rgba(255, 107, 53, 0.42),
            0 3px 10px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .contact-float-tab:active {
        transform: scale(0.96);
    }

    .contact-float-tab-text {
        display: none;
    }

    .contact-float-tab-icon {
        font-size: 1.05rem;
    }

    .contact-float-panel {
        border-radius: 16px;
        border-right: 1px solid rgba(0, 0, 0, 0.06);
    }

    .contact-float.is-open .contact-float-panel {
        width: min(252px, calc(100vw - 72px));
        max-width: min(252px, calc(100vw - 72px));
    }

    .contact-float-panel-inner {
        width: min(252px, calc(100vw - 72px));
        max-height: min(360px, 62vh);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        padding: 0.7rem 0.8rem 0.85rem;
        border-radius: 16px;
    }

    .contact-float-header h3 {
        font-size: 0.98rem;
    }

    .contact-float-body {
        font-size: 0.82rem;
    }

    .contact-float-qr img {
        width: 92px;
        height: 92px;
    }

    .contact-float-qr .footer-contact-qr-label {
        font-size: 0.68rem;
        margin-top: 0.3rem;
    }

    .contact-float-form-link {
        padding: 0.45rem 0.65rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-float-rail {
        right: 8px;
        bottom: max(8px, env(safe-area-inset-bottom, 0px));
    }

    .contact-float-tab {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .contact-float-tab-icon {
        font-size: 1rem;
    }

    .contact-float.is-open .contact-float-panel {
        width: min(236px, calc(100vw - 64px));
        max-width: min(236px, calc(100vw - 64px));
    }

    .contact-float-panel-inner {
        width: min(236px, calc(100vw - 64px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-float-panel,
    .contact-float-tab {
        transition: none;
    }
}

/*
 * 微信内默认不显示悬浮层；iPhone 微信与 script.js 一致，允许显示。
 */
html.wechat-webview:not(.wechat-iphone) #contact-float.contact-float {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.wechat-webview:not(.wechat-iphone) .contact-float-backdrop {
    display: none !important;
    pointer-events: none !important;
}

/* ========================================
   微信内置浏览器：引导用外部浏览器打开
   微信 webview 会拦下载、限制部分能力，所以提示用户跳出去。
   默认完全隐藏——只有 html.wechat-webview 时才出现（该 class 由页面 <head>
   内联脚本按 UA 添加），非微信访客永远看不到。
   ======================================== */
.wechat-external-tip,
.wechat-external-mask {
    display: none;
}

html.wechat-webview .wechat-external-tip {
    display: block;
    position: sticky;
    top: var(--navbar-offset, 0px);
    z-index: 900;
    padding: 0.5rem 0.9rem;
}

.wechat-external-tip__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--primary-gradient);
    color: var(--white);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.32);
}

.wechat-external-tip__finger {
    font-size: 1rem;
    animation: wechatTipNudge 1.4s ease-in-out infinite;
}

@keyframes wechatTipNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* 遮罩：hidden 属性控制显隐，所以这里只在微信内且未 hidden 时布局 */
html.wechat-webview .wechat-external-mask:not([hidden]) {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.72);
}

.wechat-external-mask-panel {
    max-width: 300px;
    padding: 1.1rem 1.2rem 1.3rem;
    border-radius: 16px;
    background: var(--white);
    text-align: center;
}

.wechat-external-mask-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.wechat-external-mask-hand {
    margin: 0.35rem 0 0.6rem;
    font-size: 1.8rem;
    color: var(--orange);
}

.wechat-external-mask-line {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: #555;
}

.wechat-external-mask-ok {
    margin-top: 0.9rem;
    padding: 0.5rem 1.6rem;
    border: none;
    border-radius: 999px;
    background: var(--primary-gradient);
    color: var(--white);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .wechat-external-tip__finger {
        animation: none;
    }
}

/* ========================================
   首页增强（对齐 mm_website：信任栏 / 对比 / 型号 / 视频封面 / 评价）
   ======================================== */

/* Hero 双 CTA */
.hero .hero-content .hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero .hero-content .hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero .hero-content .hero-buttons .btn-primary {
    background: #ffffff;
    color: var(--orange);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero .hero-content .hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero .hero-content .hero-buttons .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.hero .hero-content .hero-buttons .btn-secondary:hover {
    background: #ffffff;
    color: var(--orange);
    transform: translateY(-2px);
}

.trust-bar {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
}

.trust-bar-title {
    text-align: center;
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
    font-weight: 500;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.trust-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trust-logo-item i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-logo-item:hover i {
    opacity: 1;
}

.trust-logo-item span {
    font-weight: 500;
    color: #666;
}

.comparison {
    padding: 100px 0;
    background: var(--white);
}

.comparison-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    flex: 1;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
}

.comparison-bad {
    background: #fff5f5;
    border: 1px solid #ffcccc;
}

.comparison-bad .comparison-card-head {
    color: #cc3333;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ccc;
}

.comparison-good {
    background: #f0fff4;
    border: 1px solid #ccffcc;
}

.comparison-good .comparison-card-head {
    color: var(--green);
}

.comparison-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.comparison-card-head i {
    font-size: 2rem;
}

.comparison-card-head h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.comparison-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.comparison-card ul li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-bad ul li i {
    color: #cc3333;
}

.comparison-good ul li i {
    color: var(--green);
}

.pricing-anchor {
    padding: 100px 0;
    background: var(--light);
}

.pricing-anchor .pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-anchor .pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-anchor .pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pricing-card-recommended {
    border: 2px solid var(--orange);
    transform: scale(1.03);
}

.pricing-card-recommended:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.3rem 1.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card-top {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.pricing-card-top h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-scene {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange);
    margin-top: 0.5rem;
}

.pricing-anchor .pricing-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-anchor .pricing-card ul li {
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-anchor .pricing-card ul li i {
    color: var(--green);
}

.pricing-anchor .pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* 视频：本站仅展示封面，整卡外链哔哩哔哩（覆盖上文基础 .video-embed） */
.demo a.video-embed {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.demo .video-embed {
    position: relative;
    cursor: pointer;
    background: #1a1a2e;
    /* 与常见横版封面比例一致，避免仅 min-height 时框过扁导致 cover 裁切过多 */
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.video-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.video-thumb--has-pic .video-thumb-img {
    opacity: 1;
}

.video-thumb--fallback {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.demo .video-embed::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 100%);
}

.demo .video-embed:hover .video-thumb--has-pic .video-thumb-img {
    opacity: 0.96;
}

.video-play-btn {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-play-btn i {
    color: #fff;
    font-size: 1.5rem;
}

.demo .video-embed:hover .video-play-btn {
    transform: scale(1.1);
    background: var(--orange);
}

/* 本地视频：站内直接播放，无外链封面层 */
.demo .video-embed-local {
    cursor: default;
    background: #000;
}

.demo .video-embed-local::after {
    display: none;
}

.demo .video-embed-local video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

.video-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.video-info-text {
    min-width: 0;
    flex: 1;
}

.video-info-text h3 {
    margin-bottom: 0.5rem;
}

.video-info-text p {
    margin: 0;
}

.video-quality {
    display: inline-flex;
    flex-shrink: 0;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 999px;
    overflow: hidden;
    background: #f3f5f7;
}

.video-quality__btn {
    appearance: none;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: #667788;
    padding: 6px 12px;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.video-quality__btn.is-active {
    background: var(--primary-gradient);
    color: #fff;
}

.video-quality__btn:not(.is-active):hover {
    color: var(--dark);
    background: rgba(255, 107, 53, 0.08);
}

@media (max-width: 480px) {
    .video-info-row {
        flex-direction: column;
        align-items: stretch;
    }

    .video-quality {
        align-self: flex-start;
    }
}

/* 首页 · 生态合作 */
.home-ecosystem {
    padding: 100px 0;
    background: var(--white);
}

.home-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.home-ecosystem-card {
    background: var(--light);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-ecosystem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.home-ecosystem-card i {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.home-ecosystem-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.home-ecosystem-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.home-ecosystem-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    color: #f5a623;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 768px) {
    /* 手机端首页首屏：不展示企业咨询 / 立即购买 */
    .hero .hero-content .hero-buttons {
        display: none;
    }

    .trust-logos {
        gap: 1.5rem;
    }

    .trust-logo-item i {
        font-size: 1.5rem;
    }

    .trust-logo-item span {
        font-size: 0.8rem;
    }

    .comparison-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-vs {
        padding: 0.5rem 0;
    }

    .comparison-vs span {
        font-size: 1rem;
    }

    .pricing-anchor .pricing-table {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card-recommended {
        transform: none;
    }

    .pricing-card-recommended:hover {
        transform: translateY(-8px);
    }

    .video-play-btn {
        width: 52px;
        height: 52px;
    }

    .video-play-btn i {
        font-size: 1.2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .comparison-card {
        padding: 1.5rem;
    }

    .pricing-anchor .pricing-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .trust-logo-item i {
        font-size: 1.3rem;
    }

    .trust-logo-item span {
        font-size: 0.75rem;
    }

    .pricing-price {
        font-size: 1.5rem;
    }

}

/* ---------- User manual page（阅读向排版） ---------- */
.manual-doc-page {
    --manual-ink: #1c1c1c;
    --manual-muted: #5a5f66;
    --manual-rule: #e6e1d9;
    --manual-paper: #fffcf7;
    --manual-paper-edge: #f0ebe3;
    --manual-accent: #e85a2a;
    --manual-accent-soft: rgba(232, 90, 42, 0.12);
}

.manual-doc-page .manual-page {
    padding: calc(var(--navbar-offset) + 2.5rem) 0 5rem;
    min-height: 60vh;
    background: linear-gradient(165deg, #f3f1ed 0%, #e8e4de 45%, #f5f3ef 100%);
}

.manual-page-inner {
    max-width: 56rem;
}

/* 纸张主栏 */
.manual-sheet {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.82;
    letter-spacing: 0.03em;
    color: var(--manual-ink);
    background: var(--manual-paper);
    border: 1px solid var(--manual-paper-edge);
    border-radius: 20px;
    padding: 2.75rem clamp(1.35rem, 4vw, 3.25rem) 3.25rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 24px 48px rgba(44, 62, 80, 0.09),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.manual-sheet[lang="en"] {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    letter-spacing: 0.01em;
}

.manual-sheet + .manual-sheet {
    margin-top: 1rem;
}

/* 封面块 */
.manual-doc-cover {
    text-align: center;
    padding: 2rem 1rem 2.25rem;
    margin: -0.5rem -0.5rem 2.25rem;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.09) 0%, rgba(76, 175, 80, 0.07) 100%);
    border: 1px solid rgba(232, 90, 42, 0.18);
}

.manual-doc-cover-product {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--manual-accent);
    margin-bottom: 0.5rem;
}

.manual-doc-cover-title {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.manual-doc-cover-meta {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--manual-muted);
}

/* 目录 */
.manual-toc {
    margin: 0 0 2.75rem;
    padding: 1.35rem 1.35rem 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--manual-rule);
    border-radius: 14px;
}

/* 目录放在文章末尾（FAQ 之后）：上间距大、下间距小 */
.manual-toc.manual-toc-end {
    margin: 2.5rem 0 0;
}

.manual-toc-heading {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--manual-accent);
    display: inline-block;
    min-width: 6rem;
}

.manual-toc-list {
    margin: 0;
    padding-left: 1.35rem;
    color: var(--manual-ink);
}

.manual-toc-list li {
    margin: 0.45rem 0;
    line-height: 1.55;
    padding-left: 0.25rem;
}

.manual-toc-list li::marker {
    color: var(--manual-accent);
    font-weight: 600;
}

.manual-toc-list a.manual-toc-link {
    color: var(--manual-ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.manual-toc-list a.manual-toc-link:hover {
    color: var(--manual-accent);
    border-bottom-color: rgba(255, 107, 53, 0.45);
}

/* 锚点跳转时避开固定导航栏 */
.manual-sheet h2.manual-section-title[id],
.manual-sheet p.manual-faq-q[id] {
    scroll-margin-top: calc(var(--navbar-offset) + 0.75rem);
}

/* 大节标题 */
.manual-section-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    font-size: 1.28rem;
    font-weight: 700;
    margin: 2.75rem 0 1rem;
    padding: 0.35rem 0 0.65rem;
    border-bottom: 1px solid var(--manual-rule);
    color: var(--dark);
    letter-spacing: -0.02em;
}

.manual-section-title:first-of-type,
.manual-toc + .manual-section-title {
    margin-top: 0;
}

.manual-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.35);
}

.manual-section-num::after {
    content: none;
}

.manual-section-label {
    flex: 1;
    min-width: 12rem;
}

/* 小节 h3 / h4 */
.manual-sheet h3 {
    font-size: 1.08rem;
    font-weight: 600;
    margin: 1.65rem 0 0.65rem;
    padding-left: 0.85rem;
    border-left: 4px solid var(--manual-accent);
    color: #2a3340;
}

.manual-sheet h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.45rem;
    color: #3d4654;
}

/* 二级标题（核心功能等） */
.manual-sheet h2.manual-subtitle {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 2rem 0 0.85rem;
    color: var(--dark);
    padding: 0.5rem 0.85rem;
    background: var(--manual-accent-soft);
    border-radius: 8px;
    border: none;
}

/* 正文段落 */
.manual-sheet > p {
    margin: 0.45rem 0;
    color: #353a42;
    text-align: justify;
    text-justify: inter-ideograph;
}

.manual-sheet[lang="en"] > p {
    text-align: start;
}

/* 步骤条 */
.manual-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.55rem 0;
    padding: 0.55rem 0.65rem 0.55rem 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(230, 225, 217, 0.9);
}

.manual-step-n {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--manual-accent);
    background: #fff;
    border: 2px solid var(--manual-accent);
    border-radius: 50%;
    line-height: 1;
}

.manual-step-t {
    flex: 1;
    padding-top: 0.08rem;
    line-height: 1.68;
}

/* 常见问题：序号 + 问答 */
.manual-faq-q {
    display: flex;
    align-items: baseline;
    gap: 0.55rem 0.65rem;
    flex-wrap: wrap;
    margin: 1rem 0 0.25rem;
    font-weight: 600;
    color: #2a3340;
    line-height: 1.45;
}

.manual-faq-q:first-of-type {
    margin-top: 0.35rem;
}

.manual-faq-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #5b8dd9 0%, #4a7dc4 100%);
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(74, 125, 196, 0.3);
}

.manual-faq-qtext {
    flex: 1;
    min-width: 8rem;
}

.manual-faq-a {
    margin: 0.2rem 0 0.5rem;
    padding: 0.4rem 0 0.4rem 2.45rem;
    color: #353a42;
    line-height: 1.68;
    text-align: justify;
    text-justify: inter-ideograph;
    border-left: 3px solid rgba(90, 140, 200, 0.35);
}

.manual-sheet[lang="en"] .manual-faq-a {
    text-align: start;
}

.manual-faq-note {
    margin: 0.15rem 0 0.65rem;
    padding: 0.45rem 0.55rem 0.45rem 2.45rem;
    font-size: 0.92rem;
    color: #4a5560;
    background: rgba(90, 140, 200, 0.08);
    border-radius: 8px;
    line-height: 1.6;
    border-left: 3px solid rgba(90, 140, 200, 0.45);
}

@media (max-width: 768px) {
    .manual-sheet {
        padding: 1.65rem 1.1rem 2rem;
        font-size: 1rem;
        border-radius: 16px;
    }

    .manual-doc-cover {
        margin: -0.25rem -0.25rem 1.75rem;
        padding: 1.5rem 0.85rem;
    }

    .manual-section-title {
        font-size: 1.12rem;
    }

    .manual-step {
        padding: 0.45rem 0.5rem;
    }

/* ===== 二维码点击放大 Lightbox ===== */
.qr-zoom-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(15, 23, 42, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.qr-zoom-lightbox.is-open {
    display: flex;
    opacity: 1;
}
.qr-zoom-lightbox-inner {
    position: relative;
    max-width: min(420px, 92vw);
    max-height: 92vh;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    text-align: center;
    color: #1f2937;
    transform: scale(0.96);
    transition: transform 0.2s ease;
}
.qr-zoom-lightbox.is-open .qr-zoom-lightbox-inner {
    transform: scale(1);
}
.qr-zoom-lightbox-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: #111827;
}
.qr-zoom-lightbox-hint {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 1rem;
    line-height: 1.45;
}
.qr-zoom-lightbox-img-wrap {
    background: #f9fafb;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 1rem;
}
.qr-zoom-lightbox-img-wrap img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}
.qr-zoom-lightbox-email {
    font-size: 0.9rem;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}
.qr-zoom-lightbox-email i {
    color: var(--orange, #ff6b35);
}
.qr-zoom-lightbox-email a {
    color: #1d4ed8;
    text-decoration: none;
}
.qr-zoom-lightbox-email a:hover {
    text-decoration: underline;
}
.qr-zoom-lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    color: #374151;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-zoom-lightbox-close:hover {
    background: var(--orange, #ff6b35);
    color: #ffffff;
}
.qr-zoom-lightbox.is-zooming {
    cursor: zoom-out;
}
}