:root {
  --jw-primary: #08a6b6;
  --jw-primary-dark: #078e9c;
  --jw-dark: #111827;
  --jw-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}
* {
  box-sizing: border-box;
}
.jw-header {
  position: relative;
  z-index: 1000;
  width: min(1160px, calc(100% - 48px));
  margin: 24px auto;
  font-family: Arial, sans-serif;
}
.jw-header a {
  text-decoration: none;
}
.jw-navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}
.jw-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.jw-brand .custom-logo-link {
  display: flex;
}
.jw-brand .custom-logo {
  width: auto;
  max-width: 190px;
  max-height: 46px;
}
.jw-logo-text {
  font-size: 25px;
  font-weight: 700;
  color: #374151;
}
.jw-logo-text strong {
  color: var(--jw-primary);
}
.jw-nav {
  margin-left: auto;
}
.jw-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.jw-menu > li {
  position: static;
  margin: 0;
}
.jw-nav-link {
  height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  border-radius: 11px;
  transition: 0.2s;
}
.jw-menu > li:hover > .jw-nav-link,
.jw-menu > li.is-open > .jw-nav-link {
  color: var(--jw-primary-dark);
  background: #eefbfc;
}
.jw-chevron {
  font-size: 10px;
}
.jw-header-actions {
  display: flex;
  align-items: center;
  margin-left: 10px;
}
.jw-login {
  padding: 14px 12px;
  color: var(--jw-primary-dark);
  font-size: 14px;
}
.jw-register {
  height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
  background: var(--jw-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.jw-nav {
    margin-left: auto;
    position: relative;
}

.jw-mega{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    width:1160px;
    max-width:calc(100vw - 40px);
    display:none;
    min-height:380px;
    padding:30px;
    background:#fff;
    border:1px solid #e8edf2;
    border-radius:18px;
    box-shadow:var(--jw-shadow);
    z-index:9999;
}
.jw-menu > li.jw-mega-menu{
    position:static;
}
.jw-menu > li.jw-mega-menu::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:100%;
    height:18px;
}
/* Desktop mega menu opens on hover. is-open remains as keyboard/touch support. */
@media (min-width:901px){
    .jw-menu > li.jw-mega-menu:hover > .jw-mega,
    .jw-menu > li.jw-mega-menu:focus-within > .jw-mega,
    .jw-menu > li.jw-mega-menu.is-open > .jw-mega{
        display:block;
    }
}
.jw-mega:before {
  content: "";
  position: absolute;
  top: -8px;
  left: var(--arrow-left, 490px);
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 1px solid #e8edf2;
  border-top: 1px solid #e8edf2;
  transform: rotate(45deg);
}
.jw-mega-layout{
    display:flex;
    min-height:380px;
}
.jw-mega-cats{
    width:230px;
    flex:0 0 230px;
    padding-right:24px;
    border-right:1px solid #edf0f4;
}
.jw-mega-label {
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.jw-mega-category-list {
  display: block;
}
.jw-mega-category {
  position: static;
}
.jw-cat {
  width: 100%;
  min-height: 48px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #1f2937;
  font: 600 13px Arial, sans-serif;
  cursor: pointer;
  text-align: left;
}
.jw-cat:hover,
.jw-cat.is-active {
  color: var(--jw-primary-dark);
  background: #eefbfc;
}
.jw-cat-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jw-cat-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  border-radius: 8px;
  background: #e8f9fb;
  color: var(--jw-primary-dark);
  font-size: 15px;
}
.jw-cat-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.jw-cat-arrow {
  font-size: 10px;
}
.jw-mega-panel{
    display:none;
    position:absolute;
    left:260px;
    right:30px;
    top:30px;
}
.jw-mega-panel.is-active {
  display: block;
}
.jw-mega-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
}
.jw-mega-card {
  min-height: 82px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: 0.2s;
}
.jw-mega-card:hover {
  border-color: #d8f1f4;
  background: #f7fcfd;
  transform: translateY(-1px);
}
.jw-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--jw-primary-dark);
  background: #e8f9fb;
  font-size: 21px;
}
.jw-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.jw-card-title {
  display: block;
  margin-bottom: 5px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}
.jw-card-desc {
  display: block;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}
