/* ═══════════════════════════════════════════════════════════════
   Atlas Studio — Ultra-premium login experience
   ═══════════════════════════════════════════════════════════════ */

.atlas-pro.login-body {
  --login-serif: "Instrument Serif", Georgia, serif;
  --login-display: var(--saas-display);
  min-height: 100vh;
  max-height: 100vh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 12% 8%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 55% at 88% 92%, rgba(139, 92, 246, 0.12), transparent 58%),
    linear-gradient(168deg, #020308 0%, #060810 28%, #0a0c18 55%, #04060e 100%);
}

.login-body .ambient-grid.login-scene__grid {
  opacity: 0.72 !important;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, rgba(0, 0, 0, 0.85), transparent 82%) !important;
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, rgba(0, 0, 0, 0.85), transparent 82%) !important;
}

/* ── Animated scene ── */

.login-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.login-scene__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.login-scene__aurora--a {
  width: min(680px, 90vw);
  height: min(680px, 90vw);
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 68%);
  animation: loginAuroraDriftA 22s ease-in-out infinite;
}

.login-scene__aurora--b {
  width: min(560px, 75vw);
  height: min(560px, 75vw);
  bottom: -22%;
  right: -8%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28) 0%, transparent 70%);
  animation: loginAuroraDriftB 26s ease-in-out infinite;
}

.login-scene__aurora--c {
  width: min(420px, 60vw);
  height: min(420px, 60vw);
  top: 42%;
  left: 38%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, transparent 72%);
  animation: loginAuroraDriftC 18s ease-in-out infinite;
}

.login-scene__aurora--d {
  width: min(380px, 55vw);
  height: min(380px, 55vw);
  top: 8%;
  right: 12%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.1) 0%, transparent 70%);
  animation: loginAuroraDriftD 24s ease-in-out infinite;
}

.login-scene__beams {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(99, 102, 241, 0.03) 30deg,
    transparent 60deg,
    rgba(167, 139, 250, 0.04) 120deg,
    transparent 150deg,
    rgba(56, 189, 248, 0.025) 210deg,
    transparent 240deg,
    rgba(99, 102, 241, 0.03) 300deg,
    transparent 360deg
  );
  animation: loginBeamsRotate 60s linear infinite;
}

.login-scene__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, transparent 40%, rgba(2, 3, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.35) 0%, transparent 18%, transparent 82%, rgba(2, 3, 8, 0.5) 100%);
}

.login-scene__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.login-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(196, 181, 253, 0.75);
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
  opacity: 0;
  animation: loginParticleFloat 14s ease-in-out infinite;
}

.login-particle:nth-child(3n) {
  width: 2px;
  height: 2px;
  background: rgba(103, 232, 249, 0.65);
}

.login-particle:nth-child(5n) {
  width: 4px;
  height: 4px;
  background: rgba(167, 139, 250, 0.5);
}

.login-scene__corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.login-corner {
  position: absolute;
  width: 64px;
  height: 64px;
  border-color: rgba(129, 140, 248, 0.22);
  border-style: solid;
  opacity: 0.7;
}

.login-corner--tl { top: 28px; left: 28px; border-width: 1px 0 0 1px; border-radius: 12px 0 0 0; }
.login-corner--tr { top: 28px; right: 28px; border-width: 1px 1px 0 0; border-radius: 0 12px 0 0; }
.login-corner--bl { bottom: 52px; left: 28px; border-width: 0 0 1px 1px; border-radius: 0 0 0 12px; }
.login-corner--br { bottom: 52px; right: 28px; border-width: 0 1px 1px 0; border-radius: 0 0 12px 0; }

.login-floaters {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.login-floater {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.88);
  background: rgba(14, 16, 30, 0.65);
  border: 1px solid rgba(129, 140, 248, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.login-floater svg {
  width: 14px;
  height: 14px;
  color: #a5b4fc;
}

.login-floater--a { top: calc(50vh - 168px); left: clamp(18px, 2.5vw, 36px); animation: loginFloaterA 9s ease-in-out infinite; }
.login-floater--b { top: 22%; right: 5%; animation: loginFloaterB 11s ease-in-out infinite; }
.login-floater--c { top: calc(50vh + 118px); left: clamp(18px, 2.5vw, 36px); animation: loginFloaterC 10s ease-in-out infinite; }
.login-floater--d { bottom: 14%; right: 7%; animation: loginFloaterD 12s ease-in-out infinite; }

/* ── CEO portrait (between AI Core & Enterprise) ── */

.login-executive-float {
  position: fixed;
  left: clamp(18px, 2.5vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.login-executive-float__halo {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 68%);
  animation: loginHaloBreath 6s ease-in-out infinite;
  pointer-events: none;
}

.login-executive-float .login-executive__frame {
  width: 132px;
  height: 132px;
}

.login-scene__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(99, 102, 241, 0.04) 0%, transparent 42%),
    linear-gradient(305deg, rgba(139, 92, 246, 0.05) 0%, transparent 48%);
}

.login-scene__grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: var(--saas-noise);
  mix-blend-mode: overlay;
}

@keyframes loginAuroraDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, 8%) scale(1.06); }
}

@keyframes loginAuroraDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8%, -6%) scale(1.08); }
}

@keyframes loginAuroraDriftC {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.45; }
  50% { transform: translate(-46%, -54%) scale(1.12); opacity: 0.65; }
}

