/**
 * NetShop.my v2 — 前台全局样式
 * 参考 CRMEB 风格：现代 SaaS 产品官网
 */

/* ============================================
   CSS 变量
   ============================================ */
:root {
    --primary: #2A6CF5;
    --primary-dark: #1B4FCC;
    --primary-light: #5B8FF9;
    --primary-bg: rgba(42,108,245,0.06);
    --gradient-primary: linear-gradient(135deg, #2A6CF5 0%, #6C4BF6 100%);
    --gradient-hero: linear-gradient(135deg, #0F1C4D 0%, #1B3A8A 40%, #2A6CF5 100%);
    --gradient-cta: linear-gradient(135deg, #6C4BF6 0%, #2A6CF5 100%);
    --text-primary: #1a202c;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --border-color: #e2e8f0;
    /* 销售心理学配色：暖色用于转化关键点 */
    --cta-orange: #F97316;
    --cta-orange-dark: #EA580C;
    --cta-orange-light: #FB923C;
    --cta-orange-bg: rgba(249,115,22,0.08);
    --gradient-cta-warm: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    --success-green: #22C55E;
    --success-green-dark: #16A34A;
    --pain-red: #EF4444;
    --pain-red-bg: rgba(239,68,68,0.06);
    --pain-orange-bg: rgba(249,115,22,0.06);
    --warm-gold: #F59E0B;
    --warm-bg: #FFFBF0;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

/* ============================================
   全局基础
   ============================================ */
* { box-sizing: border-box; }
/* html + body 双重锁横向溢出 — 不锁 html 的话 .hero-dark::before / .hero-bg-3d::before 等彩光圆会撑大 documentElement scrollWidth，
   导致 mobile 浏览器/responsive 模式把页面渲染到比 viewport 更宽的 canvas 里，右侧全是空白、navbar 看似消失 */
html { overflow-x: hidden; max-width: 100vw; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
}

/* ============================================
   导航栏 — 透明 → 滚动后白色
   ============================================ */
.site-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.site-navbar.scrolled,
body.nav-light .site-navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}
/* nav-light 模式（404 / 500 等无 hero 页面）— 默认应用 scrolled 配色 + 给 main 留 navbar 高度 */
body.nav-light .site-navbar .navbar-brand { color: var(--primary); }
body.nav-light .site-navbar .nav-link { color: var(--text-secondary); }
body.nav-light .site-navbar .nav-link:hover { color: var(--primary); }
body.nav-light .site-navbar .btn-lang { color: var(--text-secondary); }
body.nav-light .site-navbar .btn-lang:hover { color: var(--primary); background: var(--primary-bg); }
body.nav-light .site-navbar .burger-btn { color: var(--text-primary); }
/* 旧版本用户登入按钮：默认白边白字给深色 hero 用，nav-light 下要变蓝色（同 .scrolled）*/
body.nav-light .site-navbar .btn-nav-login {
    background: rgba(42, 108, 245, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.nav-light main { padding-top: 90px; }
.site-navbar .navbar-brand {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    letter-spacing: -0.02em;
}
.site-navbar.scrolled .navbar-brand { color: var(--primary); }
.site-navbar .nav-link {
    color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500;
    padding: 8px 16px !important; transition: color 0.2s;
}
.site-navbar.scrolled .nav-link { color: var(--text-secondary); }
.site-navbar .nav-link:hover { color: #fff; }
.site-navbar.scrolled .nav-link:hover { color: var(--primary); }
/* 移动端侧边抽屉菜单 */
.mobile-menu {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 290px; max-width: 82vw;
    background: linear-gradient(180deg, #3D3673 0%, #1B2A6B 40%, #0F1C4D 100%);
    z-index: 1060; padding: 0;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 6px 0 40px rgba(0,0,0,0.4);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu .menu-header img { height: 72px; width: auto; }
.mobile-menu .menu-close {
    background: rgba(255,255,255,0.08); border: none; color: rgba(255,255,255,0.6);
    font-size: 1.1rem; cursor: pointer; padding: 6px 8px; border-radius: 8px;
    transition: all 0.2s;
}
.mobile-menu .menu-close:hover { color: #fff; background: rgba(255,255,255,0.15); }
.mobile-menu .menu-body { padding: 12px 0; }
.mobile-menu .menu-body .nav-link {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 24px !important;
    color: rgba(255,255,255,0.7) !important; font-size: 0.85rem; font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.15s;
}
.mobile-menu .menu-body .nav-link:hover { background: rgba(255,255,255,0.06); color: #fff !important; }
.mobile-menu .menu-footer {
    padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: auto;
}
/* 遮罩 */
.mobile-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 1055; display: none;
}
.mobile-backdrop.open { display: block; }

/* 语言切换按钮 */
.btn-lang {
    display: inline-flex; align-items: center; gap: 4px;
    color: rgba(255,255,255,0.7); font-size: 0.82rem; font-weight: 500;
    padding: 5px 10px; border-radius: 6px;
    transition: all 0.2s;
}
.btn-lang:hover { color: #fff; background: rgba(255,255,255,0.1); }
.site-navbar.scrolled .btn-lang { color: var(--text-secondary); }
.site-navbar.scrolled .btn-lang:hover { color: var(--primary); background: var(--primary-bg); }
/* burger 按钮：simple 风格 — navbar 已经是品牌深紫实色，无需额外玻璃底；保留 40×40 触控区 */
.site-navbar .burger-btn {
    color: #fff;
    padding: 6px 8px !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.site-navbar .burger-btn:hover {
    opacity: 0.75;
}
.site-navbar.scrolled .burger-btn {
    color: var(--text-primary);
}

.site-navbar .btn-nav-login {
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 8px; padding: 6px 20px; font-size: 0.85rem; font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.site-navbar .btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}
.site-navbar.scrolled .btn-nav-login {
    background: rgba(42, 108, 245, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.site-navbar.scrolled .btn-nav-login:hover {
    background: rgba(42, 108, 245, 0.16);
    color: var(--primary);
}
.site-navbar .btn-nav-trial {
    background: #fff; color: var(--primary);
    border-radius: 8px; padding: 6px 20px; font-size: 0.85rem; font-weight: 600;
    border: none;
}
.site-navbar.scrolled .btn-nav-trial {
    background: var(--primary); color: #fff;
}

/* ============================================
   Hero 区域 — 全屏背景图
   ============================================ */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: ''; position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: rgba(108,75,246,0.15);
    top: -200px; right: -150px;
    filter: blur(80px);
}
.hero-section::after {
    content: ''; position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(42,108,245,0.1);
    bottom: -100px; left: -100px;
    filter: blur(60px);
}

/* 全屏背景图 Hero */
.hero-fullscreen {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(10,15,40,0.82) 0%,
        rgba(15,28,77,0.78) 40%,
        rgba(42,108,245,0.55) 100%
    );
    z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px; padding: 6px 18px 6px 8px;
    font-size: 0.82rem; color: rgba(255,255,255,0.9);
    margin-bottom: 24px; backdrop-filter: blur(4px);
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e; animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-title {
    font-size: 3.2rem; font-weight: 800; color: #fff;
    line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero-title .highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem; color: rgba(255,255,255,0.7);
    line-height: 1.8; margin-bottom: 36px; max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-hero-primary {
    background: var(--gradient-cta-warm); color: #fff;
    border: none; border-radius: 10px; padding: 14px 32px;
    font-size: 0.95rem; font-weight: 700;
    box-shadow: 0 4px 20px rgba(249,115,22,0.35);
    transition: all 0.3s; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249,115,22,0.5);
    color: #fff;
}
.btn-hero-secondary {
    background: rgba(255,255,255,0.12); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3); border-radius: 10px;
    padding: 14px 32px; font-size: 0.95rem; font-weight: 600;
    transition: all 0.3s; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2); color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.hero-stats {
    display: flex; gap: 40px;
}
.hero-stat-item { text-align: left; }
.hero-stat-value {
    font-size: 2rem; font-weight: 800; color: #fff;
    line-height: 1.2;
}
.hero-stat-label {
    font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
/* ============================================
   Hero 视觉区域 — 手机 Mockup + 浮动图标
   ============================================ */
/* ============================================
   运营模式卡片 — 3D 光圈底座效果
   ============================================ */
.mode-card {
    text-align: center; padding: 20px 16px;
    transition: transform 0.3s ease;
}
.mode-card:hover { transform: translateY(-6px); }

.mode-icon-wrap {
    position: relative; width: 140px; height: 140px;
    margin: 0 auto 24px;
}
/* 底部光晕 */
.mode-glow {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 20px; border-radius: 50%;
    opacity: 0.15; filter: blur(10px);
}
/* 3D 椭圆光圈 */
.mode-ring {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    width: 130px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(42,108,245,0.06) 0%, rgba(42,108,245,0.02) 100%);
    border: 2px solid rgba(42,108,245,0.08);
    box-shadow:
        0 0 30px rgba(42,108,245,0.06),
        inset 0 0 20px rgba(42,108,245,0.03);
}
/* 中心图标容器 */
.mode-icon {
    position: absolute; top: -52px; left: 50%; transform: translateX(-50%);
    width: 72px; height: 72px;
    background: #fff;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.mode-card:hover .mode-icon {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.mode-title {
    font-weight: 700; font-size: 1.05rem;
    margin-bottom: 8px; color: var(--text-primary);
}
.mode-desc {
    font-size: 0.85rem; color: var(--text-secondary);
    line-height: 1.7; margin: 0;
    max-width: 220px; margin-left: auto; margin-right: auto;
}
@media (max-width: 767px) {
    .mode-icon-wrap { width: 110px; height: 110px; }
    .mode-icon { width: 56px; height: 56px; font-size: 1.4rem; top: -42px; border-radius: 16px; }
    .mode-ring { width: 100px; height: 32px; }
    .mode-title { font-size: 0.9rem; }
    .mode-desc { font-size: 0.78rem; }
}

/* ============================================
   盈利途径 — 环形布局
   ============================================ */
.profit-ring-layout {
    position: relative; width: 100%; max-width: 800px;
    margin: 0 auto; min-height: 520px;
}
/* 中心圆 */
.profit-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.profit-center-inner {
    width: 120px; height: 120px; border-radius: 50%;
    background: #fff; box-shadow: 0 8px 40px rgba(42,108,245,0.12);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    position: relative; z-index: 2;
}
.profit-center-inner span {
    font-size: 0.75rem; font-weight: 700; color: var(--text-primary);
}
/* 轨道圆环 */
.profit-orbit {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 320px; height: 320px; border-radius: 50%;
    border: 1.5px dashed rgba(42,108,245,0.12);
    z-index: 1;
}
/* 盈利项 */
.profit-item {
    position: absolute; display: flex; align-items: center; gap: 12px;
    z-index: 3;
}
.profit-dot {
    width: 12px; height: 12px; border-radius: 50%;
    flex-shrink: 0; box-shadow: 0 0 0 4px rgba(255,255,255,0.8);
}
.profit-content { max-width: 200px; }
.profit-item-icon {
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; margin-bottom: 6px;
}
.profit-content h6 {
    font-weight: 700; font-size: 0.92rem; margin-bottom: 4px;
    color: var(--text-primary);
}
.profit-content p {
    font-size: 0.8rem; color: var(--text-secondary);
    line-height: 1.6; margin: 0;
}
/* 五个位置 */
.profit-top { top: 0; left: 50%; transform: translateX(-50%); text-align: center; flex-direction: column; }
.profit-top .profit-dot { margin: 0 auto 8px; }
.profit-right { top: 25%; right: 0; flex-direction: row-reverse; text-align: right; }
.profit-right .profit-content { text-align: right; }
.profit-bottom-right { bottom: 10%; right: 5%; flex-direction: row-reverse; text-align: right; }
.profit-bottom-right .profit-content { text-align: right; }
.profit-bottom-left { bottom: 10%; left: 5%; }
.profit-left { top: 25%; left: 0; }

/* 响应式：小屏改为纵向列表 */
@media (max-width: 767px) {
    .profit-ring-layout {
        min-height: auto; display: flex; flex-direction: column;
        gap: 24px; align-items: center;
    }
    .profit-center { position: relative; top: auto; left: auto; transform: none; margin-bottom: 16px; }
    .profit-orbit { display: none; }
    .profit-item {
        position: relative; top: auto; left: auto; right: auto; bottom: auto;
        transform: none; flex-direction: row !important;
        text-align: left !important; width: 100%; max-width: 360px;
    }
    .profit-item .profit-content { text-align: left !important; }
    .profit-top { flex-direction: row !important; }
    .profit-top .profit-dot { margin: 0; }
}

/* 浮动数据卡片 */
.floating-card {
    position: absolute; background: rgba(255,255,255,0.95);
    border-radius: 12px; padding: 14px 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    backdrop-filter: blur(8px); z-index: 4;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   通用 Section 样式
   ============================================ */
.section { padding: 100px 0; }
.section-light { background: var(--bg-light); }
.section-dark {
    background: var(--gradient-hero); color: #fff;
}
.section-header {
    text-align: center; margin-bottom: 60px;
}
.section-label {
    display: inline-block;
    background: var(--primary-bg); color: var(--primary);
    font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px; border-radius: 50px;
    margin-bottom: 16px;
}
.section-title {
    font-size: 2.2rem; font-weight: 800; color: var(--text-primary);
    line-height: 1.25; letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-dark .section-title { color: #fff; }
.section-subtitle {
    font-size: 1.05rem; color: var(--text-secondary);
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ============================================
   功能亮点卡片 — 图标 + 标题 + 描述
   ============================================ */
.highlight-card {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 32px 28px;
    transition: all 0.3s ease; height: 100%;
    position: relative; overflow: hidden;
}
.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.highlight-card .icon-wrap {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 20px;
}
.highlight-card h5 {
    font-size: 1.05rem; font-weight: 700; margin-bottom: 10px;
    color: var(--text-primary);
}
.highlight-card p {
    font-size: 0.88rem; color: var(--text-secondary);
    line-height: 1.7; margin: 0;
}

/* ============================================
   图文左右交替板块
   ============================================ */
.feature-row {
    display: flex; align-items: center; gap: 60px;
    padding: 40px 0;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text .label {
    display: inline-block;
    background: var(--primary-bg); color: var(--primary);
    font-size: 0.75rem; font-weight: 600;
    padding: 4px 12px; border-radius: 6px;
    margin-bottom: 16px;
}
.feature-text h3 {
    font-size: 1.6rem; font-weight: 800; margin-bottom: 16px;
    line-height: 1.3; color: var(--text-primary);
}
.feature-text p {
    font-size: 0.95rem; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 20px;
}
.feature-text .check-list {
    list-style: none; padding: 0; margin: 0;
}
.feature-text .check-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; color: var(--text-secondary);
    padding: 6px 0;
}
.feature-text .check-list li i {
    color: var(--primary); font-size: 1rem;
}
.feature-image { flex: 1; }
.feature-image img {
    width: 100%; border-radius: var(--radius-lg);
}
.feature-image img[src$=".jpg"],
.feature-image img[src$=".png"] {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   功能网格（10宫格）
   ============================================ */
.func-card {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 28px 24px;
    text-align: center; transition: all 0.3s; height: 100%;
}
.func-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.func-card .func-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin: 0 auto 16px;
}
.func-card h6 {
    font-size: 0.95rem; font-weight: 700; margin-bottom: 8px;
    color: var(--text-primary);
}
.func-card p {
    font-size: 0.82rem; color: var(--text-secondary);
    line-height: 1.6; margin: 0;
}

/* ============================================
   竞品对比表
   ============================================ */
.compare-table {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); overflow: hidden;
}
.compare-table table {
    width: 100%; border-collapse: collapse;
}
.compare-table th {
    background: var(--bg-light); padding: 16px 24px;
    font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
    text-align: left; border-bottom: 1px solid var(--border-color);
}
.compare-table td {
    padding: 14px 24px; font-size: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-primary);
}
.compare-table .check { color: var(--primary); font-weight: 700; }
.compare-table .cross { color: #cbd5e1; }

/* ============================================
   定价卡片
   ============================================ */
.pricing-card {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 40px 32px;
    transition: all 0.3s; height: 100%; position: relative;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}
.pricing-card .popular-tag {
    position: absolute; top: -1px; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary); color: #fff;
    font-size: 0.75rem; font-weight: 600;
    padding: 4px 20px; border-radius: 0 0 10px 10px;
}
.pricing-card .plan-name {
    font-size: 1.1rem; font-weight: 600; color: var(--text-secondary);
    margin-bottom: 8px;
}
.pricing-card .plan-price {
    font-size: 2.8rem; font-weight: 800; color: var(--text-primary);
    line-height: 1.2;
}
.pricing-card .plan-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-card .plan-desc {
    font-size: 0.85rem; color: var(--text-secondary);
    margin: 12px 0 24px; padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.pricing-card .feature-list {
    list-style: none; padding: 0; margin: 0 0 32px;
}
.pricing-card .feature-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.88rem; color: var(--text-secondary);
    padding: 8px 0;
}
.pricing-card .feature-list li i { color: var(--primary); }
.btn-pricing {
    display: block; width: 100%; padding: 14px;
    border-radius: 10px; font-size: 0.9rem; font-weight: 600;
    text-align: center; text-decoration: none;
    transition: all 0.3s;
}
.btn-pricing-primary {
    background: var(--gradient-cta-warm); color: #fff; border: none;
}
.btn-pricing-primary:hover {
    box-shadow: 0 6px 20px rgba(249,115,22,0.4);
    transform: translateY(-1px); color: #fff;
}
.btn-pricing-outline {
    background: transparent; color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-pricing-outline:hover {
    background: var(--primary-bg); color: var(--primary);
}

/* ============================================
   技术架构板块
   ============================================ */
.tech-stack {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center;
}
.tech-tag {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    border-radius: 8px; padding: 10px 20px;
    font-size: 0.88rem; font-weight: 500;
    transition: all 0.3s;
}
.tech-tag:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ============================================
   CTA 底部
   ============================================ */
.cta-section {
    background: var(--gradient-cta);
    padding: 80px 0; text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -200px; right: -100px;
}
.cta-section h2 {
    font-size: 2.2rem; font-weight: 800; color: #fff;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 1.05rem; color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
}
.btn-cta {
    background: var(--gradient-cta-warm); color: #fff;
    border: none; border-radius: 10px;
    padding: 16px 40px; font-size: 1rem; font-weight: 700;
    box-shadow: 0 4px 20px rgba(249,115,22,0.35);
    transition: all 0.3s; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249,115,22,0.5);
    color: #fff;
}

/* ============================================
   售后服务卡片
   ============================================ */
.service-card {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 32px 24px;
    text-align: center; transition: all 0.3s; height: 100%;
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card i {
    font-size: 2rem; color: var(--primary); margin-bottom: 16px;
}
.service-card h6 {
    font-size: 0.95rem; font-weight: 700; margin-bottom: 8px;
}
.service-card p {
    font-size: 0.82rem; color: var(--text-secondary); margin: 0;
}

/* ============================================
   痛点共鸣区 — 浅红/浅橙暖色背景，激发损失厌恶
   ============================================ */
.pain-section {
    background: linear-gradient(180deg, #FFF5F5 0%, #FFFBF0 100%);
}
.pain-label {
    background: var(--pain-red-bg) !important;
    color: var(--pain-red) !important;
}
.pain-card {
    background: #fff;
    border: 1px solid rgba(239,68,68,0.12);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: all 0.3s;
}
.pain-card:hover {
    box-shadow: 0 8px 30px rgba(239,68,68,0.1);
    transform: translateY(-4px);
}
.pain-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.pain-title {
    font-weight: 700; font-size: 1.05rem;
    margin-bottom: 10px;
}
.pain-desc {
    font-size: 0.88rem; color: var(--text-secondary);
    line-height: 1.8; margin: 0;
}

/* ============================================
   解决方案卡片
   ============================================ */
.solution-card {
    text-align: center;
    padding: 32px 20px;
    height: 100%;
}
.solution-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem; color: #fff;
}
.solution-title {
    font-weight: 700; font-size: 1rem;
    margin-bottom: 8px;
}
.solution-desc {
    font-size: 0.85rem; color: var(--text-secondary);
    line-height: 1.7; margin: 0;
}

/* ============================================
   客户案例卡片 — 暖白背景，社会认同
   ============================================ */
.testimonial-section {
    background: var(--warm-bg);
}
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(249,115,22,0.12);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(249,115,22,0.1);
    transform: translateY(-4px);
}
.testimonial-metric {
    font-size: 0.9rem; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: rgba(34,197,94,0.06);
    border-radius: 10px;
}
.testimonial-quote {
    flex: 1;
    margin-bottom: 24px;
}
.testimonial-quote p {
    font-size: 0.9rem; color: var(--text-secondary);
    line-height: 1.8; margin: 8px 0 0;
    font-style: italic;
}
.testimonial-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 0.9rem;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 700; font-size: 0.9rem;
}
.testimonial-role {
    font-size: 0.78rem; color: var(--text-muted);
}
.testimonial-plan {
    margin-left: auto;
    font-size: 0.72rem; font-weight: 600;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

/* ============================================
   数字说服区 — 绿色成功数字
   ============================================ */
.number-card {
    text-align: center;
    padding: 24px 16px;
}
.number-value {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.number-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   页脚 — 深色现代风格
   ============================================ */
.site-footer {
    background: #0f172a; color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.site-footer h6 {
    color: #fff; font-weight: 600; font-size: 0.9rem;
    margin-bottom: 20px;
}
.site-footer a {
    color: rgba(255,255,255,0.6); text-decoration: none;
    font-size: 0.85rem; transition: color 0.2s;
}
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    margin-bottom: 12px;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px; margin-top: 40px;
    font-size: 0.8rem; color: rgba(255,255,255,0.4);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 24px; }
    .feature-row { flex-direction: column; gap: 30px; }
    .feature-row.reverse { flex-direction: column; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
}
@media (max-width: 767px) {
    .hero-section { padding: 80px 0 40px; min-height: auto; }
    .hero-fullscreen { padding: 100px 0 50px; min-height: auto; }
    .hero-fullscreen .hero-title { font-size: 1.35rem; line-height: 1.3; }
    .hero-title { font-size: 1.3rem; }
    .hero-desc { font-size: 0.88rem; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .hero-stat-value { font-size: 1.5rem; }
    .hero-btns { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; padding: 12px 24px; font-size: 0.88rem; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.88rem; }
    .section-header { margin-bottom: 30px; }
    /* 新板块响应式 */
    .pain-card { padding: 24px 20px; }
    .pain-title { font-size: 0.95rem; }
    .testimonial-card { padding: 24px 20px; }
    .testimonial-metric { font-size: 0.82rem; padding: 8px 12px; }
    .number-value { font-size: 1.6rem; }
    .number-label { font-size: 0.78rem; }
    /* 对比表横向滚动 */
    .compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .compare-table table { min-width: 600px; }
    /* 功能网格改为 2 列紧凑 */
    .feature-row { gap: 20px; }
    .feature-text h3 { font-size: 1.2rem; }
    /* 定价卡片紧凑 */
    .pricing-card { padding: 24px 18px; }
}
@media (max-width: 575px) {
    .hero-fullscreen { padding: 80px 0 36px; }
    .hero-fullscreen .hero-title { font-size: 1.15rem; line-height: 1.3; }
    .hero-title { font-size: 1.1rem; }
    .hero-desc { font-size: 0.8rem; line-height: 1.6; }
    .hero-badge { font-size: 0.68rem; padding: 4px 10px; }
    .hero-stat-value { font-size: 1.2rem; }
    .hero-stat-label { font-size: 0.68rem; }
    .hero-stats { gap: 12px; }
    .btn-hero-primary, .btn-hero-secondary { padding: 10px 20px; font-size: 0.82rem; }
    .section { padding: 36px 0; }
    .section-title { font-size: 1.1rem; }
    .section-subtitle { font-size: 0.8rem; }
}

/* ============================================
   动画
   ============================================ */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1; transform: translateY(0);
}

/* ============================================= */
/* v3 — 下拉菜单                                 */
/* ============================================= */
.nav-desktop .nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 1001;
}
.nav-dropdown-menu-wide {
    min-width: 520px;
    padding: 16px;
}
.nav-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s;
}
.nav-dropdown-item:hover {
    background: rgba(42, 108, 245, 0.07);
    color: var(--primary);
}
.nav-dropdown-icon {
    font-size: 1.1rem;
}
.nav-dropdown-footer {
    display: block;
    margin-top: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}
.nav-dropdown-footer:hover {
    color: #1e4fc7;
}

/* 移动端下拉折叠 */
.mobile-section {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-section-toggle {
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.9);
    padding: 14px 24px; /* 和 .mobile-menu .menu-body .nav-link 的 24px 对齐 */
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.mobile-section-toggle i {
    transition: transform 0.2s;
}
.mobile-section.open .mobile-section-toggle i {
    transform: rotate(180deg);
}
.mobile-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
}
.mobile-section.open .mobile-section-body {
    max-height: 500px;
}
.mobile-section-body a {
    display: block;
    padding: 10px 24px 10px 40px; /* 子项比顶级 toggle 多缩 16px，视觉表示层级 */
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.92rem;
}
.mobile-section-body a:hover {
    color: #fff;
}

/* ============================================= */
/* v3 — Pricing Card                              */
/* ============================================= */
.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    height: 100%;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.pricing-card-highlighted {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, #fff 0%, #F5F7FF 100%);
    transform: scale(1.04);
    box-shadow: 0 24px 60px rgba(42,108,245,0.18);
    z-index: 2;
}
.pricing-card-highlighted:hover {
    transform: scale(1.04) translateY(-4px);
}
.pricing-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(234,88,12,0.35);
    white-space: nowrap;
}
.pricing-card-header {
    margin-bottom: 20px;
}
.pricing-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.pricing-card-tagline {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}
.pricing-card-features {
    margin: 20px 0;
    flex-grow: 1;
}
.pricing-card-features li {
    padding: 8px 0;
    color: #334155;
    font-size: 0.92rem;
    display: flex;
    align-items: start;
    gap: 10px;
}
.pricing-card-features li i {
    color: #22C55E;
    flex-shrink: 0;
    margin-top: 3px;
}
.pricing-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #F8FAFC;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.18s;
}
.pricing-card-cta:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pricing-card-cta-highlighted {
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(234,88,12,0.3);
}
.pricing-card-cta-highlighted:hover {
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 12px 32px rgba(234,88,12,0.42);
}

/* ============================================= */
/* v3 — Case Card                                 */
/* ============================================= */
.case-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(var(--case-rgb, 42,108,245), 0.04) 0%, #fff 100%);
    border: 1px solid rgba(0,0,0,0.06);
    border-top: 4px solid var(--case-color);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s, box-shadow 0.18s;
    height: 100%;
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.09);
    color: inherit;
}
.case-card-brand {
    margin-bottom: 16px;
}
.case-card-brand-name {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--case-color);
    letter-spacing: -0.02em;
}
.case-card-metric {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 10px;
}
.case-card-tagline {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}
.case-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.85rem;
    color: #64748b;
}
.case-card-plan {
    font-weight: 600;
}

/* ============================================= */
/* v3 — CTA Banner                                */
/* ============================================= */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #2A6CF5 0%, #7C3AED 100%);
    color: #fff;
    border-radius: 24px;
    margin: 60px auto;
    max-width: calc(100% - 48px);
}
.cta-banner-ai {
    background: linear-gradient(135deg, #0F172A 0%, #7C3AED 60%, #06B6D4 100%);
}
.cta-banner-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-banner-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner-actions {
    margin-top: 8px;
}
.btn-cta-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(234,88,12,0.42);
    transition: transform 0.18s, box-shadow 0.18s;
}
.btn-cta-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(234,88,12,0.52);
    color: #fff;
}
.btn-cta-secondary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.18s;
}
.btn-cta-secondary-lg:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ============================================= */
/* v3 — 首页板块通用                              */
/* ============================================= */
.section-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(42,108,245,0.08);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 50px auto;
}

/* 3 Pillars 卡片 */
.pillar-card {
    padding: 36px 28px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.06);
}
.pillar-card-highlight {
    border: 2px solid #F97316;
}
/* 高亮卡（蓝边 + 阴影 + 顶部徽章 — fulfillment 等非 home 场景用，与 home 的橙色 -highlight 区分 ）*/
.pillar-card-highlighted {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, #fff 0%, #F5F7FF 100%);
    box-shadow: 0 16px 40px rgba(42,108,245,0.18);
}
.pillar-card-highlighted:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(42,108,245,0.22);
}
.pillar-card-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: linear-gradient(135deg, #2A6CF5, #1D4ED8);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(42,108,245,0.32);
}
.pillar-card-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
}
.pillar-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.pillar-card-desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* AI 三件套 Tab 切换 */
.ai-demo-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.ai-demo-tab {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.18s;
}
.ai-demo-tab.active {
    background: linear-gradient(135deg, #7C3AED, #2A6CF5);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(124,58,237,0.3);
}
.ai-demo-panel {
    display: none;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.ai-demo-panel.active {
    display: block;
}

/* 全链路时间轴 */
.flow-timeline {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px;
    flex-wrap: wrap;
    margin: 40px 0;
}
.flow-step {
    flex: 1;
    min-width: 160px;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    text-align: center;
    position: relative;
}
.flow-step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}
.flow-step-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 0.98rem;
}
.flow-step-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}
.flow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    font-size: 1.3rem;
    z-index: 1;
}
@media (max-width: 991px) {
    .flow-step:not(:last-child)::after {
        content: '↓';
        right: 50%;
        top: 100%;
        transform: translateX(50%) translateY(-8px);
    }
}

