
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Segoe UI", Arial, sans-serif;
}

body{
  background:#020b18;
  color:#e6eef8;
}
/* ================= NAVBAR ================= */
.navbar{
  position:sticky;
  top:0;
  z-index:2000;
  height:110px;
  padding:0 72px;
  display:flex;
  align-items:center;
  background:linear-gradient(180deg,#030b18,#020b18);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.logo img {
    width: auto;
  height: 60px;
    transition: transform 0.3s ease;
}
  .logo img:hover {
    transform: scale(1.05);
  }


/* ================= HAMBURGER ================= */
.hamburger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
  margin-left:auto;
}

.hamburger span{
  width:26px;
  height:2.5px;
  background:#fff;
  border-radius:3px;
  transition:.3s;
}

/* ================= NAV ================= */
.nav{
  list-style:none;
  display:flex;
  gap:46px;
  margin-left:80px;
}

/* ================= MENU ITEM ================= */
.menu-item{
  position:relative;
}

.menu-title{
  display:flex;
  align-items:center;
  gap:15px;
  cursor:pointer;
  padding:12px 10px;
  font-size:18px;
  font-weight:500;
  background:none;
  border:none;
  color:#e6eef8;
  transition:.35s;    
}
.menu-title a{
  
  color:#e6eef8;text-decoration: none;
}

