:root {
  --bg: #08080f;
  --bg2: #0d0d1a;
  --bg3: #12121f;
  --sf: #16162a;
  --bd: rgba(255, 255, 255, 0.07);
  --bd2: rgba(255, 255, 255, 0.13);
  --tx: #f0f0ff;
  --tx2: #a8a8c8;
  --tx3: #6b6b8a;
  --pur: #8b5cf6;
  --blu: #3b82f6;
  --grad: linear-gradient(135deg, #8b5cf6, #3b82f6);
  --nav: 68px;
  --dsb: 240px;
}
.lm {
  --bg: #fafafe;
  --bg2: #f0f0ff;
  --bg3: #e8e8ff;
  --sf: #fff;
  --bd: rgba(23, 32, 51, 0.16);
  --bd2: rgba(23, 32, 51, 0.22);
  --tx: #172033;
  --tx2: #526078;
  --tx3: #6b7280;
  --text-primary-light: #172033;
  --text-secondary-light: #526078;
  --text-muted-light: #6b7280;
  --text-accent-light: #1677a8;
  --surface-light: #ffffff;
  --surface-alt-light: #f4f7fb;
  --border-light: rgba(23, 32, 51, 0.14);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--tx);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  transition: background 0.3s, color 0.3s;
}
a {
  text-decoration: none;
  color: inherit;
}
.gt {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pur);
  margin-bottom: 14px;
}
.slbl::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--grad);
}
.slbl-why {
  font-size: 0.82rem;
  color: #f8fbff;
  text-shadow: 0 0 8px rgba(248, 251, 255, 0.28), 0 0 14px rgba(130, 220, 255, 0.18);
}
.slbl-why .slbl-why-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.stitle {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.ssub {
  font-size: 1rem;
  color: var(--tx2);
  max-width: 560px;
}
.aur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.aur-a {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.22),
    transparent 70%
  );
}
.aur-b {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.18),
    transparent 70%
  );
}
.gc {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 18px;
  transition: 0.3s;
}
.gc:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}
.bgrd {
  background: var(--grad);
  border: none;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  border-radius: 12px;
  transition: 0.25s;
  cursor: pointer;
}
.bgrd:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
  color: #fff;
}
.boc {
  background: transparent;
  border: 1px solid var(--bd2);
  color: var(--tx);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  border-radius: 12px;
  transition: 0.25s;
  cursor: pointer;
}
.boc:hover {
  border-color: var(--pur);
  background: rgba(139, 92, 246, 0.08);
  color: var(--tx);
}
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s, transform 0.65s;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.sp {
  padding: 90px 0;
}
/* NAVBAR */
#nbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  height: var(--nav);
  background: rgba(8, 8, 15, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.lm #nbar {
  background: rgba(250, 250, 254, 0.88);
}
#nbar.scr {
  background: rgba(8, 8, 15, 0.96);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}
.lm #nbar.scr {
  background: rgba(250, 250, 254, 0.97);
}
.logo-i {
  width: 38px;
  height: 38px;
  background: rgba(15, 15, 35, 0.96);
  border: 1px solid rgba(116, 86, 255, 0.7);
  border-radius: 11px;
  box-shadow:
    0 0 0 1px rgba(116, 86, 255, 0.08),
    0 0 14px rgba(92, 132, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.logo-mark {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.9),
    0 0 9px rgba(180, 210, 255, 0.55);
}

/* Project-specific background for KZ Insight card */
.pcard-kz-insight {
  background-image: linear-gradient(rgba(6, 7, 12, 0.68), rgba(6, 7, 12, 0.68)), url('img/projects/kz-insight/kz-insight-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  /* keep existing card border, radius and spacing from .gc */
}
.nav-link {
  color: var(--tx2) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: 0.2s !important;
}
.nav-link:hover {
  color: var(--tx) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.lm .nav-link:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}
#mbmenu {
  position: fixed;
  top: var(--nav);
  left: 0;
  right: 0;
  z-index: 1049;
  background: rgba(8, 8, 15, 0.98);
  backdrop-filter: blur(20px);
  padding: 14px 20px 20px;
  border-bottom: 1px solid var(--bd);
  display: none;
}
.lm #mbmenu {
  background: rgba(250, 250, 254, 0.98);
}
#mbmenu.open {
  display: block;
}
/* HERO */
#hero {
  min-height: 100vh;
  padding-top: var(--nav);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-side-image {
  position: absolute;
  top: 70px;
  left: 0;
  right: auto;
  width: min(34vw, 520px);
  height: 72%;
  object-fit: cover;
  object-position: center;
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
  border: 0;
  outline: 0;
  filter: saturate(1.05) brightness(1.05) contrast(1.03);
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 0.62) 58%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 0.62) 58%,
    rgba(0, 0, 0, 0) 100%
  );
}
.hero-side-image-right {
  position: absolute;
  top: 90px;
  right: 0;
  left: auto;
  width: min(28vw, 430px);
  height: 64%;
  object-fit: cover;
  object-position: center;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
  border: 0;
  outline: 0;
  filter: saturate(0.95) brightness(0.92) contrast(1.02);
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 0.55) 58%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 0.55) 58%,
    rgba(0, 0, 0, 0) 100%
  );
}
@media (max-width: 900px) {
  .hero-side-image {
    width: 42vw;
    opacity: 0.12;
  }
  .hero-side-image-right {
    opacity: 0.09;
  }
}
@media (max-width: 700px) {
  .hero-side-image,
  .hero-side-image-right {
    display: none;
  }
}
.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 22px;
}
.bdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pur);
  animation: bpls 2s infinite;
  flex-shrink: 0;
}
.h1 {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-main-title {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-family: "Google Sans", "Product Sans", "Inter", "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(56px, 6vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero-main-title-inline {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.18em;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.05;
}
.hero-main-title-inline .hero-title-white,
.hero-main-title-inline .hero-title-sky {
  display: inline;
  white-space: nowrap;
}
.hero-main-title-inline,
.hero-main-title-inline span {
  word-break: normal;
  overflow-wrap: normal;
}
.hero-title-white {
  color: #f7f8fc;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.16);
}
.hero-title-sky {
  color: #69d8ff;
  text-shadow: 0 0 5px rgba(105, 216, 255, 0.26), 0 0 12px rgba(105, 216, 255, 0.12);
}
.hero-description {
  max-width: 720px;
  margin: 22px auto 4px;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #d9e8f5;
  text-align: center;
  text-shadow: 0 0 6px rgba(105, 216, 255, 0.16);
}
.hero-actions {
  margin-top: 34px;
}
.lm .hero-title-white {
  color: #172033;
  text-shadow: none;
}
.lm .hero-title-sky {
  color: #1677a8;
  text-shadow: none;
}
.lm .hero-description {
  color: #334155;
  text-shadow: none;
}
@media (max-width: 900px) {
  .hero-main-title-inline {
    white-space: normal;
    flex-wrap: wrap;
    font-size: clamp(40px, 8vw, 62px);
    line-height: 1.05;
  }
  .hero-main-title {
    font-size: clamp(46px, 9vw, 68px);
    line-height: 1.02;
  }
}
@media (max-width: 600px) {
  .hero-main-title {
    font-size: clamp(38px, 11vw, 54px);
    white-space: normal;
  }
  .hero-description {
    font-size: 16px;
    padding-inline: 20px;
  }
  .hero-actions {
    margin-top: 28px;
  }
}
.tlog {
  opacity: 1;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  color: #c7ccda;
  transition: 0.3s;
}
.tlog:hover {
  color: #69d8ff;
  transform: translateY(-1px);
}
.lm .tlog {
  color: #334155;
}
.lm .tlog:hover {
  color: #1677a8;
}

#hero .mt-5.afu > p {
  position: relative;
  margin-top: 18px !important;
  margin-bottom: 26px !important;
  transform: translateY(-10px);
  font-size: clamp(14px, 1.1vw, 17px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: #e4e9f3 !important;
  opacity: 1 !important;
  text-align: center;
  text-shadow: 0 0 8px rgba(105, 216, 255, 0.16) !important;
}

#hero .mt-5.afu > p::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #69d8ff, transparent);
  box-shadow: 0 0 8px rgba(105, 216, 255, 0.30);
}

