/* Portal User Guide (Bulk Analysis) — premium dark enterprise styling */

.uc-pg-main {
  width: 100%;
  flex: 1 0 auto;
}

/* Guide header: keep marketing nav usable on all widths */

.uc-pg-body .hero-nav {
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.uc-pg-body .hero-nav .nav {
  flex-wrap: wrap;
  gap: 10px 14px;
  overflow-x: visible;
}

.uc-pg-body .hero-nav__cta {
  white-space: nowrap;
}

/* Guide footer: ensure readability on dark pages */

.uc-pg-body .block-44 {
  background: transparent;
}

.uc-pg-body .block-44__logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.uc-pg-body .block-44__divider {
  border-color: rgba(255, 255, 255, 0.14);
}

.uc-pg-body .block-44__copyrights {
  color: rgba(240, 245, 255, 0.66);
}

.uc-pg {
  position: relative;
  padding: clamp(54px, 6vw, 92px) 0;
}

.uc-pg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(920px 520px at 12% 12%, rgba(80,165,255,0.12), rgba(255,255,255,0) 62%),
    radial-gradient(860px 520px at 88% 22%, rgba(150,115,255,0.10), rgba(255,255,255,0) 64%),
    linear-gradient(180deg, rgba(2,8,20,0.14), rgba(2,8,20,0.00));
  opacity: 0.9;
}

.uc-pg-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.uc-pg-hero {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(44px, 6vw, 78px);
}

