/* Login / registration: 3D visual on the left, glass form on the right */
.page-auth { background: var(--h-dark); min-height: 100vh; }
.a-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh; }
.a-visual { position: relative; overflow: hidden; padding: 2rem 2.5rem; display: flex; flex-direction: column; color: #e8eeff;
  background: radial-gradient(700px 520px at 55% 55%, color-mix(in srgb, var(--brand) 32%, transparent), transparent 66%), radial-gradient(420px 320px at 90% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), linear-gradient(180deg, var(--h-dark), var(--h-dark-2)); }
.a-brand { position: relative; z-index: 3; }
.a-stage { position: relative; flex: 1; min-height: 420px; }
.a-stage .h-stage__map { inset: -8% -12% -6% -14%; }
.a-stage .h-stage__rider { right: 6%; height: 92%; }
.a-quote { position: relative; z-index: 3; max-width: 520px; }
.a-quote__title { font-family: var(--h-font); font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 1rem; }
html[lang="bn"] .a-quote__title { line-height: 1.3; }
.a-quote ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #b4c2e6; }
.a-quote i { color: var(--h-glow); margin-right: .35rem; }
.a-main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 1.5rem 2rem; background: var(--h-paper); }
.a-main::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%); pointer-events: none; }
.a-top { position: absolute; top: 1.2rem; left: 1.5rem; right: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.a-back { color: var(--h-muted); text-decoration: none; font-weight: 500; }
.a-back:hover { color: var(--h-ink); }
.a-lang { border-color: #cdd6ea; } .a-lang a { color: var(--h-muted); } .a-lang a.on { background: var(--h-ink); color: #fff; }
.a-card { position: relative; width: 100%; background: #fff; border-radius: 26px; padding: 2.2rem; border: 1px solid #e3e9f5;
  box-shadow: 0 1px 0 #fff inset, 0 40px 80px rgba(11,20,51,.14), 0 12px 24px rgba(11,20,51,.06); transform: perspective(1400px) rotateY(-3deg); transition: transform .5s ease; }
.a-card:focus-within { transform: none; }
.a-card h1 { font-family: var(--h-font); font-weight: 700; font-size: 1.9rem; color: var(--h-ink); margin-bottom: .3rem; }
.a-card .a-sub { color: var(--h-muted); margin-bottom: 1.6rem; }
.a-field { position: relative; margin-bottom: 1rem; }
.a-field i.bi { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #8a97b8; font-size: 1.1rem; pointer-events: none; }
.a-field input, .a-field select, .a-field textarea { width: 100%; border: 1px solid #d5ddee; border-radius: 14px; padding: .85rem 1rem .85rem 2.8rem; font-size: 1rem; background: #f8faff; transition: border-color .15s, box-shadow .15s, background .15s; }
.a-field textarea, .a-field select { padding-left: 1rem; }
.a-field input:focus, .a-field select:focus, .a-field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.a-field label { display: block; font-size: .88rem; font-weight: 600; color: var(--h-ink); margin-bottom: .35rem; }
.a-field .a-eye { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #8a97b8; padding: .3rem .5rem; }
.a-submit { width: 100%; justify-content: center; border: 0; padding: .95rem; font-size: 1.05rem; border-radius: 14px; }
.a-row { display: flex; justify-content: space-between; align-items: center; margin: .2rem 0 1.3rem; font-size: .92rem; }
.a-row a, .a-alt a { color: var(--brand); font-weight: 600; text-decoration: none; }
.a-alt { text-align: center; color: var(--h-muted); margin-top: 1.4rem; }
.a-divider { display: flex; align-items: center; gap: .8rem; color: #9aa6c4; font-size: .85rem; margin: 1.3rem 0; }
.a-divider::before, .a-divider::after { content: ''; flex: 1; height: 1px; background: #e3e9f5; }
.a-track { display: flex; gap: .5rem; } .a-track input { flex: 1; border: 1px solid #d5ddee; border-radius: 12px; padding: .65rem .9rem; background: #f8faff; }
@media (max-width: 991.98px) {
  .a-shell { grid-template-columns: minmax(0, 1fr); }
  .a-visual { padding: 1.2rem 1.2rem 1.5rem; min-height: 0; }
  .a-stage, .a-quote ul { display: none; }
  .a-quote__title { font-size: 1.3rem; margin: 1rem 0 0; }
  .a-main { padding: 3.5rem 1rem 2rem; justify-content: flex-start; }
  .a-top { top: .8rem; }
  .a-card { transform: none; padding: 1.5rem; }
}
.a-track input { min-width: 0; flex: 1 1 auto; } .a-track button { flex: none; }

/* ---- v1.2: deeper 3D card, floating parcels, register extras ---- */
.a-main { perspective: 1600px; overflow: hidden; }
.a-card { transform-style: preserve-3d; isolation: isolate; }
.a-card::before { content: ''; position: absolute; inset: -2px; border-radius: 28px; z-index: -1; padding: 2px;
  background: conic-gradient(from var(--a-angle, 0deg), color-mix(in srgb, var(--brand) 70%, #fff), transparent 30%, color-mix(in srgb, var(--accent) 70%, #fff) 50%, transparent 75%, color-mix(in srgb, var(--brand) 70%, #fff));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: a-spin 8s linear infinite; opacity: .75; }
.a-card::after { content: ''; position: absolute; inset: auto 8% -26px; height: 40px; border-radius: 50%; background: rgba(11,20,51,.18); filter: blur(22px); z-index: -2; transform: translateZ(-60px); }
@property --a-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes a-spin { to { --a-angle: 360deg; } }
.a-float { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.a-cube { position: absolute; width: var(--s, 46px); height: var(--s, 46px); transform-style: preserve-3d; animation: a-bob var(--d, 9s) ease-in-out infinite, a-turn calc(var(--d, 9s) * 2) linear infinite; opacity: .9; }
.a-cube i { position: absolute; inset: 0; background: linear-gradient(135deg, #e7c08b, #c98f4e); border: 1px solid rgba(120,70,20,.25); }
.a-cube i:nth-child(1) { transform: translateZ(calc(var(--s, 46px) / 2)); }
.a-cube i:nth-child(2) { transform: rotateY(90deg) translateZ(calc(var(--s, 46px) / 2)); background: linear-gradient(135deg, #d9a96b, #b67a3c); }
.a-cube i:nth-child(3) { transform: rotateX(90deg) translateZ(calc(var(--s, 46px) / 2)); background: linear-gradient(135deg, #f0d2a4, #d8a868); }
.a-cube i:nth-child(1)::after { content: ''; position: absolute; left: 42%; width: 16%; top: 0; bottom: 0; background: rgba(255,255,255,.35); }
@keyframes a-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@keyframes a-turn { to { rotate: 1 1 0 360deg; } }
.a-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 25%, #fff); padding: .3rem .75rem; border-radius: 99px; margin-bottom: .8rem; }
.a-steps { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; counter-reset: s; }
.a-steps li { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: #8a97b8; background: #f3f6fc; border-radius: 12px; padding: .5rem .6rem; line-height: 1.2; }
.a-steps span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #dfe6f3; color: #5b6785; font-size: .78rem; }
.a-steps li.on { color: var(--h-ink); background: color-mix(in srgb, var(--brand) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 30%, #fff); }
.a-steps li.on span { background: var(--brand); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--brand) 40%, transparent); }
.a-steps li.done span { background: #16a34a; color: #fff; }
.a-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.a-span2 { grid-column: 1 / -1; }
.a-err { color: #dc2626; font-size: .82rem; margin-top: .3rem; }
.a-hint { color: var(--h-muted); font-size: .8rem; margin-top: .35rem; }
.a-terms { font-size: .9rem; color: var(--h-muted); margin: .2rem 0 1rem; } .a-terms a { color: var(--brand); font-weight: 600; }
.a-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: .45rem; }
.a-meter i { height: 4px; border-radius: 4px; background: #e3e9f5; transition: background .2s; }
.a-meter[data-level="1"] i:nth-child(-n+1) { background: #ef4444; }
.a-meter[data-level="2"] i:nth-child(-n+2) { background: #f59e0b; }
.a-meter[data-level="3"] i:nth-child(-n+3) { background: #84cc16; }
.a-meter[data-level="4"] i { background: #16a34a; }
.a-otp { background: #f6f8fd; border: 1px dashed #d5ddee; border-radius: 14px; padding: .9rem; margin-bottom: 1rem; }
.a-submit i { transition: transform .2s; } .a-submit:hover i.bi-arrow-right { transform: translateX(4px); }
.a-mail { display: grid; place-items: center; margin: -.5rem 0 1rem; perspective: 600px; }
.a-mail__env { width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; font-size: 2.6rem; color: #fff;
  background: linear-gradient(145deg, var(--brand), color-mix(in srgb, var(--accent) 70%, var(--brand))); box-shadow: 0 20px 40px color-mix(in srgb, var(--brand) 35%, transparent), inset 0 2px 0 rgba(255,255,255,.35);
  animation: a-mail 3.2s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes a-mail { 0%, 100% { transform: rotateX(12deg) rotateY(-14deg) translateY(0); } 50% { transform: rotateX(-6deg) rotateY(14deg) translateY(-8px); } }
@media (max-width: 991.98px) { .a-float { display: none; } .a-mobile-hero { display: flex !important; } }
@media (max-width: 575.98px) { .a-grid { grid-template-columns: minmax(0, 1fr); } .a-steps li { font-size: .74rem; padding: .45rem; } .a-steps span { width: 20px; height: 20px; } }
.a-mobile-hero { display: none; align-items: center; gap: .9rem; margin-top: .9rem; }
.a-mobile-hero img { height: 120px; width: auto; filter: drop-shadow(0 14px 20px rgba(0,0,0,.45)); }
.a-mobile-hero p { margin: 0; color: #b4c2e6; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .a-cube, .a-mail__env, .a-card::before { animation: none; } }
