.badge.local-plus1,
.badge.bg-primary {
  background-color: #2fa4a9 !important;
  color: #fff;
}

.cards-navbar {
  background-color: #1e293b;
  padding: 1rem 0;
}
.cards-navbar .navbar-brand {
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.5px;
}
.cards-navbar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 0.5rem 1rem;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.cards-navbar .nav-link:hover, .cards-navbar .nav-link.active {
  color: #fff;
}

.cards-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0.5))), url("/cards/images/hero.png") center/cover no-repeat;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url("/cards/images/hero.png") center/cover no-repeat;
  padding: 80px 0;
}
@media (max-width: 767px) {
  .cards-hero {
    padding: 60px 16px;
    min-height: 420px;
  }
}

.cards-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.45)), color-stop(30%, rgba(0, 0, 0, 0.25)), color-stop(60%, rgba(0, 0, 0, 0)));
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

.cards-hero > .container {
  position: relative;
  z-index: 2;
}

.cards-hero__media img {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

.cards-hero-hand {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 520px;
  width: auto;
  -webkit-filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
          filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.cards-hero-b2b {
  background: linear-gradient(135deg, #2ad2c9 0%, #258a8e 100%);
  min-height: 400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.cards-hero-b2b h1 {
  font-weight: 800;
  letter-spacing: -1px;
}
.cards-hero-b2b .lead {
  font-size: 1.25rem;
  opacity: 0.9;
}

.cards-step-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #2fa4a9;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.cards-plan-highlight {
  border: 2px solid #2fa4a9;
  -webkit-box-shadow: 0 4px 20px rgba(47, 164, 169, 0.15);
          box-shadow: 0 4px 20px rgba(47, 164, 169, 0.15);
  -webkit-transform: scale(1.03);
          transform: scale(1.03);
}
.cards-plan-highlight .badge {
  background-color: #2fa4a9;
}

.card {
  border-radius: 12px;
  -webkit-transition: -webkit-box-shadow 0.3s, -webkit-transform 0.3s;
  transition: -webkit-box-shadow 0.3s, -webkit-transform 0.3s;
  transition: box-shadow 0.3s, transform 0.3s;
  transition: box-shadow 0.3s, transform 0.3s, -webkit-box-shadow 0.3s, -webkit-transform 0.3s;
}
.card:hover {
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.card ul li {
  color: #475569;
}
.card ul li::before {
  color: #2ad2c9;
}

.cards-digital-card {
  border-radius: 16px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
  border: 2px solid #e2e8f0;
}
.cards-digital-card h2 {
  font-weight: 800;
  color: #2fa4a9;
  letter-spacing: -0.5px;
}
.cards-digital-card.cards-card-active {
  border-color: #2ad2c9;
}
.cards-digital-card.cards-card-expired {
  border-color: #ef4444;
  opacity: 0.85;
}

.cards-qr-container {
  display: inline-block;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.cards-qr-container canvas,
.cards-qr-container img {
  display: block;
}

.cards-footer {
  background-color: #1e293b;
  color: rgba(255, 255, 255, 0.8);
}
.cards-footer h5, .cards-footer h6 {
  color: #fff;
  margin-bottom: 1rem;
}
.cards-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}
.cards-footer a:hover {
  color: #fff;
}
.cards-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.bg-light {
  background-color: #f8fafc !important;
}

.btn-primary {
  background-color: #2fa4a9;
  border-color: #2fa4a9;
}
.btn-primary:hover {
  background-color: #258a8e;
  border-color: #258a8e;
}

.btn-outline-primary {
  color: #2fa4a9;
  border-color: #2fa4a9;
}
.btn-outline-primary:hover {
  background-color: #2fa4a9;
  border-color: #2fa4a9;
  color: #fff;
}

@media (max-width: 768px) {
  .cards-hero,
  .cards-hero-b2b {
    min-height: 300px;
  }
  .cards-hero h1,
  .cards-hero-b2b h1 {
    font-size: 2rem;
  }
  .cards-plan-highlight {
    -webkit-transform: none;
            transform: none;
  }
}