.bsa-shell,
.bsa-shell * {
  box-sizing: border-box;
}

.bsa-shell [hidden] {
  display: none !important;
}

.bsa-shell {
  --bsa-dark: #0b1020;
  --bsa-card: #11182b;
  --bsa-line: rgba(255, 255, 255, .09);
  --bsa-text: #f8fafc;
  --bsa-muted: #9ca9bf;
  --bsa-accent: #ffb703;
  --bsa-pass: #20c997;
  --bsa-warning: #ffb020;
  --bsa-fail: #ff5d6c;

  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(64px, 7vw, 110px) 0 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 183, 3, .14), transparent 28%),
    radial-gradient(circle at 90% 74%, rgba(37, 99, 235, .17), transparent 34%),
    linear-gradient(145deg, #070b15 0%, #0d1426 56%, #080c16 100%);
  color: var(--bsa-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bsa-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(1520px, calc(100% - 48px));
  min-height: calc(100vh - 152px);
  margin: 0 auto;
}

.bsa-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .18;
  pointer-events: none;
}

.bsa-glow-one {
  top: -180px;
  left: -190px;
  background: #ffb703;
}

.bsa-glow-two {
  right: -190px;
  bottom: -190px;
  background: #2563eb;
}

.bsa-hero {
  width: 100%;
  max-width: 1060px;
  min-height: 470px;
  margin: 0 auto;
  text-align: center;
}

.bsa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 183, 3, .3);
  border-radius: 999px;
  background: rgba(255, 183, 3, .08);
  color: #ffd463;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.bsa-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bsa-accent);
  box-shadow: 0 0 0 5px rgba(255, 183, 3, .12);
}

.bsa-hero h2 {
  max-width: 1040px;
  margin: 25px auto 18px;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.bsa-hero h2 em {
  display: block;
  color: var(--bsa-accent);
  font-style: normal;
}

.bsa-hero > p {
  max-width: 830px;
  min-height: 60px;
  margin: 0 auto;
  color: var(--bsa-muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.75;
}

.bsa-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  width: 100%;
  max-width: 920px;
  margin: 32px auto 0;
  padding: 9px;
  border: 1px solid var(--bsa-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 25px 80px rgba(0, 0, 0, .26);
  backdrop-filter: blur(16px);
}

.bsa-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 10px;
}

.bsa-input-wrap svg {
  width: 24px;
  min-width: 24px;
  fill: #7f8da5;
}

.bsa-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 58px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.bsa-input-wrap input::placeholder {
  color: #738098;
}

.bsa-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffc533, #f7a600);
  box-shadow: 0 12px 30px rgba(255, 183, 3, .22);
  color: #121212;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.bsa-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(255, 183, 3, .28);
}

.bsa-form button:disabled {
  transform: none;
  opacity: .65;
  cursor: wait;
}

.bsa-form button svg {
  width: 20px;
  fill: currentColor;
}

.bsa-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  min-height: 22px;
  margin-top: 19px;
  color: #8190a8;
  font-size: 13px;
}

.bsa-status {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 10px;
  color: #ffd463;
  font-size: 14px;
}

.bsa-status.is-success {
  color: #ffd463;
}

.bsa-status.is-error {
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 10px 16px;
  border: 1px solid rgba(255, 93, 108, .26);
  border-radius: 12px;
  background: rgba(255, 93, 108, .1);
  color: #ff9ba5;
}

.bsa-results {
  width: 100%;
  margin-top: 20px;
  scroll-margin-top: 30px;
}

.bsa-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
}

.bsa-score-card,
.bsa-stat,
.bsa-metric,
.bsa-check {
  border: 1px solid var(--bsa-line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  box-shadow: 0 20px 55px rgba(0, 0, 0, .2);
  backdrop-filter: blur(15px);
}

.bsa-score-card {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
}

.bsa-ring {
  --score: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 152px;
  min-width: 152px;
  height: 152px;
  border-radius: 50%;
  background: conic-gradient(var(--bsa-accent) calc(var(--score) * 1%), rgba(255, 255, 255, .08) 0);
}

.bsa-ring::before {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #101729;
  content: "";
}

.bsa-ring > div {
  position: relative;
  z-index: 2;
  text-align: center;
}

.bsa-ring strong {
  font-size: 48px;
  line-height: 1;
}

.bsa-ring span {
  color: var(--bsa-muted);
  font-size: 13px;
}

.bsa-score-copy span {
  color: #8492a9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bsa-score-copy h3 {
  margin: 8px 0 9px;
  color: #fff;
  font-size: 30px;
}

.bsa-score-copy p {
  max-width: 440px;
  margin: 0;
  overflow-wrap: anywhere;
  color: #8f9bb0;
  font-size: 13px;
  line-height: 1.6;
}

.bsa-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bsa-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
}

.bsa-stat span {
  color: #9aa7bc;
  font-size: 13px;
}

.bsa-stat strong {
  font-size: 48px;
  line-height: 1;
}

.bsa-stat-pass strong { color: var(--bsa-pass); }
.bsa-stat-warning strong { color: var(--bsa-warning); }
.bsa-stat-fail strong { color: var(--bsa-fail); }

.bsa-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.bsa-metric {
  min-width: 0;
  padding: 18px;
  border-radius: 17px;
}

.bsa-metric span {
  display: block;
  color: #8290a7;
  font-size: 12px;
}