.lm #hero .mt-5.afu > p {
  color: #273449 !important;
  text-shadow: none !important;
}

.lm #hero .mt-5.afu > p::after {
  background: linear-gradient(90deg, transparent, #1677a8, transparent);
  box-shadow: 0 0 8px rgba(22, 119, 168, 0.22);
}
.dwrap {
  border-radius: 26px;
  overflow: hidden;
  background: var(--sf);
  border: 1px solid var(--bd2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 40px rgba(139, 92, 246, 0.2);
}
.dtbar {
  background: var(--bg3);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--bd);
}
.dd {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dgrid {
  display: grid;
  grid-template-columns: 185px 1fr;
}
.dside {
  background: var(--bg2);
  border-right: 1px solid var(--bd);
  padding: 14px 10px;
}
.dsi {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.81rem;
  color: var(--tx3);
  margin-bottom: 3px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
  text-align: left;
  transition: 0.2s;
}
.dsi i {
  width: 16px;
  text-align: center;
}
.dsi.on,
.dsi:hover {
  background: rgba(139, 92, 246, 0.14);
  color: #a78bfa;
}
.stpill {
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.stpill::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.7;
}
.bbar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, #8b5cf6, #3b82f6);
  transform-origin: bottom;
  animation: bgrow 0.8s ease forwards;
}
.cbbl {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.45;
  max-width: 88%;
}
.cbai {
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--tx2);
  align-self: flex-start;
}
.cbus {
  background: var(--grad);
  color: #fff;
  align-self: flex-end;
}
.tdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pur);
  animation: tbounce 0.9s infinite;
  display: inline-block;
}
@media (max-width: 991px) {
  .dgrid {
    grid-template-columns: 1fr;
  }
  .dside {
    display: none;
  }
}
/* PROOF */
#proof {
  background: var(--bg2);
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  padding: 90px 0;
}
.lscroll {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.ltrack {
  display: flex;
  gap: 16px;
  width: max-content;
}
.lscroll:hover .ltrack {
  animation-play-state: paused;
}
.scroll-left {
  animation: ltr-scroll 60s linear infinite;
}
.scroll-right {
  animation: rtl-scroll 60s linear infinite;
}
.source-category {
  margin-top: 36px;
}
.source-category:first-of-type {
  margin-top: 0;
}
.source-category-title {
  font-size: .75rem;
  font-weight: 600;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
  text-align: center;
}
.source-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  background: rgba(139, 92, 246, .05);
  color: var(--tx2);
  border: 1px solid rgba(139, 92, 246, .15);
  white-space: nowrap;
  transition: .3s;
}
.source-pill:hover {
  color: var(--tx);
  background: rgba(139, 92, 246, .1);
  border-color: rgba(139, 92, 246, .3);
  box-shadow: 0 0 12px rgba(139, 92, 246, .2);
  transform: translateY(-2px);
}
/* FEATURES */
.ftico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.ftag {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
/* BENTO */
.bgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bs2 {
  grid-column: span 2;
}
.bt2 {
  grid-row: span 2;
}
.bvis {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg3);
}
.bvis::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.14),
    rgba(59, 130, 246, 0.08)
  );
}
@media (max-width: 767px) {
  .bgrid {
    grid-template-columns: 1fr;
  }
  .bs2,
  .bt2 {
    grid-column: span 1;
    grid-row: span 1;
  }
}
/* PRODUCT PREVIEW */
.dprev {
  background: var(--sf);
  border: 1px solid var(--bd2);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5);
}
.dpbody {
  display: grid;
  grid-template-columns: 205px 1fr;
  min-height: 430px;
}
.dpside {
  background: var(--bg2);
  border-right: 1px solid var(--bd);
  padding: 16px 12px;
}
.dpnl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  color: var(--tx3);
  margin-bottom: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
  text-align: left;
  transition: 0.2s;
}
.dpnl i {
  width: 16px;
  text-align: center;
}
.dpnl.on,
.dpnl:hover {
  background: rgba(139, 92, 246, 0.14);
  color: #a78bfa;
}
.dpc {
  padding: 22px;
}
.dpane {
  display: none;
}
.dpane.on {
  display: block;
}
.dpst {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.dps {
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.dps::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.6;
}
.dpsv {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.dpsl {
  font-size: 0.67rem;
  color: var(--tx3);
}
.dpsd {
  font-size: 0.67rem;
  color: #34d399;
  font-weight: 600;
}
.dpbars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 88px;
}
.dpbar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, #8b5cf6, #3b82f6);
  opacity: 0.75;
  animation: bgrow 0.7s ease forwards;
  transform-origin: bottom;
}
.arow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.82rem;
}
.adot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gon {
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}
.gpu {
  background: #8b5cf6;
  box-shadow: 0 0 6px #8b5cf6;
}
.gor {
  background: #f59e0b;
}
.bst {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
}
.son {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.sbz {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.sid {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.cit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.81rem;
}
.cav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.arl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.82rem;
}
.ari {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .dpbody {
    grid-template-columns: 1fr;
  }
  .dpside {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
    border-right: none;
    border-bottom: 1px solid var(--bd);
  }
  .dpnl {
    white-space: nowrap;
    flex-shrink: 0;
    width: auto;
  }
  .dpst {
    grid-template-columns: 1fr 1fr;
  }
}
/* HOW */
.hnum {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
/* ANALYTICS */
.anst {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 20px;
}
.atrnd {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}
.tup {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
}
.rtbar {
  height: 4px;
  background: var(--bg3);
  border-radius: 100px;
  overflow: hidden;
}
.rtfill {
  height: 100%;
  border-radius: 100px;
  background: var(--grad);
}
/* PRICING */
.pcard {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 30px;
  transition: 0.3s;
  position: relative;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.pcard.pop {
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.06),
    rgba(59, 130, 246, 0.03)
  );
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.12);
}
.pbadge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pamt {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
}
.pamt sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 9px;
  display: inline-block;
}
.pfl {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 0.875rem;
}
.pchk {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: #34d399;
  margin-top: 1px;
}
.tav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bd2);
}
/* FAQ */
.acco .accordion-item {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 18px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.acco .accordion-button {
  background: var(--sf);
  color: var(--tx);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: none;
  border-radius: 18px !important;
  padding: 18px 22px;
}
.acco .accordion-button:not(.collapsed) {
  background: rgba(139, 92, 246, 0.06);
  color: #a78bfa;
}
.acco .accordion-button::after {
  filter: invert(1) hue-rotate(220deg);
}
.lm .acco .accordion-button::after {
  filter: none;
}
.acco .accordion-body {
  color: var(--tx2);
  font-size: 0.875rem;
  line-height: 1.7;
  padding: 0 22px 18px;
}
/* CTA */
#cta {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  text-align: center;
}
/* FOOTER */
#foot {
  background: var(--bg);
  border-top: 1px solid var(--bd);
  padding: 60px 0 28px;
}
#foot .fcol h5 {
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f4f7ff !important;
  text-shadow:
    0 0 4px rgba(255,255,255,0.18),
    0 0 10px rgba(105,216,255,0.10);
  margin-bottom: 14px;
}
#foot .fcol a {
  display: block;
  font-size: 0.875rem;
  color: #f4f7ff !important;
  text-shadow:
    0 0 4px rgba(255,255,255,0.18),
    0 0 10px rgba(105,216,255,0.10);
  padding: 3px 0;
  transition: color 0.2s, text-shadow 0.2s;
}
#foot .fcol a:hover {
  color: #69d8ff !important;
  text-shadow: 0 0 7px rgba(105,216,255,0.25);
}
#foot p {
  color: #f4f7ff !important;
  text-shadow:
    0 0 4px rgba(255,255,255,0.18),
    0 0 10px rgba(105,216,255,0.10);
}
#foot p a {
  color: #f4f7ff !important;
  text-shadow:
    0 0 4px rgba(255,255,255,0.18),
    0 0 10px rgba(105,216,255,0.10);
}
#foot p a:hover {
  color: #69d8ff !important;
  text-shadow: 0 0 7px rgba(105,216,255,0.25);
}
.footer-owner-name,
.footer-template-name {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(255,255,255,0.24);
}

