    :root {
      --nav-bg: rgba(255, 255, 255, 0.7);
      --nav-border: rgba(200, 200, 200, 0.4);
      --blur: blur(10px);
      --primary: #fb0707;
      --text-color: #212529;
      --text-light: #ffffff;
      --transition-speed: 0.4s;
      --secondary: #8e44ad;
      --blur-bg: rgba(255, 255, 255, 0.15);
      --gray-blur-bg: rgba(200, 200, 200, 0.2);

    }

    /* * {
      font-family: 'Roboto', sans-serif !important;
    } */



    body,
    html {
      font-family: 'Roboto', sans-serif !important;
      height: 100vh;
      margin: 0;
      display: flex;
      flex-direction: column;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-family: 'Poppins', sans-serif !important;
      font-weight: 500;
    }

    body.dark-mode {
      --blur-bg: rgba(0, 0, 0, 0.3);
      --gray-blur-bg: rgba(50, 50, 50, 0.3);
    }

    body {
      background-color: #ffffff;
      color: var(--text-color);
      font-family: 'Inter', sans-serif;
      scroll-behavior: smooth;
      overflow-x: hidden;
      min-height: auto;
      /* atau hapus saja */
    }

    /* Default navbar text putih */
    .nav-center .nav-link {
      color: #fff !important;
    }

    /* Jika inner page, text menu hitam */
    body.inner-page .nav-center .nav-link {
      color: #000 !important;
    }

    body.inner-page .navbar-toggler .bar {
      background-color: #000;
    }

    /* ======================
   SECTION BACKGROUNDS
====================== */
    .section-light {
      background-color: #f8f9fa !important;
    }

    .section-dark {
      background: linear-gradient(135deg, #1b1b1b, #2d2d2d) !important;
    }

    .section-alt {
      background: linear-gradient(135deg, #007bff15, #6610f215) !important;
    }

    .section-primary {
      background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    }

    /* GLOBAL */
    .section-bg-white {
      background: #fff;
      transition: all 0.3s ease;
    }

    body.dark-mode .section-bg-white {
      background: #111;
    }

    .blur-card {
      background: var(--blur-bg);
      backdrop-filter: blur(14px);
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
    }

    .blur-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    }

    /* ===============================
   VARIABLES
=============================== */
    :root {
      --primary: #4a90e2;
      --text-color: #212529;
      --text-light: #fff;
      --nav-bg: rgba(255, 255, 255, 0.95);
      --nav-border: rgba(0, 0, 0, 0.1);
      --blur: blur(10px);
      --transition-speed: 0.4s;
    }

    /* ===============================
   NAVBAR
=============================== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1050;
      padding: 0.75rem 2rem;
      background: transparent;
      transition: all var(--transition-speed) ease;
    }

    .navbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all var(--transition-speed) ease;
    }

    .navbar-brand {
      font-weight: 700;
      color: var(--text-color);
    }

    /* ===============================
   NAV CENTER
=============================== */
    .nav-center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      border-radius: 2rem;
      padding: 0.4rem 1.5rem;
      transition: all var(--transition-speed) ease;
      background: rgba(255, 255, 255, 0.3);
      backdrop-filter: var(--blur);
      border: 1px solid var(--nav-border);
    }

    .nav-center .nav-link {
      color: var(--text-light) !important;
      font-weight: 500;
      padding: 0.5rem 1rem;
      transition: color 0.2s, background 0.2s ease, transform 0.2s ease;
    }

    /* Hover Modern (Tailwind-like) */
    .nav-center .nav-link:hover {
      color: var(--primary) !important;
      background: rgba(0, 0, 0, 0.05);
      border-radius: 6px;
      transform: translateY(-1px);
    }

    /* Parent bold */
    .nav-item>.nav-link {
      font-weight: 700 !important;
      cursor: pointer;
    }

    /* ===============================
   NAV BUTTONS
=============================== */
    .nav-buttons .btn {
      border-radius: 50px;
      padding: 0.4rem 1rem;
      font-weight: 500;
    }

    /* Sticky navbar */
    .navbar.scrolled .navbar-inner {
      background: var(--nav-bg);
      backdrop-filter: var(--blur);
      border-radius: 1rem;
      padding: 0.4rem 1rem;
      max-width: 1140px;
      margin: 0 auto;
      border: 1px solid var(--nav-border);
    }

    .navbar.scrolled .nav-center {
      position: static;
      transform: none;
      background: transparent;
      border: none;
      backdrop-filter: none;
      padding: 0;
    }

    .navbar.scrolled .nav-center .nav-link {
      color: #212529 !important;
    }

    /* ===============================
   DROPDOWN & MEGAMENU
=============================== */

    .dropdown-mega {
      position: static;
    }

    .dropdown-menu.mega-menu {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      padding: 2rem;
      border-radius: 1rem;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: var(--blur);
      border: 1px solid var(--nav-border);
      margin-top: 1rem;
      z-index: 9999;
    }

    /* Mega link black + no underline */
    .mega-menu a,
    .mega-menu .dropdown-item {
      color: #000 !important;
      text-decoration: none !important;
      font-weight: 500;
      border-radius: 6px;
      transition: all 0.2s ease;
    }

    /* Hover modern on megamenu items */
    .mega-menu .dropdown-item:hover {
      background: rgba(0, 0, 0, 0.06);
      transform: translateX(3px);
    }

    /* Standard dropdown */
    .navbar .dropdown:not(.dropdown-mega)>.dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 200px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 0.5rem;
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
      z-index: 9999;
    }

    /* Hover modern for normal dropdown items */
    .dropdown-menu .dropdown-item {
      border-radius: 6px;
      transition: all 0.2s ease;
    }

    .dropdown-menu .dropdown-item:hover {
      background: rgba(0, 0, 0, 0.06) !important;
      transform: translateX(3px);
    }

    /* Multi-level dropdown */
    .dropdown-menu .dropdown-menu {
      top: 0;
      left: 100%;
      margin: 0;
      border-radius: 0.5rem;
      display: none;
    }

    .dropdown-menu>li:hover>.dropdown-menu {
      display: block;
    }

    .dropdown-submenu>a::after {
      content: '▸';
      float: right;
      margin-left: 5px;
    }

    .navbar.scrolled .dropdown-menu a {
      color: #212529 !important;
    }

    .navbar.scrolled .dropdown-menu a:hover {
      color: var(--primary) !important;
    }

    /* ===============================
   HAMBURGER BUTTONSTYLE
=============================== */
    .navbar-toggler {
      border: none !important;
      outline: none !important;
      background: transparent;
      cursor: pointer;
      box-shadow: none !important;
    }

    .navbar-toggler .bar {
      display: block;
      width: 24px;
      height: 2px;
      margin: 5px auto;
      background-color: var(--text-color);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    /* X animation */
    .navbar-toggler.active .bar:nth-child(1) {
      transform: rotate(45deg) translateY(9px);
    }

    .navbar-toggler.active .bar:nth-child(2) {
      opacity: 0;
    }

    .navbar-toggler.active .bar:nth-child(3) {
      transform: rotate(-45deg) translateY(-9px);
    }

    /* ===============================
   MOBILE NAV
=============================== */
    .mobile-nav {
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      height: calc(100vh - 70px);
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(16px);
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      align-items: flex-start !important;
      padding: 2rem 1.5rem;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-20px);
      transition: all var(--transition-speed) ease;
      z-index: 1040;
    }

    .mobile-nav.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .mobile-nav .mobile-parent-menu {
      width: 100% !important;
    }

    /* Parent mobile menu: bold + clickable */
    .mobile-nav .mobile-parent-menu>a {
      font-weight: 700 !important;
      color: var(--text-color) !important;
      font-size: 1.1rem;
      margin: 0.5rem 0;
      display: block;
      width: 100%;
      text-align: left !important;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    /* Hover modern */
    .mobile-nav .mobile-parent-menu>a:hover {
      background: rgba(0, 0, 0, 0.05);
      border-radius: 6px;
      transform: translateX(3px);
    }

    /* Children: 2 columns */
    .mobile-nav .children {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr);
      width: 100%;
      gap: 6px 10px;
    }

    .mobile-nav .children a {
      color: var(--text-color) !important;
      text-decoration: none;
      font-size: 1rem;
      border-radius: 6px;
      /* padding: 4px 6px; */
      transition: all 0.2s ease;
    }

    /* Hover children */
    .mobile-nav .children a:hover {
      background: rgba(0, 0, 0, 0.06);
      transform: translateX(3px);
    }

    .mobile-nav .nav-buttons {
      margin-top: 2rem;
      display: flex;
      gap: 1rem;
    }

    /* Garis full width untuk level 1 */
    .mobile-hr {
      width: 100%;
      height: 1px;
      background: rgba(0, 0, 0, 0.15);
      margin: 6px 0 10px 0;
    }

    /* Level 1 link */
    .mobile-link.level-1 {
      display: block;
      font-size: 1rem;
      color: #000;
      text-decoration: none;
      padding-bottom: 2px;
    }

    /* Level 2 link */
    .child-link.level-2 {
      font-weight: 600;
      color: #000;
      text-decoration: none;
    }

    /* Level 3+ */
    .child-link.level-3 {
      color: rgba(0, 0, 0, 0.7);
      text-decoration: none;
    }

    /* Hover ala Tailwind */
    .mobile-link:hover,
    .child-link:hover {
      opacity: .7;
      transition: .2s;
    }

    .mobile-auth-btns {
      padding: 1rem 0;
      width: 100%;
    }

    .mobile-auth-btns .btn {
      border-radius: 12px;
      font-size: 1rem;
      text-align: center;
    }

    .mobile-auth-btns .btn:hover {
      transform: translateY(-2px);
      transition: 0.2s ease;
    }

    @media (max-width: 991px) {

      .nav-center,
      .nav-buttons {
        display: none !important;
      }
    }





    /* ===============================
       HERO SECTION
    =============================== */
    .hero-section {
      background: url('https://invezto.net/assets/front/assets/images/demo-cryptocurrency-bg-02.jpg') no-repeat center center/cover;
      padding-top: 150px;
      padding-bottom: 100px;
      text-align: center;
      color: #fff;
    }

    .hero-section h3 {
      font-weight: 700;
      font-size: 28px;
    }

    .hero-section p {
      color: #e5e5e5;
      max-width: 700px;
      margin: 0 auto;
    }

    .glass-card {
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 1rem;
      transition: all 0.4s ease;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      color: #fff;
    }

    /* ===============================
       PROMO MARQUEE
    =============================== */
    .promo-marquee {
      background: #f1f3f5;
      overflow: hidden;
      position: relative;
      white-space: nowrap;
      border-top: 1px solid #e5e5e5;
      border-bottom: 1px solid #e5e5e5;

      display: flex;
      align-items: center;
      /* center vertical */
    }

    .marquee-inner {
      display: inline-block;
      animation: marquee 25s linear infinite;
    }

    .marquee-inner a {
      color: #444;
      text-decoration: none;
      margin: 0 2rem;
      font-weight: 500;
    }

    .marquee-inner a:hover {
      color: var(--primary);
    }

    @keyframes marquee {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    /* TESTIMONIAL */
    #testimonial-section {
      background: #fff;
    }

    body.dark-mode #testimonial-section {
      background: #111;
    }

    /* Skeleton Loader */