@keyframes loginAuroraDriftD {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  50% { transform: translate(-5%, 6%); opacity: 0.55; }
}

@keyframes loginBeamsRotate {
  to { transform: rotate(360deg); }
}

@keyframes loginParticleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  15% { opacity: 0.85; }
  50% {
    opacity: 0.45;
    transform: translateY(-48px) scale(1);
  }
  85% { opacity: 0.2; }
}

@keyframes loginFloaterA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -12px); }
}

@keyframes loginFloaterB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 10px); }
}

@keyframes loginFloaterC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, 8px); }
}

@keyframes loginFloaterD {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -10px); }
}

/* ── Stage layout ── */

.login-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 252px) minmax(0, 1fr) minmax(300px, 380px);
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  width: min(1320px, 100%);
  height: calc(100vh - 48px);
  margin: 0 auto;
  padding: clamp(12px, 1.8vh, 20px) clamp(20px, 3vw, 36px) 48px;
  box-sizing: border-box;
}

/* ── Live Pulse column ── */

.login-pulse-col {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  opacity: 0;
  transform: translateX(-10px);
  animation: loginFadeLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.login-ready .login-pulse-col {
  opacity: 1;
  transform: none;
}

.login-pulse-col .login-pulse {
  width: 100%;
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-executive-corner,
.login-executive-col {
  display: none !important;
}

/* ── CEO column (legacy — removed from layout) ── */

.login-executive-col {
  display: none;
}

.login-ready .login-executive-col {
  opacity: 1;
  transform: none;
}

.login-executive-col__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 68%);
  animation: loginHaloBreath 6s ease-in-out infinite;
  pointer-events: none;
}

.login-executive-col__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 190px;
  margin: -95px 0 0 -95px;
  border-radius: 50%;
  border: 1px dashed rgba(129, 140, 248, 0.18);
  animation: loginOrbitSpin 28s linear infinite;
  pointer-events: none;
}

/* ── Brand / taglines panel ── */

.login-brand {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 14px);
  align-self: center;
  max-height: calc(100vh - 72px);
  overflow: hidden;
  min-width: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: loginFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.login-ready .login-brand {
  opacity: 1;
  transform: none;
}

.login-brand__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.login-brand__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(134, 239, 172, 0.95);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.login-brand__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.75);
  animation: loginLivePulse 2s ease-in-out infinite;
}

.login-brand__live.is-degraded {
  color: rgba(253, 224, 71, 0.95);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.28);
}

.login-brand__live.is-degraded .login-brand__live-dot {
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.75);
}

.login-brand__live.is-offline {
  color: rgba(254, 202, 202, 0.95);
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.28);
}

.login-brand__live.is-offline .login-brand__live-dot {
  background: #fb7185;
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.75);
  animation: none;
}

.login-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--saas-gradient);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 28px var(--saas-accent-glow);
}

.login-brand__mark svg {
  width: 20px;
  height: 20px;
}

.login-brand__eyebrow {
  font-family: var(--login-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.88);
}

.login-brand__headline {
  margin: 0 0 2px;
  font-family: var(--login-display);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: rgba(255, 255, 255, 0.97);
  max-width: 22ch;
}

.login-brand__headline-accent {
  font-family: var(--login-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #c7d2fe 30%,
    #a5b4fc 55%,
    #67e8f9 80%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: loginAccentShift 10s ease-in-out infinite;
}

.login-brand__rotator {
  display: grid;
  margin: 4px 0 2px;
  max-width: 38ch;
  min-height: 0;
}

.login-brand__line {
  grid-area: 1 / 1;
  position: relative;
  margin: 0;
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  line-height: 1.6;
  font-weight: 500;
  color: rgba(186, 192, 214, 0.88);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.55s;
  pointer-events: none;
}

.login-brand__line.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Showcase + interactive tour */
.login-brand__showcase-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-brand__showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.login-showcase-card {
  position: relative;
  padding: 10px 10px 9px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: loginShowcaseIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.login-showcase-card.is-tour-active {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(167, 139, 250, 0.15) inset,
    0 0 32px rgba(99, 102, 241, 0.12);
  transform: translateY(-2px);
}

.login-showcase-card__tap {
  display: inline-flex;
  margin-top: 8px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.85);
}

.login-tour-demo {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: rgba(0, 0, 0, 0.28);
}

.login-tour-demo__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(186, 192, 214, 0.75);
}

.login-tour-demo__hint svg {
  width: 13px;
  height: 13px;
  color: #a5b4fc;
}

.login-tour-panel__title {
  margin: 0 0 10px;
  font-family: var(--login-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.9);
}

.login-tour-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(129, 140, 248, 0.1);
  font-size: 0.75rem;
  color: var(--saas-muted);
  animation: loginTourStepIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.login-tour-step strong {
  color: #fff;
  font-weight: 600;
}

.login-tour-progress {
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.login-tour-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #a78bfa, #67e8f9);
  animation: loginTourProgressFill 2.4s ease-in-out infinite;
}

.login-tour-deploy-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-height: 64px;
}

.login-tour-deploy-node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(224, 231, 255, 0.92);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.22);
  animation: loginTourNodePulse 1.6s ease-in-out infinite backwards;
}

.login-tour-deploy-node svg {
  width: 12px;
  height: 12px;
  color: #67e8f9;
}