.footer-credit-text {
  color: #69d8ff !important;
  text-shadow: 0 0 5px rgba(105,216,255,0.14);
}
.nli {
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx);
  font-size: 0.83rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
  flex: 1;
}
.nli:focus {
  border-color: var(--pur);
}
.sico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx3);
  transition: 0.2s;
  font-size: 0.88rem;
}
.sico:hover {
  border-color: var(--pur);
  color: var(--pur);
}
/* OFFCANVAS LOGIN */
#lofc {
  width: 420px;
  background: var(--bg2);
  border-left: 1px solid var(--bd2);
}
.lm #lofc {
  background: #f5f5ff;
}
.offcanvas-header {
  border-bottom: 1px solid var(--bd);
  padding: 20px 24px;
}
.offcanvas-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--tx);
}
.olbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tx2);
  margin-bottom: 6px;
  display: block;
}
.oinp {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx);
  font-size: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
  transition: 0.2s;
  margin-bottom: 14px;
}
.oinp:focus {
  border-color: var(--pur);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.odiv {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tx3);
  font-size: 0.8rem;
  margin: 16px 0;
}
.odiv::before,
.odiv::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bd);
}
.oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx2);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  transition: 0.2s;
  cursor: pointer;
  margin-bottom: 8px;
}
.oauth:hover {
  border-color: var(--pur);
  color: var(--tx);
}
.tab-switch {
  display: flex;
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
}
.tab-sw-btn {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  cursor: pointer;
  transition: 0.2s;
  background: transparent;
  color: var(--tx3);
}
.tab-sw-btn.on {
  background: var(--grad);
  color: #fff;
}
.err-msg {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #f87171;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  margin-bottom: 12px;
  display: none;
}
/* MAGNIFIC */
.mfp-bg {
  background: #000;
  opacity: 0.9;
}
.mfp-iframe-holder .mfp-content {
  max-width: 900px;
}
/* ======================== DASHBOARD ======================== */
#dashboard {
  display: none;
  min-height: 100vh;
  background: var(--bg);
}
/* DB TOPBAR */
.db-top {
  position: fixed;
  top: 0;
  left: var(--dsb);
  right: 0;
  height: var(--nav);
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  transition: left 0.3s;
}
.lm .db-top {
  background: rgba(250, 250, 254, 0.9);
}
.db-top-search {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.db-top-search input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: 10px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx);
  font-size: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
}
.db-top-search input:focus {
  border-color: var(--pur);
}
.db-top-search i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tx3);
  font-size: 0.85rem;
}
.db-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  cursor: pointer;
  transition: 0.2s;
}
.db-user-pill:hover {
  border-color: var(--pur);
  background: rgba(139, 92, 246, 0.06);
}
.db-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
/* DB SIDEBAR */
.db-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--dsb);
  height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--bd);
  z-index: 950;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.3s;
}
.db-logo {
  padding: 18px 20px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tx);
}
.db-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}
.db-nav-section {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tx3);
  padding: 0 10px;
  margin: 16px 0 8px;
}
.db-nl {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--tx2);
  margin-bottom: 3px;
  cursor: pointer;
  border: none;
  width: 100%;
  background: transparent;
  font-family: "Space Grotesk", sans-serif;
  text-align: left;
  transition: 0.2s;
  position: relative;
}
.db-nl i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.db-nl:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--tx);
}
.db-nl.active {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  font-weight: 600;
}
.db-nl.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--grad);
  border-radius: 0 3px 3px 0;
}
.db-badge {
  margin-left: auto;
  background: var(--pur);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.db-bottom {
  padding: 16px 12px;
  border-top: 1px solid var(--bd);
}
/* DB MAIN */
.db-main {
  margin-left: var(--dsb);
  padding-top: var(--nav);
  min-height: 100vh;
}
.db-content {
  padding: 28px;
}
/* DB SECTIONS */
.db-section {
  display: none;
}
.db-section.active {
  display: block;
}
/* STAT CARDS */
.db-stat-card {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.db-stat-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.db-stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.6;
}
.db-stat-val {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}
.db-stat-lbl {
  font-size: 0.78rem;
  color: var(--tx3);
  margin-bottom: 6px;
}
.db-stat-delta {
  font-size: 0.75rem;
  font-weight: 600;
}
.delta-up {
  color: #34d399;
}
.delta-dn {
  color: #f87171;
}
/* AI CHAT */
.chat-wrap {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
}
.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-ai-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 600;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar {
  width: 4px;
}
.chat-body::-webkit-scrollbar-track {
  background: transparent;
}
.chat-body::-webkit-scrollbar-thumb {
  background: var(--bd2);
  border-radius: 4px;
}
.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  word-break: break-word;
}
.msg-ai {
  background: var(--bg3);
  border: 1px solid var(--bd);
  color: var(--tx);
  align-self: flex-start;
  border-radius: 4px 14px 14px 14px;
}
.msg-user {
  background: var(--grad);
  color: #fff;
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}
.msg-time {
  font-size: 0.68rem;
  color: var(--tx3);
  margin-top: 4px;
}
.typing-ind {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--bd);
  border-radius: 4px 14px 14px 14px;
  align-self: flex-start;
  align-items: center;
}
.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pur);
  animation: tbounce 0.9s infinite;
}
.typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}
.chat-input-wrap {
  padding: 14px 16px;
  border-top: 1px solid var(--bd);
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.chat-inp {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--bg3);
  color: var(--tx);
  font-size: 0.875rem;
  font-family: "Space Grotesk", sans-serif;
  outline: none;
  resize: none;
  max-height: 100px;
  line-height: 1.5;
  transition: 0.2s;
}
.chat-inp:focus {
  border-color: var(--pur);
}
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}
.chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}
.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
/* AGENT CARD */
.agent-card {
  background: var(--sf);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 20px;
  transition: 0.3s;
}
.agent-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.agent-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ag-online {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.ag-busy {
  background: #8b5cf6;
  box-shadow: 0 0 8px #8b5cf6;
}
.ag-offline {
  background: #6b6b8a;
}
/* TABLE */
.db-table {
  width: 100%;
  border-collapse: collapse;
}
.db-table th {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tx3);
  padding: 10px 16px;
  border-bottom: 1px solid var(--bd);
  text-align: left;
}
.db-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bd);
  font-size: 0.875rem;
  color: var(--tx2);
}
.db-table tr:last-child td {
  border-bottom: none;
}
.db-table tr:hover td {
  background: rgba(139, 92, 246, 0.04);
}
/* SETTINGS */
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--bd);
}
.setting-row:last-child {
  border-bottom: none;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-thumb {
  position: absolute;
  inset: 0;
  background: var(--bd2);
  border-radius: 100px;
  cursor: pointer;
  transition: 0.3s;
}
.toggle-thumb::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch input:checked + .toggle-thumb {
  background: var(--grad);
}
.toggle-switch input:checked + .toggle-thumb::before {
  transform: translateX(20px);
}
/* NOTIFICATION */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--sf);
  border: 1px solid var(--bd);
  margin-bottom: 10px;
  transition: 0.2s;
}
.notif-item:hover {
  border-color: rgba(139, 92, 246, 0.2);
}
.notif-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* DROPDOWN PANELS */
.db-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 2000;
  background: var(--bg2);
  border: 1px solid var(--bd2);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  min-width: 340px;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
  display: none;
}
.db-dropdown.open {
  display: block;
}
.dd-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dd-header-title {
  font-weight: 700;
  font-size: 0.95rem;
}
.dd-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--bd2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx3);
  cursor: pointer;
  font-size: 0.8rem;
  transition: 0.2s;
}
.dd-close:hover {
  border-color: var(--pur);
  color: var(--pur);
}
.dd-body {
  padding: 14px;
  max-height: 380px;
  overflow-y: auto;
}
.dd-body::-webkit-scrollbar {
  width: 4px;
}
.dd-body::-webkit-scrollbar-thumb {
  background: var(--bd2);
  border-radius: 4px;
}
.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b5cf6;
  flex-shrink: 0;
  margin-top: 5px;
}
.notif-dot.read {
  background: var(--bd2);
}
.notif-unread {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.2);
}
/* PROFILE DROPDOWN */
.profile-dd {
  min-width: 260px;
}
.profile-dd-top {
  padding: 18px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--tx2);
  cursor: pointer;
  transition: 0.2s;
  border-radius: 10px;
  margin: 2px 8px;
  border: none;
  background: transparent;
  width: calc(100% - 16px);
  font-family: "Space Grotesk", sans-serif;
  text-align: left;
}
.profile-menu-item i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.profile-menu-item:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--tx);
}
.profile-menu-item.danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}
.profile-dd-footer {
  padding: 10px 8px;
  border-top: 1px solid var(--bd);
}
/* MOBILE DB */
@media (max-width: 767px) {
  .db-sidebar {
    transform: translateX(-100%);
    transition: 0.3s;
  }
  .db-sidebar.mob-open {
    transform: translateX(0);
  }
}

