/* ============================================================
   نظام انضباط — صفحة الدخول والتسجيل
   ============================================================ */

body.landing {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b3557 0%, #10467a 48%, #14538c 100%);
  color: #fff;
  overflow-x: hidden;
}

/* ---------- الخلفية المتحركة ---------- */
.bg-art { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.bg-art .blob {
  position: absolute; border-radius: 50%;
  filter: blur(72px); opacity: .34;
  animation: float 22s ease-in-out infinite;
}
.bg-art .b1 { width: 460px; height: 460px; background: #2a78d6; top: -130px; inset-inline-end: -110px; }
.bg-art .b2 { width: 380px; height: 380px; background: #f5a524; bottom: -120px; inset-inline-start: -90px; animation-delay: -7s; opacity: .22; }
.bg-art .b3 { width: 330px; height: 330px; background: #1baf7a; top: 42%; inset-inline-start: 32%; animation-delay: -14s; opacity: .18; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(28px, -34px) scale(1.07); }
  66% { transform: translate(-24px, 26px) scale(.95); }
}
.bg-art .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%);
}
@media (prefers-reduced-motion: reduce) { .bg-art .blob { animation: none; } }

/* ---------- التخطيط ---------- */
.land-wrap {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 44px; align-items: center;
  max-width: 1220px; margin: 0 auto; padding: 40px 30px;
}
@media (max-width: 980px) {
  .land-wrap { grid-template-columns: 1fr; gap: 26px; padding: 26px 18px; }
  .land-hero { text-align: center; }
}

/* ---------- الجانب التعريفي ---------- */
.hero-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
@media (max-width: 980px) { .hero-brand { justify-content: center; } }
.hero-logo {
  width: 64px; height: 64px; border-radius: 19px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  display: grid; place-items: center; font-size: 33px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .22);
  flex: 0 0 auto;
}
.land-hero h1 { font-size: 38px; font-weight: 900; letter-spacing: -.5px; }
.land-hero .tagline { font-size: 15px; color: rgba(255, 255, 255, .74); margin: 2px 0 0; }

.hero-lead {
  font-size: 16.5px; line-height: 2; color: rgba(255, 255, 255, .9);
  max-width: 560px; margin-bottom: 26px;
}
@media (max-width: 980px) { .hero-lead { margin-inline: auto; font-size: 15px; } }
.hero-lead strong { color: #ffd484; font-weight: 800; }

.hero-feats { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
@media (min-width: 640px) { .hero-feats { grid-template-columns: 1fr 1fr; } }
.hero-feats li {
  display: flex; align-items: flex-start; gap: 11px; text-align: right;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px; padding: 12px 14px;
  backdrop-filter: blur(6px);
}
.hero-feats .fi { font-size: 21px; line-height: 1.2; flex: 0 0 auto; }
.hero-feats b { display: block; font-size: 14.5px; font-weight: 800; }
.hero-feats small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .66); line-height: 1.6; }

.hero-foot {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, .6);
}
@media (max-width: 980px) { .hero-foot { justify-content: center; } }

/* ---------- بطاقة النموذج ---------- */
.land-card { display: flex; flex-direction: column; align-items: center; }
.lcard {
  width: 100%; max-width: 460px;
  background: #fff; color: var(--ink);
  border-radius: 22px; padding: 30px 30px 26px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32);
}
@media (max-width: 520px) { .lcard { padding: 24px 20px 20px; border-radius: 18px; } }

.pane { display: flex; flex-direction: column; gap: 15px; }
.pane-head { margin-bottom: 3px; }
.pane-head h2 { font-size: 23px; font-weight: 800; color: var(--brand-800); }
.pane-head p { margin: 5px 0 0; line-height: 1.7; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .two { grid-template-columns: 1fr; } }

.req { color: var(--crit); }

.pw { position: relative; }
.pw input { padding-inline-start: 42px; }
.pw .eye {
  position: absolute; inset-inline-start: 4px; top: 50%; transform: translateY(-50%);
  border: none; background: none; cursor: pointer; font-size: 16px;
  padding: 6px 8px; border-radius: 6px; opacity: .55;
}
.pw .eye:hover { opacity: 1; background: var(--surface-2); }

.switch { text-align: center; font-size: 13.5px; color: var(--ink-3); margin: 4px 0 0; }
.linkbtn {
  border: none; background: none; color: var(--brand-600);
  font-family: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer;
  text-decoration: underline; padding: 0;
}
.linkbtn:hover { color: var(--brand-800); }

/* خطوات التسجيل */
.steps { display: flex; gap: 8px; margin-bottom: 4px; }
.steps .step {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 700;
  padding: 7px 4px; border-radius: 8px;
  background: var(--surface-2); color: var(--ink-3);
  border: 1px solid var(--border);
}
.steps .step.on { background: var(--brand-100); color: var(--brand-800); border-color: var(--brand-100); }
.stepbox { display: flex; flex-direction: column; gap: 13px; }

/* مقياس قوة كلمة المرور */
.pwmeter { height: 5px; background: var(--grid); border-radius: 999px; overflow: hidden; margin-top: -4px; }
.pwmeter > span {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: var(--crit); transition: width .2s, background .2s;
}

/* الحسابات التجريبية */
.devbox {
  background: var(--accent-soft); border: 1px dashed #f0c67c;
  border-radius: 11px; padding: 11px 13px;
}
.devt { font-size: 11.5px; font-weight: 800; color: #8a5d00; margin-bottom: 8px; }
.devrow { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid #f0c67c; background: #fff; color: #8a5d00;
  border-radius: 999px; padding: 4px 11px; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 700;
}
.chip:hover { background: var(--accent); color: #4a3000; }

.copy { margin-top: 16px; font-size: 12px; color: rgba(255, 255, 255, .48); }