/* 痛点对比区 */
.pain-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
    .pain-compare {
        grid-template-columns: 1fr;
    }
}
.pain-compare-col {
    padding: 32px;
}
.pain-compare-bad {
    background: linear-gradient(180deg, #FEF2F2 0%, #FFFBFB 100%);
}
.pain-compare-good {
    background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}
.pain-compare-head {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pain-compare-head-bad { color: #DC2626; }
.pain-compare-head-good { color: #16A34A; }
.pain-compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pain-compare-list li {
    padding: 10px 0;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pain-compare-list li:last-child {
    border-bottom: none;
}

/* 信任徽章 */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}
.trust-badge {
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 500;
}

/* Footer social 圆形 */
.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: background 0.18s;
}
.footer-social:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

/* ============================================= */
/* v3 — AI 页专属作用域（为 Phase 2 预留）        */
/* ============================================= */
body.page-ai {
    --ai-primary: #7C3AED;
    --ai-accent: #06B6D4;
    --ai-bg: #0F172A;
}

/* ============================================= */
/* v3 — Before/After 滑块（Phase 2 才用，预留）  */
/* ============================================= */
.tryon-slider {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 16px;
    user-select: none;
    cursor: ew-resize;
}
.tryon-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tryon-slider-after {
    clip-path: inset(0 0 0 50%);
}
.tryon-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    box-shadow: 0 0 12px rgba(0,0,0,0.35);
    pointer-events: none;
}
.tryon-slider-handle::before {
    content: '◂▸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: #7C3AED;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 紧凑版滑块（4:5 portrait），用于 AI 页 Try-On 板块 + Home AI demo Try-On tab */
.tryon-slider-sm {
    max-width: 380px;
    aspect-ratio: 4/5;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================= */
/* v3 Phase 2 — AI 页专属深色 Hero                */
/* ============================================= */
.ai-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 40%, #312E81 70%, #0F172A 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.ai-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(124,58,237,0.35), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6,182,212,0.25), transparent 50%);
    pointer-events: none;
}
.ai-hero > .container { position: relative; z-index: 2; }
.ai-hero .section-eyebrow {
    background: rgba(124,58,237,0.2);
    color: #C4B5FD;
    border: 1px solid rgba(124,58,237,0.35);
}
.ai-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff 30%, #C4B5FD 70%, #67E8F9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ai-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 620px;
}
.ai-hero .trust-badge {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.15);
}

/* AI 页产品区块（深浅交替） */
.ai-section {
    padding: 90px 0;
}
.ai-section-dark {
    background: linear-gradient(180deg, #0F172A 0%, #1E1B4B 100%);
    color: #fff;
}
/* AI 电商图工坊（Try-On 与 Video 之间的淡紫过渡层）*/
.ai-section-image {
    background: linear-gradient(180deg, #FAF5FF 0%, #F3E8FF 100%);
    position: relative;
    overflow: hidden;
}
.ai-section-image::before {
    /* 装饰光斑（紫色） */
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.ai-section-image .container { position: relative; z-index: 1; }
.ai-image-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(124,58,237,0.18), 0 6px 18px rgba(0,0,0,0.06);
}
/* 浅紫底场景下的二级按钮（btn-hero-secondary 默认白字给深色 hero 用） */
.ai-section-image .btn-hero-secondary {
    background: rgba(124,58,237,0.08);
    color: #6D28D9;
    border-color: rgba(124,58,237,0.4);
}
.ai-section-image .btn-hero-secondary:hover {
    background: rgba(124,58,237,0.16);
    color: #5B21B6;
    border-color: rgba(124,58,237,0.7);
}
.ai-section-dark .section-title { color: #fff; }
.ai-section-dark .section-subtitle { color: rgba(255,255,255,0.72); }
.ai-section-dark .section-eyebrow {
    background: rgba(124,58,237,0.2);
    color: #C4B5FD;
    border: 1px solid rgba(124,58,237,0.35);
}

/* AI 功能点卡片 */
.ai-point {
    padding: 24px;
    background: rgba(124,58,237,0.04);
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 14px;
    height: 100%;
    transition: transform 0.2s;
}
.ai-section-dark .ai-point {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}
.ai-point:hover { transform: translateY(-3px); }
.ai-point-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.ai-point-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: inherit;
}
.ai-section-dark .ai-point-title { color: #fff; }
.ai-point-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}
.ai-section-dark .ai-point-desc { color: rgba(255,255,255,0.72); }

/* AI 钱包截图占位 */
.ai-wallet-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1E1B4B, #312E81);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    padding: 30px;
    text-align: center;
}

/* AI 串联工作流时间轴（深色版） */
.ai-chain-timeline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 40px 0 20px;
}
.ai-chain-step {
    flex: 1;
    min-width: 140px;
    padding: 20px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 14px;
    text-align: center;
    position: relative;
}
.ai-chain-step-icon { font-size: 1.8rem; margin-bottom: 8px; }
.ai-chain-step-title { font-weight: 700; color: #fff; margin-bottom: 4px; font-size: 0.95rem; }
.ai-chain-step-desc { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.ai-chain-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(124,58,237,0.5);
    font-size: 1.2rem;
}
@media (max-width: 767px) {
    /* 手机端强制纵向单列，避免 2×2 错位 */
    .ai-chain-timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }
    .ai-chain-step {
        min-width: 100%;
        flex: none;
    }
    .ai-chain-step:not(:last-child)::after {
        content: '↓';
        left: 50%;
        top: 100%;
        right: auto;
        transform: translate(-50%, 4px);
        font-size: 1.4rem;
    }
    /* 同时修 home Block 4 .flow-timeline 同样问题 */
    .flow-timeline {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 28px !important;
    }
    .flow-step {
        flex: none !important;
        min-width: 100% !important;
    }
    .flow-step:not(:last-child)::after {
        content: '↓' !important;
        left: 50% !important;
        top: 100% !important;
        right: auto !important;
        transform: translate(-50%, 4px) !important;
        font-size: 1.4rem !important;
    }
}

/* ============================================= */
/* v3 Phase 2 — Platform 页                       */
/* ============================================= */
.platform-hero {
    padding: 90px 0 60px;
    background: linear-gradient(180deg, #F5F7FF 0%, #fff 100%);
    text-align: center;
}

/* Platform 6 模组网格 */
.module-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}
.module-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(42,108,245,0.04) 100%);
    opacity: 0;
    transition: opacity 0.2s;
}
.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
    border-color: var(--primary);
    color: inherit;
}
.module-card:hover::before { opacity: 1; }
.module-card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.module-card-name { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; position: relative; }
.module-card-tagline { color: #64748b; font-size: 0.9rem; line-height: 1.7; margin: 0 0 16px 0; position: relative; }
.module-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    position: relative;
}

