:root {
  --ul-navy: #0f296b;
  --ul-blue: #1d4ed8;
  --ul-light-blue: #eff6ff;
  --ul-green: #15803d;
  --ul-green-hover: #166534;
  --ul-gold: #f59e0b;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

.text-navy { color: var(--ul-navy) !important; }
.fw-extrabold { font-weight: 800; }

/* --- 1. TOPBAR --- */
.topbar {
  background-color: var(--ul-navy);
  color: #cbd5e1;
  font-size: 0.76rem;
  padding: 6px 0;
}
.topbar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: 0.2s;
}
.topbar a:hover { color: #93c5fd; }

/* --- 2. NAVBAR & MEGA MENU ALA EASYLEGAL --- */
.navbar-easylegal {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(15, 41, 107, 0.06);
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
.navbar-easylegal .nav-link {
  font-weight: 600;
  color: #334155 !important;
  font-size: 0.9rem;
  padding: 8px 13px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.navbar-easylegal .nav-link:hover,
.navbar-easylegal .nav-link.active {
  color: var(--ul-blue) !important;
  background-color: var(--ul-light-blue);
}
.navbar-easylegal .dropdown-toggle::after { display: none; }
.navbar-easylegal .dropdown-mega { position: static; }
.navbar-easylegal .dropdown-menu-mega {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--ul-blue);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 25px 50px -12px rgba(15, 41, 107, 0.16);
  padding: 28px 0 20px 0;
  margin-top: 0;
  background-color: #ffffff;
}
@media (min-width: 992px) {
  .navbar-easylegal .dropdown-mega:hover > .dropdown-menu-mega {
    display: block;
    animation: slideDownMega 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
@keyframes slideDownMega {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mega-category-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #64748b;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #f1f5f9;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}
.mega-item:hover {
  background-color: var(--ul-light-blue);
  transform: translateX(3px);
}
.mega-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 9px;
  background-color: #eff6ff;
  color: var(--ul-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: 0.2s;
}
.mega-item:hover .mega-icon {
  background-color: var(--ul-blue);
  color: #ffffff;
}
.mega-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 3px;
}
.mega-desc {
  font-size: 0.73rem;
  color: #64748b;
  line-height: 1.35;
}
.mega-badge {
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.63rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Tombol Hijau WhatsApp */
.btn-wa-green {
  background-color: var(--ul-green);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: 8px;
  padding: 9px 18px;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}
.btn-wa-green:hover {
  background-color: var(--ul-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.3);
}

/* --- 3. HERO SECTION & FORM --- */
.hero-section {
  position: relative;
  background: linear-gradient(100deg, #ffffff 38%, rgba(239, 246, 255, 0.88) 72%), 
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 45px 0 0 0;
  overflow: hidden;
}
.badge-pill-hero {
  background-color: #dbeafe;
  color: var(--ul-blue);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 14px;
}
.hero-title {
  color: var(--ul-navy);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1.2;
}
.hero-subtitle {
  color: var(--ul-blue);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 12px 0;
}
.hero-card-form {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 14px 35px rgba(15, 41, 107, 0.12);
  border: 1px solid #e2e8f0;
  margin-bottom: 28px;
}
.hero-person-img {
  max-height: 430px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* --- 4. STATS BAR --- */
.stats-bar {
  background: linear-gradient(90deg, #0f296b 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 18px 0;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 1.9rem; color: #93c5fd; }

/* --- 5. SECTION HEADINGS & CARDS --- */
.section-title {
  color: var(--ul-navy);
  font-weight: 800;
  font-size: 1.6rem;
}
.section-subtitle {
  color: #64748b;
  font-size: 0.9rem;
}
.feature-box-6 {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 14px;
  height: 100%;
  transition: 0.2s;
}
.feature-box-6:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-color: #bfdbfe;
  transform: translateY(-2px);
}
.icon-circle-sm {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--ul-light-blue);
  color: var(--ul-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* --- 6. PROCESS 7 STEPS --- */
.step-card {
  text-align: center;
  position: relative;
  padding: 10px 6px;
}
.step-number {
  width: 28px;
  height: 28px;
  background: var(--ul-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 0 0 4px #dbeafe;
}
.step-icon-box {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--ul-blue);
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* --- 7. PRICING CARDS --- */
.pricing-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 22px;
  height: 100%;
  position: relative;
  transition: 0.25s;
}
.pricing-card.popular {
  border: 2px solid var(--ul-green);
  box-shadow: 0 12px 30px rgba(21, 128, 61, 0.12);
  transform: scale(1.02);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ul-gold);
  color: #1e293b;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 50px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.price-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ul-navy);
}

/* --- 8. FAQ ACCORDION & ARTIKEL --- */
.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-button {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  padding: 12px 14px;
  background: #fff;
}
.accordion-button:not(.collapsed) {
  background-color: var(--ul-light-blue);
  color: var(--ul-blue);
}
.article-mini-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: 0.2s;
}
.article-mini-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.article-mini-card img {
  height: 95px;
  width: 100%;
  object-fit: cover;
}

/* --- 9. FOOTER & FLOATING WA --- */
.footer-cta-bar {
  background: linear-gradient(90deg, #0f296b 0%, #1e3a8a 100%);
  color: #fff;
  border-radius: 16px 16px 0 0;
}
.main-footer {
  background-color: #091945;
  color: #cbd5e1;
  font-size: 0.86rem;
}
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background-color: #25d366;
  color: #fff !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: 0.2s;
  text-decoration: none;
}
.floating-wa-btn:hover {
  transform: scale(1.08);
}

/* =========================================================
   UPGRADE MEGA MENU + FULL RESPONSIVE HP & FIX BADGE
   ========================================================= */

/* 1. Kunci menu & tombol Navbar agar selalu 1 baris (tidak turun baris) */
.navbar-easylegal .nav-link,
.navbar-easylegal .btn-wa-green,
.btn-prioritas-gold {
  white-space: nowrap;
}

/* Tombol Gold "Prioritas" di Navbar */
.btn-prioritas-gold {
  background: linear-gradient(135deg, #b48a3e 0%, #8c621e 100%);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 15px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(180, 138, 62, 0.25);
  transition: 0.2s;
}
.btn-prioritas-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Bungkus Kartu Mega Menu Melayang */
.navbar-easylegal .dropdown-menu-mega {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 12px 0;
}
.mega-inner-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: 0 22px 60px rgba(15, 41, 107, 0.16);
  border: 1px solid #eef2f6;
}

/* Header per Kolom */
.el-label-top {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--ul-blue);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.el-sub-header {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

/* Item Utama di Mega Menu */
.el-menu-item-wrapper {
  position: relative;
  outline: none;
}
.el-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.el-menu-item-wrapper:hover .el-menu-item,
.el-menu-item-wrapper:focus-within .el-menu-item,
.el-menu-item-wrapper.active-mobile .el-menu-item {
  background-color: #f1f5f9;
}

/* 2. FIX BADGE "Usaha Office / Tax" AGAR TIDAK TERPOTONG */
.el-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: #eff6ff;
  color: var(--ul-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.el-unit-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0; /* Mencegah badge gepeng/terpotong */
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.65rem;
  font-weight: 800;
  white-space: nowrap;
  margin-top: 2px;
}
.el-unit-badge .u-left {
  background: #ffffff;
  color: #1e293b;
  padding: 3px 5px;
}
.el-unit-badge .u-right {
  background: var(--ul-navy);
  color: #ffffff;
  padding: 3px 6px;
}

.el-item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
  line-height: 1.25;
}
.el-item-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
}
.el-item-arrow {
  color: var(--ul-blue);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
  align-self: center;
}
.el-menu-item-wrapper:hover .el-item-arrow,
.el-menu-item-wrapper:focus-within .el-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* KOTAK POPOVER MELAYANG ("PILIH LAYANAN:") */
.el-submenu-popover {
  display: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  z-index: 1050;
}

/* TAMPILAN DESKTOP (>= 992px) */
@media (min-width: 992px) {
  .el-submenu-popover {
    position: absolute;
    top: -6px;
    left: 96%;
    width: 310px;
  }
  .col-lg-4:last-child .el-submenu-popover {
    left: auto;
    right: 96%;
  }
  .el-menu-item-wrapper:hover .el-submenu-popover,
  .el-menu-item-wrapper:focus-within .el-submenu-popover {
    display: block;
    animation: popSubmenu 0.18s ease-out;
  }
}

/* 3. TAMPILAN KHUSUS HP & TABLET (< 992px) AGAR FULL RESPONSIVE */
@media (max-width: 991.98px) {
  /* Batasi tinggi menu di HP supaya bisa di-scroll dengan jari */
  .navbar-easylegal .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
    padding: 12px 4px 20px 4px;
  }
  .mega-inner-card {
    padding: 16px 14px;
    border-radius: 14px;
    box-shadow: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  /* Sembunyikan deskripsi panjang di HP agar menu ringkas */
  .el-item-desc {
    font-size: 0.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Ubah panah kanan jadi всегда terlihat di HP sebagai petunjuk ketuk */
  .el-item-arrow {
    opacity: 0.7;
    transform: rotate(90deg);
  }
  .el-menu-item-wrapper.active-mobile .el-item-arrow {
    transform: rotate(-90deg);
    opacity: 1;
  }
  /* Kotak "PILIH LAYANAN:" terbuka ke bawah (Accordion) di HP */
  .el-submenu-popover {
    position: static;
    width: 100%;
    margin: 4px 0 10px 0;
    padding: 12px;
    box-shadow: none;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
  }
  .el-menu-item-wrapper.active-mobile .el-submenu-popover {
    display: block;
  }
}

@keyframes popSubmenu {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

.el-submenu-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.el-submenu-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.el-pill-link {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1e293b;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.el-pill-link:hover {
  background-color: var(--ul-light-blue);
  border-color: var(--ul-blue);
  color: var(--ul-blue);
  transform: translateY(-1px);
}

/* --- HERO TEXT SLIDER (3 SLIDES) --- */
.hero-slider-inner {
  min-height: 275px; /* Menjaga tinggi hero tetap stabil saat berganti slide */
}
@media (max-width: 575.98px) {
  .hero-slider-inner {
    min-height: 310px;
  }
}

.hero-slider-indicators {
  position: static;
  justify-content: flex-start;
  margin: 0 0 12px 0;
  gap: 6px;
}

.hero-slider-indicators [data-bs-target] {
  width: 24px;
  height: 5px;
  border-radius: 10px;
  background-color: #cbd5e1;
  border: none;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0;
}

.hero-slider-indicators .active {
  width: 48px;
  background-color: var(--ul-blue);
}

/* --- STYLING PRICELIST SESUAI DOKUMEN GOOGLE DOCS KLIEN --- */
.pricing-header-box.start-theme {
  background-color: #eef6ff;
  border: 1px solid #dbeafe;
}
.pricing-header-box.complete-theme {
  background-color: #ecfdf5;
  border: 1px solid #d1fae5;
}
.pricing-header-box.executive-theme {
  background-color: #faf5ff;
  border: 1px solid #f3e8ff;
}

.price-strike {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: line-through;
}

/* Tab Switcher PT vs CV */
#pricingTab .nav-link {
  color: #475569;
  font-size: 0.9rem;
  transition: 0.2s;
}
#pricingTab .nav-link.active {
  background-color: var(--ul-navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 41, 107, 0.2);
}

/* =========================================================
   LIVE SOCIAL PROOF POPUP (POJOK KIRI BAWAH ALA EASYLEGAL)
   ========================================================= */
.ul-social-proof {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 998;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--ul-green);
  border-radius: 14px;
  padding: 13px 28px 13px 15px;
  box-shadow: 0 15px 35px rgba(15, 41, 107, 0.14);
  max-width: 335px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(25px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ul-social-proof.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ul-sp-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px;
}
.ul-sp-close:hover {
  color: #334155;
}

.ul-sp-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #ecfdf5;
  color: var(--ul-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.ul-sp-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ul-green);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.ul-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ul-sp-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ul-navy);
  line-height: 1.25;
}

.ul-sp-desc {
  font-size: 0.75rem;
  color: #334155;
  line-height: 1.3;
  margin-top: 2px;
}

.ul-sp-time {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 3px;
}

/* Responsif di Layar HP agar tidak bertabrakan dengan tombol WA */
@media (max-width: 575.98px) {
  .ul-social-proof {
    left: 12px;
    bottom: 14px;
    max-width: calc(100% - 88px);
    padding: 10px 24px 10px 12px;
  }
  .ul-sp-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.15rem;
  }
  .ul-sp-title { font-size: 0.78rem; }
  .ul-sp-desc { font-size: 0.7rem; }
}

.article-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 41, 107, 0.1);
  border-color: var(--ul-blue);
}

.article-thumb {
  transition: transform 0.35s ease;
}
.article-card:hover .article-thumb {
  transform: scale(1.06);
}