.uc-pg-eyebrow {
  color: rgba(210, 230, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.uc-pg-h1 {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(42px, 5.0vw, 66px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  font-weight: 600;
}

.uc-pg-h1 span {
  display: inline-block;
  color: rgba(210, 230, 255, 0.70);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: 0.02em;
  margin-left: 10px;
  vertical-align: baseline;
}

.uc-pg-lede {
  color: rgba(240, 245, 255, 0.74);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 700px;
  margin-top: 18px;
  margin-bottom: 0;
}

.uc-pg-section {
  padding-top: clamp(44px, 6vw, 78px);
}

.uc-pg-section--workflow {
  padding-top: clamp(96px, 10vw, 128px);
}

.uc-pg-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.uc-pg-subtitle {
  color: rgba(240, 245, 255, 0.66);
  margin: 0 0 18px 0;
  line-height: 1.7;
  max-width: 78ch;
}

/* Media grid */

.uc-pg-mediaGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

@media (min-width: 992px) {
  .uc-pg-mediaGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

.uc-pg-mediaCard {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(8, 16, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0,0,0,0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.uc-pg-mediaFrame {
  padding: 6px 8px 2px;
  background:
    radial-gradient(420px 240px at 50% 18%, rgba(80,165,255,0.10), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(2,8,20,0.35), rgba(2,8,20,0.00));
}

.uc-pg-mediaImg {
  width: 100%;
  height: 286px;
  object-fit: contain;
  display: block;
  filter: saturate(1.03) contrast(1.02);
}

@media (min-width: 992px) {
  .uc-pg-mediaImg {
    height: 310px;
  }
}

.uc-pg-mediaBody {
  padding: 18px 18px 20px;
}

.uc-pg-mediaLabel {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px 0;
}

.uc-pg-mediaText {
  color: rgba(240, 245, 255, 0.64);
  margin: 0;
  line-height: 1.6;
}

/* Operational workflow */

.uc-pg-flow {
  position: relative;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.uc-pg-flow::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: linear-gradient(180deg, rgba(80,165,255,0.00), rgba(80,165,255,0.18), rgba(150,115,255,0.12), rgba(80,165,255,0.00));
  filter: drop-shadow(0 0 10px rgba(80,165,255,0.18));
  pointer-events: none;
}

.uc-pg-flow::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(80,165,255,0.58);
  box-shadow: 0 0 18px rgba(80,165,255,0.34);
  transform: translate(-4px, -10px);
  pointer-events: none;
  animation: ucPgFlowDotV 7.5s linear infinite;
}

@media (min-width: 992px) {
  .uc-pg-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }

  .uc-pg-flow::before {
    position: absolute;
    left: 0;
    right: 0;
    top: 34px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(80,165,255,0.00), rgba(80,165,255,0.22), rgba(150,115,255,0.18), rgba(80,165,255,0.00));
    filter: drop-shadow(0 0 10px rgba(80,165,255,0.22));
    pointer-events: none;
  }

  .uc-pg-flow::after {
    position: absolute;
    top: 34px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(80,165,255,0.60);
    box-shadow: 0 0 18px rgba(80,165,255,0.38);
    transform: translate(-10px, -4px);
    pointer-events: none;
    animation: ucPgFlowDot 9s linear infinite;
  }
}

@keyframes ucPgFlowDotV {
  0% { transform: translate(-4px, -10px); opacity: 0.0; }
  10% { opacity: 0.80; }
  90% { opacity: 0.80; }
  100% { transform: translate(-4px, calc(100% + 10px)); opacity: 0.0; }
}

@keyframes ucPgFlowDot {
  0% { transform: translate(-10px, -4px); opacity: 0.0; }
  8% { opacity: 0.85; }
  92% { opacity: 0.85; }
  100% { transform: translate(calc(100% + 10px), -4px); opacity: 0.0; }
}

@media (prefers-reduced-motion: reduce) {
  .uc-pg-flow::after {
    animation: none;
    opacity: 0;
  }
}

.uc-pg-flowCard {
  position: relative;
  border-radius: 18px;
  background: rgba(8, 16, 32, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 70px rgba(0,0,0,0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 16px 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.uc-pg-flowCard::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(2, 8, 20, 0.95);
  border: 1px solid rgba(80,165,255,0.38);
  box-shadow: 0 0 0 5px rgba(80,165,255,0.06);
}

@media (min-width: 992px) {
  .uc-pg-flowCard::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.uc-pg-flowCard__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-top: 2px;
}

.uc-pg-flowIcon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(150, 205, 255, 0.86);
}

.uc-pg-flowIcon svg {
  width: 18px;
  height: 18px;
}

.uc-pg-flowTitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  font-weight: 600;
  line-height: 1.25;
}

.uc-pg-flowList {
  margin: 0;
  padding-left: 18px;
  color: rgba(240, 245, 255, 0.72);
  line-height: 1.65;
  flex: 1 1 auto;
}

.uc-pg-flowList li {
  margin-bottom: 8px;
}

.uc-pg-flowFooter {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(150, 205, 255, 0.74);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Support accordion */

.uc-pg-acc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

.uc-pg-accItem {
  border-radius: 18px;
  background: rgba(8, 16, 32, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.uc-pg-accSummary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.90);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.uc-pg-accSummary::-webkit-details-marker {
  display: none;
}

.uc-pg-accSummary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(150, 205, 255, 0.65);
  border-bottom: 2px solid rgba(150, 205, 255, 0.65);
  transform: rotate(45deg);
  transition: transform 180ms ease, opacity 180ms ease;
  opacity: 0.85;
}

.uc-pg-accItem:hover {
  box-shadow: 0 22px 70px rgba(0,0,0,0.32);
  border-color: rgba(150, 205, 255, 0.16);
}

.uc-pg-accItem[open] {
  box-shadow: 0 26px 84px rgba(0,0,0,0.35);
  border-color: rgba(80,165,255,0.20);
}

.uc-pg-accItem[open] .uc-pg-accSummary {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.uc-pg-accItem[open] .uc-pg-accSummary::after {
  transform: rotate(225deg);
}

.uc-pg-accPanel {
  padding: 12px 18px 18px;
  color: rgba(240, 245, 255, 0.72);
}

.uc-pg-accPanel ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.75;
}

.uc-pg-accPanel li {
  margin-bottom: 8px;
}