/* Platform 架构图（roles + modules） */
.arch-diagram {
    padding: 40px;
    background: linear-gradient(135deg, #F5F3FF 0%, #EFF6FF 100%);
    border-radius: 20px;
    border: 1px solid rgba(124,58,237,0.12);
}
.arch-layer-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-align: center;
}
.arch-roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}
.arch-role-tag {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 8px;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 500;
}
.arch-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.arch-module-box {
    padding: 14px 10px;
    background: #fff;
    border: 1px solid rgba(42,108,245,0.2);
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 600;
}
.arch-note {
    margin-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
}

/* Platform 技术底座 */
.foundation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 30px 0;
}
.foundation-card {
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    position: relative;
}
.foundation-icon { font-size: 1.6rem; margin-bottom: 8px; }
.foundation-name { font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.foundation-desc { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin: 0; }

/* 高亮卡片（multistore section 用 — 镜像 pricing-card-highlighted）*/
.foundation-card-highlighted {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, #fff 0%, #F5F7FF 100%);
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(42,108,245,0.18);
    z-index: 2;
}
.foundation-card-highlighted:hover {
    transform: scale(1.04) translateY(-3px);
}
.foundation-card-badge {
    position: absolute;
    top: -12px;
    right: 14px;
    background: linear-gradient(135deg, #2A6CF5, #1D4ED8);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(42,108,245,0.32);
}

/* ============================================= */
/* v3 Phase 5 批 B — 滚动入场动画 + 浮动徽章      */
/* ============================================= */

/* A. 滚动入场（fade-up） — 通用工具类 */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* 延迟梯度（给并列元素错落入场）*/
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
/* 从左/右滑入变体 */
.reveal-on-scroll.reveal-from-left { transform: translateX(-32px); }
.reveal-on-scroll.reveal-from-right { transform: translateX(32px); }
.reveal-on-scroll.reveal-from-left.is-visible,
.reveal-on-scroll.reveal-from-right.is-visible { transform: translateX(0); }

/* prefers-reduced-motion：完全尊重用户偏好 */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .floating-badge, .hero-visual-wrap::before { animation: none !important; }
}

/* B. 浮动徽章卡片（围绕 Hero 截图漂浮） */
.hero-visual-wrap {
    position: relative;
    isolation: isolate;
}
.floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    z-index: 2;
    animation: floatY 3.6s ease-in-out infinite alternate;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
.floating-badge .fb-icon {
    font-size: 1.2rem;
    line-height: 1;
}
.floating-badge .fb-value {
    color: var(--primary);
    font-weight: 800;
}
.floating-badge .fb-accent-orange { color: #EA580C; }
.floating-badge .fb-accent-green  { color: #16A34A; }
.floating-badge .fb-accent-purple { color: #7C3AED; }
/* 深色版徽章（给 ai.ejs 深色 hero 用）*/
.floating-badge-dark {
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.2);
}
.floating-badge-dark .fb-value { color: #C4B5FD; }

/* 4 个预设位置（相对 .hero-visual-wrap）
   注意：top/bottom 不伸出截图边缘 — Hero 上方 fixed navbar (z-index 1050) 会遮挡；
   左右方向允许伸出（左右栏之间留白足够） */
.floating-badge.pos-tl { top: 18px;    left: -22px;  animation-delay: 0s;   }
.floating-badge.pos-tr { top: 32%;     right: -26px; animation-delay: 0.6s; }
.floating-badge.pos-bl { bottom: 32%;  left: -26px;  animation-delay: 1.2s; }
.floating-badge.pos-br { bottom: 22px; right: 14%;   animation-delay: 1.8s; }

@keyframes floatY {
    from { transform: translateY(0); }
    to   { transform: translateY(-10px); }
}

/* 移动端（<992px）把徽章内嵌到截图下方，避免溢出挤占 */
@media (max-width: 991px) {
    .floating-badge {
        position: relative;
        display: inline-flex;
        margin: 6px;
        animation: none;
        top: auto; right: auto; bottom: auto; left: auto;
    }
    .floating-badges-mobile-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }
}

/* C. 数据高亮圈（SVG 或 CSS 圈住关键数字 — 给 KPI 加点缀）*/
.data-highlight {
    position: relative;
    display: inline-block;
}
.data-highlight::after {
    content: '';
    position: absolute;
    inset: -4px -8px;
    border: 2px solid rgba(234, 88, 12, 0.55);
    border-radius: 10px;
    pointer-events: none;
    animation: pulseHighlight 2.4s ease-in-out infinite;
}
@keyframes pulseHighlight {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.04); }
}

/* ============================================= */
/* v3 Phase 5 + 手机端优化                         */
/* ============================================= */

/* 所有 v3 Hero 在手机上：padding-top 提到 100px 避免 navbar (92px) 遮标题 */
@media (max-width: 991px) {
    .hero-section,
    .platform-hero,
    .ai-hero,
    .pos-hero,
    .fulfillment-hero,
    .kol-hero,
    .accounting-hero,
    .about-hero,
    .cases-hero,
    .pricing-hero,
    .solutions-hero {
        padding-top: 110px !important;
        padding-bottom: 40px !important;
        min-height: auto !important;
    }
    /* ai-hero 深色 hero 手机端更紧凑 */
    .ai-hero { padding: 110px 0 40px !important; }
    /* hero-title 在手机上小一点 */
    .hero-title, .section-title {
        font-size: clamp(1.7rem, 6vw, 2.4rem) !important;
    }
    .ai-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem) !important; }
    .hero-subtitle { font-size: 1rem; }
    .hero-description { font-size: 0.92rem; }
    /* Hero 两列变一列后，右列图片上方加 margin 分隔 */
    .hero-section .col-lg-6 + .col-lg-6,
    .platform-hero .col-lg-6 + .col-lg-6,
    .pos-hero .col-lg-6 + .col-lg-6,
    .fulfillment-hero .col-lg-6 + .col-lg-6,
    .kol-hero .col-lg-6 + .col-lg-6,
    .accounting-hero .col-lg-6 + .col-lg-6 {
        margin-top: 20px;
    }
}