/* Learning Page Specific Styles */
.sp-compact {
  padding: 60px 0;
}

.page-hero {
  padding: 80px 0 60px;
  background: var(--bg2);
  text-align: center;
}

.learning-card .ftico {
  margin-bottom: 20px;
}

/* Hardware reference page */
.hardware-hero .hero-description {
  max-width: 700px;
  margin: 20px auto;
}

.hardware-explain-card p,
.hardware-flow-card p,
.hardware-preview-card p {
  color: var(--tx2);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hardware-table-card {
  padding: 24px;
}

.hardware-compare-table {
  color: var(--tx2);
  border-color: var(--bd);
  min-width: 680px;
}

.hardware-compare-table th {
  color: var(--tx);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-color: var(--bd);
  background: var(--bg3);
}

.hardware-compare-table td {
  color: var(--tx2);
  border-color: var(--bd);
  vertical-align: top;
}

.hardware-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hardware-group-card {
  padding: 24px;
}

.hardware-group-wide {
  grid-column: 1 / -1;
}

.hardware-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hardware-group-head .ftico {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.hardware-group-head h3 {
  margin: 0;
  color: var(--tx);
  font-size: 1.12rem;
  font-weight: 650;
}

.hardware-group-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hardware-group-card li {
  padding: 7px 11px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  background: var(--bg3);
  color: var(--tx2);
  font-size: 0.84rem;
  line-height: 1.25;
}

.hardware-note {
  color: var(--tx2);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.hardware-flow-card,
.hardware-preview-card {
  padding: 28px;
}

.hardware-preview-card {
  max-width: 820px;
}

.hardware-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.hardware-flow-step {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 12px;
  border: 1px solid var(--bd);
  border-radius: 14px;
  background: var(--bg3);
  color: var(--tx);
  text-align: center;
}

.hardware-flow-step i {
  color: #69d8ff;
  font-size: 1.35rem;
}

.hardware-flow-step span {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.25;
}

.hardware-flow-arrow {
  color: var(--pur);
  opacity: 0.9;
}

.lm .hardware-compare-table th,
.lm .hardware-group-card li,
.lm .hardware-flow-step {
  background: var(--surface-alt-light);
  border-color: var(--border-light);
}

.lm .hardware-compare-table td,
.lm .hardware-explain-card p,
.lm .hardware-flow-card p,
.lm .hardware-preview-card p,
.lm .hardware-note,
.lm .hardware-group-card li {
  color: var(--text-secondary-light);
}

.lm .hardware-compare-table th,
.lm .hardware-group-head h3,
.lm .hardware-flow-step {
  color: var(--text-primary-light);
}

.lm .hardware-flow-step i {
  color: var(--text-accent-light);
}

@media (max-width: 991px) {
  .hardware-map {
    grid-template-columns: 1fr;
  }

  .hardware-flow {
    grid-template-columns: 1fr;
  }

  .hardware-flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
}

@media (max-width: 575px) {
  .hardware-table-card,
  .hardware-group-card,
  .hardware-flow-card,
  .hardware-preview-card {
    padding: 20px;
  }

  .hardware-group-head {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .db-main {
    margin-left: 0;
  }
  .db-top {
    left: 0;
  }
}
/* KEYFRAMES */
@keyframes bpls {
  0%,
  100% {
    box-shadow: 0 0 6px var(--pur);
  }
  50% {
    box-shadow: 0 0 14px var(--pur);
  }
}
@keyframes bgrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 0.75;
  }
}
/* Mobile hero title tweak: keep desktop unchanged, adjust only up to 420px */
@media (max-width: 420px) {
  /* prevent any horizontal overflow from hero visuals */
  #hero {
    overflow-x: hidden;
  }

  /* Make the inline title stack naturally and center on small screens */
  .hero-main-title-inline {
    display: block;
    text-align: center;
    font-size: 38px;
    line-height: 1.02;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    letter-spacing: normal;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Allow the first span to wrap naturally and force a comfortable max width
     so the comma will fall at the end of the first line and "Build Real" wraps
     to the next line. Do not change text or HTML. */
  .hero-main-title-inline .hero-title-white {
    display: block;
    max-width: 260px;
    margin: 0 auto;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    letter-spacing: normal;
  }

  /* Ensure the sky-colored word stays on its own centered line */
  .hero-main-title-inline .hero-title-sky {
    display: block;
    margin: 0.12em auto 0;
    white-space: normal;
  }

  /* Keep the hero description and buttons from creating horizontal overflow */
  .hero-description,
  .hero-actions {
    padding-inline: 12px;
    box-sizing: border-box;
  }
}

/* Tighten title on very small screens so it wraps into three centered lines at 390px */
@media (max-width: 390px) {
  .hero-main-title-inline {
    font-size: 36px;
    line-height: 1.02;
  }
  .hero-main-title-inline .hero-title-white {
    max-width: 230px;
  }
}

/* Cybersecurity marquee: prevent mid-word breaks and allow natural wrapping on mobile */
@media (max-width: 420px) {
  .cyber-marquee-title {
    display: block !important;
    text-align: center !important;
    white-space: normal !important;
    margin: 0 auto !important;
  }
  .cyber-marquee-title .cyber-title-cool,
  .cyber-marquee-title .cyber-title-white {
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    max-width: 100%;
  }
  .cyber-marquee-title .cyber-title-white {
    margin-top: 6px;
  }
}

/* IT marquee: keep "IT Support" together and prevent comma from leading the next line on mobile */
@media (max-width: 420px) {
  .it-marquee-title {
    display: block !important;
    text-align: center !important;
    white-space: normal !important;
    margin: 0 auto !important;
  }
  /* Keep the first part on a single centered line */
  .it-marquee-title .it-title-cool {
    display: block;
    white-space: nowrap; /* keep "IT Support" together */
  }
  /* Allow the white part to wrap only between words and hide its leading comma */
  .it-marquee-title .it-title-white {
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    max-width: 100%;
  }
  /* Hide the original leading comma in the white span and add it visually to the previous span */
  .it-marquee-title .it-title-white::first-letter {
    visibility: hidden;
  }
  .it-marquee-title .it-title-cool::after {
    content: ",";
    margin-left: 0.08em;
  }
}

/* Data marquee: keep "Data Analysis" together and ensure balanced wrapping on mobile */
@media (max-width: 420px) {
  .data-marquee-title {
    display: block !important;
    text-align: center !important;
    white-space: normal !important;
    margin: 0 auto !important;
  }
  .data-marquee-title .it-title-cool {
    display: block;
    white-space: nowrap; /* keep "Data Analysis" on one line */
  }
  .data-marquee-title .it-title-white {
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    max-width: 100%;
  }
  /* Hide leading comma in white span and append it after the first span visually */
  .data-marquee-title .it-title-white::first-letter {
    visibility: hidden;
  }
  .data-marquee-title .it-title-cool::after {
    content: ",";
    margin-left: 0.08em;
  }
}
@keyframes tbounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-5px);
  }
}
@keyframes fadU {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dinI {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(5deg) translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.afu {
  animation: fadU 0.8s ease both;
}
.adi {
  animation: dinI 1.1s ease 0.35s both;
}
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s, transform 0.65s;
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 575px) {
  .h1 {
    font-size: 2.2rem;
  }
  .stitle {
    font-size: 1.8rem;
  }
  .db-top-search {
    display: none;
  }
  .db-content {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .logo-card:hover { transform: none; }
}

#proof .kz-university-window {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 12px 0 20px !important;
}

#proof .kz-university-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: max-content !important;
  max-width: none !important;
  gap: 0 !important;
  animation: none !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

#proof .kz-university-track > .kz-university-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  flex: 0 0 auto !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  padding-right: 34px !important;
  overflow: visible !important;
  position: static !important;
}

