html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 60%, #084298 100%);
  border-radius: 1rem;
  margin-top: -1rem;
}

.hero-section .opacity-90 {
  opacity: 0.9;
}

/* Feature cards */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

/* AI card accent */
.ai-card {
  border-top: 3px solid #198754 !important;
}

/* Register card AI mode */
.register-card--ai {
  border-top: 3px solid #198754 !important;
}

.register-card--ai .card-body {
  background-color: #f8fff9;
}

/* Recovery codes */
.recovery-code:last-child {
  border-bottom: none !important;
}

/* Matrix client cards */
.client-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

.client-logo {
  object-fit: contain;
  display: block;
}

/* Responsive hero adjustments */
@media (max-width: 576px) {
  .hero-section {
    border-radius: 0.5rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }
}
