/* ===== 场景编辑器能力专题页（/editor-features）与平台增值能力页（/platform-features）=====
   两页共用，复用 theme.css 的 --pt-* 设计令牌，风格与全站一致。 */
/* 锚点跳转留出自适应头部高度，避免目标区块标题被顶栏遮住 */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }

/* Hero（与教程页同款：图片背景 + 半透明遮罩 + 文字投影 + 同心圆花纹） */
.ef-hero {
    background: linear-gradient(135deg,rgba(79,110,247,.42) 0%,rgba(129,140,248,.30) 100%), url('../../banners/banner-guide.png') center/cover no-repeat;
    color: #fff;
    padding: 84px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.ef-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='10' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}
/* 已改为与教程页同款图片 banner，取消底部波浪（避免与下方内容底色出现接缝） */
.ef-hero > .layui-container { position: relative; z-index: 1; }
.ef-hero .layui-btn { background: #fff !important; color: var(--pt-primary, #4F6EF7) !important; border-color: #fff !important; font-weight: 600; }
.ef-hero .layui-btn:hover { background: #F0F0F0 !important; border-color: #fff !important; }
.ef-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 13px; letter-spacing: 1px; margin-bottom: 20px;
}
.ef-hero h1 { font-size: 40px; line-height: 1.25; font-weight: 700; margin: 0 0 18px; color: #fff; }
.ef-hero p { font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, 0.86); margin: 0 0 30px; }
.ef-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ef-hero .ef-btn-ghost { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.6) !important; }
.ef-hero .ef-btn-ghost:hover { background: rgba(255, 255, 255, 0.12) !important; border-color: rgba(255, 255, 255, 0.6) !important; }

