:root {
  --bg: #0A0A0D;
  --surface: #101014;
  --card: #15151B;
  --purple: #7C3AED;
  --purple-l: #A78BFA;
  --purple-d: #5B21B6;
  --white: #FFFFFF;
  --gray: #94949E;
  --line: rgba(255,255,255,.09);
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 100px;
  --max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Force Dark Theme background across targeted pages */
html, body.jdx {
  background: #0A0A0D !important;
  color: #F8F8F8 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 1s ease;
}

/* Theme Override rules */
.jdx h1, .jdx h2, .jdx h3, .jdx h4, .jdx h5 {
  color: #F8F8F8 !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.jdx p {
  color: var(--gray) !important;
}
.jdx a {
  color: inherit;
  text-decoration: none;
}

/* NOISE & MESH BACKGROUNDS */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mesh i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  display: block;
}
.mesh i:nth-child(1) {
  width: 620px;
  height: 620px;
  top: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(124,58,237,.18), transparent 70%);
  animation: drift1_1d228368 22s ease-in-out infinite alternate;
}
.mesh i:nth-child(2) {
  width: 520px;
  height: 520px;
  top: 35%;
  right: -10%;
  background: radial-gradient(circle, rgba(167,139,250,.10), transparent 70%);
  animation: drift2_1d228368 27s ease-in-out infinite alternate;
}
.mesh i:nth-child(3) {
  width: 460px;
  height: 460px;
  bottom: -10%;
  left: 25%;
  background: radial-gradient(circle, rgba(255,255,255,.045), transparent 70%);
  animation: drift3_1d228368 31s ease-in-out infinite alternate;
}
@keyframes drift1_1d228368 { to { transform: translate(90px, 70px) scale(1.12); } }
@keyframes drift2_1d228368 { to { transform: translate(-80px, -60px) scale(1.08); } }
@keyframes drift3_1d228368 { to { transform: translate(60px, -80px) scale(1.15); } }

/* MOUSE GLOW */
.mglow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(124,58,237,.08), transparent 62%);
  transform: translate(-50%, -50%);
  transition: opacity .4s;
  opacity: 0;
}

/* CUSTOM CURSOR */
.cur {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--purple-l);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s, width .25s, height .25s;
}
.curf {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(167,139,250, .4);
  border-radius: 50%;
  z-index: 9998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), border-color .3s;
}
.curf.big {
  width: 62px;
  height: 62px;
  border-color: rgba(167,139,250, .75);
  background: rgba(124,58,237, .06);
}
@media (hover: none), (max-width: 900px) {
  .cur, .curf, .mglow { display: none; }
}

/* CUSTOM LOADER */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
}
.lmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -.04em;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.lmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: lup_1d228368 .6s var(--ease) forwards;
}
@keyframes lup_1d228368 { to { opacity: 1; transform: none; } }
.lbar {
  width: 190px;
  height: 2px;
  background: rgba(255,255,255, .1);
  border-radius: 2px;
  overflow: hidden;
}
.lbar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--purple-l);
  transition: width .25s linear;
}
.lpct {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

/* PROGRESS BAR */
.prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--purple), var(--purple-l));
  z-index: 999;
  transition: width .1s linear;
}

/* Blog / Elementor Layout Tweaks to blend with Home Design */
.jdx .elementor-widget-elementskit-blog-posts {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
  padding: 34px !important;
}
.jdx .elementskit-post-image-card {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  transition: all 0.4s var(--ease) !important;
}
.jdx .elementskit-post-image-card:hover {
  border-color: rgba(167,139,250, .35) !important;
  transform: translateY(-5px) !important;
}

/* Scroll reveal items */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.rv.in {
  opacity: 1;
  transform: none;
}
