/* BotCreator — кастом поверх Bootstrap 5 */
:root {
  --bc-primary: #229ed9;
  --bc-primary-dark: #1a7fb0;
  --bc-accent: #25d366;
  --bc-dark: #0f1419;
  --bc-muted: #6c757d;
  --bc-radius: 0.75rem;
  --bc-shadow: 0 0.5rem 1.5rem rgba(15, 20, 25, 0.08);
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--bc-dark);
  padding-top: 76px;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bc-dark) !important;
}

.bc-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--bc-primary), var(--bc-accent));
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.navbar {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-link.active {
  color: var(--bc-primary) !important;
  font-weight: 600;
}

.hero {
  background: linear-gradient(160deg, #e8f4fc 0%, #f8fafb 45%, #fff 100%);
  padding: 3rem 0 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero .lead {
  color: var(--bc-muted);
  max-width: 36rem;
}

.btn-bc-primary {
  background: var(--bc-primary);
  border-color: var(--bc-primary);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--bc-radius);
}

.btn-bc-primary:hover {
  background: var(--bc-primary-dark);
  border-color: var(--bc-primary-dark);
  color: #fff;
}

.btn-outline-bc {
  border-radius: var(--bc-radius);
  font-weight: 600;
  border-color: var(--bc-dark);
  color: var(--bc-dark);
}

.btn-outline-bc:hover {
  background: var(--bc-dark);
  color: #fff;
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.screenshot-card {
  border-radius: var(--bc-radius);
  overflow: hidden;
  box-shadow: var(--bc-shadow);
  background: #f1f3f5;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.screenshot-card .placeholder-label {
  color: var(--bc-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(34, 158, 217, 0.12);
  color: var(--bc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

footer {
  background: var(--bc-dark);
  color: rgba(255, 255, 255, 0.75);
}

footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

.page-header {
  background: linear-gradient(160deg, #e8f4fc, #fff);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.error-page__code {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bc-primary);
  opacity: 0.35;
}

.error-page__card {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.price-card {
  border-radius: var(--bc-radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.price-card:hover {
  box-shadow: var(--bc-shadow);
  transform: translateY(-2px);
}

.price-card.featured {
  border-color: var(--bc-primary);
  box-shadow: 0 0 0 1px var(--bc-primary);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-card__tags,
.blog-post__tags {
  font-size: 0.8125rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tag-btn {
  border-color: #adb5bd;
  color: #495057;
}

.blog-tag-btn:hover,
.blog-tag-btn:focus-visible {
  background: #e9ecef;
  border-color: #adb5bd;
  color: #343a40;
}

.blog-card {
  border-radius: var(--bc-radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: var(--bc-shadow);
}

.auth-card {
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

main {
  flex: 1;
}

.bc-cta-block {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--bc-radius);
  background: #fff;
  box-shadow: var(--bc-shadow);
}

.bc-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(34, 158, 217, 0.15);
  color: var(--bc-primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bc-password-field.input-group .bc-password-toggle {
  z-index: 5;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  color: var(--bc-muted);
}

.bc-password-field.input-group .bc-password-toggle .bi {
  font-size: 1.125rem;
  line-height: 1;
  pointer-events: none;
}

.bc-password-field.input-group .bc-password-toggle:hover,
.bc-password-field.input-group .bc-password-toggle:focus-visible {
  color: var(--bc-primary);
  z-index: 6;
}

.bc-password-field.input-group > .form-control:focus {
  z-index: 3;
}

.bc-password-field.input-group > .form-control.is-invalid {
  z-index: 3;
}
