/* TALANUM Site V2 scanner motion.
   Motion explains public-scan state changes only; it never implies a Deep Audit start.
   Content remains readable from the first frame; motion must never create a blank result panel. */

.estimate-result .result-panel-shell{
  animation:talanum-scan-panel-in .42s cubic-bezier(.2,.72,.24,1) both;
}

.estimate-result .result-title,
.estimate-result .result-subtext,
.estimate-result .scanned-url-pill{
  animation:talanum-scan-copy-in .34s ease-out both;
}
.estimate-result .result-title{animation-delay:.04s}
.estimate-result .result-subtext{animation-delay:.08s}
.estimate-result .scanned-url-pill{animation-delay:.03s}

.loading-panel .scan-line{
  position:relative;
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(253,196,31,.08),0 0 28px rgba(253,196,31,.08);
}
.loading-panel .scan-line:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent 0%,rgba(253,196,31,.18) 34%,#FDC41F 50%,rgba(253,196,31,.18) 66%,transparent 100%);
  transform:translateX(-110%);
  animation:talanum-public-scan-sweep 1.7s cubic-bezier(.55,.08,.4,.95) infinite;
}
.loading-panel .loading-grid{
  perspective:900px;
}
.loading-panel .loading-card{
  position:relative;
  transform-style:preserve-3d;
  animation:talanum-scan-card-in .34s ease-out both;
}
.loading-panel .loading-card:nth-child(1){animation-delay:.08s;--loading-card-rotate:2deg;--loading-card-z:5px}
.loading-panel .loading-card:nth-child(2){animation-delay:.13s;--loading-card-y:-3px;--loading-card-z:12px}
.loading-panel .loading-card:nth-child(3){animation-delay:.18s;--loading-card-rotate:-2deg;--loading-card-z:5px}
.loading-panel .loading-card:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 1px 0 rgba(253,196,31,.08);
}
.loading-panel .loading-bars span{
  transform-origin:left;
  animation:talanum-scan-bar 1.35s ease-in-out infinite;
}
.loading-panel .loading-bars span:nth-child(2){animation-delay:.15s}
.loading-panel .loading-bars span:nth-child(3){animation-delay:.3s}

.seller-service-result .result-flow .flow-step,
.seller-service-result .price-card,
.seller-service-result .scope-item,
.seller-service-result .detail-card,
.seller-service-result .offer-value-section,
.seller-service-result .lead-card,
.estimate-result .estimate-review-note,
.estimate-result .lead-card{
  opacity:1;
  transform:translateY(10px);
  animation:talanum-scan-result-in .36s ease-out forwards;
}
.seller-service-result .result-flow .flow-step:nth-child(1){animation-delay:.06s}
.seller-service-result .result-flow .flow-step:nth-child(2){animation-delay:.1s}
.seller-service-result .result-flow .flow-step:nth-child(3){animation-delay:.14s}
.seller-service-result .price-card:nth-child(1){animation-delay:.12s}
.seller-service-result .price-card:nth-child(2){animation-delay:.16s}
.seller-service-result .scope-item:nth-child(1){animation-delay:.18s}
.seller-service-result .scope-item:nth-child(2){animation-delay:.22s}
.seller-service-result .scope-item:nth-child(3){animation-delay:.26s}
.seller-service-result .detail-card{animation-delay:.28s}
.seller-service-result .offer-value-section{animation-delay:.31s}
.seller-service-result .lead-card{animation-delay:.34s}
.estimate-result .estimate-review-note{animation-delay:.1s}
.estimate-result .lead-card{animation-delay:.14s}

