/* KnowTech premium footer — dark, precise and lightweight. */
html body .kt-site-footer {
  --ktf-cyan: #49dcff;
  --ktf-blue: #7b91ff;
  --ktf-copper: #d99d83;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(64px, 8vw, 110px) !important;
  padding-top: clamp(58px, 6vw, 86px) !important;
  color: rgba(222, 238, 247, .76) !important;
  background:
    radial-gradient(ellipse at 82% 6%, rgba(61, 132, 255, .19), transparent 34%),
    radial-gradient(ellipse at 8% 86%, rgba(73, 220, 255, .10), transparent 31%),
    radial-gradient(ellipse at 56% 116%, rgba(217, 157, 131, .10), transparent 38%),
    linear-gradient(138deg, #050e17 0%, #071827 48%, #0b2232 100%) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 -28px 90px -70px rgba(35, 122, 177, .7);
}

html body .kt-site-footer::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  z-index: -2;
  inset: 0;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(115, 202, 231, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 202, 231, .05) 1px, transparent 1px) !important;
  background-size: 52px 52px !important;
  -webkit-mask-image: radial-gradient(ellipse 78% 88% at 56% 42%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 78% 88% at 56% 42%, #000 0%, transparent 76%);
  opacity: 1 !important;
  transform: none !important;
}

html body .kt-site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(73,220,255,.78) 28%, rgba(123,145,255,.5) 54%, rgba(217,157,131,.48) 76%, transparent 96%);
  box-shadow: 0 0 26px rgba(73,220,255,.22);
}

html body .kt-site-footer .kt-footer-grid,
html body .kt-site-footer .kt-footer-licenses,
html body .kt-site-footer .kt-footer-bottom {
  position: relative;
  z-index: 2;
}

html body .kt-site-footer .kt-footer-grid {
  align-items: start;
  grid-template-columns: minmax(290px, 1.35fr) minmax(150px, .7fr) minmax(130px, .62fr) minmax(250px, 1fr) !important;
  gap: clamp(24px, 3.6vw, 58px) !important;
  padding-bottom: 46px !important;
}

html body .kt-site-footer .kt-footer-about {
  position: relative;
  min-height: 248px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(126, 218, 244, .16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(24, 64, 84, .54), rgba(7, 25, 39, .58));
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 28px 60px -42px rgba(0,0,0,.9);
  backdrop-filter: blur(12px);
}

html body .kt-site-footer .kt-footer-about::before {
  content: "KNOWTECH / AI FOR REAL WORK";
  display: block;
  margin-bottom: 18px;
  color: rgba(137, 224, 248, .52);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .14em;
  direction: ltr;
  text-align: left;
}

html body .kt-site-footer .kt-footer-about::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  left: -66px;
  bottom: -74px;
  border: 1px solid rgba(73, 220, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 46px rgba(73,220,255,.05);
}

html body .kt-site-footer .kt-footer-brand {
  min-height: 46px;
  margin-bottom: 14px;
}

html body .kt-site-footer .kt-footer-logo {
  height: 42px !important;
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0,0,0,.24));
}

html body .kt-site-footer .kt-footer-about p {
  max-width: 390px;
  margin-bottom: 20px;
  color: rgba(222,238,247,.74) !important;
  font-size: 14px !important;
  line-height: 2 !important;
}

html body .kt-site-footer .kt-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(73,220,255,.16);
  border-radius: 999px;
  color: #a9eaff !important;
  background: rgba(50, 159, 196, .07);
  font-size: 11px;
}

html body .kt-site-footer .kt-footer-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55e2aa;
  box-shadow: 0 0 0 4px rgba(85,226,170,.08), 0 0 12px rgba(85,226,170,.72);
  animation: ktFooterLive 2.4s ease-in-out infinite;
}

html body .kt-site-footer .kt-footer-grid h3,
html body .kt-site-footer .kt-footer-contact h3 {
  position: relative;
  margin: 13px 0 20px !important;
  padding-bottom: 13px;
  color: #f3f9fc !important;
  font-size: 14px !important;
  font-weight: 700;
}

html body .kt-site-footer .kt-footer-grid h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ktf-blue), var(--ktf-cyan));
  box-shadow: 0 0 12px rgba(73,220,255,.35);
}

html body .kt-site-footer nav ul { display: grid; gap: 3px; }