.login-tour-deploy-pulse {
  position: absolute;
  inset: 30% 35%;
  border-radius: 50%;
  border: 1px solid rgba(103, 232, 249, 0.35);
  animation: loginPortraitPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

.login-tour-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 52px;
  padding-top: 2px;
}

.login-tour-chart__bar {
  flex: 1;
  height: var(--h, 50%);
  min-height: 8px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.95), rgba(99, 102, 241, 0.45));
  transform-origin: bottom;
  animation: loginTourBarGrow 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.login-tour-panel__meta {
  margin: 10px 0 0;
  font-size: 0.6875rem;
  color: var(--saas-subtle);
}

@keyframes loginTourStepIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}

@keyframes loginTourProgressFill {
  0% { width: 0; }
  70% { width: 88%; }
  100% { width: 88%; }
}

@keyframes loginTourNodePulse {
  0%, 100% { box-shadow: 0 0 0 rgba(103, 232, 249, 0); }
  50% { box-shadow: 0 0 16px rgba(103, 232, 249, 0.25); }
}

@keyframes loginTourBarGrow {
  from { transform: scaleY(0); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

/* Live Atlas Pulse panel */
.login-pulse {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.24);
}

.login-pulse__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.9);
}

.login-pulse__eyebrow svg {
  width: 12px;
  height: 12px;
}

.login-pulse__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.login-pulse__stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(129, 140, 248, 0.1);
}

.login-pulse__stat strong {
  font-family: var(--login-display);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.login-pulse__stat span {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.login-pulse__feed {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
  max-height: 88px;
  overflow: auto;
  flex-shrink: 1;
  min-height: 0;
}

.login-pulse__feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(129, 140, 248, 0.08);
  font-size: 0.6875rem;
}

.login-pulse__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(129, 140, 248, 0.1);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--saas-subtle);
}

.login-pulse__foot strong {
  font-family: var(--login-display);
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.login-pulse__foot-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.45);
}

.login-pulse__feed-item.is-failed {
  border-color: rgba(244, 63, 94, 0.2);
}

.login-pulse__feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  flex-shrink: 0;
}

.login-pulse__feed-item.is-failed .login-pulse__feed-dot {
  background: #fb7185;
  box-shadow: 0 0 8px rgba(251, 113, 133, 0.6);
}

.login-pulse__feed-item strong {
  display: block;
  color: #fff;
  font-weight: 600;
}

.login-pulse__feed-meta {
  display: block;
  font-size: 0.625rem;
  color: var(--saas-subtle);
  margin-top: 1px;
}

.login-pulse__feed-ago {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(167, 139, 250, 0.85);
  white-space: nowrap;
}

.login-pulse__feed-empty {
  margin: 0;
  font-size: 0.75rem;
  color: var(--saas-muted);
  line-height: 1.5;
}

/* Pipeline auth ritual */
.login-pipeline__step.is-pending {
  opacity: 0.45;
}

.login-pipeline__step.is-error {
  color: #fecdd3 !important;
  text-shadow: 0 0 16px rgba(244, 63, 94, 0.35);
  animation: loginPipelineShake 0.45s ease-in-out 2;
}

.login-brand__pipeline.is-auth-running .login-pipeline__flow {
  animation-duration: 1.1s;
}

.login-brand__pipeline.is-auth-success .login-pipeline__step.is-done {
  color: rgba(134, 239, 172, 0.95);
}

.login-brand__pipeline.is-auth-failed {
  border-color: rgba(244, 63, 94, 0.28);
}

@keyframes loginPipelineShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Showcase cards */
.login-showcase-card:nth-child(1) { animation-delay: 0.25s; }
.login-showcase-card:nth-child(2) { animation-delay: 0.35s; }
.login-showcase-card:nth-child(3) { animation-delay: 0.45s; }

.login-showcase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.login-showcase-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.22);
  color: #a5b4fc;
}

.login-showcase-card__icon svg {
  width: 16px;
  height: 16px;
}

.login-showcase-card--deploy .login-showcase-card__icon {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.login-showcase-card--track .login-showcase-card__icon {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.28);
  color: #c4b5fd;
}

.login-showcase-card h3 {
  margin: 0 0 3px;
  font-family: var(--login-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.login-showcase-card p {
  margin: 0 0 10px;
  font-size: 0.68rem;
  color: var(--saas-muted);
  line-height: 1.4;
}

.login-showcase-card__bar {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.login-showcase-card__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.9), rgba(167, 139, 250, 0.7));
  animation: loginBarPulse 2.8s ease-in-out infinite;
}

.login-showcase-card--deploy .login-showcase-card__bar span {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.9), rgba(251, 191, 36, 0.6));
  animation-delay: 0.4s;
}

.login-showcase-card--track .login-showcase-card__bar span {
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.9), rgba(196, 181, 253, 0.6));
  animation-delay: 0.8s;
}

/* Pipeline */
.login-brand__pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.14);
  background: rgba(0, 0, 0, 0.22);
}

.login-pipeline__step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--saas-subtle);
  white-space: nowrap;
}

.login-pipeline__step svg {
  width: 12px;
  height: 12px;
}

.login-pipeline__step.is-done {
  color: rgba(134, 239, 172, 0.9);
}

.login-pipeline__step.is-active {
  color: #c7d2fe;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.login-pipeline__line {
  flex: 1;
  height: 2px;
  min-width: 24px;
  margin: 0 10px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.12);
  overflow: hidden;
  position: relative;
}