.jw-top-icon,
.jw-sub-icon {
  display: inline-grid;
  place-items: center;
}
.jw-top-icon img,
.jw-sub-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.jw-mobile-toggle {
  width: 46px;
  height: 46px;
  margin-left: auto;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  cursor: pointer;
}
.jw-mobile-panel {
  display: none;
}
@media (max-width: 1050px) {
  .jw-nav-link {
    padding: 0 9px;
  }
  .jw-mega-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .jw-header {
    width: calc(100% - 28px);
    margin: 14px auto;
  }
  .jw-nav,
  .jw-header-actions {
    display: none;
  }
  .jw-mobile-toggle {
    display: grid;
  }
  .jw-header.mobile-open .jw-mobile-panel {
    display: block;
  }
  .jw-mobile-panel {
    margin-top: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  }
  .jw-mobile-menu,
  .jw-mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .jw-mobile-menu a {
    min-height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
  }
  .jw-mobile-menu .sub-menu {
    display: none;
    padding: 6px 8px;
    background: #f8fafc;
  }
  .jw-mobile-menu .is-open > .sub-menu {
    display: block;
  }
}

/* =========================================================
   JOINWEBS TWO-LEVEL MEGA MENU
   Add this AFTER the existing mega-menu CSS.
   ========================================================= */

.jw-mega--two-level {
  min-height: auto;
}

.jw-mega--two-level > .jw-mega-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 34px;
}

.jw-mega--two-level .jw-mega-card {
  min-height: 78px;
  padding: 8px;
}

.jw-mega--two-level .jw-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 14px;
}

.jw-mega--two-level .jw-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jw-mega--two-level .jw-icon i {
  font-size: 25px;
}

@media (max-width: 1050px) {
  .jw-mega--two-level > .jw-mega-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.jw-header {
  position: sticky;
  top: 15px;
  z-index: 9999;
  transition: all 0.3s ease;
}
.jw-header.jw-is-sticky .jw-navbar {
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
}
.jw-home-hero {
  --cyan: #09b5c6;
  position: relative;
  min-height: 850px;
  margin-top: -120px;
  padding: 220px 24px 0;
  overflow: hidden;
  color: #fff;
  color: #172033;
  background: radial-gradient(
      circle at 50% 48%,
      rgba(37, 99, 235, 0.2),
      transparent 32%
    ),
    linear-gradient(135deg, #05065a 0%, #08074b 50%, #050438 100%);
}
.jw-home-hero:before,
.jw-home-hero:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.25;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}
.jw-home-hero:before {
  top: 260px;
  left: 5%;
}
.jw-home-hero:after {
  top: 470px;
  right: 4%;
}
.jw-home-hero__glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  filter: blur(90px);
}
.jw-home-hero__glow--left {
  left: -190px;
  bottom: -160px;
  background: rgba(91, 33, 182, 0.5);
}
.jw-home-hero__glow--right {
  right: -200px;
  top: 220px;
  background: rgba(0, 174, 239, 0.2);
}
.jw-home-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: auto;
}
.jw-home-hero__content {
  max-width: 1030px;
  margin: auto;
  text-align: center;
}

.jw-home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  background: rgba(83, 55, 220, 0.34);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}
.jw-home-hero__title {
  max-width: 1000px;
  margin: 26px auto 20px;
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -3px;
  color: #ffffff;
}
.jw-home-hero__title span {
  display: block;
  background: linear-gradient(90deg, #fff 3%, #19d1dc 50%, #168cf5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jw-home-hero__text {
  max-width: 780px;
  margin: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.75;
}
.jw-home-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.jw-hero-button {
  min-height: 56px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 12px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s;
}
.jw-hero-button:hover {
  transform: translateY(-3px);
}
.jw-hero-button--primary {
  background: linear-gradient(135deg, var(--cyan), #13cbd5);
  box-shadow: 0 16px 38px rgba(9, 181, 198, 0.25);
}
.jw-hero-button--outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}
.jw-home-hero__features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 52px;
  margin-top: 38px;
}
.jw-hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.jw-hero-feature > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #6558ff, var(--cyan));
}
.jw-hero-feature strong,
.jw-hero-feature small {
  display: block;
}
.jw-hero-feature strong {
  margin-bottom: 4px;
  font-size: 13px;
  color:#ffffff;
}

.jw-hero-feature small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}
.jw-hero-showcase {
  position: relative;
  width: min(960px, 94%);
  height: 310px;
  margin: 52px auto 0;
  perspective: 1400px;
}
.jw-hero-orbit {
  position: absolute;
  width: 1300px;
  height: 450px;
  left: 50%;
  top: 40px;
  border: 1px dashed rgba(35, 100, 255, 0.45);
  border-radius: 50%;
  transform: translateX(-50%);
}
.jw-hero-site {
  position: absolute;
  top: 45px;
  width: 520px;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}