@media (prefers-reduced-motion: reduce) {
  #proof .kz-university-track {
    transform: translate3d(0, 0, 0) !important;
  }
}

#proof .cyber-showcase {
  margin-top: 72px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif !important;
}

#proof .kz-cyber-headline {
  margin: 0 auto 18px !important;
  text-align: center !important;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.05 !important;
  font-size: clamp(42px, 5vw, 76px) !important;
  background: linear-gradient(90deg, #7f1d1d, #f8fafc, #991b1b) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.12), 0 0 18px rgba(127, 29, 29, 0.22) !important;
}

#proof .cyber-marquee-title {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  box-sizing: border-box !important;
  padding-inline: 24px !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-size: clamp(28px, 2.5vw, 42px) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
}

#proof .cyber-title-cool {
  color: #69d8ff !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-font-smoothing: antialiased !important;
}

#proof .cyber-title-white {
  color: #ffffff !important;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.42), 0 0 16px rgba(255, 255, 255, 0.22), 0 0 26px rgba(220, 235, 255, 0.12) !important;
}

@media (max-width: 900px) {
  #proof .cyber-marquee-title {
    font-size: clamp(24px, 5.5vw, 34px) !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

#proof .sources-category-sub {
  max-width: min(660px, 100%) !important;
  box-sizing: border-box !important;
  padding-inline: 24px !important;
  margin: 6px auto 40px !important;
  text-align: center !important;
  color: rgba(226, 230, 248, 0.86) !important;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem) !important;
  line-height: 1.6 !important;
  letter-spacing: 0.2px !important;
}