.login-pipeline__flow {
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.85), transparent);
  animation: loginPipelineFlow 2.2s ease-in-out infinite;
}

.login-pipeline__line:last-of-type .login-pipeline__flow {
  animation-delay: 0.6s;
  opacity: 0.5;
}

.login-brand__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-brand__pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(224, 231, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(129, 140, 248, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.login-brand__pills li svg {
  width: 13px;
  height: 13px;
  opacity: 0.85;
  color: #a5b4fc;
}

.login-brand__pills li:hover {
  border-color: rgba(167, 139, 250, 0.38);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.login-brand__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(129, 140, 248, 0.12);
}

.login-brand__stat {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--saas-muted);
  letter-spacing: 0.02em;
}

.login-brand__stat strong {
  display: inline-block;
  margin-right: 4px;
  font-family: var(--login-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.login-brand__stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(129, 140, 248, 0.2);
}

/* ── Right panel ── */

.login-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: center;
  justify-self: end;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  animation: loginFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.login-panel__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(380px, 100%);
  height: min(380px, 100%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 68%);
  animation: loginHaloBreath 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.login-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a5b4fc;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.7);
}

.login-orbit-dot--1 { top: -4px; left: 50%; margin-left: -4px; }
.login-orbit-dot--2 { bottom: 20%; right: -4px; background: #67e8f9; box-shadow: 0 0 12px rgba(103, 232, 249, 0.6); }
.login-orbit-dot--3 { bottom: 20%; left: -4px; background: #c4b5fd; }

.login-ready .login-panel {
  opacity: 1;
  transform: none;
}

/* ── Executive portrait ── */

.login-executive {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.login-executive__trigger {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.login-executive__trigger:focus-visible .login-executive__frame {
  outline: 2px solid rgba(167, 139, 250, 0.65);
  outline-offset: 4px;
}

.login-executive__quote {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  width: min(240px, 42vw);
  padding: 12px 14px;
  border-radius: 14px;
  font-family: var(--login-serif);
  font-style: italic;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  text-align: left;
  background: rgba(12, 14, 28, 0.92);
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  z-index: 5;
}

.login-executive__quote.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.login-executive__quote::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right-color: rgba(129, 140, 248, 0.28);
}

.login-executive__hint {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.65);
}

.login-executive__frame {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 999px;
  padding: 4px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(167, 139, 250, 0.55) 28%,
    rgba(99, 102, 241, 0.85) 52%,
    rgba(103, 232, 249, 0.45) 78%,
    rgba(255, 255, 255, 0.22) 100%
  );
  background-size: 200% 200%;
  animation: loginRingShift 8s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 22px 56px rgba(0, 0, 0, 0.42),
    0 0 48px rgba(99, 102, 241, 0.22);
}

.login-executive__pulse {
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid rgba(129, 140, 248, 0.25);
  animation: loginPortraitPulse 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.login-executive__glow {
  position: absolute;
  inset: -18%;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 42%, rgba(129, 140, 248, 0.28), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.login-executive__ring {
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.18),
    inset 0 0 24px rgba(99, 102, 241, 0.12);
  pointer-events: none;
  z-index: 2;
}

.login-executive__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(8, 10, 20, 0.55);
  background: rgba(8, 10, 20, 0.4);
}

.login-executive__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 10px 14px 0;
}

.login-executive__line {
  font-family: var(--login-display);
  font-size: 0.75rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 0 28px rgba(99, 102, 241, 0.25);
  white-space: nowrap;
}

.login-executive__line em {
  font-family: var(--login-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(196, 181, 253, 0.98);
}

.login-executive__caption::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.85) 50%, transparent);
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.45);
}

/* ── Login card shell ── */

.login-card-shell {
  position: relative;
  z-index: 1;
  width: 100%;
}

.login-card-shell__pedestal {
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 88%;
  height: 56px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.35), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  animation: loginPedestalPulse 5s ease-in-out infinite;
}

.login-card-shell__ring {
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(167, 139, 250, 0.55),
    rgba(99, 102, 241, 0.15) 30%,
    rgba(56, 189, 248, 0.2) 55%,
    rgba(167, 139, 250, 0.08) 75%,
    rgba(255, 255, 255, 0.35)
  );
  background-size: 300% 300%;
  animation: loginCardBorderShift 8s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

/* ── Login card ── */

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 22px;
  padding: 0;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 38%, rgba(255, 255, 255, 0.05) 100%),
    linear-gradient(180deg, rgba(16, 18, 34, 0.96), rgba(8, 10, 22, 0.98));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 80px rgba(99, 102, 241, 0.08);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  overflow: hidden;
}

.login-card__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 42%,
    rgba(167, 139, 250, 0.06) 50%,
    transparent 58%
  );
  transform: translateX(-100%);
  animation: loginCardShimmer 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.login-card__noise {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: var(--saas-noise);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
  z-index: 2;
}

.login-card > *:not(.login-card__shimmer):not(.login-card__noise) {
  position: relative;
  z-index: 1;
}

.login-card__head {
  padding: 22px 24px 0;
  margin-bottom: 18px;
}

.login-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.95);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.08);
}

.login-card__badge svg {
  width: 12px;
  height: 12px;
}

