/* Homepage: top safety notice + compact intro (marketing layer above main content) */

.scc-top-safety {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(124, 255, 178, 0.22);
  background: rgba(0, 18, 24, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.scc-top-safety__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(212, 245, 255, 0.88);
  font-family: Consolas, Monaco, ui-monospace, monospace;
}

.scc-top-safety__text strong {
  color: rgba(124, 255, 178, 0.95);
  font-weight: 700;
}

.scc-home-intro {
  margin: 0 0 28px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.15));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.scc-home-intro__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw + 0.6rem, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text, #eaf0ff);
}

.scc-home-intro__sub {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted, rgba(234, 240, 255, 0.72));
  max-width: 52ch;
}

.scc-home-intro__trust {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(124, 255, 178, 0.92);
}

.scc-home-intro__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
}

.scc-home-intro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text, #eaf0ff);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, filter 0.15s ease;
}

.scc-home-intro__btn:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.scc-home-intro__btn--primary {
  border: 1px solid rgba(106, 166, 255, 0.55);
  background: linear-gradient(135deg, rgba(106, 166, 255, 0.98), rgba(139, 92, 246, 0.95));
  color: #061024;
}

.scc-home-intro__btn--primary:hover {
  filter: brightness(1.05);
}

.scc-home-intro__btn--secondary {
  border-color: rgba(124, 255, 178, 0.35);
  background: rgba(16, 34, 39, 0.45);
  color: #eafcff;
}

.scc-home-intro__link {
  font-size: 14px;
  font-weight: 600;
  color: rgba(106, 166, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scc-home-intro__link:hover {
  color: #b8d4ff;
}

.scc-home-intro__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 16px 0 0;
  padding: 10px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.scc-home-intro__strip li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted2, rgba(234, 240, 255, 0.55));
}

.scc-home-intro__strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(124, 255, 178, 0.65);
  box-shadow: 0 0 8px rgba(124, 255, 178, 0.35);
}

@media (max-width: 520px) {
  .scc-home-intro {
    padding: 14px 14px 12px;
  }

  .scc-home-intro__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .scc-home-intro__btn {
    width: 100%;
    max-width: 320px;
  }

  .scc-home-intro__link {
    text-align: center;
    width: 100%;
    max-width: 320px;
  }
}

/* Homepage: aggregate feedback rating (public /api/feedback/stats) */
.scc-public-rating {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(106, 166, 255, 0.22);
  background: linear-gradient(165deg, rgba(106, 166, 255, 0.1), rgba(0, 0, 0, 0.12));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.scc-public-rating__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.scc-public-rating__stars {
  flex: 0 0 auto;
}

.scc-public-rating__track {
  display: inline-block;
  position: relative;
  width: 140px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  vertical-align: middle;
  overflow: hidden;
}

.scc-public-rating__track::before {
  content: "\2605 \2605 \2605 \2605 \2605";
  position: absolute;
  left: 8px;
  top: 2px;
  font-size: 18px;
  letter-spacing: 2px;
  color: rgba(234, 240, 255, 0.22);
  pointer-events: none;
}

.scc-public-rating__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.35), rgba(250, 204, 21, 0.85));
  pointer-events: none;
}

.scc-public-rating__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(234, 240, 255, 0.88);
  max-width: 52ch;
}
