/* Public landing page. Colors use Bootstrap theme tokens (var(--bs-*)) so both
   light and dark themes work. */

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

.tr-topbar {
  background: rgba(var(--bs-body-bg-rgb), 0.85);
  backdrop-filter: blur(8px);
}

.tr-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.95rem;
}

.tr-hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(var(--bs-primary-rgb), 0.18), transparent 60%),
    radial-gradient(40rem 25rem at -10% 110%, rgba(var(--bs-info-rgb), 0.12), transparent 60%);
}

.tr-pill {
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary-text-emphasis);
  font-weight: 500;
  padding: 0.45rem 0.85rem;
}

.tr-flow { border-radius: 1rem; border-color: var(--bs-border-color); }
.tr-flow .card-body { padding: 1.75rem; }
.tr-flow-node {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--bs-tertiary-bg);
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 500;
}
.tr-flow-filter {
  border-color: rgba(var(--bs-primary-rgb), 0.5);
  background: rgba(var(--bs-primary-rgb), 0.08);
}
.tr-flow-target {
  border-color: rgba(var(--bs-success-rgb), 0.5);
  background: rgba(var(--bs-success-rgb), 0.08);
}
.tr-flow-arrow {
  text-align: center;
  color: var(--bs-secondary-color);
  font-size: 1.25rem;
  line-height: 2rem;
}

.tr-section { padding: 4.5rem 0; }
.tr-section-alt { background: var(--bs-tertiary-bg); }
.tr-section-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}
.tr-narrow { max-width: 48rem; }

.tr-step-card,
.tr-feature {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: var(--bs-body-bg);
  padding: 1.5rem;
}
.tr-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 700;
}

.tr-price { border-radius: 1rem; }
.tr-price-free { border-color: rgba(var(--bs-primary-rgb), 0.5); }

.tr-final {
  background: linear-gradient(135deg, var(--bs-primary), rgba(var(--bs-primary-rgb), 0.75));
  color: #fff;
}

@media (max-width: 575.98px) {
  .tr-section { padding: 3rem 0; }
  .tr-section-title { margin-bottom: 1.75rem; }
  .tr-hero .display-5 { font-size: 2rem; }
}