/* 浮动徽章在手机端彻底禁用绝对定位
   — 覆盖 .pos-tl/tr/bl/br 更高 specificity 规则 */
@media (max-width: 991px) {
    .floating-badge.pos-tl,
    .floating-badge.pos-tr,
    .floating-badge.pos-bl,
    .floating-badge.pos-br {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        animation: none !important;
    }
    /* 给徽章容器在手机上排成横向 flex */
    .hero-visual-wrap {
        display: flex;
        flex-direction: column;
    }
    .hero-visual-wrap .hero-visual,
    .hero-visual-wrap .ai-hero-visual {
        order: 0;
    }
    /* 徽章组集中在图下方 */
    .hero-visual-wrap .floating-badge {
        order: 1;
        font-size: 0.78rem !important;
        padding: 8px 12px !important;
    }
}

/* 全局 section 垂直内边距 — 保证 eyebrow pill 和上一段卡片间有呼吸感
   （之前只写在 home.ejs 内联，其他页面桌面端等于 0，导致 pill 贴卡片） */
.section-padded { padding: 90px 0; }
.bg-light-gray { background: #F8FAFC; }
.bg-warm-white { background: #FFFBF0; }

/* 手机端 section-padded 减小上下间距，减少 scroll 长度 */
@media (max-width: 767px) {
    .section-padded { padding: 50px 0 !important; }
    .ai-section { padding: 55px 0 !important; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 28px; }
    .section-eyebrow { font-size: 0.7rem; }
}

/* 手机端 trust badges 稍微紧凑 */
@media (max-width: 767px) {
    .trust-badge {
        font-size: 0.78rem;
        padding: 5px 10px;
    }
    .trust-badges {
        margin-top: 16px;
        gap: 6px;
    }
}

/* 手机端 footer 避免 5 列挤压 — Bootstrap 已处理，但微调 */
@media (max-width: 767px) {
    .site-footer { padding: 50px 0 30px; }
    .site-footer h6 { font-size: 0.82rem; margin-bottom: 12px; }
    .site-footer ul li { font-size: 0.82rem; }
    .footer-brand img { height: 56px !important; }
}

/* 手机端 pricing cards 堆叠时去掉 Pro 版 scale(1.04) 放大 */
@media (max-width: 991px) {
    .pricing-card-highlighted {
        transform: none !important;
    }
    .pricing-card-highlighted:hover {
        transform: translateY(-4px) !important;
    }
}

/* 手机端 Hero 按钮全宽 */
@media (max-width: 575px) {
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* 手机端 AI 页 Before/After slider 高度限制 */
@media (max-width: 767px) {
    .tryon-slider { max-width: 100%; aspect-ratio: 3/4; }
}

/* 手机端 case sidebar 不 sticky（避免挤压内容区） */
@media (max-width: 991px) {
    .case-sidebar,
    .scenario-sidebar {
        position: static !important;
    }
}

/* 手机端浮动 chat 按钮（如果有）不要挡到 CTA */
@media (max-width: 575px) {
    .cta-banner { padding: 60px 20px !important; margin: 40px 16px !important; }
    .cta-banner-title { font-size: 1.6rem !important; }
    .cta-banner-sub { font-size: 0.92rem; }
    .btn-cta-primary-lg, .btn-cta-secondary-lg {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* ============================================= */
/* v3 Phase 5 统一 Hero 深色模式                   */
/* 让所有 Hero 走和 /ai 一样的「深色 + 透明 navbar → scroll 后白底」风格 */
/* ============================================= */

/* 所有 Hero / Section 大标题自动平衡两行字数（避免"队"类孤字）*/
.hero-title,
.section-title,
.hero-section h1,
.hero-section h2,
[class$="-hero"] h1,
[class$="-hero"] h2 {
    text-wrap: balance;
}

/* .hero-dark 全局覆盖 class — 给任何 section 加上即变深色 Hero */
.hero-dark {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 40%, #312E81 75%, #2A6CF5 100%) !important;
    color: #fff;
    position: relative;
    overflow: hidden;
}
/* 柔光装饰（类似 .ai-hero::before/after） */
.hero-dark::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.22) 0%, transparent 60%);
    top: -300px; right: -200px;
    pointer-events: none;
    z-index: 0;
}
.hero-dark::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(42,108,245,0.16) 0%, transparent 60%);
    bottom: -200px; left: -150px;
    pointer-events: none;
    z-index: 0;
}
.hero-dark > .container,
.hero-dark > div > .container {
    position: relative;
    z-index: 2;
}

