/* bdcarz.com/new: preview home page (auction sheet verification first). Uses the site's theme variables so Light/Dark both work. */
html[lang="bn"] .hn-hero,html[lang="bn"] .hn main{font-family:"Noto Serif Bengali",var(--font-body),serif}

.hn-hero{background:var(--surface-alt);border-bottom:1px solid var(--border)}
.hn-hero-grid{display:flex;flex-wrap:wrap;gap:48px;align-items:center;padding:64px 0 56px}
.hn-hero-text{flex:1 1 520px;min-width:0}
.hn-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.hn-top .eyebrow{margin:0}
.hn-lang{display:flex;border:1px solid var(--border);border-radius:999px;overflow:hidden}
.hn-lang button{border:0;background:var(--surface);color:var(--muted);padding:6px 14px;min-height:34px;font:inherit;font-size:14px;cursor:pointer}
.hn-lang button.on{background:var(--heading);color:var(--surface)}
.hn-hero h1{margin:0 0 16px;font-size:clamp(32px,4.6vw,52px);line-height:1.25;color:var(--heading)}
.hn-lead{margin:0 0 26px;font-size:19px;line-height:1.7;color:var(--muted);max-width:560px}
.hn-form{display:flex;flex-wrap:wrap;gap:12px;max-width:600px}
.hn-form input{flex:1 1 300px;min-width:0;min-height:56px;padding:0 18px;border:1.5px solid var(--border);border-radius:var(--r-md);background:var(--surface);color:var(--text);font-size:17px;text-transform:uppercase}
.hn-form input::placeholder{text-transform:none}
.hn-form .button{min-height:56px;padding:0 28px;font-size:17px}
.hn-form .button svg{width:18px;height:18px}
.hn-err{margin:10px 0 0;color:var(--bad);font-size:14px}
.hn-trust{display:flex;flex-wrap:wrap;gap:8px 24px;margin:20px 0 0;padding:0;list-style:none;font-size:15px;color:var(--text)}
.hn-trust li::before{content:"✓";color:var(--primary);margin-right:6px;font-weight:700}
.hn-sample{display:inline-flex;align-items:center;gap:10px;margin-top:20px;min-height:46px;padding:0 20px;border:1.5px solid var(--heading);border-radius:var(--r-md);color:var(--heading);font-weight:600;text-decoration:none;background:var(--surface)}
.hn-sample svg{width:18px;height:18px}

/* hero animation: idle = magnifier roams the sheet; .searching = fast scan */
.hn-anim{position:relative;flex:1 1 340px;max-width:440px;min-height:384px;border-radius:16px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);overflow:hidden}
.hn-stage{position:absolute;inset:0}
.hn-sheet{position:absolute;inset:0;width:100%;height:100%}
.s-paper{fill:var(--surface);stroke:var(--border);stroke-width:1.5}
.s-line{fill:var(--border)}.s-line2{fill:var(--surface-alt)}.s-tag{fill:var(--primary-soft)}
.s-car,.s-wheel{fill:none;stroke:var(--muted);stroke-width:2.5;stroke-linejoin:round}.s-wheel{fill:var(--surface)}
.s-glass{animation:hnRoam 5s ease-in-out infinite}
.s-glass circle{fill:rgba(255,255,255,.35);stroke:var(--primary);stroke-width:3.5}
.s-glass path{stroke:var(--primary);stroke-width:6;stroke-linecap:round}
.s-scan{fill:var(--primary);opacity:0}
.hn-chip{position:absolute;font-size:13px;font-weight:600;background:var(--surface);color:var(--heading);border:1px solid var(--border);border-radius:999px;padding:5px 12px;box-shadow:0 4px 12px rgba(0,0,0,.08);animation:hnChip 5s ease-in-out infinite both}
.c1{left:16px;top:28px;animation-delay:.4s}.c2{right:16px;top:150px;animation-delay:1.6s}.c3{left:22px;bottom:28px;animation-delay:2.8s}
.hn-searching{position:absolute;left:0;right:0;bottom:18px;margin:0;text-align:center;font-weight:600;color:var(--heading);display:none}
.hn-searching i{font-style:normal;animation:hnDots 1.2s infinite}.hn-searching i:nth-child(3){animation-delay:.2s}.hn-searching i:nth-child(4){animation-delay:.4s}
.hn-anim.searching .s-glass{animation-duration:1.6s}
.hn-anim.searching .s-scan{opacity:.6;animation:hnScanY 1.1s linear infinite alternate}
.hn-anim.searching .hn-chip{display:none}
.hn-anim.searching .hn-searching{display:block}

