/* ══════ NAVBAR CONTAINER ══════ */
.tp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #0d0d14;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tp-nav .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

.tp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

/* ══════ BRAND/LOGO ══════ */
.tp-nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tp-nav__brand img {
  height: 35px;
  width: auto;
}

/* ══════ DESKTOP NAVIGATION ══════ */
.tp-nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  height: 100%;
  align-items: center;
}

.tp-nav__links > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.tp-nav__links > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 100%;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.tp-nav__links > li > a:hover {
  color: rgba(255,255,255,0.9);
}

.tp-nav__links a.active {
  color: #ff8c00;
}

/* ══════ DROPDOWN ══════ */
.tp-nav__dropdown {
  position: relative;
}

.tp-nav__dropdown-toggle {
  cursor: pointer;
}

.tp-nav__dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.tp-nav__dropdown.open .tp-nav__dropdown-toggle i {
  transform: rotate(180deg);
}

.tp-nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #111119;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 100;
}

.tp-nav__dropdown.open .tp-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tp-nav__dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.tp-nav__dropdown-menu a:hover {
  background: rgba(255,255,255,0.04);
  color: #ff8c00;
}

.tp-nav__dropdown-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.35);
  padding: 10px 16px 4px;
  text-transform: uppercase;
}

.tp-nav__dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 6px 0;
}

/* ══════ HIGHLIGHT LINK (FII DII) ══════ */
.tp-nav__highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.tp-flame-icon {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s ease, transform 0.25s ease;
}

.tp-flame-icon svg {
  width: 18px;
  height: 18px;
}

.tp-nav__highlight:hover .tp-flame-icon {
  color: #f97316;
  transform: scale(1.1);
}

.tp-nav__links a.active .tp-flame-icon {
  color: #f97316;
}

/* ══════ ACTIONS (Login/Signup + Hamburger) ══════ */
.tp-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tp-btn--primary {
  background: linear-gradient(135deg, #ff8c00, #e67700);
  color: #fff;
  border: none;
}

.tp-btn--primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 2px 12px rgba(255,140,0,0.3);
  color: #fff;
}

/* ══════ HAMBURGER MENU ══════ */
.tp-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.tp-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.tp-nav__hamburger:hover span {
  background: rgba(255,255,255,0.9);
}

/* ══════ MOBILE MENU ══════ */
.tp-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #111119;
  box-shadow: -4px 0 24px rgba(0,0,0,0.6);
  z-index: 1200;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}

.tp-mobile-menu.active {
  right: 0;
}

.tp-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.tp-mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s ease;
  z-index: 10;
}

.tp-mobile-menu__close:hover {
  color: rgba(255,255,255,0.9);
}

.tp-mobile-menu__links {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 60px 0 20px 0;
  list-style: none;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}

.tp-mobile-menu__links::-webkit-scrollbar {
  width: 6px;
}

.tp-mobile-menu__links::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.03);
}

.tp-mobile-menu__links::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.tp-mobile-menu__links::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.25);
}

.tp-mobile-menu__links > li {
  margin: 0;
  list-style: none;
}

.tp-mobile-menu__links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.tp-mobile-menu__links a:hover,
.tp-mobile-menu__links a:active {
  color: #ff8c00;
  background: rgba(255,140,0,0.06);
  border-left-color: #ff8c00;
}

