: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;
  --dsc: 84px;
}
.lm {
  --bg: #fafafe;
  --bg2: #f0f0ff;
  --bg3: #e8e8ff;
  --sf: #fff;
  --bd: rgba(99, 71, 246, 0.1);
  --bd2: rgba(99, 71, 246, 0.2);
  --tx: #0f0f1a;
  --tx2: #3d3d5c;
  --tx3: #7878a0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--tx);
  overflow-x: hidden;
  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);
}
.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 {
  font-size: 25px;
  width: 34px;
  height: 34px;
  background: var(--grad);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.tech {
  font-size: 19px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.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;
}
.lang-switcher {
  min-width: 62px;
  height: 38px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--bd2);
  color: var(--tx);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  padding: 0 10px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--tx2) 50%),
    linear-gradient(135deg, var(--tx2) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px),
    calc(100% - 10px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.lang-switcher:focus {
  box-shadow: none;
  border-color: var(--pur);
  color: var(--tx);
}
#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;
}
.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;
}
.tlog {
  opacity: 0.4;
  filter: grayscale(1);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tx2);
  transition: 0.3s;
}
.tlog:hover {
  opacity: 0.75;
  filter: none;
}

/* ===================== ROLES ===================== */
#services .gc {
  border-left: 3px solid var(--pur);
}
#services .gc:last-child {
  border-left-color: #34d399;
}
#services .ftag {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
#services .gc:last-child .ftag {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.2);
}

/* ===================== PROJECTS ===================== */
.filter-btn.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
.filter-btn.active:hover {
  color: #fff;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}
.project-item {
  transition: opacity 0.4s ease;
}

/* ===================== STACK ===================== */
#stack .ftag {
  background: rgba(139, 92, 246, 0.08);
  color: var(--tx2);
  border-color: var(--bd2);
  font-size: 0.72rem;
}

/* ===================== 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;
}

#ptog:checked + #ptogLabel,
#ptogLabel.is-yearly {
  background: rgba(139, 92, 246, 0.2) !important;
  border-color: rgba(139, 92, 246, 0.55) !important;
}
#ptog:checked + #ptogLabel #ptogThumb,
#ptogLabel.is-yearly #ptogThumb {
  transform: translateX(24px);
}
.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;
}
.fcol h5 {
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tx3);
  margin-bottom: 14px;
}
.fcol a {
  display: block;
  font-size: 0.875rem;
  color: var(--tx2);
  padding: 3px 0;
  transition: 0.2s;
}
.fcol a:hover {
  color: var(--pur);
}
.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);
}

/* ===================== DASHBOARD ===================== */
.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-wrapper {
  position: relative;
  min-height: 100vh;
}
#dashboard {
  position: relative;
  min-height: 100vh;
}
.db-sidebar-head {
  position: fixed;
  top: 0;
  left: var(--dsb);
  right: 0;
  z-index: 960;
  min-height: var(--nav);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--bg2);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
}
.db-sidebar-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.2s;
}
.db-sidebar-toggle:hover {
  border-color: var(--pur);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.18);
}
.db-sidebar-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--tx);
}
.db-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  color: inherit;
}
.db-sidebar-brand-text {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.db-sidebar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.db-notif-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  flex-shrink: 0;
}
.db-notif-btn:hover {
  border-color: var(--pur);
  color: var(--pur);
}
.db-notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f87171;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg2);
}
.db-user-pill {
  position: relative;
}
.db-user-pill-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--bd2);
  background: var(--sf);
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.db-user-pill-btn:hover {
  border-color: var(--pur);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.12);
}
.db-user-pill-icon {
  color: var(--tx2);
}
.db-user-pill-label {
  font-size: 0.84rem;
}
.db-user-pill-chevron {
  font-size: 0.72rem;
  color: var(--tx3);
}
.db-user-menu {
  min-width: 230px;
  padding: 10px;
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.25);
}
.db-user-menu-header {
  padding: 8px 12px 10px;
}
.db-user-menu-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--tx3);
}
.db-user-menu-subtitle {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--tx2);
}
.db-user-menu .dropdown-item {
  border-radius: 10px;
  color: var(--tx);
  font-weight: 500;
  padding: 10px 12px;
}
.db-user-menu .dropdown-item:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--tx);
}
.db-nav-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  color: var(--tx3);
  font-size: 0.85rem;
}
.db-nav-loading-text {
  white-space: nowrap;
}
.db-logo {
  padding: 14px 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-wrap {
  margin-bottom: 8px;
}
.db-nav-section {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tx3);
  padding: 10px 10px 8px;
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}
.db-nav-section:hover {
  color: var(--tx2);
}
.db-section-text {
  white-space: nowrap;
}
.db-section-chevron {
  font-size: 0.7rem;
  transition: transform 0.2s;
}
.db-nav-section[aria-expanded="false"] .db-section-chevron {
  transform: rotate(-90deg);
}
.db-nav-collapse {
  padding-left: 0;
}
.db-nav-group {
  padding: 4px 0 0;
}
.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-link-text {
  flex: 1;
  min-width: 0;
}
.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-logout-link {
  color: #f87171 !important;
}
.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;
}
.db-main {
  margin-left: var(--dsb);
  padding-top: var(--nav);
  min-height: 100vh;
}
.db-content {
  padding: 28px;
}
.db-sidebar-collapsed {
  --dsb: var(--dsc);
}
.db-sidebar-collapsed .db-sidebar {
  width: var(--dsc);
}
.db-sidebar-collapsed .db-sidebar-brand-text,
.db-sidebar-collapsed .db-user-pill-label,
.db-sidebar-collapsed .db-user-pill-chevron,
.db-sidebar-collapsed .db-link-text,
.db-sidebar-collapsed .db-section-text,
.db-sidebar-collapsed .db-nav-loading-text {
  display: none;
}
.db-sidebar-collapsed .db-sidebar-brand .logo-i {
  display: none;
}
.db-sidebar-collapsed .db-sidebar-head {
  left: var(--dsb);
  justify-content: flex-end;
}
.db-sidebar-collapsed .db-sidebar-brand {
  flex: 0;
}
.db-sidebar-collapsed .db-logo {
  justify-content: center;
}
.db-sidebar-collapsed .db-sidebar-actions {
  margin-left: auto;
}
.db-sidebar-collapsed .db-user-menu {
  left: 0 !important;
  right: auto !important;
}
.db-sidebar-collapsed .db-nav {
  padding-left: 10px;
  padding-right: 10px;
}
.db-sidebar-collapsed .db-nav-section {
  justify-content: center;
}
.db-sidebar-collapsed .db-nl {
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
}
.db-sidebar-collapsed .db-nl .db-badge {
  margin-left: 0;
}
.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-card .count-project {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #8b5cf622;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #8b5cf6;
}
 
