/* Commercial login splash */
:root {
  --bg: #06060a;
  --card: rgba(18, 18, 24, 0.82);
  --border: rgba(255, 255, 255, 0.09);
  --primary: #6366f1;
  --primary2: #22d3ee;
  --text: #f4f4f5;
  --muted: #a1a1aa;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
.splash-body {
  margin: 0;
  min-height: 100vh;
  font-family: Vazirmatn, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
.splash-bg {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden;
  background: #06060a;
}
.splash-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.45);
}
.splash-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(99,102,241,.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(34,211,238,.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(139,92,246,.12), transparent 60%),
    #06060a;
}
.splash-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.splash-orbs .orb {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: .55;
  animation: float 14s ease-in-out infinite;
}
.orb.o1 { width: 280px; height: 280px; background: #6366f1; top: -40px; right: 10%; animation-delay: 0s; }
.orb.o2 { width: 220px; height: 220px; background: #22d3ee; bottom: 5%; left: 5%; animation-delay: -4s; }
.orb.o3 { width: 160px; height: 160px; background: #a855f7; top: 40%; left: 40%; animation-delay: -8s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-30px) scale(1.08); }
}
.splash-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.splash-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.splash-layout {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 960px) {
  .splash-layout { grid-template-columns: 1fr; }
  .splash-hero { display: none; }
}

.splash-hero {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 3.5rem;
  color: #fff;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  width: fit-content;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(165,180,252,.3);
  color: #c7d2fe;
  font-size: .78rem; font-weight: 650;
  padding: .4rem .8rem; border-radius: 99px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; margin: 0 0 .75rem; line-height: 1.25;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.75);
  margin: 0 0 1.75rem; max-width: 28rem; line-height: 1.7;
}
.hero-points {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; gap: .65rem;
}
.hero-points li {
  display: flex; align-items: center; gap: .65rem;
  font-size: .92rem; color: rgba(255,255,255,.88);
}
.hero-points i {
  width: 32px; height: 32px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #67e8f9;
}
.hero-vendor {
  margin-top: auto; font-size: .75rem; color: rgba(255,255,255,.4);
}

.splash-card-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.25rem;
}
.splash-card {
  width: 100%; max-width: 400px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem 1.75rem 1.5rem;
  backdrop-filter: blur(22px);
  box-shadow:
    0 24px 64px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.03) inset;
  animation: cardIn .45s ease;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.card-logo {
  width: 56px; height: 56px; border-radius: 16px;
  margin: 0 auto 1.1rem;
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 10px 28px rgba(99,102,241,.4);
}
.card-logo.custom {
  background: transparent; box-shadow: none; overflow: hidden;
}
.card-logo img { width: 100%; height: 100%; object-fit: contain; }
.splash-card h1 {
  font-size: 1.2rem; font-weight: 750; text-align: center; margin: 0 0 .3rem;
}
.card-sub {
  text-align: center; color: var(--muted); font-size: .85rem; margin: 0 0 1.35rem;
}
label {
  display: block; font-size: .75rem; color: var(--muted);
  margin-bottom: .3rem; font-weight: 550;
}
input {
  width: 100%; height: 48px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  border-radius: 12px; color: var(--text);
  font-family: inherit; font-size: .95rem;
  padding: 0 1rem; margin-bottom: .9rem; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus {
  border-color: rgba(99,102,241,.55);
  box-shadow: 0 0 0 3px rgba(99,102,241,.18);
}
input.otp {
  letter-spacing: .4em; text-align: center; font-size: 1.35rem; font-weight: 700; direction: ltr;
}
.btn-primary {
  width: 100%; height: 48px; border: none; border-radius: 12px;
  font-family: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 8px 24px rgba(99,102,241,.35);
  transition: filter .15s, transform .1s;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost {
  width: 100%; height: 44px; margin-top: .5rem;
  border-radius: 12px; border: 1px solid var(--border);
  background: transparent; color: var(--text);
  font-family: inherit; font-weight: 600; cursor: pointer;
}
.msg {
  padding: .7rem .9rem; border-radius: 12px; font-size: .82rem; margin-bottom: 1rem;
}
.msg.err { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
.msg.info { background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.3); color: #a5b4fc; }
.card-foot {
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: center; gap: .4rem;
  font-size: .72rem; color: #52525b;
}
.card-foot .sep { opacity: .5; }