.tp-mobile-menu__links a i {
  font-size: 16px;
  width: 20px;
  color: var(--primary-color, #ff8c00);
}

/* ══════ MOBILE MENU GROUPS (COLLAPSIBLE) ══════ */
.tp-mobile-menu-group {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tp-mobile-menu-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.tp-mobile-menu-group-header i:first-child {
  font-size: 16px;
  width: 20px;
  color: #ff8c00;
}

.tp-mobile-menu-group-header span {
  flex: 1;
}

.tp-mobile-dropdown-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.tp-mobile-menu-group-header.active {
  color: #ff8c00;
  background: rgba(255,140,0,0.06);
  border-left-color: #ff8c00;
}

.tp-mobile-menu-group-header.active .tp-mobile-dropdown-icon {
  transform: rotate(180deg);
}

/* ══════ MOBILE SUBMENU ══════ */
.tp-mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(0,0,0,0.2);
}

.tp-mobile-submenu-section {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tp-mobile-submenu-section:last-child {
  border-bottom: none;
}

.tp-mobile-submenu-heading {
  color: rgba(255,255,255,0.35);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 8px 24px 8px 56px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tp-mobile-submenu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px 10px 56px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.tp-mobile-submenu-item i {
  font-size: 14px;
  width: 16px;
  color: rgba(255,255,255,0.3);
}

.tp-mobile-submenu-item:hover,
.tp-mobile-submenu-item.active {
  background: rgba(255,255,255,0.03);
  color: #ff8c00;
  border-left-color: rgba(255,140,0,0.3);
}

.tp-mobile-submenu-item.active i {
  color: #ff8c00;
}

.tp-mobile-section-divider {
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 10px 24px;
  list-style: none;
}

.tp-mobile-menu__cta {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ══════ MOBILE OVERLAY ══════ */
.tp-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tp-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ══════ FOOTER STYLES ══════ */
.tp-footer {
  background: #0d0d14;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 24px;
  margin-top: 80px;
  color: rgba(255,255,255,0.6);
}

.tp-footer__brand {
  margin-bottom: 16px;
}

.tp-footer__brand img {
  height: 35px;
  width: auto;
}

.tp-footer__about {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  max-width: 380px;
}

.tp-footer__disclaimer-link {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 500;
}

.tp-footer__disclaimer-link:hover {
  color: #ffa333;
}

.tp-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  margin-top: 0;
}

.tp-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tp-footer__list li {
  margin-bottom: 10px;
}

.tp-footer__list a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.tp-footer__list a:hover {
  color: #ff8c00;
}

.tp-footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 32px 0;
}

.tp-footer__bottom {
  text-align: center;
}

.tp-footer__legal {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tp-footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ══════ UTILITY CLASSES ══════ */
.d-none { display: none !important; }
.d-lg-flex { display: none !important; }
.w-100 { width: 100%; }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 1023px) {
  .tp-nav__links {
    display: none;
  }

  .tp-nav__hamburger {
    display: flex;
  }

  .tp-btn--primary {
    padding: 6px 16px;
    font-size: 0.78rem;
  }
}

@media (min-width: 1024px) {
  .d-lg-flex { display: flex !important; }
  .d-lg-none { display: none !important; }
  
  .tp-mobile-menu,
  .tp-mobile-overlay,
  .tp-nav__hamburger {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .tp-footer {
    padding: 32px 0 20px;
    margin-top: 60px;
  }

  .tp-footer__heading {
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .tp-footer__about {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .tp-nav {
    height: 56px;
  }

  .tp-nav .container {
    padding: 0 16px;
  }

  .tp-nav__brand img {
    height: 30px;
  }

  .tp-btn--primary {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .tp-mobile-menu {
    width: 100%;
    max-width: 100vw;
  }

  .tp-mobile-menu__links a {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .tp-footer {
    padding: 24px 0 16px;
    margin-top: 40px;
  }

  .tp-footer .container {
    padding: 0 16px;
  }

  .tp-footer__brand img {
    height: 30px;
  }

  .tp-footer__about {
    font-size: 0.78rem;
    margin-bottom: 20px;
  }

  .tp-footer__heading {
    font-size: 0.72rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .tp-footer__list a {
    font-size: 0.78rem;
  }

  .tp-footer__divider {
    margin: 24px 0;
  }

  .tp-footer__legal {
    font-size: 0.65rem;
  }

  .tp-footer__copy {
    font-size: 0.68rem;
  }
}