#proof .university-marquee-title {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  box-sizing: border-box !important;
  padding-inline: 24px !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-size: clamp(28px, 2.5vw, 42px) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
}

#proof .university-title-cool {
  color: #69d8ff !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-font-smoothing: antialiased !important;
}

#proof .university-title-white {
  color: #ffffff !important;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.42), 0 0 16px rgba(255, 255, 255, 0.22), 0 0 26px rgba(220, 235, 255, 0.12) !important;
}

@media (max-width: 900px) {
  #proof .university-marquee-title {
    font-size: clamp(24px, 5.5vw, 34px) !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

#proof .kz-cyber-window {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 10px 0 14px !important;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent) !important;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent) !important;
}

#proof .kz-cyber-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: max-content !important;
  max-width: none !important;
  gap: 0 !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

#proof .kz-cyber-track > .kz-cyber-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  position: static !important;
}

#proof .kz-cyber-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 10px !important;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
  font-size: 30px !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  color: #f4f5fb !important;
  opacity: 1 !important;
  filter: brightness(1.12) saturate(1.12) !important;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease !important;
}

#proof .kz-cyber-item:hover {
  filter: brightness(1.28) saturate(1.18) !important;
  transform: scale(1.03) !important;
}

#proof .kz-brand-thm,
#proof .kz-brand-htb,
#proof .kz-brand-dion,
#proof .kz-brand-portswigger,
#proof .kz-brand-sans,
#proof .kz-brand-giac,
#proof .kz-brand-isc2,
#proof .kz-brand-isaca,
#proof .kz-brand-cybrary {
  color: #f7f8fc !important;
  font-family: "Google Sans", "Product Sans", "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.30), 0 0 8px rgba(220, 230, 255, 0.14) !important;
}
#proof .kz-brand-thm:hover,
#proof .kz-brand-htb:hover,
#proof .kz-brand-dion:hover,
#proof .kz-brand-portswigger:hover,
#proof .kz-brand-sans:hover,
#proof .kz-brand-giac:hover,
#proof .kz-brand-isc2:hover,
#proof .kz-brand-isaca:hover,
#proof .kz-brand-cybrary:hover {
  color: #f7f8fc !important;
  filter: brightness(1.12) !important;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.38), 0 0 10px rgba(220, 230, 255, 0.18) !important;
}

#proof .kz-brand-comptia {
  color: #d71920 !important;
  font-family: "Google Sans", "Product Sans", "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 0 3px rgba(215, 25, 32, 0.52), 0 0 8px rgba(215, 25, 32, 0.26) !important;
}
#proof .kz-brand-comptia:hover {
  color: #d71920 !important;
  filter: brightness(1.12) !important;
  text-shadow: 0 0 4px rgba(215, 25, 32, 0.60), 0 0 10px rgba(215, 25, 32, 0.32) !important;
}

