/* SearchMetric animated product tour ("video" player made with HTML/CSS) */
.sm-tour{--ink:#0b1b3a;--blue:#1d4ed8;--blue2:#3b82f6;--cyan:#06b6d4;--line:#e6ebf5;--muted:#64748b;
  position:relative;width:100%;max-width:960px;margin:0 auto;border-radius:20px;overflow:hidden;background:#0a1630;
  box-shadow:0 30px 70px rgba(11,27,58,.28);font-family:'Plus Jakarta Sans',Inter,Arial,sans-serif;color:#334155;user-select:none}
.sm-tour *{box-sizing:border-box}
.sm-tour .sm-tour-play{padding:0}
.sm-tour button{width:auto;margin:0;box-shadow:none;text-transform:none;letter-spacing:normal;line-height:1.2}
.sm-tour-screen{position:relative;aspect-ratio:16/9;background:#f4f7fd;overflow:hidden;cursor:pointer}
.sm-tour.paused .sm-tour-screen *{animation-play-state:paused!important}

/* fake app window */
.smt-app{position:absolute;inset:0;display:grid;grid-template-columns:22% 1fr}
.smt-side{background:#0a1630;padding:4.5% 6%;display:flex;flex-direction:column;gap:3%}
.smt-logo{color:#fff;font-weight:800;font-size:clamp(9px,1.6vw,15px);margin-bottom:6%}
.smt-logo b{color:#3b82f6}
.smt-nav{font-size:clamp(6px,1.05vw,11px);color:#c7d2ea;padding:5% 7%;border-radius:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smt-nav.on{background:linear-gradient(135deg,#1d4ed8,#3b82f6);color:#fff;font-weight:700}
.smt-main{padding:3.2% 3.6%;display:flex;flex-direction:column;gap:2.4%;min-width:0}
.smt-h{font-weight:800;color:var(--ink);font-size:clamp(10px,2vw,20px)}
.smt-sub{font-size:clamp(6px,1.05vw,11px);color:var(--muted);margin-top:-1.4%}
.smt-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:2.2% 2.6%}
.smt-search{display:flex;gap:2%;align-items:center}
.smt-input{flex:1;background:#fff;border:1.5px solid #c7d6ff;border-radius:10px;padding:1.6% 2.2%;font-size:clamp(7px,1.3vw,13px);color:var(--ink);font-weight:600;min-height:2.4em;display:flex;align-items:center}
.smt-btn{background:linear-gradient(135deg,#1d4ed8,#3b82f6);color:#fff;border-radius:10px;padding:1.6% 3%;font-weight:800;font-size:clamp(7px,1.2vw,12px);white-space:nowrap}
.smt-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:2%}
.smt-stat small{display:block;font-size:clamp(5px,.85vw,9px);font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.smt-stat b{font-size:clamp(9px,1.9vw,19px);color:var(--ink)}
.smt-table{width:100%;border-collapse:collapse;font-size:clamp(6px,1.05vw,11px)}
.smt-table th{text-align:left;color:var(--muted);font-weight:800;font-size:.85em;text-transform:uppercase;padding:1.2% 1%;border-bottom:1px solid var(--line)}
.smt-table td{padding:1.4% 1%;border-bottom:1px solid #f1f5f9;color:var(--ink)}
.smt-chip{display:inline-block;padding:.15em .6em;border-radius:999px;font-weight:800;font-size:.9em}
.smt-g{background:#dcfce7;color:#15803d}.smt-y{background:#fef3c7;color:#b45309}.smt-r{background:#fee2e2;color:#b91c1c}.smt-b{background:#dbeafe;color:#1d4ed8}
.smt-grid2{display:grid;grid-template-columns:1fr 1fr;gap:2.4%}
.smt-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:2%}
.smt-niche{font-size:clamp(6px,1vw,10.5px)}
.smt-niche b{display:block;color:var(--ink);font-size:1.2em}
.smt-niche .en{color:#0e7490;font-weight:700}
.smt-ai{margin-top:4%;padding:4%;border-radius:8px;background:#f0fdf4;color:#15803d;font-weight:800}
.smt-ai.maybe{background:#fffbeb;color:#b45309}
.smt-doms{margin-top:4%;display:flex;flex-wrap:wrap;gap:3%}
.smt-ring{width:clamp(50px,13vw,130px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(#16a34a calc(var(--p,0)*1%),#e2e8f0 0);transition:--p 1s}
.smt-ring div{width:78%;aspect-ratio:1;border-radius:50%;background:#fff;display:grid;place-items:center;font-weight:800;color:var(--ink);font-size:clamp(12px,2.6vw,26px)}
.smt-check{display:flex;gap:2%;align-items:center;font-size:clamp(6px,1.05vw,11px);padding:1.2% 0;border-bottom:1px solid #f1f5f9}
.smt-chart{width:100%;height:auto;display:block}
.smt-chart path.line{fill:none;stroke:#3b82f6;stroke-width:3;stroke-linecap:round;stroke-dasharray:600;stroke-dashoffset:600;animation:smtDraw 2.2s ease forwards;animation-delay:var(--d,0s)}
.smt-chart path.area{fill:url(#smtArea);opacity:0;animation:smtFade .8s ease forwards;animation-delay:calc(var(--d,0s) + 1.6s)}
.smt-tabs{display:flex;gap:1.5%;font-size:clamp(6px,1vw,10.5px);font-weight:800}
.smt-tabs span{padding:.5em 1em;border-radius:8px;background:#fff;border:1px solid var(--line);color:#475569}
.smt-tabs span.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.smt-cta{position:absolute;inset:0;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 50% 40%,#1d4ed8,#0a1630 70%);color:#fff;padding:6%}
.smt-cta h3{margin:0;font-size:clamp(16px,3.6vw,38px);line-height:1.15}
.smt-cta p{margin:2% 0 4%;color:#c7d6ff;font-size:clamp(8px,1.6vw,16px)}
.smt-cta .smt-btn{display:inline-block;font-size:clamp(9px,1.6vw,16px);padding:1em 2em}

/* reveal helpers (delay with style="--d:1.2s") */
.smt-in{opacity:0;transform:translateY(10px);animation:smtIn .55s cubic-bezier(.2,.7,.2,1) forwards;animation-delay:var(--d,0s)}
.smt-pop{opacity:0;transform:scale(.9);animation:smtPop .45s cubic-bezier(.2,.9,.3,1.3) forwards;animation-delay:var(--d,0s)}
.smt-type{display:inline-block;white-space:nowrap;clip-path:inset(0 100% 0 0);animation:smtType var(--t,1.3s) steps(var(--n,20)) forwards;animation-delay:var(--d,0s)}
.smt-caret{display:inline-block;width:2px;height:1.1em;background:var(--blue);margin-left:2px;vertical-align:middle;animation:smtBlink 1s steps(1) infinite}
.smt-hl{animation:smtHl 1.2s ease forwards;animation-delay:var(--d,0s)}
@keyframes smtIn{to{opacity:1;transform:none}}
@keyframes smtPop{to{opacity:1;transform:none}}
@keyframes smtType{to{clip-path:inset(0 0 0 0)}}
@keyframes smtBlink{50%{opacity:0}}
@keyframes smtDraw{to{stroke-dashoffset:0}}
@keyframes smtFade{to{opacity:.35}}
@keyframes smtHl{0%{box-shadow:0 0 0 0 rgba(59,130,246,.0)}40%{box-shadow:0 0 0 4px rgba(59,130,246,.45)}100%{box-shadow:0 0 0 2px rgba(59,130,246,.25)}}

/* mouse pointer that glides to targets */
.smt-mouse{position:absolute;width:clamp(12px,2vw,20px);z-index:5;pointer-events:none;transition:left .9s cubic-bezier(.4,0,.2,1),top .9s cubic-bezier(.4,0,.2,1);filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.smt-mouse.click:after{content:"";position:absolute;left:-60%;top:-60%;width:120%;height:120%;border-radius:50%;border:2px solid #3b82f6;animation:smtRipple .5s ease-out}
@keyframes smtRipple{from{transform:scale(.3);opacity:1}to{transform:scale(1.6);opacity:0}}

/* caption + controls (the "video" chrome) */
.sm-tour-cap{position:absolute;left:50%;bottom:5%;transform:translateX(-50%);max-width:86%;background:rgba(11,27,58,.88);color:#fff;
  padding:.55em 1.1em;border-radius:12px;font-weight:700;font-size:clamp(9px,1.55vw,16px);text-align:center;line-height:1.35;z-index:6;
  transition:opacity .3s;backdrop-filter:blur(4px)}
.sm-tour-cap:empty{opacity:0}
.sm-tour-big{position:absolute;inset:0;display:grid;place-items:center;z-index:7;background:rgba(10,22,48,.25);opacity:0;transition:opacity .25s;pointer-events:none}
.sm-tour.paused .sm-tour-big{opacity:1}
.sm-tour-big span{width:clamp(48px,8vw,78px);aspect-ratio:1;border-radius:50%;background:rgba(255,255,255,.95);display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.sm-tour-big span:before{content:"";margin-left:12%;border-left:clamp(14px,2.4vw,24px) solid #1d4ed8;border-top:clamp(9px,1.5vw,15px) solid transparent;border-bottom:clamp(9px,1.5vw,15px) solid transparent}
.sm-tour-bar{display:flex;align-items:center;gap:12px;padding:10px 14px;background:#0a1630;color:#c7d2ea}
.sm-tour-play{flex:0 0 34px;height:34px;border-radius:50%;border:0;background:#1d4ed8;color:#fff;cursor:pointer;font-size:13px;display:grid;place-items:center}
.sm-tour-segs{flex:1;display:flex;gap:4px}
.sm-tour-seg{flex:1;height:6px;border-radius:6px;background:rgba(255,255,255,.15);overflow:hidden;cursor:pointer;position:relative}
.sm-tour-seg i{display:block;height:100%;width:0;background:linear-gradient(90deg,#3b82f6,#06b6d4)}
.sm-tour-time{font-size:12px;font-weight:700;min-width:70px;text-align:right;font-variant-numeric:tabular-nums}
.sm-tour-chaps{display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 12px;background:#0a1630}
.sm-tour-chaps button{border:1px solid rgba(255,255,255,.14);background:transparent;color:#c7d2ea;border-radius:999px;padding:5px 11px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.sm-tour-chaps button.on{background:#fff;color:#0b1b3a;border-color:#fff}
@media(max-width:560px){.sm-tour-chaps{display:none}.sm-tour-time{display:none}}
@media(prefers-reduced-motion:reduce){.sm-tour .smt-in,.sm-tour .smt-pop{animation-duration:.01s}}