.login-card__head-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-card__mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--saas-gradient);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 32px var(--saas-accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.login-card__mark svg {
  width: 24px;
  height: 24px;
}

.login-card__head h1 {
  margin: 0;
  font-family: var(--login-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
}

.login-card__head p {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--saas-muted);
}

.login-card__brand {
  font-weight: 700;
  background: linear-gradient(135deg, #e0e7ff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.login-card__error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 28px 16px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.1);
  color: #fecdd3;
  font-size: 0.8125rem;
}

.login-card__error svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.login-form {
  display: grid;
  gap: 14px;
  padding: 0 24px;
}

.login-field {
  display: grid;
  gap: 8px;
}

.login-field__label {
  font-size: 0.625rem;
  font-weight: 700;
  color: rgba(186, 192, 214, 0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-field__wrap {
  position: relative;
  display: block;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.22), rgba(129, 140, 248, 0.06));
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.login-field__glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.login-field__wrap:focus-within {
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.55), rgba(99, 102, 241, 0.25));
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), 0 8px 28px rgba(99, 102, 241, 0.15);
}

.login-field__wrap:focus-within .login-field__glow {
  opacity: 1;
}

.login-field__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: rgba(129, 140, 248, 0.7);
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease, transform 0.2s ease;
}

.login-field input {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 52px;
  padding: 0 46px 0 46px;
  border-radius: 13px;
  border: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.22));
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-sizing: border-box;
  transition: background 0.22s ease;
}

.login-field__wrap--input {
  min-height: 54px;
}

.login-field__toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(167, 139, 250, 0.85);
  background: rgba(99, 102, 241, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.login-field__toggle:hover {
  background: rgba(99, 102, 241, 0.18);
  color: #e0e7ff;
}

.login-field__toggle svg {
  width: 16px;
  height: 16px;
}

.login-form__shortcut {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--saas-subtle);
  text-align: center;
}

.login-form__shortcut kbd {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(224, 231, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.18);
}

.login-form__submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.login-field input::placeholder {
  color: rgba(107, 113, 144, 0.75);
  font-weight: 400;
}

.login-field input:focus {
  outline: none;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), rgba(0, 0, 0, 0.28));
}

.login-field:focus-within .login-field__icon {
  color: #c7d2fe;
  transform: translateY(-50%) scale(1.05);
}

.login-form__submit {
  position: relative;
  margin-top: 8px;
  width: 100%;
  min-height: 54px;
  padding: 0;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  font-family: var(--login-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.login-form__submit-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #4f46e5 0%,
    #6366f1 28%,
    #8b5cf6 58%,
    #6366f1 100%
  );
  background-size: 200% 200%;
  animation: loginSubmitBgShift 6s ease-in-out infinite;
}

.login-form__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 2;
}

.login-form__submit-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 54px;
}

.login-form__submit-inner svg {
  width: 18px;
  height: 18px;
}

.login-form__submit-arrow {
  opacity: 0.85;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-form__submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px rgba(99, 102, 241, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.login-form__submit:hover .login-form__submit-arrow {
  transform: translateX(4px);
}

.login-form__submit:active {
  transform: translateY(0);
}

.login-form__submit-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 45%,
    transparent 55%
  );
  transform: translateX(-120%);
  animation: loginBtnShine 4.5s ease-in-out infinite;
}

.login-card__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 28px 0;
  color: var(--saas-subtle);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-card__divider::before,
.login-card__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.22), transparent);
}

.login-card__security {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 14px 24px 0;
}

.login-security-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(129, 140, 248, 0.12);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.login-security-pill:hover {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(99, 102, 241, 0.06);
  transform: translateY(-1px);
}

.login-security-pill__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.2);
  color: #a5b4fc;
}

.login-security-pill__icon svg {
  width: 14px;
  height: 14px;
}

.login-security-pill__text {
  font-size: 0.625rem;
  line-height: 1.35;
  color: var(--saas-muted);
  letter-spacing: 0.02em;
}

.login-security-pill__text strong {
  display: block;
  font-family: var(--login-display);
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(224, 231, 255, 0.92);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-card__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(129, 140, 248, 0.1);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15));
}

.login-card__foot-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.18);
  opacity: 0.7;
}

.login-card__foot-mark svg {
  width: 14px;
  height: 14px;
}

.login-card__hint {
  margin: 0;
  font-size: 0.625rem;
  color: var(--saas-subtle);
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.02em;
}

.login-card__hint code {
  font-size: 0.6rem;
  color: var(--saas-muted);
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(129, 140, 248, 0.12);
}

/* Bottom ticker */
.login-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 14px 0;
  border-top: 1px solid rgba(129, 140, 248, 0.12);
  background: linear-gradient(180deg, rgba(6, 8, 18, 0.75), rgba(4, 6, 14, 0.92));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.login-ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 0 28px;
  animation: loginTickerScroll 45s linear infinite;
}

.login-ticker.is-paused .login-ticker__track {
  animation-play-state: paused;
}

.login-ticker__track span {
  font-family: var(--login-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(186, 192, 214, 0.55);
  white-space: nowrap;
}

.login-ticker__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.45);
  flex-shrink: 0;
}

/* ── Keyframes ── */

@keyframes loginFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loginFadeLeft {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes loginAccentShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes loginRingShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes loginPortraitPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.65;
  }
}

@keyframes loginBtnShine {
  0%, 72%, 100% { transform: translateX(-120%); }
  78% { transform: translateX(120%); }
}