.db-stat-card .count-service {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #14b8a622;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #14b8a6;
}

.db-stat-card .count-user {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #34d39922;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #34d399;
}

.db-stat-card .count-message {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #3b82f622;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #3b82f6;
}

.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-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);
}
.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);
}
.db-footer-bar {
  position: fixed;
  left: var(--dsb);
  right: 0;
  bottom: 0;
  z-index: 940;
  min-height: 54px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg2);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--bd);
  color: var(--tx2);
  font-size: 0.82rem;
}
.db-footer-left,
.db-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.db-footer-version {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.db-footer-right a {
  color: var(--tx);
  font-weight: 600;
}

/* ===================== SCROLL TOP ===================== */
#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: none;
  z-index: 1200;
  padding: 0;
  justify-content: center;
  align-items: center;
}

/* ===================== MOBILE ===================== */
@media (max-width: 991px) {
  .db-sidebar {
    transform: translateX(-100%);
    transition: 0.3s;
    width: var(--dsb);
  }
  .db-sidebar.mob-open {
    transform: translateX(0);
  }
  .db-main {
    margin-left: 0;
  }
  .db-sidebar-head,
  .db-footer-bar {
    left: 0;
    right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .db-sidebar-head {
    justify-content: flex-start;
  }
  .db-top {
    left: 0;
  }
  .db-sidebar-collapsed {
    --dsb: 240px;
  }
  .db-sidebar-collapsed .db-sidebar {
    width: var(--dsb);
  }
}
@media (max-width: 575px) {
  .sp {
    padding: 72px 0;
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }
  .h1 {
    font-size: 2.2rem;
  }
  .stitle {
    font-size: 1.8rem;
  }
  .pcard {
    padding: 22px;
  }
  #foot .d-flex.align-items-center.justify-content-between.flex-wrap.gap-3.pt-4 {
    flex-direction: column;
    align-items: flex-start !important;
  }
  #newsletterForm {
    width: 100%;
  }
  #newsletterForm .nli {
    max-width: none !important;
    width: 100%;
  }
  #newsletterForm #newsletterBtn {
    width: 100%;
  }
  .db-content {
    padding: 16px;
  }
  .db-user-pill-btn {
    padding: 0 10px;
  }
}

/* ===================== KEYFRAMES ===================== */
@keyframes bpls {
  0%,
  100% {
    box-shadow: 0 0 6px var(--pur);
  }
  50% {
    box-shadow: 0 0 14px var(--pur);
  }
}
@keyframes fadU {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.afu {
  animation: fadU 0.8s ease both;
}
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s, transform 0.65s;
}
.rv.in {
  opacity: 1;
  transform: none;
}