/* ===== داده‌نگار نسخه ۴: تجربه زنده ===== */
@font-face{font-family:'Estedad';src:url('../fonts/Estedad-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Estedad';src:url('../fonts/Estedad-Medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Estedad';src:url('../fonts/Estedad-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Estedad';src:url('../fonts/Estedad-Black.woff2') format('woff2');font-weight:800 900;font-display:swap}
.dtbcc-app [hidden]{display:none!important}
.dtbcc-app,.dtbcc-app input,.dtbcc-app button,.dtbcc-app select,.dtbcc-app textarea{font-family:'Estedad','Vazirmatn',Tahoma,system-ui,sans-serif!important}
.dtbcc-app h1,.dtbcc-app h2,.dtbcc-app h3,.dtbcc-card h3,.dtbcc-hero h2,.dtbcc-toolhead h2,.dtbcc-flag-card b,.dtbcc-jstep b{font-weight:800;letter-spacing:-.2px}
.dtbcc-hero h2{font-size:clamp(28px,4.4vw,46px);line-height:1.35;text-shadow:0 4px 24px rgba(0,0,0,.35)}
.dtbcc-hero{position:relative;overflow:hidden}
.dtbcc-hero::before,.dtbcc-hero::after{content:'';position:absolute;border-radius:50%;filter:blur(50px);opacity:.55;pointer-events:none}
.dtbcc-hero::before{width:340px;height:340px;background:#f59e0b;top:-140px;left:-80px;animation:dtbccFloat 7s ease-in-out infinite}
.dtbcc-hero::after{width:300px;height:300px;background:#38bdf8;bottom:-160px;right:-60px;animation:dtbccFloat 9s ease-in-out infinite reverse}
@keyframes dtbccFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-26px) scale(1.08)}}
.dtbcc-hero>*{position:relative;z-index:1}
.dtbcc-badge,.dtbcc-hero h2,.dtbcc-hero p,.dtbcc-search,.dtbcc-unit-toggle{animation:dtbccRise .8s cubic-bezier(.2,.8,.2,1) both}
.dtbcc-hero p{animation-delay:.12s}.dtbcc-search{animation-delay:.24s}.dtbcc-unit-toggle{animation-delay:.34s}
@keyframes dtbccRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.dtbcc-badge{display:inline-block;animation:dtbccBadge 3s ease-in-out infinite}
@keyframes dtbccBadge{0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,.0)}50%{box-shadow:0 0 0 6px rgba(255,255,255,.12)}}
.dtbcc-card{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s;will-change:transform;transform-style:preserve-3d}
.dtbcc-card:hover{box-shadow:0 22px 44px rgba(15,23,42,.16)}
.dtbcc-card .dtbcc-ico{transition:transform .3s}
.dtbcc-card:hover .dtbcc-ico{transform:translateZ(24px) scale(1.14) rotate(-5deg)}
.dtbcc-btn{position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s,filter .2s}
.dtbcc-btn:hover{transform:translateY(-2px);filter:brightness(1.06)}
.dtbcc-btn:active{transform:translateY(0) scale(.98)}
.dtbcc-btn::after{content:'';position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);transform:skewX(-20deg);transition:left .5s}
.dtbcc-btn:hover::after{left:120%}
.dtbcc-tool-view{animation:dtbccToolIn .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes dtbccToolIn{from{opacity:0;transform:translateY(22px) scale(.995)}to{opacity:1;transform:none}}
.dtbcc-group{animation:dtbccRise .6s both}
.dtbcc-group:nth-of-type(2){animation-delay:.06s}.dtbcc-group:nth-of-type(3){animation-delay:.12s}.dtbcc-group:nth-of-type(4){animation-delay:.18s}
.dtbcc-result{animation:dtbccResultIn .65s cubic-bezier(.2,.8,.2,1) both;transform-origin:top center}
@keyframes dtbccResultIn{0%{opacity:0;transform:translateY(26px) scale(.97)}60%{opacity:1;transform:translateY(-3px) scale(1.005)}100%{opacity:1;transform:none}}
.dtbcc-result tr.hl td{font-size:16px;color:#065f46}
.dtbcc-result tr.hl td:last-child{font-weight:900}
.dtbcc-result svg polyline,.dtbcc-result svg path{stroke-dasharray:1200;stroke-dashoffset:1200;animation:dtbccDraw 1.6s ease forwards .2s}
@keyframes dtbccDraw{to{stroke-dashoffset:0}}
.dtbcc-skeleton{padding:10px 0}
.sk{background:linear-gradient(90deg,#e2e8f0 25%,#f8fafc 50%,#e2e8f0 75%);background-size:200% 100%;animation:dtbccShine 1.2s infinite;border-radius:12px;min-height:44px}
@keyframes dtbccShine{to{background-position-x:-200%}}
.sk-title{height:30px;width:55%;margin-bottom:12px}.sk-line{height:16px;width:35%;margin-bottom:16px}
.sk-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dtbcc-whatif{margin:16px 0;padding:16px;border-radius:16px;background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1.5px solid #f59e0b;animation:dtbccRise .6s both}
.dtbcc-whatif-head{font-weight:800;margin-bottom:10px;color:#92400e}
.dtbcc-whatif-head small{display:block;font-weight:500;color:#78716c;margin-top:4px}
.dtbcc-wf-row{display:grid;grid-template-columns:1.2fr 2fr .8fr;gap:10px;align-items:center;margin:8px 0;font-size:13px}
.dtbcc-wf-row input[type=range]{accent-color:#d97706;width:100%}
.dtbcc-wf-row b{color:#b45309;text-align:left;font-size:12px}
.dtbcc-more{display:block;margin:18px auto;padding:12px 28px;font-size:15px}
.dtbcc-desk{margin-top:12px}
.dtbcc-desk-li{list-style:none}
.dtbcc-search input{transition:box-shadow .25s}
.dtbcc-search input:focus{box-shadow:0 0 0 4px rgba(245,158,11,.35)}
.dtbcc-cats button{transition:all .22s}
.dtbcc-cats button:hover{transform:translateY(-2px)}
.dtbcc-cats button.is-active{animation:dtbccBadge 2.4s infinite}
input[type=number],input[type=text],select,textarea{transition:border-color .2s,box-shadow .2s}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px rgba(14,165,233,.25)}
@media (prefers-reduced-motion:reduce){.dtbcc-app *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.dtbcc-noanim *{animation:none!important;transition:none!important}
@media(max-width:700px){.dtbcc-wf-row{grid-template-columns:1fr}.dtbcc-hero h2{font-size:29px}}
.dtbcc-hero{background:linear-gradient(120deg,#0b3b75,#0e7490,#1d4ed8,#7c3aed,#0b3b75)!important;background-size:220% 220%!important;animation:dtbccHeroShift 14s ease infinite}
@keyframes dtbccHeroShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.dtbcc-live-chips{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:18px;animation:dtbccRise .8s .45s both}
.dtbcc-live-chips span{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);color:#fff;padding:8px 14px;border-radius:999px;font-size:13px;font-weight:700;backdrop-filter:blur(8px);animation:dtbccChipFloat 3.6s ease-in-out infinite}
.dtbcc-live-chips span:nth-child(2){animation-delay:.5s}.dtbcc-live-chips span:nth-child(3){animation-delay:1s}.dtbcc-live-chips span:nth-child(4){animation-delay:1.5s}
@keyframes dtbccChipFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.dtbcc-do{animation:dtbccPulse 2.6s infinite}
@keyframes dtbccPulse{0%{box-shadow:0 0 0 0 rgba(37,99,235,.45)}70%{box-shadow:0 0 0 12px rgba(37,99,235,0)}100%{box-shadow:0 0 0 0 rgba(37,99,235,0)}}
.dtbcc-card .dtbcc-ico{animation:dtbccIconIn .5s both}
@keyframes dtbccIconIn{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@media print{.dtbcc-whatif,.dtbcc-more{display:none!important}}