/* Result evidence is presented as a layered scan, not a flat block list. */
.seller-service-result .scope-grid{
  perspective:950px;
  isolation:isolate;
}
.seller-service-result .scope-item{
  position:relative;
  transform-style:preserve-3d;
  box-shadow:0 12px 24px rgba(0,0,0,.12);
}
.seller-service-result .scope-item:nth-child(1){z-index:1;--scan-result-y:6px;--scan-result-rotate:2deg}
.seller-service-result .scope-item:nth-child(2){z-index:3;--scan-result-z:16px}
.seller-service-result .scope-item:nth-child(3){z-index:2;--scan-result-y:6px;--scan-result-rotate:-2deg}
.seller-service-result .scope-item-icon{
  position:relative;
  box-shadow:0 0 0 1px rgba(253,196,31,.14),0 0 18px rgba(253,196,31,.08);
}
.seller-service-result .scope-item-icon:after{
  content:"";
  position:absolute;
  inset:-5px;
  border:1px solid rgba(253,196,31,.28);
  border-radius:inherit;
  opacity:0;
  animation:talanum-scan-evidence-pulse 3.2s ease-in-out infinite;
}
.seller-service-result .scope-item:nth-child(2) .scope-item-icon:after{animation-delay:.35s}
.seller-service-result .scope-item:nth-child(3) .scope-item-icon:after{animation-delay:.7s}
.seller-service-result .metric-trend span{
  transform-origin:bottom;
  animation:talanum-scan-detected-bar 2.8s ease-in-out infinite;
}
.seller-service-result .metric-trend span:nth-child(2){animation-delay:.12s}
.seller-service-result .metric-trend span:nth-child(3){animation-delay:.24s}
.seller-service-result .metric-trend span:nth-child(4){animation-delay:.36s}

@media(min-width:901px){
  .estimate-layout:has(.seller-service-result){
    grid-template-columns:minmax(0,1.28fr) minmax(310px,.72fr);
  }
  .estimate-layout:has(.seller-service-result) .estimate-form{
    top:24px;
  }
  .seller-service-result .offer-benefit-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@keyframes talanum-scan-panel-in{
  from{opacity:1;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes talanum-scan-copy-in{
  from{opacity:1;transform:translateY(4px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes talanum-public-scan-sweep{
  0%{transform:translateX(-110%)}
  62%,100%{transform:translateX(110%)}
}
@keyframes talanum-scan-card-in{
  from{opacity:.72;transform:translateY(calc(var(--loading-card-y,0px) + 6px)) rotateY(var(--loading-card-rotate,0deg)) translateZ(var(--loading-card-z,0px))}
  to{opacity:1;transform:translateY(var(--loading-card-y,0px)) rotateY(var(--loading-card-rotate,0deg)) translateZ(var(--loading-card-z,0px))}
}
@keyframes talanum-scan-bar{
  0%,100%{transform:scaleX(.45);opacity:.45}
  50%{transform:scaleX(1);opacity:1}
}
@keyframes talanum-scan-result-in{
  from{opacity:.78;transform:translateY(calc(var(--scan-result-y,0px) + 10px)) rotateY(var(--scan-result-rotate,0deg)) translateZ(var(--scan-result-z,0px))}
  to{opacity:1;transform:translateY(var(--scan-result-y,0px)) rotateY(var(--scan-result-rotate,0deg)) translateZ(var(--scan-result-z,0px))}
}
@keyframes talanum-scan-evidence-pulse{
  0%,58%,100%{opacity:0;transform:scale(.9)}
  68%{opacity:.85;transform:scale(1)}
  82%{opacity:0;transform:scale(1.16)}
}
@keyframes talanum-scan-detected-bar{
  0%,100%{transform:scaleY(.72);opacity:.52}
  44%,68%{transform:scaleY(1);opacity:1}
}

@media(max-width:900px){
  .seller-service-result .scope-grid{
    perspective:none;
  }
  .seller-service-result .scope-item:nth-child(1),
  .seller-service-result .scope-item:nth-child(2),
  .seller-service-result .scope-item:nth-child(3){
    transform:none;
    box-shadow:none;
  }
}

@media(prefers-reduced-motion:reduce){
  .estimate-result .result-panel-shell,
  .estimate-result .result-title,
  .estimate-result .result-subtext,
  .estimate-result .scanned-url-pill,
  .loading-panel .scan-line:after,
  .loading-panel .loading-card,
  .loading-panel .loading-bars span,
  .seller-service-result .result-flow .flow-step,
  .seller-service-result .price-card,
  .seller-service-result .scope-item,
  .seller-service-result .detail-card,
  .seller-service-result .offer-value-section,
  .seller-service-result .lead-card,
  .seller-service-result .scope-item-icon:after,
  .seller-service-result .metric-trend span,
  .estimate-result .estimate-review-note,
  .estimate-result .lead-card{
    animation:none;
    opacity:1;
    transform:none;
  }
  .loading-panel .scan-line:after{display:none}
}