.jw-hero-site--main {
  z-index: 3;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.jw-hero-site--left,
.jw-hero-site--right {
  width: 480px;
}
.jw-hero-site--left {
  left: -180px;
  transform: rotate(-6deg) translateY(58px);
}
.jw-hero-site--right {
  right: -180px;
  transform: rotate(6deg) translateY(58px);
}
.jw-hero-browser {
  height: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-bottom: 1px solid #edf0f5;
  background: #f8fafc;
}
.jw-hero-browser i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
}
.jw-hero-demo {
  position: relative;
  height: calc(100% - 24px);
  padding: 24px 30px;
  color: #0f172a;
  background: linear-gradient(145deg, #fff, #f5f9fc);
}
.jw-hero-demo > b {
  font-size: 10px;
  color: #09a9ba;
}
.jw-demo-copy {
  position: absolute;
  left: 30px;
  top: 60px;
  width: 205px;
}
.jw-demo-copy small,
.jw-demo-copy strong {
  display: block;
}
.jw-demo-copy small {
  margin-bottom: 8px;
  color: #0aa7b7;
  font-size: 8px;
  text-transform: uppercase;
}
.jw-demo-copy strong {
  font-size: 22px;
  line-height: 1.12;
}
.jw-demo-copy span {
  display: block;
  width: 140px;
  height: 5px;
  margin-top: 12px;
  border-radius: 10px;
  background: #e2e8f0;
}
.jw-demo-copy span + span {
  width: 105px;
  margin-top: 6px;
}
.jw-demo-device {
  position: absolute;
  right: 35px;
  bottom: 35px;
  width: 190px;
  height: 120px;
  padding: 8px 8px 18px;
  border-radius: 7px;
  background: #172033;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.22);
  transform: rotate(-2deg);
}
.jw-demo-device div {
  height: 100%;
  background: linear-gradient(145deg, #f8fafc, #dff7fa);
}
.jw-demo-shape {
  position: absolute;
  right: 35px;
  bottom: 35px;
  width: 150px;
  height: 150px;
  border-radius: 42% 58% 64% 36%/45% 36% 64% 55%;
}
.jw-demo-shape--cyan {
  background: linear-gradient(145deg, #d8f7fa, #5bcad4);
}
.jw-demo-shape--blue {
  background: linear-gradient(145deg, #dfe6ff, #546ee9);
}
.jw-home-hero.is-visible .jw-home-hero__content {
  animation: jwHeroFade 0.75s ease both;
}
@keyframes jwHeroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .jw-home-hero {
    margin-top: -105px;
    padding-top: 190px;
  }
  .jw-home-hero__title {
    font-size: clamp(42px, 9vw, 64px);
    letter-spacing: -2px;
  }
  .jw-hero-site--left {
    left: -260px;
  }
  .jw-hero-site--right {
    right: -260px;
  }
}
@media (max-width: 600px) {
  .jw-home-hero {
    min-height: 750px;
    margin-top: -95px;
    padding: 160px 18px 0;
  }
  .jw-home-hero__title {
    font-size: 43px;
    letter-spacing: -1.8px;
  }
  .jw-home-hero__text {
    font-size: 15px;
  }
  .jw-home-hero__actions {
    flex-direction: column;
  }
  .jw-hero-button {
    width: 100%;
  }
  .jw-home-hero__features {
    display: none;
  }
  .jw-hero-showcase {
    height: 260px;
    margin-top: 40px;
  }
  .jw-hero-site {
    width: 380px;
    height: 240px;
  }
  .jw-hero-site--left,
  .jw-hero-site--right {
    display: none;
  }
  .jw-demo-device {
    right: 20px;
    width: 140px;
    height: 95px;
  }
  .jw-demo-copy {
    left: 22px;
    width: 150px;
  }
  .jw-demo-copy strong {
    font-size: 17px;
  }
}
.jw-hero-site--left,
.jw-hero-site--right {
  width: 500px;
}

.jw-hero-site--left {
  left: -160px;
  transform: rotate(-6deg) translateY(58px);
}

.jw-hero-site--right {
  right: -160px;
  transform: rotate(6deg) translateY(58px);
}

.jw-hero-site--right .jw-demo-copy {
  left: auto;
  right: 35px;
  width: 210px;
}

.jw-hero-site--right .jw-demo-shape {
  left: 35px;
  right: auto;
}