#proof .kz-brand-eccouncil {
  color: #d71920 !important;
  font-family: "Google Sans", "Product Sans", "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: geometricPrecision !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 0 3px rgba(215, 25, 32, 0.52), 0 0 8px rgba(215, 25, 32, 0.26) !important;
}
#proof .kz-brand-eccouncil:hover {
  color: #d71920 !important;
  filter: brightness(1.12) !important;
  text-shadow: 0 0 4px rgba(215, 25, 32, 0.60), 0 0 10px rgba(215, 25, 32, 0.32) !important;
}

#proof .cyber-showcase .kz-cyber-track {
  animation-direction: reverse !important;
}

#proof .cyber-showcase .kz-cyber-row {
  transform: scaleX(-1) !important;
}

#proof .cyber-showcase .kz-cyber-item {
  transform: scaleX(-1) !important;
}

#proof .cyber-showcase .kz-cyber-item:hover {
  transform: scaleX(-1) scale(1.03) !important;
}

@media (max-width: 1024px) {
  #proof .kz-cyber-item {
    font-size: 25px !important;
  }
  #proof .kz-cyber-headline {
    font-size: clamp(34px, 5vw, 56px) !important;
  }
}

@media (max-width: 768px) {
  #proof .kz-cyber-item {
    font-size: 20px !important;
  }
  #proof .kz-cyber-headline {
    font-size: 34px !important;
  }
  #proof .kz-cyber-row {
    gap: 44px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #proof .kz-cyber-track {
    transform: translate3d(0, 0, 0) !important;
  }
}

#proof .it-showcase {
  margin-top: 72px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

#proof .it-marquee-title {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding-inline: 24px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-size: clamp(28px, 2.5vw, 42px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  font-weight: 400 !important;
}

#proof .it-title-cool {
  color: #69d8ff !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-font-smoothing: antialiased !important;
}

#proof .it-title-white {
  color: #ffffff !important;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.42), 0 0 16px rgba(255, 255, 255, 0.22), 0 0 26px rgba(220, 235, 255, 0.12) !important;
}

#proof .kz-it-name {
  color: #f7f8fc !important;
  font-family: "Google Sans", "Product Sans", "Inter", "Manrope", "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.28), 0 0 10px rgba(220, 230, 255, 0.12) !important;
}

#proof .kz-it-name:hover {
  color: #f7f8fc !important;
  filter: brightness(1.08) !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.36), 0 0 12px rgba(220, 230, 255, 0.16) !important;
}

#proof .kz-it-name.it-red[title="Microsoft Azure"] {
  color: #f7f8fc !important;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.32), 0 0 10px rgba(220, 230, 255, 0.16) !important;
}
#proof .kz-it-name.it-red[title="Microsoft Azure"]:hover {
  color: #f7f8fc !important;
  filter: brightness(1.08) !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.36), 0 0 12px rgba(220, 230, 255, 0.16) !important;
}

#proof .kz-it-name.it-red[title="Oracle Database"] {
  color: #f7f8fc !important;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.32), 0 0 10px rgba(220, 230, 255, 0.16) !important;
}
#proof .kz-it-name.it-red[title="Oracle Database"]:hover {
  color: #f7f8fc !important;
  filter: brightness(1.08) !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.36), 0 0 12px rgba(220, 230, 255, 0.16) !important;
}

#proof .kz-it-name.it-red {
  color: #ee0000 !important;
  text-shadow: 0 0 4px rgba(238, 0, 0, 0.48), 0 0 10px rgba(238, 0, 0, 0.24) !important;
}
#proof .kz-it-name.it-red:hover {
  color: #ee0000 !important;
  filter: brightness(1.08) !important;
  text-shadow: 0 0 5px rgba(238, 0, 0, 0.56), 0 0 12px rgba(238, 0, 0, 0.30) !important;
}

@media (max-width: 900px) {
  #proof .it-marquee-title {
    white-space: normal !important;
    font-size: clamp(24px, 5.5vw, 34px) !important;
    text-align: center !important;
  }
}

/* Light mode readability fixes for hardcoded white/neon text */
.lm #proof .sources-category-sub {
  color: var(--text-secondary-light) !important;
}

.lm #proof .cyber-title-cool,
.lm #proof .university-title-cool,
.lm #proof .it-title-cool {
  color: var(--text-accent-light) !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm #proof .cyber-title-white,
.lm #proof .university-title-white,
.lm #proof .it-title-white {
  color: var(--text-primary-light) !important;
  text-shadow: none !important;
}

.lm #proof .kz-cyber-item,
.lm #proof .kz-brand-thm,
.lm #proof .kz-brand-htb,
.lm #proof .kz-brand-dion,
.lm #proof .kz-brand-portswigger,
.lm #proof .kz-brand-sans,
.lm #proof .kz-brand-giac,
.lm #proof .kz-brand-isc2,
.lm #proof .kz-brand-isaca,
.lm #proof .kz-brand-cybrary,
.lm #proof .kz-it-name,
.lm #proof .kz-it-name.it-red[title="Microsoft Azure"],
.lm #proof .kz-it-name.it-red[title="Oracle Database"] {
  color: var(--text-primary-light) !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm #proof .kz-cyber-item:hover,
.lm #proof .kz-brand-thm:hover,
.lm #proof .kz-brand-htb:hover,
.lm #proof .kz-brand-dion:hover,
.lm #proof .kz-brand-portswigger:hover,
.lm #proof .kz-brand-sans:hover,
.lm #proof .kz-brand-giac:hover,
.lm #proof .kz-brand-isc2:hover,
.lm #proof .kz-brand-isaca:hover,
.lm #proof .kz-brand-cybrary:hover,
.lm #proof .kz-it-name:hover,
.lm #proof .kz-it-name.it-red[title="Microsoft Azure"]:hover,
.lm #proof .kz-it-name.it-red[title="Oracle Database"]:hover {
  color: var(--text-primary-light) !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Preserve intentionally red brand highlights in light mode */
.lm #proof .kz-brand-comptia,
.lm #proof .kz-brand-comptia:hover,
.lm #proof .kz-brand-eccouncil,
.lm #proof .kz-brand-eccouncil:hover,
.lm #proof .kz-it-name.it-red,
.lm #proof .kz-it-name.it-red:hover {
  color: #d71920 !important;
}

/* Additional light-mode contrast pass for fixed bright text/icons */
.lm .slbl {
  color: #1677a8 !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm .slbl-why {
  color: #172033 !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm .slbl::before {
  background: #1677a8;
}

