/* Eastech homepage updates — demos tabs, AI product showcase and four-step journey. */
.ecs-smb-home .ecs-ai-showcase { padding: 62px 0 68px; }
.ecs-smb-home .ecs-ai-showcase .section-head { margin-bottom: 28px; }
.ecs-smb-home .ecs-ai-main-grid.ecs-ai-showcase-grid { grid-template-columns: minmax(0,.9fr) minmax(340px,1.1fr); gap: 34px; align-items: center; }
.ecs-smb-home .ecs-agent-proof-card {width:500px;  min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: #fff; color: #1c1c3a; box-shadow: 0 25px 55px rgba(8,8,30,.24); }
.ecs-agent-proof-head { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 16px; background:#f7f6fb; border-bottom:1px solid #eceaf3; }
.ecs-agent-proof-label { color:#5a56a8; font-size:9px; font-weight:800; letter-spacing:.12em; }
.ecs-agent-proof-business { color:#77748b; font-size:9px; font-weight:800; letter-spacing:.1em; }
.ecs-agent-proof-image-wrap 
{ display:flex; align-items:center; justify-content:center; 
  padding:14px; max-height:415px; overflow:hidden; 
  }
.ecs-agent-proof-image-wrap img { display:block; width:auto; max-width:100%; height:390px; object-fit:contain; border-radius:12px; box-shadow:0 12px 28px rgba(22,20,46,.12); }
.ecs-agent-proof-card figcaption { display:grid; gap:4px; padding:12px 16px 15px; }
.ecs-agent-proof-card figcaption b { color:#1c1c3a; font-size:12px; }
.ecs-agent-proof-card figcaption span { color:#6f6d7b; font-size:11px; line-height:1.55; }
.ecs-smb-home .ecs-agent-capability-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:24px; }
.ecs-smb-home .ecs-agent-capability-grid .ecs-agent-type-card { padding:13px; }
.ecs-agent-capability-grid .ecs-agent-visual { height:145px; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:10px; background:linear-gradient(140deg,#f4f1fb,#fff2e4); }
.ecs-capability-chat,.ecs-capability-request,.ecs-capability-lead { width:88%; padding:11px; border:1px solid #e7e3f0; border-radius:10px; background:#fff; color:#29264d; box-shadow:0 7px 18px rgba(28,28,58,.08); }
.ecs-capability-label { display:block; margin-bottom:8px; color:#8c879e; font-size:7px; font-weight:800; letter-spacing:.1em; }
.ecs-capability-bubble { max-width:95%; margin:6px 0; padding:7px 8px; border-radius:8px; font-size:8px; line-height:1.45; }
.ecs-capability-bubble.customer { margin-left:auto; background:#fff0df; color:#704211; }
.ecs-capability-bubble.assistant { background:#f1effb; color:#45416f; }
.ecs-capability-input { display:flex; justify-content:space-between; margin-top:8px; padding:7px 8px; border:1px solid #ebe8f2; border-radius:7px; color:#9692a5; font-size:7px; }
.ecs-capability-input b { color:#e8871a; }
.ecs-capability-request>b,.ecs-capability-lead>b { display:block; margin:0 0 8px; color:#36325e; font-size:10px; }
.ecs-request-line { display:flex; align-items:center; gap:6px; margin:6px 0; color:#646078; font-size:8px; }
.ecs-request-line i { display:grid; place-items:center; width:14px; height:14px; border-radius:50%; background:#eaf7ef; color:#22865c; font-size:8px; font-style:normal; }
.ecs-lead-row { display:flex; align-items:center; gap:6px; padding:7px 6px; border-radius:7px; background:#faf9fd; }
.ecs-lead-avatar { display:grid; place-items:center; width:25px; height:25px; flex:none; border-radius:50%; background:#fcebdc; color:#9d5a1a; font-size:8px; font-weight:800; }
.ecs-lead-row>span:nth-child(2) { flex:1; min-width:0; }
.ecs-lead-row strong,.ecs-lead-row small { display:block; }
.ecs-lead-row strong { color:#39355e; font-size:8px; }
.ecs-lead-row small { margin-top:2px; color:#908ca0; font-size:6px; }
.ecs-lead-row em { padding:3px 5px; border-radius:99px; background:#fff0df; color:#b76718; font-size:6px; font-style:normal; font-weight:800; }
.ecs-lead-footer { display:flex; justify-content:space-between; gap:5px; margin-top:8px; color:#8a8799; font-size:6px; }
.ecs-lead-footer b { color:#5a56a8; }
.ecs-agent-type-card .ecs-agent-type-title-row { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:11px; }
.ecs-agent-type-title-row h3 { margin:0; }
.ecs-coming-soon { display:inline-flex; align-items:center; padding:4px 7px; border:1px solid rgba(247,148,30,.35); border-radius:99px; background:rgba(247,148,30,.13); color:#ffc47f; font-size:8px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.ecs-agent-type-card.ecs-voice-card .ecs-agent-visual { background:linear-gradient(140deg,#302b67,#211e4b); }
.ecs-agent-type-card.ecs-voice-card .ecs-voice-card { transform:scale(.84); }

/* Compact demo tabs with one active panel and a horizontal three-card window. */
.ecs-smb-home .live-demos { padding:52px 0 58px; background:#f8f5f0; }
.ecs-smb-home .ecs-demo-section-head { max-width:780px; margin-bottom:20px; }
.ecs-demo-section-head h2 { margin-bottom:9px; }
.ecs-demo-section-head p { margin:0; }
.ecs-demo-tabs { display:flex; gap:8px; flex-wrap:wrap; margin:20px 0 18px; padding:5px; width:max-content; max-width:100%; border:1px solid #e7dfd4; border-radius:12px; background:#fff; }
.ecs-demo-tab { min-height:42px; padding:10px 17px; border:0; border-radius:8px; background:transparent; color:#5f5a54; font:600 12px 'Poppins',sans-serif; cursor:pointer; transition:background .18s ease,color .18s ease,box-shadow .18s ease; }
.ecs-demo-tab:hover { color:#3c3785; background:#f5f2fb; }
.ecs-demo-tab.active { background:#1c1c3a; color:#fff; box-shadow:0 5px 14px rgba(28,28,58,.14); }
.ecs-demo-panel[hidden] { display:none !important; }
.ecs-demo-rail { width:100%; }
.ecs-smb-home .demos-grid.ecs-demo-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 36px)/3); grid-template-columns:none; gap:18px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scroll-padding:2px; padding:3px 2px 12px; scrollbar-width:thin; scrollbar-color:#b8b0a4 transparent; }
.ecs-demo-track > .demo-card { min-width:0; scroll-snap-align:start; }
.ecs-demo-track .demo-thumb { height:160px; }
.ecs-demo-track .demo-body { padding:17px 18px 20px; }
.ecs-demo-track .demo-body p { min-height:76px; }
.ecs-demo-rail-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:3px; color:#777169; font-size:10px; }
.ecs-demo-arrows { display:flex; gap:7px; }
.ecs-demo-arrows button { display:grid; place-items:center; width:33px; height:33px; border:1px solid #ded6ca; border-radius:50%; background:#fff; color:#3c3785; font-size:22px; line-height:1; cursor:pointer; }
.ecs-demo-arrows button:hover { border-color:#f4611e; color:#f4611e; }
.ecs-agent-demo-thumb { display:flex; align-items:center; justify-content:center; background:linear-gradient(140deg,#f5f2fb,#fff3e6); }
.ecs-demo-track .ecs-agent-demo-thumb img { width:auto; max-width:100%; height:100%; object-fit:contain; padding:6px; }
.ecs-demo-track .ecs-agent-demo-thumb .badge { z-index:1; }

/* Four-step illustrated customer journey. */
.ecs-smb-home .ecs-workflow { padding:64px 0 68px; background:#f7f3ed; }
.ecs-smb-home .ecs-workflow .section-head { margin-bottom:28px; }
.ecs-smb-home .ecs-workflow-grid.ecs-workflow-grid-v2 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; align-items:stretch; }
.ecs-workflow-grid-v2 .ecs-flow-step { position:relative; min-width:0; padding:17px 15px 18px; border:1px solid #e9e1d6; border-radius:15px; background:#fff; text-align:left; box-shadow:0 8px 24px rgba(28,28,58,.045); }
.ecs-workflow-grid-v2 .ecs-flow-step:not(:last-child):after { content:'→'; position:absolute; z-index:2; top:65px; right:-18px; display:grid; place-items:center; width:23px; height:23px; border:1px solid #f3d0ac; border-radius:50%; background:#fff8ef; color:#e8871a; font-size:14px; font-weight:700; }
.ecs-flow-number { color:#e8871a; font-size:10px; font-weight:800; letter-spacing:.12em; }
.ecs-flow-visual { display:flex; align-items:center; justify-content:center; height:142px; margin:11px 0 14px; padding:11px; overflow:hidden; border-radius:11px; background:linear-gradient(140deg,#f4f1fb,#fff3e7); }
.ecs-flow-window { width:100%; overflow:hidden; border:1px solid #e6e2ee; border-radius:8px; background:#fff; box-shadow:0 6px 14px rgba(28,28,58,.07); }
.ecs-flow-window-top { display:flex; align-items:center; gap:4px; padding:7px 8px; border-bottom:1px solid #efedf3; background:#faf9fc; }
.ecs-flow-window-top i { width:5px; height:5px; border-radius:50%; background:#f7941e; }
.ecs-flow-window-top i:nth-child(2) { background:#9a96d2; }.ecs-flow-window-top i:nth-child(3) { background:#d0cedd; }
.ecs-flow-window-top span { margin-left:5px; color:#88849a; font-size:6px; }
.ecs-flow-message { width:88%; margin:8px 8px; padding:7px; border-radius:7px; font-size:7px; line-height:1.45; }
.ecs-flow-message.customer { margin-left:auto; background:#fff0df; color:#774719; }
.ecs-flow-message.muted { background:#f4f2f8; color:#77738a; }
.ecs-flow-agent-head { display:flex; align-items:center; gap:7px; width:100%; padding:9px; border:1px solid #e6e2ee; border-radius:8px 8px 0 0; background:#fff; }
.ecs-flow-agent-head>span { display:grid; place-items:center; width:23px; height:23px; border-radius:7px; background:#fcebdc; color:#d77c1c; }
.ecs-flow-agent-head b,.ecs-flow-agent-head small { display:block; }
.ecs-flow-agent-head b { color:#36325e; font-size:8px; }.ecs-flow-agent-head small { color:#89859a; font-size:6px; }
.ecs-flow-agent-head>i { width:6px; height:6px; margin-left:auto; border-radius:50%; background:#28a46f; }
.ecs-flow-agent-foot { width:100%; padding:7px 9px; border:1px solid #e6e2ee; border-top:0; border-radius:0 0 8px 8px; background:#faf9fc; color:#8b8799; font-size:6px; }
.ecs-flow-visual-agent,.ecs-flow-visual-action,.ecs-flow-visual-result { flex-direction:column; align-items:stretch; justify-content:center; }
.ecs-flow-visual-action { justify-content:flex-start; }
.ecs-flow-request-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; color:#36325e; font-size:9px; }
.ecs-flow-request-head span { padding:3px 6px; border-radius:99px; background:#eaf7ef; color:#25845d; font-size:6px; }
.ecs-flow-request-row { display:flex; align-items:center; gap:6px; margin:7px 0; color:#68647b; font-size:7px; }
.ecs-flow-request-row i { display:grid; place-items:center; width:13px; height:13px; border-radius:50%; background:#eeeaf8; color:#5a56a8; font-size:7px; font-style:normal; }
.ecs-flow-request-button { margin-top:auto; padding:6px; border-radius:6px; background:linear-gradient(110deg,#f7941e,#f4611e); color:#fff; font-size:7px; font-weight:700; text-align:center; }
.ecs-flow-dashboard-head { display:flex; justify-content:space-between; align-items:center; gap:5px; width:100%; color:#37345d; font-size:8px; }
.ecs-flow-dashboard-head span { color:#2b9768; font-size:6px; }
.ecs-flow-stat-row { display:grid; grid-template-columns:1fr 1fr; gap:6px; width:100%; margin:8px 0; }
.ecs-flow-stat-row>div { padding:7px; border:1px solid #eeeaf4; border-radius:6px; background:#fff; }
.ecs-flow-stat-row small,.ecs-flow-stat-row b { display:block; }.ecs-flow-stat-row small { color:#89859a; font-size:6px; }.ecs-flow-stat-row b { margin-top:3px; color:#5a56a8; font-size:14px; }
.ecs-flow-lead-row { display:flex; align-items:center; gap:6px; width:100%; padding:7px; border-radius:7px; background:#fff; }
.ecs-flow-lead-row>i { display:grid; place-items:center; width:22px; height:22px; flex:none; border-radius:50%; background:#fcebdc; color:#985814; font-size:6px; font-style:normal; }
.ecs-flow-lead-row span { flex:1; min-width:0; }.ecs-flow-lead-row b,.ecs-flow-lead-row small { display:block; }.ecs-flow-lead-row b { color:#403d61; font-size:7px; }.ecs-flow-lead-row small { margin-top:2px; color:#9994a6; font-size:6px; }.ecs-flow-lead-row em { padding:3px 5px; border-radius:99px; background:#eaf7ef; color:#23845b; font-size:6px; font-style:normal; font-weight:800; }
.ecs-flow-step h3 { margin:0 0 7px; color:#1c1c3a; font-size:13px; }.ecs-flow-step p { margin:0; color:#777169; font-size:10px; line-height:1.65; }

/* Compact home links replacing the full FAQ and Contact sections. */
.ecs-home-resources { padding:28px 0; border-top:1px solid #ece4da; background:#fff; }
.ecs-home-resources-inner { display:flex; justify-content:space-between; align-items:center; gap:28px; }
.ecs-home-resources-kicker { color:#e8871a; font-size:9px; font-weight:800; letter-spacing:.12em; }
.ecs-home-resources h2 { margin:5px 0 4px; color:#1c1c3a; font-size:19px; line-height:1.3; }
.ecs-home-resources p { margin:0; color:#777169; font-size:11px; }
.ecs-home-resource-actions { display:flex; align-items:center; gap:18px; flex:none; }
.ecs-home-resource-link { color:#5a56a8; font-size:12px; font-weight:800; text-decoration:none; }
.ecs-home-resource-link:hover { color:#f4611e; }
.ecs-home-resource-actions .ecs-btn { min-height:40px; padding:9px 15px; font-size:11px; }
@media(max-width:1050px) {
  .ecs-smb-home .ecs-agent-capability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ecs-smb-home .ecs-workflow-grid.ecs-workflow-grid-v2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ecs-workflow-grid-v2 .ecs-flow-step:nth-child(2):after { display:none; }
  .ecs-smb-home .demos-grid.ecs-demo-track { grid-auto-columns:calc((100% - 18px)/2); }
}
@media(max-width:800px) {
  .ecs-smb-home .ecs-ai-main-grid.ecs-ai-showcase-grid { grid-template-columns:1fr; gap:25px; }
  .ecs-agent-proof-card { max-width:570px; margin-inline:auto !important; }
  .ecs-agent-proof-image-wrap img { height:360px; }
  .ecs-home-resources-inner { align-items:flex-start; flex-direction:column; gap:17px; }
}
@media(max-width:620px) {
  .ecs-smb-home .ecs-ai-showcase { padding:54px 0; }
  .ecs-smb-home .ecs-agent-capability-grid { grid-template-columns:1fr 1fr; }
  .ecs-agent-capability-grid .ecs-agent-visual { height:118px; }
  .ecs-agent-type-card .ecs-agent-type-title-row { grid-column:2; margin-top:0; }
  .ecs-agent-type-card.ecs-voice-card .ecs-agent-type-title-row { align-items:flex-start; }
  .ecs-agent-proof-image-wrap img { height:320px; }
  .ecs-smb-home .live-demos { padding:45px 0 48px; }
  .ecs-demo-tabs { width:100%; display:grid; grid-template-columns:1fr 1fr; }
  .ecs-demo-tab { padding:9px 8px; font-size:10px; }
  .ecs-smb-home .demos-grid.ecs-demo-track { grid-auto-columns:86%; gap:12px; }
  .ecs-demo-track .demo-thumb { height:150px; }
  .ecs-demo-track .demo-body p { min-height:0; }
  .ecs-demo-rail-footer { font-size:9px; }
  .ecs-smb-home .ecs-workflow { padding:52px 0; }
  .ecs-smb-home .ecs-workflow-grid.ecs-workflow-grid-v2 { grid-template-columns:1fr; gap:12px; }
  .ecs-workflow-grid-v2 .ecs-flow-step { display:grid; grid-template-columns:90px minmax(0,1fr); column-gap:12px; align-items:start; padding:13px; }
  .ecs-workflow-grid-v2 .ecs-flow-step:not(:last-child):after { content:'↓'; top:auto; right:50%; bottom:-18px; width:22px; height:22px; transform:translateX(50%); }
  .ecs-flow-number { grid-column:1/-1; }
  .ecs-flow-visual { grid-column:1; grid-row:2/4; height:104px; margin:8px 0 0; padding:7px; }
  .ecs-flow-step h3 { grid-column:2; align-self:end; margin:10px 0 3px; font-size:12px; }
  .ecs-flow-step p { grid-column:2; align-self:start; font-size:9px; }
  .ecs-flow-message { margin:5px; font-size:6px; }
  .ecs-workflow-grid-v2 .ecs-flow-step:nth-child(2):after { display:grid; }
  .ecs-home-resources { padding:24px 0; }
  .ecs-home-resources h2 { font-size:17px; }
  .ecs-home-resource-actions { width:100%; gap:13px; justify-content:space-between; }
  .ecs-home-resource-actions .ecs-btn { width:auto; }
}
@media(prefers-reduced-motion:reduce) {
  .ecs-demo-tab { transition:none; }
}