.bsa-metric strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 20px;
}

.bsa-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 46px 0 18px;
}

.bsa-toolbar > div > span {
  color: var(--bsa-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bsa-toolbar h3 {
  margin: 7px 0 0;
  color: #fff;
  font-size: 29px;
}

.bsa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bsa-filters button {
  padding: 9px 13px;
  border: 1px solid var(--bsa-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #98a5b9;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.bsa-filters button.is-active {
  border-color: rgba(255, 183, 3, .36);
  background: rgba(255, 183, 3, .12);
  color: #ffd463;
}

.bsa-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bsa-check {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
  padding: 20px;
  border-radius: 19px;
  transition: transform .2s ease, border-color .2s ease;
}

.bsa-check:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .16);
}

.bsa-check[hidden] {
  display: none;
}

.bsa-check-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-weight: 950;
}

.bsa-check-pass .bsa-check-icon {
  background: rgba(32, 201, 151, .12);
  color: var(--bsa-pass);
}

.bsa-check-warning .bsa-check-icon {
  background: rgba(255, 176, 32, .12);
  color: var(--bsa-warning);
}

.bsa-check-fail .bsa-check-icon {
  background: rgba(255, 93, 108, .12);
  color: var(--bsa-fail);
}

.bsa-check h4 {
  margin: 1px 0 7px;
  color: #fff;
  font-size: 16px;
}

.bsa-check p {
  margin: 0;
  color: #8c99ae;
  font-size: 13px;
  line-height: 1.62;
}

.bsa-check small {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--bsa-line);
  color: #c3ccda;
  font-size: 12px;
  line-height: 1.55;
}

.bsa-check small b {
  color: #fff;
}

.bsa-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  width: 100%;
  margin-top: auto;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 183, 3, .1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
  backdrop-filter: blur(18px);
}

.bsa-results:not([hidden]) + .bsa-contact-cta {
  margin-top: 44px;
}

.bsa-contact-copy {
  max-width: 680px;
}

.bsa-contact-copy > span {
  color: var(--bsa-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bsa-contact-copy h3 {
  margin: 7px 0 7px;
  color: #fff;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.2;
}

.bsa-contact-copy p {
  margin: 0;
  color: #8f9bb0;
  font-size: 14px;
  line-height: 1.6;
}

.bsa-contact-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.bsa-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  color: #fff;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bsa-contact-button:hover {
  transform: translateY(-3px);
  color: #fff;
}

.bsa-contact-phone {
  border-color: rgba(255, 183, 3, .26);
  background: rgba(255, 183, 3, .08);
}

.bsa-contact-phone:hover {
  border-color: rgba(255, 183, 3, .48);
  box-shadow: 0 14px 32px rgba(255, 183, 3, .12);
}

.bsa-contact-whatsapp {
  border-color: rgba(37, 211, 102, .28);
  background: rgba(37, 211, 102, .08);
}

.bsa-contact-whatsapp:hover {
  border-color: rgba(37, 211, 102, .48);
  box-shadow: 0 14px 32px rgba(37, 211, 102, .11);
}

.bsa-contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
}

.bsa-contact-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.bsa-contact-phone .bsa-contact-icon {
  color: var(--bsa-accent);
}

.bsa-contact-whatsapp .bsa-contact-icon {
  color: #25d366;
}

.bsa-contact-button > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bsa-contact-button small {
  color: #8795aa;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.bsa-contact-button strong {
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
}

.bsa-loader {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(17, 17, 17, .25);
  border-top-color: #111;
  border-radius: 50%;
  animation: bsa-spin .75s linear infinite;
}

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

@media (max-width: 1180px) {
  .bsa-summary {
    grid-template-columns: 1fr;
  }

  .bsa-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bsa-contact-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .bsa-container {
    width: min(100% - 30px, 1520px);
  }

  .bsa-hero {
    min-height: 430px;
  }

  .bsa-hero h2 {
    font-size: clamp(38px, 9vw, 58px);
  }

  .bsa-checks {
    grid-template-columns: 1fr;
  }

  .bsa-contact-actions {
    width: 100%;
  }

  .bsa-contact-button {
    flex: 1 1 0;
  }
}

@media (max-width: 700px) {
  .bsa-shell {
    min-height: 100svh;
    padding: 54px 0 24px;
  }

  .bsa-container {
    min-height: calc(100svh - 78px);
  }

  .bsa-hero {
    min-height: 520px;
  }

  .bsa-eyebrow {
    font-size: 11px;
  }

  .bsa-hero h2 {
    margin-top: 20px;
    font-size: 39px;
  }

  .bsa-hero > p {
    min-height: 0;
    font-size: 15px;
  }

  .bsa-form {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .bsa-form button {
    width: 100%;
  }

  .bsa-trust {
    gap: 10px 16px;
  }

  .bsa-score-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .bsa-stat-grid {
    grid-template-columns: 1fr;
  }

  .bsa-stat {
    min-height: 110px;
  }

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

  .bsa-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .bsa-check {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 17px;
  }

  .bsa-check-icon {
    width: 38px;
    height: 38px;
  }

  .bsa-contact-cta {
    padding: 22px 18px;
  }

  .bsa-contact-actions {
    flex-direction: column;
  }

  .bsa-contact-button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsa-shell *,
  .bsa-shell *::before,
  .bsa-shell *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
