/* NASAQ sign-in artwork. Scoped to the marketing panel; no auth/UI logic. */
.login-story.nasaq-story {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 94% 42%, #127f7340, transparent 54%),
    radial-gradient(ellipse at 0% 100%, #204e6945, transparent 55%),
    #101c32;
  padding: 126px clamp(32px, 5.5vw, 100px) 100px;
  min-height: max(780px, 100vh);
}
.nasaq-story::after {
  z-index: -1;
  opacity: .55;
  background-size: 58px 58px;
  mask-image: linear-gradient(transparent, #000 35%, transparent);
}
.nasaq-story .workspace-brand {
  left: clamp(32px, 5.5vw, 100px);
  gap: 12px;
  letter-spacing: .6px;
  z-index: 1;
}
.nasaq-story .workspace-brand > span {
  border-left: 1px solid #ffffff24;
  padding-left: 14px;
  color: #b9d3d3;
  font-size: 23px;
  letter-spacing: 0;
}
.story-orbit {
  position: absolute;
  z-index: -1;
  width: 670px;
  height: 670px;
  border: 1px solid #39ddb112;
  border-radius: 50%;
  top: 15%;
  left: 42%;
  box-shadow: 0 0 0 65px #39ddb104, 0 0 0 130px #39ddb103;
  pointer-events: none;
}
.story-content { width: 100%; max-width: 560px; margin: auto 0; }
.story-kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #39ddb133;
  border-radius: 30px;
  background: #39ddb10a;
  color: #a4dfd3;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
}
.story-kicker > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39ddb1;
  box-shadow: 0 0 12px #39ddb17a;
}
.nasaq-story h2 {
  font-size: clamp(36px, 3.9vw, 64px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -2.2px;
  margin: 25px 0 20px;
}
.nasaq-story h2 > span {
  color: #65ebc7;
  background: linear-gradient(100deg, #c3ffec, #39ddb1 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nasaq-story .story-description {
  color: #adbfcc;
  font-size: 13px;
  line-height: 1.9;
  max-width: 440px;
  margin: 0;
}
.story-workflow {
  height: 254px;
  width: 100%;
  max-width: 480px;
  margin: 28px 0 12px;
  position: relative;
}
.story-connections { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-track { stroke: #39ddb13b; stroke-width: 1.3; }
.story-signal {
  stroke: #6ff4ce;
  stroke-width: 1.6;
  stroke-dasharray: 5 180;
  animation: nasaq-flow 4.5s ease-out both;
}
.story-node {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  width: 170px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid #91d0c433;
  background: linear-gradient(120deg, #233a4e, #14293a);
  box-shadow: 0 16px 32px #00000020, inset 0 1px #ffffff08;
  animation: nasaq-arrive .8s ease-out both;
}
.story-node small { display: block; color: #8fb7b9; font-size: 8px; letter-spacing: 1.2px; }
.story-node strong { display: block; color: #f0fffb; font-size: 12px; font-weight: 550; margin-top: 3px; }
.story-node-icon { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 34px; color: #6fefd0; }
.story-node-icon svg { width: 24px; height: 24px; }
.story-node-orders { left: 0; top: 24px; }
.story-node-review { right: 0; top: 24px; animation-delay: .15s; }
.story-node-warehouse { right: 0; top: 175px; animation-delay: .3s; }
.story-hub {
  position: absolute;
  left: 50%;
  top: 126px;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 23px;
  padding: 1px;
  background: linear-gradient(135deg, #96ffe166, #39ddb117);
  box-shadow: 0 0 50px #39ddb126, 0 16px 30px #00000033;
  animation: nasaq-glow 4.5s ease-out both;
}
.story-hub img { display: block; width: 100%; height: 100%; border-radius: 22px; }
.story-workflow-caption { position: absolute; left: 0; bottom: 30px; color: #97b8bf; font-size: 10px; letter-spacing: .4px; }
.story-capabilities { display: flex; align-items: center; gap: 16px; color: #a9c3ca; font-size: 11px; }
.story-capabilities i { width: 3px; height: 3px; background: #39ddb1; border-radius: 50%; }
.story-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: absolute;
  bottom: 32px;
  left: clamp(32px, 5.5vw, 100px);
  right: clamp(32px, 5.5vw, 100px);
  padding-top: 18px;
  border-top: 1px solid #91d0c420;
  color: #91afb9;
  font-size: 9px;
}
.story-signature [lang="ar"] { font-size: 15px; color: #d2e9e3; }
@keyframes nasaq-flow { from { stroke-dashoffset: 220; opacity: 0; } 20% { opacity: 1; } to { stroke-dashoffset: 0; opacity: .8; } }
@keyframes nasaq-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nasaq-glow { from { box-shadow: 0 0 0 #39ddb100; } 45% { box-shadow: 0 0 65px #39ddb13d; } }
@media (min-width: 761px) and (max-width: 1100px) {
  .login-story.nasaq-story { padding-left: 30px; padding-right: 30px; }
  .nasaq-story .workspace-brand, .story-signature { left: 30px; }
  .story-signature { right: 30px; }
  .story-node { width: 145px; gap: 6px; padding: 14px 9px; }
  .story-node strong { font-size: 11px; }
  .story-node small { font-size: 7px; }
  .story-signature > span:last-child { display: none; }
}
@media (max-width: 760px) {
  .login-story.nasaq-story { min-height: 0; padding: 96px 26px 28px; }
  .nasaq-story .workspace-brand { left: 26px; top: 22px; }
  .nasaq-story h2 { font-size: 36px; margin: 12px 0 16px; letter-spacing: -1.3px; }
  .story-kicker { font-size: 8px; padding: 6px 10px; }
  .nasaq-story .story-description, .story-workflow, .story-signature { display: none; }
  .story-content { margin: 0; }
  .story-capabilities { font-size: 10px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .nasaq-story *, .nasaq-story::after { animation: none !important; }
}