html body .kt-site-footer nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding-inline-start: 0;
  color: rgba(208,227,237,.68) !important;
  transition: color .2s ease, transform .2s ease;
}

html body .kt-site-footer nav a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-left: 0;
  border-radius: 999px;
  background: var(--ktf-cyan);
  box-shadow: 0 0 8px rgba(73,220,255,.55);
  transition: width .2s ease, margin-left .2s ease;
}

html body .kt-site-footer nav a:hover,
html body .kt-site-footer nav a:focus-visible {
  color: #fff !important;
  transform: translateX(-3px);
}

html body .kt-site-footer nav a:hover::before,
html body .kt-site-footer nav a:focus-visible::before {
  width: 15px;
  margin-left: 8px;
}

html body .kt-site-footer a:focus-visible {
  outline: 2px solid #79e5ff;
  outline-offset: 4px;
}

html body .kt-site-footer .kt-footer-contact ul {
  display: grid;
  gap: 8px;
}

html body .kt-site-footer .kt-footer-contact li {
  min-height: 58px;
  margin: 0 !important;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

html body .kt-site-footer .kt-footer-contact li:hover {
  border-color: rgba(73,220,255,.2);
  background: rgba(73,220,255,.045);
  transform: translateY(-1px);
}

html body .kt-site-footer .kt-footer-contact li > a {
  width: 100%;
  color: inherit !important;
}

html body .kt-site-footer .kt-footer-contact span {
  color: rgba(154,188,205,.62) !important;
  font-size: 10px;
}

html body .kt-site-footer .kt-footer-contact b,
html body .kt-site-footer .kt-footer-contact address {
  margin-top: 2px;
  color: #ecf7fb !important;
  font-size: 12px !important;
  font-style: normal;
}

html body .kt-site-footer .kt-footer-licenses {
  padding-block: 26px !important;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.018) 24%, rgba(255,255,255,.018) 76%, transparent);
}

html body .kt-site-footer .kt-footer-license-heading h3 { color: #f5fbff !important; }
html body .kt-site-footer .kt-footer-license-heading p { color: rgba(204,226,237,.60) !important; }

html body .kt-site-footer .kt-footer-license-card {
  border-color: rgba(126,218,244,.14);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: 0 18px 34px -28px rgba(0,0,0,.9);
}

html body .kt-site-footer .kt-footer-license-card:hover {
  border-color: rgba(73,220,255,.34);
  background: rgba(73,220,255,.055);
  box-shadow: 0 22px 42px -26px rgba(73,220,255,.18);
}

html body .kt-site-footer .kt-footer-license-card small { color: #91e8ff; }

html body .kt-site-footer .kt-footer-bottom {
  min-height: 70px !important;
  color: rgba(178,207,221,.55) !important;
  font-size: 11px;
}

html body .kt-site-footer .kt-footer-bottom p:last-child span {
  color: var(--ktf-cyan);
  text-shadow: 0 0 12px rgba(73,220,255,.55);
}

@keyframes ktFooterLive {
  50% { opacity: .52; transform: scale(.76); }
}

@media (max-width: 1024px) {
  html body .kt-site-footer .kt-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .kt-site-footer .kt-footer-about,
  html body .kt-site-footer .kt-footer-contact { grid-column: 1 / -1; }
  html body .kt-site-footer .kt-footer-about { min-height: 0; }
  html body .kt-site-footer .kt-footer-contact ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .kt-site-footer .kt-footer-contact li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  html body .kt-site-footer {
    margin-top: 56px !important;
    padding-top: 38px !important;
  }

  html body .kt-site-footer .kt-footer-grid {
    gap: 24px 18px !important;
    padding-bottom: 30px !important;
  }

  html body .kt-site-footer .kt-footer-about {
    padding: 22px;
    border-radius: 20px;
  }

  html body .kt-site-footer .kt-footer-about::before { margin-bottom: 14px; font-size: 8px; }
  html body .kt-site-footer .kt-footer-contact ul { grid-template-columns: 1fr; }
  html body .kt-site-footer .kt-footer-contact li:last-child { grid-column: auto; }
  html body .kt-site-footer .kt-footer-bottom { min-height: 84px !important; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important; }
}

@media (prefers-reduced-motion: reduce) {
  html body .kt-site-footer *,
  html body .kt-site-footer *::before,
  html body .kt-site-footer *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