.lm .nav-link,
.lm .tlog,
.lm .dsi,
.lm .dpnl,
.lm .db-nl,
.lm .profile-menu-item,
.lm .fcol a,
.lm .sico,
.lm .dpsl,
.lm .db-stat-lbl,
.lm .acco .accordion-body,
.lm .db-table td,
.lm .msg-time {
  color: #526078 !important;
}

.lm .stitle,
.lm .db-logo,
.lm .dd-header-title,
.lm .acco .accordion-button,
.lm .db-table th,
.lm .fcol h5,
.lm .msg-ai,
.lm .profile-dd-top {
  color: #172033 !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm .nav-link:hover,
.lm .tlog:hover,
.lm .dsi:hover,
.lm .dpnl:hover,
.lm .db-nl:hover,
.lm .profile-menu-item:hover,
.lm .fcol a:hover,
.lm .sico:hover,
.lm .boc:hover {
  color: #1677a8 !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm #foot p {
  color: var(--text-primary-light) !important;
  text-shadow: none !important;
}

.lm #foot .fcol a {
  text-shadow: none !important;
}

.lm #foot p a {
  color: var(--text-accent-light) !important;
  text-shadow: none !important;
}

.lm #foot p a:hover {
  color: #1677a8 !important;
  text-shadow: none !important;
}

.lm .footer-owner-name,
.lm .footer-template-name {
  color: #172033 !important;
  text-shadow: none !important;
}

.lm .footer-credit-text {
  color: #1677a8 !important;
  text-shadow: none !important;
}

.lm #pricing .pamt .fa-c,
.lm #pricing .pamt .fa-terminal,
.lm #pricing .pamt .fa-code {
  color: #172033 !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm #pricing .pamt svg {
  color: #172033 !important;
  stroke: #172033 !important;
  fill: #172033 !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm #pricing .lang-logo-go,
.lm #pricing .assembly-verilog-logo {
  color: #172033 !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm .acco .accordion-button:not(.collapsed) {
  color: #1677a8 !important;
  background: rgba(22, 119, 168, 0.08) !important;
}

.lm .boc,
.lm .oinp,
.lm .oauth,
.lm .nli,
.lm .chat-inp,
.lm .chat-wrap,
.lm .agent-card,
.lm .db-stat-card,
.lm .dwrap,
.lm .dprev,
.lm .db-dropdown,
.lm .acco .accordion-item,
.lm #foot,
.lm #nbar,
.lm #mbmenu,
.lm .db-top,
.lm .db-sidebar,
.lm .dside,
.lm .dpside,
.lm .stpill,
.lm .dps,
.lm .cit,
.lm .arl {
  border-color: rgba(23, 32, 51, 0.16) !important;
}

.lm #proof .university-title-icon,
.lm #proof .cyber-title-icon,
.lm #proof .it-title-icon,
.lm #proof .data-title-icon,
.lm #proof .programming-title-icon,
.lm #proof .web-title-icon {
  color: #1677a8 !important;
  text-shadow: none !important;
  filter: none !important;
}

.lm #proof .university-title-icon svg *,
.lm #proof .cyber-title-icon svg *,
.lm #proof .it-title-icon svg *,
.lm #proof .data-title-icon svg *,
.lm #proof .programming-title-icon svg *,
.lm #proof .web-title-icon svg * {
  stroke: currentColor !important;
}

.lm #proof .university-title-icon svg text,
.lm #proof .cyber-title-icon svg text,
.lm #proof .it-title-icon svg text,
.lm #proof .data-title-icon svg text,
.lm #proof .programming-title-icon svg text,
.lm #proof .web-title-icon svg text {
  fill: currentColor !important;
  stroke: none !important;
}

/* ======================== MOBILE RESPONSIVE ======================== */
@media (max-width: 768px) {
  html, body, * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  section {
    overflow-x: hidden;
  }

  /* Hero */
  #hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  #hero .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  #hero .mt-5.afu {
    margin-top: 28px !important;
  }
  #hero .mt-5.afu .d-flex {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
  }
  #hero .mt-5.afu .tlog {
    text-align: center;
    font-size: clamp(13px, 2.2vw, 16px);
  }

  /* Dashboard */
  .dwrap {
    border-radius: 18px;
    overflow: hidden;
  }
  .dgrid {
    grid-template-columns: 1fr;
  }
  .dside {
    display: none;
  }
  .dtbar {
    padding: 10px 12px;
    font-size: 0.7rem;
  }
  .stpill {
    padding: 10px;
  }
  .dpsv {
    font-size: 1.1rem;
  }
  .dpsl, .dpsd {
    font-size: 0.62rem;
  }
  .dpst {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* Marquee titles */
  #proof .university-marquee-title,
  #proof .cyber-marquee-title,
  #proof .it-marquee-title,
  #proof .data-marquee-title {
    white-space: normal !important;
    max-width: 100% !important;
    padding-inline: 16px !important;
    font-size: clamp(22px, 5.5vw, 32px) !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Marquee rows */
  #proof .kz-university-row {
    gap: 12px !important;
  }
  #proof .kz-cyber-row {
    gap: 28px !important;
  }
  #proof .kz-cyber-item {
    font-size: 18px !important;
  }
  #proof .kz-it-name {
    font-size: 16px !important;
  }

  /* Section icons */
  #proof .university-title-icon,
  #proof .cyber-title-icon,
  #proof .it-title-icon,
  #proof .data-title-icon,
  #proof .programming-title-icon,
  #proof .web-title-icon {
    width: 90px !important;
    height: 90px !important;
    margin-bottom: 12px !important;
  }
  #proof .it-title-icon-row {
    gap: 20px !important;
  }

  /* Section spacing */
  .sp, #proof {
    padding: 56px 0 !important;
  }
  #proof .cyber-showcase,
  #proof .it-showcase {
    margin-top: 40px !important;
  }

  /* Cards / grids */
  .bgrid {
    grid-template-columns: 1fr;
  }
  .bs2, .bt2 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .pcard {
    padding: 22px;
  }
  .pamt {
    font-size: 2.2rem;
  }

  /* Typography */
  .stitle {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }
  .ssub {
    font-size: 0.95rem;
    padding-inline: 8px;
  }

  /* Nav */
  #nbar .container {
    padding-left: 14px;
