.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(1000px 600px at 15% 0%, rgba(34, 211, 238, 0.1), transparent 60%), radial-gradient(1000px 700px at 85% 100%, rgba(168, 85, 247, 0.12), transparent 60%), linear-gradient(180deg, #0b0d19 0%, #161b33 100%);
}

.light-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: blob-drift 18s ease-in-out infinite alternate;
}
.light-blob--cyan {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle at 35% 35%, rgba(34, 211, 238, 0.55), transparent 70%);
}
.light-blob--violet {
  width: 520px;
  height: 520px;
  top: 18%;
  right: -140px;
  background: radial-gradient(circle at 50% 40%, rgba(168, 85, 247, 0.5), transparent 70%);
  animation-delay: -6s;
}
.light-blob--magenta {
  width: 420px;
  height: 420px;
  bottom: -140px;
  left: 32%;
  background: radial-gradient(circle at 60% 60%, rgba(236, 72, 153, 0.4), transparent 70%);
  animation-delay: -12s;
}

@keyframes blob-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 30px, 0) scale(1.12);
  }
}
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.glass-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 14px 0;
  background: rgba(15, 18, 40, 0.35);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(2, 6, 23, 0.35);
}
.glass-nav .navbar-toggler:focus {
  box-shadow: none;
}
.glass-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23f3f5ff' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}
.brand-text .brand-accent {
  margin-left: 0.35em;
  background: linear-gradient(90deg, #22d3ee, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.35));
}

.glass-nav .nav-link {
  position: relative;
  color: #9aa3c2;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.1rem;
  transition: color 0.25s ease;
}
.glass-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #22d3ee, #a855f7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.glass-nav .nav-link:hover, .glass-nav .nav-link.active {
  color: #f3f5ff;
}
.glass-nav .nav-link:hover::after, .glass-nav .nav-link.active::after {
  transform: scaleX(1);
}

.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3c2;
  pointer-events: none;
  z-index: 1;
}
.theme-toggle__icon--moon {
  left: 7px;
}
.theme-toggle__icon--sun {
  right: 7px;
}
.theme-toggle[aria-checked=true] {
  background: rgba(255, 255, 255, 0.16);
}
.theme-toggle[aria-checked=true] .theme-toggle__thumb {
  transform: translateX(24px);
}

.glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.7rem 1.5rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  transition: all ease-in-out .2s;
}
.glass-btn:active {
  transform: scale(0.97);
}
.glass-btn:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.7);
  outline-offset: 3px;
}
.glass-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 1s ease;
  transition: all ease-in-out 1s!important;
}
.glass-btn:hover::before {
  left: 140%;
}
.glass-btn--ghost {
  color: #f3f5ff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: all ease-in-out .2s!important;
}
.glass-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  color: #FFF;
}
.glass-btn--primary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 12px 32px -12px rgba(2, 6, 23, 0.6);
  transition: all ease-in-out .2s!important;
}
.glass-btn--primary:hover {
  transform: translateY(-3px);
}
.glass-btn--primary svg {
  transition: transform 1s ease;
  opactiy: 0;
  transition: all ease-in-out .2s!important;
}
.glass-btn--primary:hover svg {
  transform: translateX(4px);
  opacity: 0.5;
}
.glass-btn--primary.cyan {
  border-color: rgba(37,44,50,1);
  background: #2D8A9D;
background: linear-gradient(130deg,rgba(45, 138, 157, 1) 0%, rgba(45, 138, 157, 0) 100%);
transition: all ease-in-out .2s!important;
}
.glass-btn--primary.cyan:hover {
    background: #36abc2;
background: linear-gradient(130deg,rgba(54, 171, 194, 1) 0%, rgba(45, 138, 157, 0) 100%);
  box-shadow: 0 0 24px rgba(37,44,50, 0.35), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  color: #FFF;
}
.glass-btn--primary.violet {
  border-color: rgba(168, 85, 247, 0.45);
  background: linear-gradient(120deg, rgba(168, 85, 247, 0.16), rgba(236, 72, 153, 0.14));
}
.glass-btn--primary.violet:hover {
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.35), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.hero {
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(520px 380px at 10% 18%, rgba(5, 8, 11, 0.9), transparent 70%), radial-gradient(560px 420px at 90% 28%, rgba(58, 70, 84, 0.75), transparent 70%), radial-gradient(480px 360px at 30% 78%, rgba(58, 70, 84, 0.75), transparent 70%), radial-gradient(600px 440px at 75% 82%, rgba(5, 8, 11, 0.9), transparent 70%), linear-gradient(180deg, rgb(15, 19, 24) 0%, rgb(30, 37, 46) 100%);
}

