html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #0f2755;
}

.navbar {
  transition: all 0.3s;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #0ea2f7 !important;
}

.home-logo {
  max-height: 64px;
  width: auto;
}

.home-hero {
  padding: 72px 0 40px;
}

.home-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f2755;
}

.home-hero-subtitle {
  font-size: 1.05rem;
  color: #808184;
}

.home-hero-badge .badge-text {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(14, 162, 247, 0.08);
  color: #0ea2f7;
  font-size: 0.8rem;
  font-weight: 600;
}

.home-hero-cta .btn-primary {
  background-color: #0ea2f7;
  border-color: #0ea2f7;
}

.home-hero-cta .btn-primary:hover {
  background-color: #0f2755;
  border-color: #0f2755;
}

.home-hero-cta .btn-outline-secondary {
  border-color: #808184;
  color: #0f2755;
}

.home-hero-cta .btn-outline-secondary:hover {
  background-color: #0f2755;
  border-color: #0f2755;
  color: #ffffff;
}

.home-hero-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 39, 85, 0.1);
  border: 1px solid #e5e7eb;
}

.home-hero-card-header .home-hero-card-title {
  font-weight: 600;
  color: #0f2755;
}

.home-hero-card-header .home-hero-card-subtitle {
  color: #808184;
}

.home-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(16, 185, 129, 0.08);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 600;
}

.home-hero-metric .label {
  font-size: 0.8rem;
  color: #808184;
}

.home-hero-metric .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f2755;
  display: block;
}

.home-hero-metric .delta {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.home-hero-metric .delta.positive {
  color: #059669;
}

.home-hero-metric .delta.neutral {
  color: #808184;
}

.home-hero-gateways .gateway-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(14, 162, 247, 0.06);
  color: #0f2755;
  font-size: 0.8rem;
}

.home-hero-list {
  margin-top: 0.75rem;
}

.home-hero-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.home-hero-list-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.home-hero-list-item .dot.dot-success {
  background-color: #10b981;
}

.home-hero-list-item .dot.dot-info {
  background-color: #0ea2f7;
}

.home-hero-list-item .dot.dot-neutral {
  background-color: #9ca3af;
}

.home-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f2755;
}

.home-features {
  padding: 32px 0 56px;
}

.home-feature-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 6px 18px rgba(15, 39, 85, 0.06);
  border: 1px solid #e5e7eb;
  height: 100%;
}

.home-feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(14, 162, 247, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0ea2f7;
  margin-bottom: 0.75rem;
}

.home-feature-card h5 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f2755;
  margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
  .home-hero {
    padding-top: 40px;
  }

  .home-hero-title {
    font-size: 1.6rem;
  }

  .home-hero-card {
    margin-top: 0.75rem;
  }
}

.btn {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn:hover {
  transform: translateY(-1px);
}

section {
  padding: 60px 0;
}

/* Zenofy branding footer (pay.zenofy.io checkout flows) */
.pay-brand-footer {
  margin-top: 1.5rem;
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
}

.pay-brand-footer--solid {
  background: linear-gradient(180deg, #152a52 0%, #0f2755 40%, #0a1f45 100%);
  margin-top: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pay-brand-footer__inner {
  max-width: 36rem;
  margin: 0 auto;
}

.pay-brand-footer__logo-link {
  display: inline-block;
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pay-brand-footer__logo-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.pay-brand-footer__logo {
  height: auto;
  max-width: 100%;
}

.pay-brand-footer__tagline {
  margin: 0.75rem 0 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.pay-brand-footer__links {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.pay-brand-footer__links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.pay-brand-footer__links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.pay-brand-footer__sep {
  display: inline-block;
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.45);
  user-select: none;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