/* 文字统一白色（覆盖各模板 inline style 里的深色）*/
.hero-dark .hero-title,
.hero-dark .section-title,
.hero-dark h1 {
    color: #fff !important;
    background: linear-gradient(135deg, #fff 30%, #C4B5FD 70%, #93C5FD 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-dark .hero-subtitle {
    color: rgba(255,255,255,0.88) !important;
}
.hero-dark .hero-description,
.hero-dark p {
    color: rgba(255,255,255,0.75) !important;
}
.hero-dark .section-eyebrow {
    background: rgba(124,58,237,0.22) !important;
    color: #C4B5FD !important;
    border: 1px solid rgba(124,58,237,0.35) !important;
}
.hero-dark .trust-badge {
    background: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.92) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
}
.hero-dark .trust-badge i { color: #86EFAC !important; }

/* 次要 CTA 在深底上 */
.hero-dark .btn-hero-secondary {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.3) !important;
}
.hero-dark .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.4) !important;
}

/* Hero 截图容器在深底上的 frame（保持白底阴影，对比鲜明）*/
.hero-dark .hero-visual,
.hero-dark .hero-visual-image {
    background: #fff !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1) !important;
}

/* Hero 全屏背景图变体 — 3D 渲染图作为整个 hero section 的背景
   场景：首页 hero（home-hero-3d.png），可被 .hero-bg-3d-* 子类通过 --hero-3d-img 变量覆盖图片
   各页面用法：<section class="... hero-bg-3d hero-bg-3d-kol">（kol/fulfillment/pos/accounting） */
