/* BlackHalo marketing site — buttons, cards, badges, plans, table, calculator, forms. */

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: var(--gradient-cta);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  color: #fff;
  filter: brightness(1.12);
}

.btn--ghost {
  color: var(--text);
  background: rgba(18, 14, 30, 0.6);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  color: #fff;
  border-color: var(--blue-soft);
}

.btn--lg {
  min-height: 54px;
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 24rem;
}

@media (min-width: 560px) {
  .btn-row {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    max-width: none;
    width: auto;
  }
}

/* Cards ------------------------------------------------------------------ */

.card {
  position: relative;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.card h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card p {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.audience + .audience {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.audience__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.75rem);
}

.audience__title::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--violet);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.7);
}

/* Badges ----------------------------------------------------------------- */

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e9e3ff;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.4);
}

.badge--free {
  color: #fff;
  background: var(--gradient-cta);
  border-color: transparent;
}

/* Spotlight panels (Convention Mode, Branding) --------------------------- */

.panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 70%),
    var(--bg-card);
  overflow: hidden;
}

.panel__head {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.panel__head .badge {
  margin-bottom: 1rem;
}

.quote {
  margin: 1.25rem auto 0;
  padding: 0.25rem 0 0.25rem 1.1rem;
  max-width: 38rem;
  border-left: 3px solid var(--violet);
  text-align: left;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  line-height: 1.55;
  color: #e4defa;
}

.quote--mantra {
  font-size: clamp(1.25rem, 1rem + 1.4vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.35;
  border-left-width: 4px;
  border-image: linear-gradient(180deg, #a78bfa, #3b82f6) 1;
}

/* Plans ------------------------------------------------------------------ */

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.plan--anchor {
  border-color: var(--border-strong);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 70%),
    var(--bg-card);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.25), var(--shadow-glow);
}

.plan__name {
  font-size: 1.2rem;
}

.plan__tagline {
  min-height: 3.1em;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.1rem;
}

.plan__amount {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan__unit {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: #d6cfea;
}

.check-list li::before {
  content: "✓";
  content: "✓" / "";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--violet);
  font-weight: 800;
}

.check-list--two {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .check-list--two {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem;
  }
}

.plans-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.plans-note strong {
  color: var(--text);
}

/* Comparison table ------------------------------------------------------- */

.table-scroll {
  overflow-x: auto;
  /* Stops the wide table from widening the page's own scroll width on mobile. */
  contain: paint;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  -webkit-overflow-scrolling: touch;
}

/* Inset, because contain: paint would clip an outside focus ring. */
.table-scroll:focus-visible {
  outline-offset: -3px;
}

.compare {
  width: 100%;
  min-width: 660px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  white-space: nowrap;
}

.compare thead th {
  background: #171128;
  font-weight: 700;
  color: #fff;
}

.compare thead th:first-child,
.compare tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
}

.compare tbody th {
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text);
}

.compare thead th:first-child {
  z-index: 2;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody tr:hover th,
.compare tbody tr:hover td {
  background: var(--bg-card-hover);
}

.compare .row-price td {
  font-weight: 700;
  color: #fff;
}

.cell-yes {
  color: var(--violet);
  font-weight: 700;
}

.cell-no {
  color: var(--text-muted);
  opacity: 0.55;
}

.table-hint {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (min-width: 760px) {
  .table-hint {
    display: none;
  }
}

/* Cost calculator -------------------------------------------------------- */

.calc {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(37, 99, 235, 0.14), transparent 70%),
    var(--bg-card);
}

@media (min-width: 820px) {
  .calc {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

.calc__form {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field__label,
.field legend {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: #d6cfea;
}

.input,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #0a0812;
  color: var(--text);
  font: inherit;
}

.textarea {
  min-height: 9rem;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: #7d7696;
}

.input:focus-visible,
.textarea:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 1px;
  border-color: var(--blue-soft);
}

.choice-group {
  display: grid;
  gap: 0.6rem;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.choice__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0a0812;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice__title {
  font-weight: 650;
}

.choice__price {
  color: var(--text-muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.choice input:checked + .choice__body {
  border-color: var(--violet);
  background: rgba(124, 58, 237, 0.16);
}

.choice input:focus-visible + .choice__body {
  outline: 2px solid var(--blue-soft);
  outline-offset: 2px;
}

.calc__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 6, 11, 0.6);
}

.calc__label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calc__figure {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.calc__figure--sm {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2rem);
}

.calc__breakdown {
  min-height: 1.5em;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.calc__divider {
  height: 1px;
  margin: 1rem 0 0.9rem;
  background: var(--border);
}

.calc__fine {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Contact form ----------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.form-note {
  padding: 0.85rem 1rem;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.5em;
  font-size: 0.95rem;
  color: var(--blue-soft);
}

.form-status.is-error {
  color: #f0a3a3;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 44rem;
  margin-inline: auto;
}

/* CTA band --------------------------------------------------------------- */

.cta-band {
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(124, 58, 237, 0.34), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(37, 99, 235, 0.2), transparent 70%),
    var(--bg-card);
  text-align: center;
}

.cta-band p {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: #cfc8e4;
}

.cta-band .btn-row {
  margin: 1.75rem auto 0;
}