/* Section 通用：上下留白拉开节奏，相邻区块不再粘连 */
.ef-section { padding: 48px 0 16px; }
.ef-section + .ef-section { padding-top: 24px; }
.ef-section-sub { color: var(--pt-text-secondary, #6B7280); font-size: 15px; line-height: 2; margin: 0 0 28px; max-width: 920px; }
.ef-section > .pt-section-head { margin-bottom: 22px; }

/* 可交互演示 */
.ef-demo-wrap {
    background: var(--pt-bg-white, #fff);
    border: 1px solid var(--pt-border, #E5E7EB);
    border-radius: var(--pt-radius, 10px);
    box-shadow: var(--pt-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
    overflow: hidden;
}
.ef-demo-stage {
    position: relative;
    height: 520px;
    background: #0b1226;
}
.ef-demo-pano { position: absolute; inset: 0; }
.ef-demo-stage:fullscreen, .ef-demo-stage:-webkit-full-screen { width: 100vw; height: 100vh; }
.ef-demo-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.ef-demo-hint {
    position: absolute; right: 12px; top: 12px; z-index: 5;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; font-size: 12px;
    color: #fff; background: rgba(15, 20, 40, 0.55);
    backdrop-filter: blur(4px); pointer-events: none;
}
.ef-demo-bar { padding: 14px 22px 18px; border-top: 1px solid var(--pt-border, #E5E7EB); }
.ef-demo-group { padding: 12px 0; }
.ef-demo-group + .ef-demo-group { border-top: 1px dashed var(--pt-border, #E5E7EB); }
.ef-demo-lbl {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--pt-text-secondary, #6B7280);
    margin-bottom: 8px;
}
.ef-demo-lbl .layui-icon { font-size: 14px; }
.ef-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ef-chip {
    padding: 6px 16px; border-radius: 999px; font-size: 13px; cursor: pointer;
    color: var(--pt-text, #1F2937); background: var(--pt-bg, #F3F4F6);
    border: 1px solid var(--pt-border, #E5E7EB); transition: all 0.18s ease;
}
.ef-chip:hover { border-color: var(--pt-primary, #4F6EF7); color: var(--pt-primary, #4F6EF7); }
.ef-chip.on {
    color: #fff; background: var(--pt-primary, #4F6EF7);
    border-color: var(--pt-primary, #4F6EF7);
    box-shadow: 0 2px 8px rgba(79, 110, 247, 0.35);
}
.ef-chip-reset { margin-left: auto; color: var(--pt-text-muted, #9CA3AF); }
.ef-chip-reset .layui-icon { font-size: 13px; margin-right: 2px; }
.ef-demo-empty {
    padding: 60px 0; text-align: center; color: var(--pt-text-muted, #9CA3AF);
    background: var(--pt-bg-white, #fff); border: 1px dashed var(--pt-border, #E5E7EB); border-radius: var(--pt-radius, 10px);
}
.ef-demo-empty .layui-icon { font-size: 46px; display: block; margin-bottom: 12px; }

/* 四大能力 */
.ef-feat-alt { background: var(--pt-bg, #F3F4F6); margin-top: 10px; padding: 48px 0 40px; }
.ef-feat-alt .pt-section-head { margin-bottom: 24px; }
.ef-feat {
    display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center;
    background: var(--pt-bg-white, #fff);
    border: 1px solid var(--pt-border, #E5E7EB);
    border-radius: var(--pt-radius, 10px);
    box-shadow: var(--pt-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.06));
    padding: 28px; margin-bottom: 24px;
}
.ef-feat-rev { grid-template-columns: 1fr 300px; }
.ef-feat-rev .ef-feat-media { order: 2; }
.ef-feat-rev .ef-feat-body { order: 1; }
.ef-feat-media { text-align: center; }
.ef-feat-ico {
    width: 84px; height: 84px; margin: 0 auto 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, #4f6ef7, #7a5cff);
    box-shadow: 0 10px 26px rgba(79, 110, 247, 0.32);
    display: flex; align-items: center; justify-content: center;
}
.ef-feat-ico .layui-icon { font-size: 40px; line-height: 1; color: #fff; }
.ef-ico-fx { background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 10px 26px rgba(239, 68, 68, 0.28); }
.ef-ico-hot { background: linear-gradient(135deg, #10b981, #0ea5e9); box-shadow: 0 10px 26px rgba(16, 185, 129, 0.28); }
.ef-ico-tour { background: linear-gradient(135deg, #4f6ef7, #7a5cff); }
.ef-ico-pub { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 10px 26px rgba(139, 92, 246, 0.28); }
.ef-feat-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ef-feat-chips li {
    font-size: 12px; color: var(--pt-text-secondary, #6B7280);
    background: var(--pt-bg, #F3F4F6); border: 1px solid var(--pt-border, #E5E7EB);
    padding: 4px 12px; border-radius: 999px;
}
.ef-feat-body h3 { font-size: 21px; margin: 0 0 10px; color: var(--pt-text, #1F2937); display: flex; align-items: center; gap: 12px; }
.ef-idx { font-size: 15px; font-weight: 800; color: var(--pt-primary, #4F6EF7); opacity: 0.5; letter-spacing: 1px; }
.ef-feat-body p { font-size: 15px; line-height: 1.9; color: var(--pt-text-secondary, #6B7280); margin: 0 0 10px; }
.ef-feat-list { list-style: none; padding: 0; margin: 0; }
.ef-feat-list li { position: relative; padding: 3px 0 3px 24px; font-size: 14px; color: var(--pt-text, #1F2937); }
.ef-feat-list li .layui-icon { position: absolute; left: 0; top: 4px; color: var(--pt-success, #10B981); font-size: 15px; }

/* 结尾 CTA */
.ef-cta { background: linear-gradient(135deg, #2b3f8c 0%, #4f6ef7 100%); color: #fff; padding: 44px 0; margin-top: 32px; }
.ef-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ef-cta h2 { font-size: 28px; margin: 0 0 8px; color: #fff; }
.ef-cta p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.ef-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ef-cta-btn { background: #fff !important; color: var(--pt-primary, #4F6EF7) !important; border: none !important; }
.ef-cta-ghost { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.6) !important; }
.ef-cta-ghost:hover { background: rgba(255, 255, 255, 0.12) !important; }

/* 首页引流卡片：与上方「为什么选择」同属介绍内容，不加顶部分隔线，自然衔接 */
.ef-teaser { padding: 60px 0; background: var(--pt-bg-white, #fff); }
.ef-teaser-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 8px 0 28px; }
.ef-teaser-item { display: block; text-align: center; padding: 20px; border-radius: var(--pt-radius, 10px); transition: background 0.18s ease; }
.ef-teaser-item:hover { background: var(--pt-bg, #F3F4F6); }
.ef-teaser-item .layui-icon { font-size: 48px; color: var(--pt-primary, #4F6EF7); display: block; margin-bottom: 16px; }
.ef-teaser-item h4 { margin: 0 0 8px; font-size: 16px; color: var(--pt-text, #1F2937); }
.ef-teaser-item p { margin: 0; font-size: 13px; color: var(--pt-text-muted, #9CA3AF); line-height: 1.7; }

/* 响应式 */
@media screen and (max-width: 900px) {
    .ef-hero h1 { font-size: 30px; }
    .ef-hide-sm { display: none; }
    .ef-feat, .ef-feat-rev { grid-template-columns: 1fr; }
    .ef-feat-rev .ef-feat-media { order: 0; }
    .ef-feat-rev .ef-feat-body { order: 1; }
    .ef-demo-stage { height: 340px; }
    .ef-teaser-grid { grid-template-columns: repeat(2, 1fr); }
    .ef-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media screen and (max-width: 520px) {
    .ef-hero h1 { font-size: 24px; }
    .ef-demo-stage { height: 240px; }
    .ef-teaser-grid { grid-template-columns: 1fr; }
    .ef-steps { grid-template-columns: 1fr; }
    .ef-cases { grid-template-columns: repeat(2, 1fr); }
}

/* 创作流程 */
.ef-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.ef-step { background: var(--pt-bg-white, #fff); border: 1px solid var(--pt-border, #E5E7EB); border-radius: var(--pt-radius, 10px); padding: 26px 22px; }
.ef-step-no { width: 44px; height: 44px; line-height: 44px; text-align: center; border-radius: 50%; background: var(--pt-primary, #4F6EF7); color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.ef-step h4 { margin: 0 0 8px; font-size: 17px; color: var(--pt-text, #1F2937); }
.ef-step p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--pt-text-secondary, #6B7280); }

/* 适用场景 */
.ef-cases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 8px; }
.ef-case { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px; background: var(--pt-bg-white, #fff); border: 1px solid var(--pt-border, #E5E7EB); border-radius: var(--pt-radius, 10px); transition: all 0.18s ease; }
.ef-case:hover { transform: translateY(-3px); box-shadow: var(--pt-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.1)); }
.ef-case .layui-icon { font-size: 30px; color: var(--pt-primary, #4F6EF7); }
.ef-case span { font-size: 14px; color: var(--pt-text, #1F2937); }

/* 更多能力 chips */
.ef-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ef-more-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--pt-border, #E5E7EB); border-radius: 999px; background: var(--pt-bg-white, #fff); font-size: 13px; color: var(--pt-text-secondary, #6B7280); }
.ef-more-chip .layui-icon { color: var(--pt-success, #10B981); font-size: 14px; }

@media screen and (max-width: 900px) {
    .ef-steps { grid-template-columns: repeat(2, 1fr); }
    .ef-cases { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 场景动态特效亮点画廊 ===== */
.ef-new-tag { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f97316, #ef4444); padding: 2px 9px; border-radius: 999px; letter-spacing: .5px; }
.ef-fxshow-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 6px 0 32px; }
.ef-fxshow-item { text-align: center; }
.ef-fxshow-item .fx-stage { height: 96px; border-radius: 12px; background: linear-gradient(165deg, #8fc3ee 0%, #5b8fc7 60%, #3f6ea5 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--pt-border, #E5E7EB); box-shadow: 0 2px 8px rgba(30, 60, 110, 0.14); }
.ef-fxshow-item .fx-stage img { width: 80%; height: 80%; object-fit: contain; display: block; }
.ef-fxshow-item span { display: block; margin-top: 8px; font-size: 13px; color: var(--pt-text, #1F2937); }
/* 卖点卡片：三列宽疏排版，悬停微浮起 */
.ef-fxshow-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ef-fxshow-feat { display: flex; gap: 14px; align-items: flex-start; background: var(--pt-bg-white, #fff); border: 1px solid var(--pt-border, #E5E7EB); border-radius: var(--pt-radius, 10px); padding: 22px 20px; transition: transform .18s ease, box-shadow .18s ease; }
.ef-fxshow-feat:hover { transform: translateY(-3px); box-shadow: var(--pt-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08)); }
.ef-fxshow-feat .layui-icon { font-size: 26px; color: var(--pt-primary, #4F6EF7); flex: 0 0 auto; margin-top: 2px; }
.ef-fxshow-feat b { display: block; font-size: 15px; color: var(--pt-text, #1F2937); margin-bottom: 5px; }
.ef-fxshow-feat span { font-size: 13px; color: var(--pt-text-secondary, #6B7280); line-height: 1.7; }
@media screen and (max-width: 900px) {
    .ef-fxshow-grid { grid-template-columns: repeat(3, 1fr); }
    .ef-fxshow-feats { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 520px) {
    .ef-fxshow-grid { grid-template-columns: repeat(2, 1fr); }
    .ef-fxshow-feats { grid-template-columns: 1fr; }
}