/* Gradient hover (desktop only) */
@media(min-width:992px){
  .menu-item:hover .menu-title{
    background:linear-gradient(90deg,#19c3ff,#2a5bff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
  }
}

/* ================= ARROW ================= */
.arrow{
  width:8px;
  height:8px;
  border-right:2px solid #9fb3c8;
  border-bottom:2px solid #9fb3c8;
  transform:rotate(45deg);
  transition:.35s;
}

/* Arrow rotate on hover (desktop) */
@media(min-width:992px){
  .menu-item:hover .arrow{
    transform:rotate(-135deg);
    border-color:#19c3ff;
  }
}

/* ================= MEGA MENU (DESKTOP) ================= */
.mega-menu{
  position:fixed;
  left:0;
  top:110px;
  width:100vw;
  height:0;
  overflow:hidden;
  background:radial-gradient(circle at top left,#080f1a,#121b28 60%);
  transition:height .5s ease;
}

/* Desktop hover open */
@media(min-width:992px){
  .menu-item:hover .mega-menu{
    height:480px; 
  }
}

/* ================= MEGA CONTENT ================= */
.mega-inner{
  max-width:1480px;
  margin:auto;
  padding:40px 80px;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1.1fr;
  gap:64px;
  opacity:0; 
  transform:translateY(-24px);
  transition:.5s ease;
}

@media(min-width:992px){
  .menu-item:hover .mega-inner{
    opacity:1;
    transform:translateY(0);
  }
}

/* ================= LEFT ================= */
.mega-left h2{
  font-size:40px;
  line-height:1.2; 
  margin-bottom:24px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mega-left p{
  font-size:15.5px;
  line-height:1.7;
  opacity:.82;
  max-width:420px;
}

.mega-left a{
  margin-top:26px;
  display:inline-block;
  font-weight:500;
  color:#25c8ff;
  text-decoration:none;background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= COLUMNS ================= */
  
.mega-col h4{
  font-size:18px;
  margin-bottom:20px;
  font-weight:600;padding-top: 10px;
}

.mega-col ul{
  list-style:none;
  padding-bottom: 20px;
}


h4 span{
  position:relative;
  padding-bottom:10px;
}
h4 a{
   color:#e6eef8;text-decoration: none;
}
/* underline animation */

.mega-col h4 span::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:#fff;
  transition:.35s;
}

.mega-col h4:hover span::after{
  width:100%;
}

/* SECOND LEVEL */
.level-2{
  margin-top:12px;
}

.level-2 li{
  position:relative;
  padding-left:18px;
  margin-bottom:10px;
  opacity:.75;
  transition:.3s ease;
}
.level-2 li a{color:#e6eef8;text-decoration: none;}
.level-2 li a:hover{color:#25c8ff;text-decoration: none;}
.level-2 li::before{
  content:"›";
  position:absolute;
  left:0;
  opacity:.5;
  color:#25c8ff;
  transition:.3s;
}

.level-2 li:hover{
  transform:translateX(8px);
  opacity:1;
  color:#25c8ff;
}

.level-2 li:hover::before{
  opacity:1;
}

/* ================= CTA ================= */
.mega-cta h3{
  font-size:34px;
  color:#25c8ff;
  margin-bottom:16px;background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mega-cta p{
  opacity:.8;
  line-height:1.6;
  margin-bottom:28px;
}

.mega-cta button{
  background:linear-gradient(135deg,#2f38ff,#4f6bff);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mega-cta button:hover {
transform: translateY(-2px);
 background: linear-gradient(90deg, #2f49d8 0%, #3224c6 50%, #2f49d8 100%);
}
/* ================= RIGHT BUTTONS ================= */

.nav-actions{
  margin-left:auto; 
  align-items:right;
  gap:16px;
}
.desktop-only{
  display:flex;
}
.mobile-only{
   display: none;
  }

.lang-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:10px;
  color:#e6eef8;
  text-decoration:none;
  font-size:14.5px;
  transition:.3s;
}
.lang-btn:hover{
  border-color:#25c8ff;
  color:#25c8ff;
}

.connect-btn{
  padding:12px 22px;
  font-size:14.5px;
  font-weight:600;
  color:#fff;
  background:linear-gradient(135deg,#2f38ff,#4f6bff);
  border-radius:12px;
  text-decoration:none;
  transition:.3s;
}
.connect-btn:hover{
  transform: translateY(-2px);
 background: linear-gradient(90deg, #2f49d8 0%, #3224c6 50%, #2f49d8 100%);
}

.lang-dropdown{
  position:relative;
}

.lang-btn{
  background:none;
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  padding:10px 16px;
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}

.lang-menu{
  position:absolute;
  top:120%;
  left:0;
  background:#020b18;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  min-width:160px;
  list-style:none;
  padding:8px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:.3s ease;
  z-index:999;
}

.lang-menu li a{
  display:block;
  padding:10px 16px;
  color:#fff;
  text-decoration:none;
}

.lang-menu li a:hover{
  background:rgba(255,255,255,.06);
}

.mega-actions{
  display:none;
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08); 
  flex-direction:column;
  gap:12px;
}
/* MOBILE language dropdown */
.mobile-lang .lang-menu{
  position:static;
  background:#020b18;
  border-radius:10px;
  margin-top:10px;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .4s ease, opacity .3s ease;
}

.mobile-lang.open .lang-menu{
  max-height:300px;
  opacity:1;
}
.lang-dropdown:hover .lang-menu{
    opacity:1;
    visibility:visible;
    transform:none;
  }
/* ================= RESPONSIVE (MOBILE) ================= */
@media(max-width:991px){

  .navbar{
    padding:0 24px;
  }

  .hamburger{
    display:flex;margin-top: 20px;
  }

  .nav{
    position:fixed;
    top:76px;
    left:0;
    width:100%;
    background:#020b18;
    flex-direction:column;
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;
    margin-left:0;padding-top: 20px;
  }

  .nav.open{
    max-height:100vh;
    overflow-y:auto;
  }
.menu-item{
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  .menu-title{
    width:100%;
    justify-content:space-between;
    padding:1px 20px;
    
  }

  .mega-menu{
    position:absolute;
    height:0;
    overflow:hidden;
    transition:height .4s ease;
    background:#020b18;
  }

  /* OPEN ONLY ON CLICK */
  .menu-item.active .mega-menu{
    height:auto;
  }

  .menu-item.active .arrow{
    transform:rotate(-135deg);
    border-color:#25c8ff;
  }

  .mega-inner{
    grid-template-columns:.1fr;
    padding:32px 24px;
    opacity:1;
    transform:none;
  }

  .mega-menu{
    position:static;
    height:auto;
    max-height:0;
    overflow:hidden;
    background:#020b18;
    transition:max-height .6s ease, opacity .4s ease, transform .4s ease;
    opacity:0;
    transform:translateY(-10px);
  }

  .menu-item.active .mega-menu{
    max-height:1200px;
    opacity:1;
    transform:translateY(0);
  }

  .mega-inner{
    grid-template-columns:1fr;
    padding:24px;
    gap:32px;
    opacity:1;
    transform:none;
  }
   .mobile-only{
   display: flex;
  }

  /* give space so buttons don't overlap content */
  .nav.open{
    padding-bottom:140px;
  }
   /* hide desktop buttons */
  .desktop-only{
    display:none;
  }

  /* show mega menu buttons */
  .nav-actionsmob{
    display:flex;
  }

 


 
}
@media(max-width:575px){

  .navbar{
    padding:0 16px; 
  }

}