.hero-section.hero-bg-3d {
    --hero-3d-img: url('/images/screenshots/hero/home-hero-3d.png');
    /* 默认渐变（首页用）— magenta → purple → indigo 多博主紫调；4 能力页通过子类覆盖此变量切换主色 */
    --hero-gradient: linear-gradient(125deg,
        #A8348C 0%,
        #833AB4 18%,
        #6E3FCF 36%,
        #5B51D8 54%,
        #4C3FBE 70%,
        #3F36A8 85%,
        #2D1B69 100%);
    background:
        /* 顶部 navbar 区暗化：让 navbar 上的 logo / 语言切换 / 旧版登入 / 免费预约演示 / burger 在亮色渐变上保住白色对比度 */
        linear-gradient(180deg,
            rgba(10, 8, 30, 0.6) 0%,
            rgba(10, 8, 30, 0.35) 8%,
            rgba(10, 8, 30, 0.1) 16%,
            rgba(10, 8, 30, 0) 22%),
        /* 左侧文字保护遮罩：让深色背景把标题/CTA 保住对比度，右侧 55% 后完全透明让渐变和图露出 */
        linear-gradient(90deg,
            rgba(10, 8, 30, 0.78) 0%,
            rgba(10, 8, 30, 0.55) 25%,
            rgba(10, 8, 30, 0.15) 45%,
            rgba(10, 8, 30, 0) 60%),
        /* 主图（变量驱动，子类可覆盖）— 浮在渐变之上 */
        var(--hero-3d-img) right center / contain no-repeat,
        /* 主色流动渐变（变量驱动，每页可定制）*/
        var(--hero-gradient) !important;
    /* 4 层 background：[顶部 navbar 暗化][左侧文字暗化][主图 75%][IG 渐变 400%] */
    background-size: 100%, 100%, auto 75%, 400% 400%;
    background-position: 0 0, 0 0, right center, 0% 50%;
    /* 主图限制在 content-box，其他三层（含两个遮罩 + IG 渐变）铺满 padding-box */
    background-origin: padding-box, padding-box, content-box, padding-box;
    background-clip: padding-box, padding-box, content-box, padding-box;
    /* 流动动画 — 25 秒一个循环，缓入缓出 */
    animation: ig-gradient-flow 25s ease-in-out infinite;
    /* 全屏 hero — 任何屏幕都满屏，进站第一眼必看；svh 处理移动端浏览器 URL 栏隐藏的视口变化 */
    min-height: 100vh;
    min-height: 100svh;
    /* 顶部留 navbar + 图的呼吸空间；底部留一点防止图触底 */
    padding-top: 130px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
}

@keyframes ig-gradient-flow {
    0%   { background-position: 0 0, 0 0, right center, 0% 50%; }
    25%  { background-position: 0 0, 0 0, right center, 50% 0%; }
    50%  { background-position: 0 0, 0 0, right center, 100% 50%; }
    75%  { background-position: 0 0, 0 0, right center, 50% 100%; }
    100% { background-position: 0 0, 0 0, right center, 0% 50%; }
}

/* 4 个能力页 hero 图 + 各自专属渐变（与图主色协调，让每页有独立色彩领地）
   --hero-3d-img: 主图路径 / --hero-gradient: 渐变 — 两个变量都覆盖 */

/* KOL · 紫色 dashboard → 纯紫色渐变 */
.hero-section.hero-bg-3d-kol {
    --hero-3d-img: url('/images/screenshots/hero/kol-hero-3d.png');
    --hero-gradient: linear-gradient(125deg,
        #9333EA 0%,
        #7C3AED 20%,
        #6D28D9 40%,
        #5B21B6 60%,
        #4C1D95 80%,
        #3B1180 100%);
}

/* Fulfillment · 紫蓝订单图 → indigo 渐变 */
.hero-section.hero-bg-3d-fulfillment {
    --hero-3d-img: url('/images/screenshots/hero/fulfillment-hero-3d.png');
    --hero-gradient: linear-gradient(125deg,
        #6366F1 0%,
        #4F46E5 20%,
        #4338CA 40%,
        #3730A3 60%,
        #312E81 80%,
        #1E1B4B 100%);
}

/* POS · 蓝色 POS 终端 → 纯蓝色渐变 */
.hero-section.hero-bg-3d-pos {
    --hero-3d-img: url('/images/screenshots/hero/pos-hero-3d.png');
    --hero-gradient: linear-gradient(125deg,
        #3B82F6 0%,
        #2563EB 20%,
        #1D4ED8 40%,
        #1E40AF 60%,
        #1E3A8A 80%,
        #172554 100%);
}

/* Accounting · 青色发票/计算器 → teal/cyan 渐变 */
.hero-section.hero-bg-3d-accounting {
    --hero-3d-img: url('/images/screenshots/hero/accounting-hero-3d.png');
    --hero-gradient: linear-gradient(125deg,
        #0EA5E9 0%,
        #0284C7 20%,
        #0369A1 40%,
        #075985 60%,
        #0C4A6E 80%,
        #082F49 100%);
}

/* Platform · 全平台总览主图（透明底 Photoroom 版）→ 纯色深紫，让主图霓虹高光自己发亮
   不走渐变 — 主图已自带 dashboard 紫 + 粉/青 neon，背景任何花式都在抢戏
   #1A0F3E「夜空紫」：比 indigo-950 再深一档，跟图里 dashboard 内底色同温层但更暗，让 3D 图浮起来 */
.hero-section.hero-bg-3d-platform {
    --hero-3d-img: url('/images/screenshots/hero/platform-hero-3d.png');
    --hero-gradient: linear-gradient(180deg, #1A0F3E 0%, #1A0F3E 100%);
}

/* AI · 内容工厂 dashboard 3D 主图（透明底）→ 用图自身色板做流动渐变，跟主图浑然一体
   sharp 真实采样图内部：TryOn 屏 #7A85EA 浅紫蓝 / TryOn 暗底 #281480 深紫罗兰 / 顶部菜单 #0E0A4B 深 indigo / 右侧产品卡 #0A1A6C
   125° 对角线从浅紫蓝 → 深 indigo，最尾段沉到 #050224 让边缘融入夜空 */
.hero-section.hero-bg-3d-ai {
    --hero-3d-img: url('/images/screenshots/hero/ai-hero-3d.png');
    --hero-gradient: linear-gradient(125deg,
        #7A85EA 0%,
        #5546C8 18%,
        #281480 40%,
        #0A1A6C 60%,
        #0E0A4B 80%,
        #050224 100%);
}

/* 5 个能力页主图：60% 高度（首页是 75%，但首页主图自带画布 padding；这 5 张主体几乎占满画布，60% 视觉等同首页 75%）
   不爆裂：原图 768-1500px native，60% 高度在 1080 视口约 500-600px，全程下采样
   不挡字：右侧居中显示，与左 col-lg-7 col-xl-6 文字区不重叠
   !important 必须 — 否则被 .hero-bg-3d 的 background: shorthand `!important` 锁死成 contain
   背景渐变与动画：完全不动，继承 .hero-bg-3d 的 IG 渐变和 ig-gradient-flow 动画（与首页同款） */
.hero-section.hero-bg-3d-kol,
.hero-section.hero-bg-3d-fulfillment,
.hero-section.hero-bg-3d-pos,
.hero-section.hero-bg-3d-accounting,
.hero-section.hero-bg-3d-ai {
    background-size: 100%, 100%, auto 60%, 400% 400% !important;
}
@media (max-width: 991.98px) {
    .hero-section.hero-bg-3d-kol,
    .hero-section.hero-bg-3d-fulfillment,
    .hero-section.hero-bg-3d-pos,
    .hero-section.hero-bg-3d-accounting,
    .hero-section.hero-bg-3d-ai {
        background-size: 100%, auto 50%, 400% 400% !important;
    }
}


/* Platform · Photoroom 透明底主图，主体偏宽（横向 dashboard + 周围 7 个圆环模组），
   55% 高度比其他能力页（60%）略小，但比 45% 更有视觉份量；配合右对齐的文字，左右更平衡 */
.hero-section.hero-bg-3d-platform {
    background-size: 100%, 100%, auto 55%, 400% 400% !important;
}
@media (max-width: 991.98px) {
    .hero-section.hero-bg-3d-platform {
        background-size: 100%, auto 45%, 400% 400% !important;
    }
}

/* Platform hero 主图位置：从「flush right」往左挪一点点，避免顶到 viewport 右边缘
   gradient 是纯色（180deg 同色），动画跑没意义 — 顺手关掉动画，让 background-position 静态生效 */
.hero-section.hero-bg-3d-platform {
    background-position: 0 0, 0 0, right 6% center, 0% 50% !important;
    animation: none !important;
}

/* 上面 .platform-hero 在 line 1860 有 text-align: center，导致 eyebrow / subtitle / description 全部居中
   覆盖回左对齐 — H1 用 .text-start，其他元素继承 left；CTA 已是 flex 行 + 默认 justify-content: flex-start */
.platform-hero {
    text-align: left !important;
}
/* subtitle / description 在 platform.ejs inline <style> 里用了 max-width:720px + margin: 0 auto，
   配合 inline style="margin-left:0" 已经左贴；不再需要额外处理 */

/* 用户偏好「减少动画」时关掉流动 */
@media (prefers-reduced-motion: reduce) {
    .hero-section.hero-bg-3d {
        animation: none;
    }
}
/* 关掉原 .hero-dark 的两个柔光圆（避免和 3D 图打架） */
.hero-section.hero-bg-3d::before,
.hero-section.hero-bg-3d::after {
    display: none !important;
}
@media (max-width: 991.98px) {
    /* 平板/手机：上半部加深遮罩保证文字可读，下半部露出 IG 渐变 + 透明图 */
    .hero-section.hero-bg-3d {
        background:
            linear-gradient(180deg,
                rgba(10, 8, 30, 0.85) 0%,
                rgba(10, 8, 30, 0.55) 50%,
                rgba(10, 8, 30, 0.15) 100%),
            var(--hero-3d-img) center bottom / contain no-repeat,
            linear-gradient(125deg,
                #E1306C 0%,
                #A8348C 25%,
                #6E3FCF 50%,
                #405DE6 75%,
                #2D1B69 100%) !important;
        background-size: 100%, contain, 400% 400%;
        background-position: 0 0, center bottom, 0% 50%;
        background-origin: padding-box, content-box, padding-box;
        background-clip: padding-box, content-box, padding-box;
        /* 手机端也满屏 hero — 覆盖全局 .hero-section { min-height: auto !important } */
        min-height: 100vh !important;
        min-height: 100svh !important;
        /* 顶部留 navbar 高度（~104px）+ 透气空间，navbar 透明所以 hero 可在它下方延伸 */
        padding-top: 110px !important;
        padding-bottom: 30px !important;
        /* 内容贴顶（不再垂直居中），消除 content 上下大空隙；图自然落到剩余底部 */
        align-items: flex-start !important;
        /* 手机端用专属动画，避免主图位置从 center bottom 跳到 right center */
        animation: ig-gradient-flow-mobile 25s ease-in-out infinite;
    }
    @keyframes ig-gradient-flow-mobile {
        0%   { background-position: 0 0, center bottom, 0% 50%; }
        25%  { background-position: 0 0, center bottom, 50% 0%; }
        50%  { background-position: 0 0, center bottom, 100% 50%; }
        75%  { background-position: 0 0, center bottom, 50% 100%; }
        100% { background-position: 0 0, center bottom, 0% 50%; }
    }
}

/* Hero 浮动徽章在深色背景自动切到深色半透明变体 */
.hero-dark .floating-badge:not(.floating-badge-dark) {
    background: rgba(15, 23, 42, 0.78) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.25) !important;
}
.hero-dark .floating-badge .fb-value:not(.fb-accent-green):not(.fb-accent-orange):not(.fb-accent-purple) {
    color: #C4B5FD !important;
}

/* ============================================
   Hero 质感升级 v1 — 仅作用于首页 .hero-bg-3d
   gradient-mesh + noise-texture + glassmorphism + CTA shimmer
   参考 Vibe Coding 4 类关键词框架
   ============================================ */

/* 1. gradient-mesh 多焦点彩光层（在 3D 背景图之上叠加）
   用三个不同色温的径向渐变模拟"色彩流体"，提升画面深度 */
.hero-section.hero-bg-3d {
    position: relative;
}
.hero-section.hero-bg-3d > .container {
    position: relative;
    z-index: 3;
}

/* 彩光焦点 #1 — 紫色暖光（左上）*/
.hero-section.hero-bg-3d::before {
    display: block !important;
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 15% 25%, rgba(139, 92, 246, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 600px 400px at 8% 80%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 500px 380px at 35% 55%, rgba(236, 72, 153, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    animation: hero-mesh-drift 18s ease-in-out infinite alternate;
}

/* 2. noise-texture 颗粒层 — SVG inline，~3% 不透明度，立刻摆脱"塑料感" */
.hero-section.hero-bg-3d::after {
    display: block !important;
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
    background-size: 240px 240px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
}

/* mesh 缓慢漂移 —— 让画面"活"起来但不喧宾夺主 */
@keyframes hero-mesh-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(2%, -1.5%, 0) scale(1.04); }
    100% { transform: translate3d(-1.5%, 1%, 0) scale(1.02); }
}

/* 减少动效偏好（无障碍） */
@media (prefers-reduced-motion: reduce) {
    .hero-section.hero-bg-3d::before { animation: none !important; }
}

/* 3. trust-badge 真·玻璃质感
   推广：所有 .hero-dark 共用（home/accounting/platform/pos/fulfillment/kol/solutions/cases）*/
.hero-dark .trust-badge {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.hero-dark .trust-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

/* 4. 主 CTA 按钮 shimmer 微交互（推广到所有 hero-dark）
   hover 时一道斜向高光从左滑到右，类似 Stripe / Linear */
.hero-dark .btn-hero-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero-dark .btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.0) 30%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.0) 70%,
        transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}
.hero-dark .btn-hero-primary:hover::before {
    left: 130%;
}
.hero-dark .btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 36px rgba(249, 115, 22, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

/* 5. 次要 CTA 按钮玻璃质感（推广到所有 hero-dark）*/
.hero-dark .btn-hero-secondary {
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    transition: all 0.3s ease;
}
.hero-dark .btn-hero-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* ============================================= */
/* 右下角浮动按钮 — WhatsApp + 回到顶部              */
/* ============================================= */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.floating-actions .fab {
    pointer-events: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease, visibility 0.25s ease;
}
.floating-actions .fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    color: #fff;
}
.fab-whatsapp {
    background: #25D366;
}
.fab-whatsapp:hover {
    background: #1FB855;
}
.fab-back-to-top {
    background: linear-gradient(135deg, #6E3FCF 0%, #4C3FBE 100%);
    /* 默认隐藏，由 JS 在滚动 > 400px 时加 .is-visible */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
}
.fab-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fab-back-to-top.is-visible:hover {
    transform: translateY(-3px);
}
@media (max-width: 575.98px) {
    .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
    .floating-actions .fab { width: 46px; height: 46px; font-size: 1.25rem; }
}