.hero-head {
  max-width: 860px;
  margin: 0 auto 3.5rem;
}

.hero-eyebrow {
  font-family: "Figtree", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #67e8f9;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 0 22px rgba(34, 211, 238, 0.18);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}

.text-gradient {
  color: inherit;
}

.hero-sub {
  margin-top: 1.4rem;
  max-width: 650px;
  color: #9aa3c2;
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.7;
}

[data-tilt] {
  perspective: 0px;
}

.glass-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2.1rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid transparent;
  
  /*
  transform-style: preserve-3d;
  will-change: transform;
  */
  transition: all ease-in-out .2s!important;
  border: solid 1px rgba(37,44,50,1);
  -webkit-box-shadow: 0px 15px 15px 5px rgba(0,0,0,0.10); 
  box-shadow: 0px 15px 15px 5px rgba(0,0,0,0.10);
}

.glass-card:hover{
  -webkit-box-shadow: 0px 15px 15px 5px rgba(0,0,0,0.48); 
  box-shadow: 0px 15px 15px 5px rgba(0,0,0,0.48);
}

.glass-card--cyan {
  background: rgba(11, 13, 25, 0.5);
  border: solid 1px transparent;
}
.glass-card--cyan::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://activate.afa.net/media/gs3nx3at/a-biblical-foundation-for-cultural-involvement-loop-poster.jpg") center/cover no-repeat;
  transform: scale(1.05);
  filter: brightness(0.9);
  pointer-events: none;
  transition: transform 0.3s ease-in-out!important;
}
.glass-card--cyan:hover{
    border: solid 1px #07768F;
}
.glass-card--cyan:hover::after {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out!important;
}

.glass-card--cyan .glass-card__title {
  color: #fff;
}
.glass-card--cyan .glass-card__desc,
.glass-card--cyan .glass-card__highlights li {
  color: rgba(255, 255, 255, 0.8);
}
.glass-card--cyan .glass-card__highlights li strong {
  display: block;
  color: #fff;
}
.glass-card--cyan .tech-chip {
  color: #36ABC2;
  border-color: rgba(#36ABC2, 0.5);
  background: linear-gradient(135deg, rgba(#36ABC2, 0.18), rgba(#36ABC2, 0.35));
}
.glass-card--violet::before {
  background: rgb(101, 118, 134);
}
.glass-card--violet {
  background: rgba(255, 255, 255, 0.25);
  border: solid 1px transparent;
}

.glass-card--violet:hover{
    border: solid 1px #F2CD3E;
}

.glass-card--violet::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://dev.activate.afa.net/media/zlhhgrmo/ak-bg-2.jpg") center/cover no-repeat;
  transform: scale(1.05);
  filter: brightness(1.12);
  pointer-events: none;
  transition: transform 0.3s ease-in-out!important;
  border: solid 1px transparent;
}
.glass-card--violet:hover::after {
     transform: scale(1.1);
    transition: transform 0.3s ease-in-out!important;
}
.glass-card--cyan:hover {
  background: rgba(11, 13, 25, 0.5);
}
.glass-card--violet:hover {
  background: rgba(255, 255, 255, 0.25);
  animation: glow-pulse 2.4s ease-in-out infinite;
  border: solid 1px #F2CD3E!important;
}
.glass-card--violet .glass-card__title {
  color: #0b0d19;
}
.glass-card--violet .glass-card__desc,
.glass-card--violet .glass-card__highlights li {
  color: rgba(11, 13, 25, 0.74);
}
.glass-card--violet .glass-card__highlights li strong {
  display: block;
  color: #0b0d19;
}
.glass-card--violet .tech-chip {
  color: #4c1d95;
  border-color: rgba(76, 29, 149, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(168, 85, 247, 0.16));
}
.glass-card--violet .glass-btn--ghost {
  color: #07768F;
  border-color: #07768F;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.glass-card--violet .glass-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 18px rgba(#07768F, 0.35);
}
.glass-card--violet .glass-btn--primary.violet {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.9);
 background: #07768f;
background: linear-gradient(130deg,rgba(7, 118, 143, 1) 36%, rgba(185, 193, 81, 1) 100%);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 12px 32px -12px rgba(124, 58, 237, 0.6);
}
.glass-card--violet .glass-btn--primary.violet:hover {
  
}
.glass-card__tint {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120%;
  height: 90%;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.glass-card--cyan .glass-card__tint {
  background: rgba(0, 0, 0, 0.6);
}
.glass-card--violet .glass-card__tint {
  background: #fff;
}
.glass-card__glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  pointer-events: none;
  transition: opacity .3s ease!important;
}
.glass-card--cyan .glass-card__glow {
  background: radial-gradient(circle at 40% 40%, rgba(34, 211, 238, 0.5), transparent 70%);
}
.glass-card--violet .glass-card__glow {
  background: radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.5), transparent 70%);
}
.glass-card:hover .glass-card__glow {
  opacity: 0.85;
}
.glass-card__icon {
  float: right;
  margin: 0.2rem 0 0 1rem;
  filter: drop-shadow(0 8px 22px rgba(2, 6, 23, 0.45));
  animation: float-y 5s ease-in-out infinite;
}
.glass-card__title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 1.1rem 0 0.7rem;
}
.glass-card__desc {
  color: #9aa3c2;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  max-width: 46ch;
}
.glass-card__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.8rem;
}
.glass-card__highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9aa3c2;
  font-size: 0.92rem;
}
.glass-card__highlights li strong {
  color: #f3f5ff;
  font-weight: 600;
}
.glass-card__highlights-body {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.glass-card__foot {
  margin-top: auto;
}
.glass-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@keyframes float-y {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes glow-pulse {
  0%, 100% {
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px -24px rgba(2, 6, 23, 0.7), 0 0 24px rgba(101, 118, 134, 0.55);
  }
  50% {
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px -24px rgba(2, 6, 23, 0.7), 0 0 56px rgb(101, 118, 134);
  }
}
.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}
.glass-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.glass-badge--cyan {
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 0 18px rgba(34, 211, 238, 0.25);
}
.glass-badge--cyan .glass-badge__dot {
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
}
.glass-badge--violet {
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.08);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2), 0 0 18px rgba(168, 85, 247, 0.25);
}
.glass-badge--violet .glass-badge__dot {
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
.tech-chip {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(59, 130, 246, 0.08));
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  user-select: none;
}