@keyframes loginLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

@keyframes loginShowcaseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loginBarPulse {
  0%, 100% { width: 28%; opacity: 0.6; }
  50% { width: 88%; opacity: 1; }
}

@keyframes loginPipelineFlow {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@keyframes loginHaloBreath {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes loginOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes loginTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes loginCardBorderShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes loginCardShimmer {
  0%, 78%, 100% { transform: translateX(-100%); opacity: 0; }
  82% { opacity: 1; }
  92% { transform: translateX(100%); opacity: 0; }
}

@keyframes loginPedestalPulse {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.08); }
}

@keyframes loginSubmitBgShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Responsive ── */

@media (max-height: 820px) and (min-width: 961px) {
  .login-brand__showcase-wrap,
  .login-brand__pipeline {
    display: none;
  }

  .login-brand {
    gap: 10px;
  }

  .login-executive--corner .login-executive__frame {
    width: 76px;
    height: 76px;
  }

  .login-pulse-col .login-pulse {
    max-height: calc(100vh - 80px);
  }

  .login-pulse__feed {
    max-height: 64px;
  }
}

@media (max-width: 960px) {
  .atlas-pro.login-body {
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .login-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: calc(100vh - 48px);
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .login-pulse-col {
    order: 1;
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }

  .login-pulse-col .login-pulse {
    width: 100%;
    max-width: 560px;
    max-height: none;
  }

  .login-brand {
    order: 2;
    text-align: center;
    align-items: center;
    max-width: 560px;
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  .login-panel {
    order: 3;
    width: min(460px, 100%);
    justify-self: center;
  }

  .login-brand__top {
    justify-content: center;
  }

  .login-brand__live {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .login-brand__headline {
    max-width: none;
  }

  .login-brand__rotator {
    max-width: none;
  }

  .login-brand__showcase {
    width: 100%;
  }

  .login-brand__pipeline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .login-pipeline__line {
    display: none;
  }

  .login-brand__pills {
    justify-content: center;
  }

  .login-brand__footer {
    justify-content: center;
  }

  .login-executive__quote {
    left: 50%;
    top: calc(100% + 12px);
    transform: translateX(-50%) translateY(8px);
    width: min(280px, 88vw);
  }

  .login-executive__quote.is-visible {
    transform: translateX(-50%) translateY(0);
  }

  .login-executive__quote::before {
    right: auto;
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
    border: 7px solid transparent;
    border-bottom-color: rgba(129, 140, 248, 0.28);
  }

  .login-pulse__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-constellation__hud {
    bottom: 64px;
    max-width: calc(100% - 32px);
  }

  .login-executive-float {
    display: none;
  }

  .login-floaters {
    display: none;
  }

  .login-corner {
    width: 40px;
    height: 40px;
  }

  .login-corner--tl, .login-corner--tr { top: 16px; }
  .login-corner--bl, .login-corner--br { bottom: 64px; }
  .login-corner--tl, .login-corner--bl { left: 16px; }
  .login-corner--tr, .login-corner--br { right: 16px; }
}

@media (max-width: 480px) {
  .login-brand__showcase {
    grid-template-columns: 1fr;
  }

  .login-card__security {
    grid-template-columns: 1fr;
  }

  .login-security-pill {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 10px 12px;
  }

  .login-executive__frame {
    width: 148px;
    height: 148px;
  }

  .login-executive__line {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    white-space: normal;
    text-align: center;
  }

  .login-brand__footer {
    gap: 10px;
  }

  .login-brand__stat-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-scene__aurora,
  .login-scene__beams,
  .login-particle,
  .login-floater,
  .login-brand__headline-accent,
  .login-executive__frame,
  .login-executive__pulse,
  .login-form__submit-shine,
  .login-card-shell__ring,
  .login-card__shimmer,
  .login-card-shell__pedestal,
  .login-form__submit-bg,
  .login-brand,
  .login-panel,
  .login-executive-col,
  .login-panel__halo,
  .login-executive-col__halo,
  .login-executive-col__orbit,
  .login-showcase-card,
  .login-showcase-card__bar span,
  .login-pipeline__flow,
  .login-ticker__track,
  .login-brand__live-dot {
    animation: none !important;
  }

  .login-executive-col,
  .login-brand,
  .login-panel {
    opacity: 1;
    transform: none;
  }

  .login-brand__line {
    position: static;
    opacity: 0;
  }

  .login-brand__line.is-active {
    opacity: 1;
  }

  .login-brand__line:not(.is-active) {
    display: none;
  }
}

/* ── Login-only generator readiness preflight ── */

.login-deps-strip {
  width: calc(100% - 48px);
  margin: 0 24px 16px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(129, 140, 248, 0.09), rgba(15, 18, 36, 0.45)),
    rgba(7, 9, 20, 0.62);
  color: var(--saas-text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.login-deps-strip:hover {
  transform: translateY(-1px);
  border-color: rgba(165, 180, 252, 0.42);
}

.login-deps-strip__signal {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.login-deps-strip__signal-core {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.85);
}

.login-deps-strip__signal-ring {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(129, 140, 248, 0.45);
  border-radius: 50%;
  animation: loginDepsSignal 1.5s ease-out infinite;
}

.login-deps-strip__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.login-deps-strip__copy strong {
  font-family: var(--login-display);
  font-size: 0.75rem;
  font-weight: 750;
  color: rgba(243, 244, 255, 0.96);
}

.login-deps-strip__copy > span {
  overflow: hidden;
  color: var(--saas-muted);
  font-size: 0.625rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-deps-strip__action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(199, 210, 254, 0.9);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.login-deps-strip__action svg {
  width: 13px;
  height: 13px;
}

.login-deps-strip.is-ready {
  border-color: rgba(52, 211, 153, 0.32);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(15, 18, 36, 0.45)),
    rgba(7, 9, 20, 0.62);
}

.login-deps-strip.is-ready .login-deps-strip__signal-core {
  background: #34d399;
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.75);
}

.login-deps-strip.is-ready .login-deps-strip__signal-ring {
  border-color: rgba(52, 211, 153, 0.42);
  animation: none;
}

.login-deps-strip.is-blocked {
  border-color: rgba(251, 113, 133, 0.36);
  background:
    linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(15, 18, 36, 0.45)),
    rgba(7, 9, 20, 0.62);
}

.login-deps-strip.is-blocked .login-deps-strip__signal-core {
  background: #fb7185;
  box-shadow: 0 0 18px rgba(251, 113, 133, 0.7);
}

.login-deps-strip.is-blocked .login-deps-strip__signal-ring {
  border-color: rgba(251, 113, 133, 0.42);
  animation: none;
}

.login-form__submit:disabled {
  cursor: not-allowed;
  filter: saturate(0.45);
  opacity: 0.58;
  transform: none;
}

.login-deps-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.login-deps-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.login-deps-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(79, 70, 229, 0.18), transparent 42%),
    rgba(3, 5, 13, 0.82);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.login-deps-modal__card {
  --deps-state: 129, 140, 248;
  position: relative;
  width: min(680px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(var(--deps-state), 0.35);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 28%),
    linear-gradient(180deg, rgba(16, 19, 38, 0.985), rgba(6, 8, 19, 0.992));
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.055) inset,
    0 0 90px rgba(var(--deps-state), 0.1);
  transform: translateY(16px) scale(0.975);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.login-deps-modal.is-open .login-deps-modal__card {
  transform: translateY(0) scale(1);
}

.login-deps-modal__card.is-ready {
  --deps-state: 52, 211, 153;
}

.login-deps-modal__card.is-blocked {
  --deps-state: 251, 113, 133;
}

.login-deps-modal__glow {
  position: absolute;
  z-index: 0;
  top: -170px;
  left: 50%;
  width: 420px;
  height: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(var(--deps-state), 0.14);
  filter: blur(76px);
  pointer-events: none;
  transition: background 260ms ease;
}

.login-deps-modal__card::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 11%;
  right: 11%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--deps-state), 0.82),
    transparent
  );
}