.hn-sec{padding:64px 0 8px}
.hn-sec h2{margin:0 0 28px;font-size:clamp(24px,3vw,34px);line-height:1.4;color:var(--heading)}
.hn-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.hn-card{border:1px solid var(--border);border-radius:14px;padding:24px;background:var(--surface)}
.hn-card h3{margin:18px 0 8px;font-size:20px;color:var(--heading)}
.hn-card p{margin:0;font-size:15px;line-height:1.7;color:var(--muted)}
.hn-ico{width:76px;height:76px;border-radius:18px;background:var(--surface-alt);display:flex;align-items:center;justify-content:center}
.hn-ico svg{width:48px;height:48px;fill:none;stroke:var(--primary);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hn-ico svg *{transform-box:view-box}
.a-spin{stroke-dasharray:3 3;transform-origin:12px 12px;animation:hnSpin 8s linear infinite}
.a-pulse{transform-origin:12px 12px;animation:hnPulse 1.8s ease-in-out infinite}.a-pulse path{fill:var(--primary-soft)}
.a-needle{transform-origin:12px 16px;animation:hnNeedle 2.6s ease-in-out infinite}.a-needle path{stroke-width:2}
.a-dot{fill:var(--primary)}
.a-scan{animation:hnScan 2.2s ease-in-out infinite}.a-scan path{stroke:var(--accent,var(--primary));stroke-dasharray:2 1.5;stroke-width:1.4}

.hn-flow{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px 0;margin:0;padding:32px 16px;list-style:none;border:1px solid var(--border);border-radius:18px;background:var(--surface)}
.hn-flow>li:not(.hn-arrow){flex:1 1 220px;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 12px}
.hn-step{position:relative;width:84px;height:84px;border-radius:999px;background:var(--surface-alt);border:2px solid var(--primary);display:flex;align-items:center;justify-content:center}
.hn-step svg{width:34px;height:34px;fill:none;stroke:var(--primary);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hn-step b{position:absolute;top:-6px;right:-6px;width:30px;height:30px;border-radius:999px;background:var(--primary);color:var(--on-primary);font-size:14px;display:flex;align-items:center;justify-content:center}
.hn-flow h3{margin:18px 0 8px;font-size:20px;color:var(--heading)}
.hn-flow p{margin:0;font-size:15px;line-height:1.7;color:var(--muted);max-width:260px}
.hn-arrow{flex:0 0 72px;height:100px;background:no-repeat center/72px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 20' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10h64' stroke-dasharray='5 5'/%3E%3Cpath d='M60 4l6 6-6 6'/%3E%3C/svg%3E")}

.hn-two{display:flex;flex-wrap:wrap;gap:40px 56px;align-items:flex-start}
.hn-two>div{flex:1 1 420px;min-width:0}
.hn-faq{border-top:1px solid var(--border)}
.hn-faq details{border-bottom:1px solid var(--border)}
.hn-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;min-height:44px;cursor:pointer;list-style:none;font-size:18px;font-weight:600;color:var(--heading)}
.hn-faq summary::-webkit-details-marker{display:none}
.hn-faq summary::after{content:"";flex:0 0 12px;height:12px;border-right:2px solid var(--primary);border-bottom:2px solid var(--primary);transform:rotate(45deg) translateY(-4px);transition:transform .2s}
.hn-faq details[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.hn-faq p{margin:0 0 18px;font-size:16px;line-height:1.7;color:var(--muted)}
.hn-tools{display:flex;flex-direction:column;gap:14px}
.hn-tools a{display:flex;align-items:center;gap:14px;border:1px solid var(--border);border-radius:12px;padding:18px 20px;color:var(--heading);text-decoration:none;background:var(--surface)}
.hn-tools a>span:nth-child(2){flex:1 1 auto;min-width:0}
.hn-tools b{display:block;font-size:18px}.hn-tools em{display:block;font-style:normal;font-size:14px;color:var(--muted)}
.hn-tico{flex:0 0 48px;height:48px;border-radius:12px;background:var(--surface-alt);display:flex;align-items:center;justify-content:center}
.hn-tico svg{width:26px;height:26px;color:var(--primary)}
.hn-go{width:20px;height:20px;color:var(--primary)}
.hn-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px}
.hn-head a{display:inline-flex;align-items:center;gap:6px;font-weight:600}.hn-head svg{width:16px;height:16px}
.hn main{padding-bottom:64px}

@keyframes hnRoam{0%,100%{transform:translate(0,0)}25%{transform:translate(120px,24px)}50%{transform:translate(50px,96px)}75%{transform:translate(160px,116px)}}
@keyframes hnChip{0%,12%{opacity:0;transform:translateY(6px)}22%,80%{opacity:1;transform:none}92%,100%{opacity:0}}
@keyframes hnScanY{from{transform:translateY(0)}to{transform:translateY(176px)}}
@keyframes hnDots{0%,100%{opacity:.2}50%{opacity:1}}
@keyframes hnPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
@keyframes hnSpin{to{transform:rotate(360deg)}}
@keyframes hnNeedle{0%,100%{transform:rotate(-70deg)}55%{transform:rotate(60deg)}}
@keyframes hnScan{0%,100%{transform:translateX(-7px)}50%{transform:translateX(7px)}}
@media (max-width:720px){.hn-arrow{display:none}.hn-hero-grid{padding:36px 0}.hn-anim{min-height:300px}}
@media (prefers-reduced-motion:reduce){.hn *{animation:none!important}}

/* readability: Bangla small text a step larger; English inputs keep the site font */
.hn-hero .eyebrow{font-size:15px;letter-spacing:0;text-transform:none}
.hn-card p,.hn-flow p{font-size:16px}
.hn-tools em{font-size:15px}
.hn-trust{font-size:16px}
.hn-form input{font-family:var(--font-body)}

/* result inside the hero card (replaces the animation) */
.hn-anim.has-result .hn-stage{display:none}
.hn-result{position:relative;padding:22px;display:flex;flex-direction:column;gap:16px;animation:hnRise .4s ease-out both}
.hn-result[hidden]{display:none}
.hn-rhead{display:flex;align-items:center;gap:14px}
.hn-tick{flex:0 0 56px;height:56px;border-radius:999px;background:var(--primary-soft);border:2.5px solid var(--ok,#1c6b3a);display:flex;align-items:center;justify-content:center;animation:hnStamp .55s ease-out both}
.hn-tick svg{width:28px;height:28px;fill:none;stroke:var(--ok,#1c6b3a);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hn-tick.none{border-color:var(--border);background:var(--surface-alt);animation:none}
.hn-tick.none svg{stroke:var(--muted);stroke-width:1.8}
.hn-rhead b{display:block;font-size:19px;color:var(--heading)}
.hn-rhead code{display:block;font-size:13px;color:var(--muted);word-break:break-all}
.hn-pic{display:block;width:100%;max-height:90px;object-fit:cover;border-radius:var(--r-md);background:var(--surface-alt)}
.hn-rgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0}
.hn-rgrid dt{font-size:13px;color:var(--muted)}
.hn-rgrid dd{margin:2px 0 0;font-weight:700;color:var(--heading);overflow-wrap:anywhere}
.hn-lock{border-radius:10px;background:var(--surface-alt);padding:12px 14px;font-size:14px;line-height:1.6;color:var(--muted)}
.hn-rbtn{width:100%;min-height:50px}
.hn-again{align-self:center;border:0;background:none;padding:8px;min-height:36px;color:var(--muted);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer}
.hn-msg{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:34px 6px}
.hn-msg b{font-size:19px;color:var(--heading)}
.hn-msg p{margin:0;color:var(--muted);line-height:1.7;max-width:300px}
.hn-msg .button{margin-top:6px}
.hn-form .button[disabled]{opacity:.7;cursor:progress}
@keyframes hnRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes hnStamp{0%{opacity:0;transform:scale(2) rotate(-14deg)}60%{opacity:1;transform:scale(.92) rotate(-6deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