.tech-chip .bi {
  font-size: 1.05rem;
  line-height: 1;
}

.anchor-stub {
  scroll-margin-top: 110px;
  height: 1px;
  width: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero-foot {
  padding: 0 0 2rem;
}

[data-bs-theme=light] body {
  color: #0b0d19;
}
[data-bs-theme=light] body .glass-nav {
  background: rgba(255, 255, 255, 0.5);
  border-bottom-color: rgba(11, 13, 25, 0.08);
}
[data-bs-theme=light] body .glass-nav .nav-link {
  color: rgba(11, 13, 25, 0.65);
}
[data-bs-theme=light] body .glass-nav .nav-link:hover, [data-bs-theme=light] body .glass-nav .nav-link.active {
  color: #0b0d19;
}
[data-bs-theme=light] body .brand-text .brand-accent {
  background: linear-gradient(90deg, #0ea5b7, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-bs-theme=light] body .hero-title {
  text-shadow: none;
}
[data-bs-theme=light] body .hero-sub {
  color: rgba(11, 13, 25, 0.68);
}
[data-bs-theme=light] body .glass-card {
  background: rgba(255, 255, 255, 0.55);
}
[data-bs-theme=light] body .glass-card__desc, [data-bs-theme=light] body .glass-card__highlights li {
  color: rgba(11, 13, 25, 0.68);
}
[data-bs-theme=light] body .glass-card__highlights li strong {
  color: #0b0d19;
}
[data-bs-theme=light] body .glass-card__title {
  color: #0b0d19;
}
[data-bs-theme=light] body .glass-btn--ghost {
  color: #0b0d19;
  border-color: rgba(11, 13, 25, 0.16);
  background: rgba(255, 255, 255, 0.5);
}
[data-bs-theme=light] body .theme-toggle__icon {
  color: rgba(11, 13, 25, 0.6);
}
[data-bs-theme=light] body .hero-eyebrow {
  color: #0e7490;
  border-color: rgba(14, 116, 144, 0.3);
}
[data-bs-theme=light] body .hero-foot {
  color: rgba(11, 13, 25, 0.5) !important;
}
[data-bs-theme=light] body .noise {
  opacity: 0.025;
}

@media (max-width: 991.98px) {
  .glass-nav .collapse.navbar-collapse {
    background: rgba(15, 18, 40, 0.6);
    backdrop-filter: blur(14px);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .glass-nav .collapse.navbar-collapse .nav-link {
    padding: 0.5rem 0;
  }
  .hero {
    padding-top: 3rem;
  }
  .glass-card {
    padding: 1.6rem 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .glass-card__icon {
    float: none;
    display: block;
    margin: 0 0 0.6rem auto;
  }
  .glass-card__title {
    font-size: 1.35rem;
  }
  .glass-btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