.login-deps-modal__card > *:not(.login-deps-modal__glow) {
  position: relative;
  z-index: 2;
}

.login-deps-modal__close {
  position: absolute !important;
  z-index: 4 !important;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 11px;
  background: rgba(15, 18, 34, 0.72);
  color: var(--saas-muted);
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.login-deps-modal__close:hover {
  color: #fff;
  border-color: rgba(165, 180, 252, 0.4);
  background: rgba(30, 34, 58, 0.9);
}

.login-deps-modal__close svg {
  width: 15px;
  height: 15px;
}

.login-deps-modal__head {
  padding: 30px 62px 20px 30px;
  display: flex;
  align-items: center;
  gap: 19px;
}

.login-deps-orbit {
  position: relative;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
}

.login-deps-orbit__outer,
.login-deps-orbit__middle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--deps-state), 0.28);
}

.login-deps-orbit__outer {
  inset: 0;
  border-style: dashed;
  animation: loginDepsSpin 9s linear infinite;
}

.login-deps-orbit__middle {
  inset: 9px;
  border-color: rgba(var(--deps-state), 0.44);
  animation: loginDepsSpinReverse 5.5s linear infinite;
}

.login-deps-orbit__core {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--deps-state), 0.48);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(var(--deps-state), 0.28), rgba(var(--deps-state), 0.08)),
    rgba(8, 10, 23, 0.9);
  color: rgb(var(--deps-state));
  box-shadow:
    0 0 28px rgba(var(--deps-state), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.login-deps-orbit__core svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.4;
}

.login-deps-modal__card.is-ready .login-deps-orbit__core {
  animation: loginDepsSuccess 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.login-deps-modal__heading {
  min-width: 0;
}

.login-deps-modal__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: rgb(var(--deps-state));
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.login-deps-modal__heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--login-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.login-deps-modal__heading p {
  max-width: 470px;
  margin: 7px 0 0;
  color: var(--saas-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.login-deps-progress {
  padding: 0 30px 18px;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.login-deps-progress__track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.11);
}

.login-deps-progress__track > span {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: rgb(var(--deps-state));
  box-shadow: 0 0 18px rgba(var(--deps-state), 0.68);
  transition:
    width 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 240ms ease;
}

.login-deps-modal__card.is-checking .login-deps-progress__track > span {
  animation: loginDepsProgress 1.8s ease-in-out infinite;
}

.login-deps-progress__label {
  color: rgba(186, 192, 214, 0.76);
  font-size: 0.625rem;
  font-weight: 650;
  white-space: nowrap;
}

.login-deps-list {
  min-height: 220px;
  padding: 4px 22px 8px;
  display: grid;
  gap: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 140, 248, 0.32) transparent;
}

.login-deps-row {
  min-height: 58px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 13px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(148, 163, 184, 0.035);
  opacity: 0;
  transform: translateY(7px);
  animation: loginDepsRowIn 360ms ease forwards;
  animation-delay: var(--deps-delay, 0ms);
}

.login-deps-row.is-pass {
  border-color: rgba(52, 211, 153, 0.18);
}

.login-deps-row.is-fail {
  border-color: rgba(251, 113, 133, 0.24);
  background:
    linear-gradient(120deg, rgba(244, 63, 94, 0.065), transparent),
    rgba(148, 163, 184, 0.035);
}

.login-deps-row__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(129, 140, 248, 0.24);
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.09);
  color: #a5b4fc;
}

