/* Home Remodeler SEO - Brand Awareness Calculator */

.ba * { box-sizing: border-box; }

.ba {
  --brand-blue: #1B5083;
  --brand-orange: #FFA300;

  --bg-panel: #0f2f50;

  --text: #f8fafc;
  --muted: rgba(203, 213, 225, 0.92);

  --border: rgba(255,255,255,0.18);
  --shadow: 0 18px 40px rgba(0,0,0,0.35);

  margin: 0 auto;
  padding: 24px 12px;
  max-width: 540px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
}

.ba__shell {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #163f6b 100%);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 20px 24px;
  border: 1px solid var(--border);
}

.ba__logo-wrap {
  display: flex;
  justify-content: center;
  padding: 6px 0 14px;
}

.ba__logo {
  width: min(340px, 92%);
  height: auto;
}

.ba__section {
  background: var(--bg-panel);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}

.ba__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: radial-gradient(circle at left, rgba(255, 163, 0, 0.22), var(--bg-panel) 55%);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.ba__step {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 163, 0, 0.14);
  border: 1px solid var(--brand-orange);
  display: grid;
  place-items: center;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-orange);
}

.ba__title {
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 15px;
  text-transform: uppercase;
}

.ba__body { padding: 18px 18px; }

.ba__field { margin-bottom: 14px; }

.ba__label {
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.92);
  margin-bottom: 6px;
}

.ba__control { position: relative; }
.ba__control--money .ba__input { padding-left: 32px; }

.ba__prefix {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.55);
  pointer-events: none;
}

.ba__input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 650;
  background: #fff;
  color: #0b1220;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.ba__input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px rgba(255, 163, 0, 0.25);
  transform: translateY(-0.5px);
}

.ba__input--small { font-size: 13px; }

.ba__slider {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.10);
}

.ba__slider-value {
  min-width: 80px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(27, 80, 131, 0.35);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}

.ba__range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #0a1b2f;
  outline: none;
}

.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--brand-orange);
  border: 2px solid var(--bg-panel);
  box-shadow: 0 0 0 2px rgba(255, 163, 0, 0.35);
  margin-top: -5px;
}

.ba__cpm {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px 12px;
  background: rgba(0, 0, 0, 0.10);
}

.ba__cpm-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.ba__pill {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(0,0,0,0.06);
  color: rgba(248, 250, 252, 0.92);
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.05s ease, border-color 0.15s ease, background 0.15s ease;
}

.ba__pill:hover {
  border-color: var(--brand-orange);
  transform: translateY(-0.5px);
}

.ba__pill.is-active {
  background: linear-gradient(135deg, var(--brand-orange), #ffb733);
  border-color: rgba(255, 163, 0, 0.95);
  color: #0b2a45;
  font-weight: 900;
}

.ba__help {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.ba__note {
  margin-top: 10px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.22);
  padding: 10px 12px;
  background: radial-gradient(circle at top left, rgba(27, 80, 131, 0.38), rgba(0,0,0,0.12) 70%);
  font-size: 11px;
  color: rgba(248, 250, 252, 0.95);
}

.ba__note-title {
  font-weight: 900;
  margin-bottom: 4px;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
}

.ba__note-text { margin-bottom: 6px; }
.ba__note-list { margin: 0 0 0 16px; padding: 0; }

.ba__results-title {
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
}

.ba__result {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.20);
  padding: 8px 12px 10px;
  margin-bottom: 8px;
  background: linear-gradient(to right, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.ba__result-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
}

.ba__result-value {
  font-size: 26px;
  font-weight: 900;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
}

.ba__verdict {
  margin-top: 14px;
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
}

.ba__verdict--building {
  background: rgba(255, 163, 0, 0.18);
  border-color: rgba(255, 163, 0, 0.9);
  color: #fff7ed;
}

.ba__verdict--weak {
  background: rgba(248, 113, 113, 0.16);
  border-color: rgba(248, 113, 113, 0.8);
  color: #ffe4e6;
}

.ba__verdict--dominating {
  background: rgba(34, 197, 94, 0.20);
  border-color: rgba(34, 197, 94, 0.9);
  color: #dcfce7;
}