.skeleton-testimonial {
    height: 190px;
    background: #e8e8e8;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.skeleton-testimonial::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.3s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Card */
.testimonial-card {
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.testimonial-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}
.testimonial-text {
    font-size: 14px;
    color: #555;
}
.testimonial-name {
    font-size: 16px;
    font-weight: 600;
}
.testimonial-job {
    color: #777;
    font-size: 13px;
}

/*SWIPERRR*/

.swiper-slide {
    width: 100% !important;
    display: flex;
}
.swiper-slide .testimonial-card {
    width: 100%;
}


    /* ======================
   BLOGS SECTION
====================== */

    /* Section background */
    #blogs-section {
      background: #fff;
    }

    body.dark-mode #blogs-section {
      background: #111;
    }

    /* ======================
   BLOG CARD (BIG POST)
====================== */
    .blog-card {
      background: #fff;
      backdrop-filter: blur(14px);
      border-radius: 16px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      transition: all 0.3s;
    }

    .blog-card:hover {
      transform: translateY(-5px);
    }

    /* Blog image */
    .blog-card img {
      width: 100%;
      height: 350px;
      object-fit: cover;
      object-position: center;
      padding: 0.25rem;
      border-radius: 12px;
      border: none;
      transition: transform 0.3s ease;
    }

    .blog-card img:hover {
      transform: scale(1.05);
    }

    /* Blog meta */
    .blog-meta {
      font-size: .85rem;
      color: #555;
      margin-bottom: .5rem;
    }

    body.dark-mode .blog-meta {
      color: #bbb;
    }

    .blog-meta i {
      margin-right: 5px;
      color: var(--primary);
    }

    /* ======================
   BLOG TITLE LINKS
====================== */
    .blog-card a h4,
    .blog-card a h5,
    .blog-card a h6 {
      color: #000 !important;
      /* tetap hitam */
      text-decoration: none;
      /* hilangkan underline */
      transition: transform 0.3s ease, color 0.3s ease;
    }

    .blog-card a h4:hover,
    .blog-card a h6:hover {
      transform: translateY(-3px);
    }

    /* Big post button full width */
    .blog-card.big-post .btn-modern {
      width: 100%;
    }

    /* ======================
   SMALL POST
====================== */
    .small-post {
      display: flex;
      backdrop-filter: blur(14px);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      gap: 12px;
      background-color: #fff;
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .small-post:hover {
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      transform: translateY(-5px);
    }

    .small-post img {
      width: 140px;
      height: 100px;
      object-fit: cover;
      object-position: center;
      border-radius: 0;
      margin: 0;
      /* menempel ke card */
    }

    .small-post .small-post-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0.5rem 0.75rem;
    }

    .small-post .blog-meta {
      font-size: .8rem;
      color: #555;
      margin-bottom: 0.25rem;
    }

    .small-post a {
      color: #000;
      text-decoration: none;
    }

    /* Responsive small post */
    @media (max-width: 767.98px) {
      .small-post {
        flex-direction: column;
        align-items: stretch;
        /* biar anak-anak mengikuti lebar penuh */
      }

      .small-post img {
        width: 100%;
        height: auto;
        /* biar proporsional */
        margin: 0;
        /* hapus margin bawah */
        border-radius: 12px 12px 0 0;
        /* optional, biar atas radius */
      }

      .small-post .small-post-content {
        padding: 0.5rem 0.5rem;
        /* sesuaikan */
      }
    }

    /* ======================
   BUTTONS
====================== */
    .btn-modern,
    .btn-readmore {
      background: linear-gradient(45deg, var(--primary), var(--secondary));
      color: #fff;
      border: none;
      border-radius: 50px;
      font-weight: 600;
      position: relative;
      overflow: hidden;
      transition: var(--transition);
    }

    .btn-modern {
      padding: 10px 30px;
      font-size: 1rem;
    }

    .btn-readmore {
      padding: 6px 18px;
      font-size: 0.85rem;
      margin-top: 8px;
      display: inline-block;
    }

    .btn-modern::before,
    .btn-readmore::before {
      content: '';
      position: absolute;
      top: 0;
      left: -75%;
      width: 50%;
      height: 100%;
      background: rgba(255, 255, 255, 0.3);
      transform: skewX(-45deg);
      transition: 0.5s;
    }

    .btn-modern:hover::before,
    .btn-readmore:hover::before {
      left: 150%;
    }

    .btn-modern:hover,
    .btn-readmore:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      color: #fff;
    }

    /* ======================
   SKELETON LOADING
====================== */
    .skeleton {
      background-color: #e0e0e0;
      border-radius: 4px;
      overflow: hidden;
      position: relative;
    }

    .skeleton::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
      animation: loading 1.5s infinite;
    }

    @keyframes loading {
      0% {
        left: -100%;
      }

      100% {
        left: 100%;
      }
    }

    .skeleton-img {
      width: 100%;
      height: 200px;
      margin-bottom: 12px;
    }

    .skeleton-text {
      height: 16px;
      margin-bottom: 8px;
    }

    /* Small post skeleton */
    .skeleton-small-img {
      width: 140px;
      height: 100px;
      margin-right: 12px;
      flex-shrink: 0;
    }

    .skeleton-small-text {
      height: 14px;
      margin-bottom: 6px;
    }

    .skeleton-tabel-broker {
      background: linear-gradient(90deg, #e3e3e3 25%, #f5f5f5 37%, #e3e3e3 63%);
      animation: skeleton-loading 1.2s infinite ease-in-out;
      height: 14px;
      border-radius: 4px;
    }

    .skeleton-tabel-broker-img {
      width: 60px;
      height: 40px;
    }

    @keyframes skeleton-loading {
      0% {
        background-position: 0px;
      }

      100% {
        background-position: 200px;
      }
    }

    /* Membuat tabel benar-benar transparan dan text putih */
    .table-transparent,
    .table-transparent thead,
    .table-transparent tbody,
    .table-transparent tr,
    .table-transparent th,
    .table-transparent td {
      background: transparent !important;
      color: #fff !important;
    }

    .table-transparent thead th {
      border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .table-transparent td,
    .table-transparent th {
      border-color: rgba(255, 255, 255, 0.1) !important;
    }

    /* MOBILE CARD STYLE */
    .broker-mobile-card {
      background: rgba(255, 255, 255, 0.07);
      border-radius: 12px;
      color: #fff;
    }

    .broker-mobile-card .mobile-info div {
      margin-bottom: 8px;
      font-size: 14px;
    }

    /* Hide table in mobile */
    @media (max-width: 767px) {
      .table-broker-section {
        display: none !important;
      }
    }

    /* Hide card in desktop */
    @media (min-width: 768px) {
      #broker-card {
        display: none !important;
      }
    }

    /* ======================
       FOOTER
    ====================== */
    footer {
      background-color: #f8f9fa;
      color: #555;
      padding: 40px 0;
      transition: var(--transition);
    }

    body.dark-mode footer {
      background-color: #2c2c2e;
      color: #ccc;
    }

    /* ======================
   FOOTER SECTION
====================== */
    #main-footer {
      background: linear-gradient(135deg, #1b1b1b, #2d2d2d);
      position: relative;
      margin-top: auto;
    }

    #main-footer p {
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.95rem;
    }

    /* Social Media Icons */
    #main-footer .social-link {
      color: #fff;
      font-size: 1.2rem;
      transition: all 0.3s ease;
    }

    #main-footer .social-link:hover {
      color: #00c6ff;
      transform: translateY(-3px);
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      #main-footer {
        text-align: center;
      }

      #main-footer .d-flex.align-items-center {
        justify-content: center !important;
      }

      #main-footer .social-link {
        font-size: 1.4rem;
      }
    }


    /* Scroll Animation */
    [data-animate] {
      opacity: 0;
      transform: translateY(40px);
      transition: 0.8s ease-out;
    }

    [data-animate].active {
      opacity: 1;
      transform: translateY(0);
    }

    .mt-nav-space {
      margin-top: 60px;
    }

    @media (max-width: 991px) {
      .mt-nav-space {
        margin-top: 80px;
      }
    }