.login-deps-row.is-pass .login-deps-row__icon {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
}

.login-deps-row.is-fail .login-deps-row__icon {
  border-color: rgba(251, 113, 133, 0.3);
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
}

.login-deps-row.is-checking .login-deps-row__icon svg {
  animation: loginDepsSpin 1.2s linear infinite;
}

.login-deps-row__icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}

.login-deps-row__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.login-deps-row__copy strong {
  overflow: hidden;
  color: rgba(244, 246, 255, 0.96);
  font-size: 0.75rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-deps-row__copy span {
  overflow: hidden;
  color: rgba(164, 171, 196, 0.82);
  font-size: 0.625rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-deps-row__state {
  min-width: 56px;
  padding: 4px 8px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 999px;
  color: #a5b4fc;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.login-deps-row.is-pass .login-deps-row__state {
  border-color: rgba(52, 211, 153, 0.24);
  background: rgba(16, 185, 129, 0.075);
  color: #6ee7b7;
}

.login-deps-row.is-fail .login-deps-row__state {
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(244, 63, 94, 0.075);
  color: #fda4af;
}

.login-deps-modal__foot {
  margin-top: 13px;
  padding: 18px 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(4, 6, 15, 0.42);
}

.login-deps-modal__assurance {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(148, 155, 181, 0.72);
  font-size: 0.59rem;
  line-height: 1.35;
}

.login-deps-modal__assurance svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: rgba(165, 180, 252, 0.82);
}

.login-deps-modal__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 9px;
}

.login-deps-btn {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  font-family: var(--login-sans);
  font-size: 0.6875rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    border-color 160ms ease;
}

.login-deps-btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.login-deps-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.login-deps-btn svg {
  width: 14px;
  height: 14px;
}

.login-deps-btn--secondary {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.055);
  color: rgba(213, 218, 236, 0.88);
}

.login-deps-btn--primary {
  border: 1px solid rgba(var(--deps-state), 0.38);
  background:
    linear-gradient(135deg, rgba(var(--deps-state), 0.96), rgba(var(--deps-state), 0.68));
  color: #fff;
  box-shadow: 0 10px 28px rgba(var(--deps-state), 0.2);
}

@keyframes loginDepsSignal {
  0% { transform: scale(0.45); opacity: 0.9; }
  100% { transform: scale(1.12); opacity: 0; }
}

@keyframes loginDepsSpin {
  to { transform: rotate(360deg); }
}

@keyframes loginDepsSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes loginDepsProgress {
  0%, 100% { width: 14%; transform: translateX(0); }
  50% { width: 58%; transform: translateX(58%); }
}

@keyframes loginDepsRowIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loginDepsSuccess {
  0% { transform: scale(0.72) rotate(-10deg); }
  60% { transform: scale(1.12) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

@media (max-width: 640px) {
  .login-deps-modal {
    padding: 12px;
  }

  .login-deps-modal__card {
    max-height: calc(100vh - 24px);
    border-radius: 21px;
  }

  .login-deps-modal__head {
    padding: 24px 48px 16px 20px;
    gap: 13px;
  }

  .login-deps-orbit {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .login-deps-orbit__middle {
    inset: 7px;
  }

  .login-deps-orbit__core {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .login-deps-orbit__core svg {
    width: 18px;
    height: 18px;
  }

  .login-deps-modal__heading p {
    font-size: 0.6875rem;
  }

  .login-deps-progress {
    padding: 0 20px 14px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .login-deps-progress__label {
    white-space: normal;
  }

  .login-deps-list {
    padding: 4px 14px 7px;
  }

  .login-deps-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .login-deps-row__state {
    display: none;
  }

  .login-deps-modal__foot {
    padding: 15px 16px 17px;
    align-items: stretch;
    flex-direction: column;
  }

  .login-deps-modal__assurance {
    justify-content: center;
  }

  .login-deps-modal__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .login-deps-strip {
    width: calc(100% - 36px);
    margin-right: 18px;
    margin-left: 18px;
  }

  .login-deps-strip__copy > span {
    max-width: 175px;
  }

  .login-deps-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
  }

  .login-deps-btn {
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-deps-strip__signal-ring,
  .login-deps-orbit__outer,
  .login-deps-orbit__middle,
  .login-deps-progress__track > span,
  .login-deps-row,
  .login-deps-row.is-checking .login-deps-row__icon svg,
  .login-deps-modal__card.is-ready .login-deps-orbit__core {
    animation: none !important;
  }

  .login-deps-row {
    opacity: 1;
    transform: none;
  }
}
