@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --secondary: #10b981;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-dark: rgba(15, 23, 42, 0.8);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --input-bg: #ffffff;
  --input-color: #0f172a;
}

body.dark-mode {
  --primary: #818cf8;
  --primary-hover: #6366f1;
  --dark: #f8fafc;
  --light: #0f172a;
  --gray: #94a3b8;
  --glass: rgba(15, 23, 42, 0.7);
  --glass-dark: rgba(255, 255, 255, 0.8);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --card-bg: #1e293b;
  --border-color: #334155;
  --input-bg: rgba(255,255,255,0.05);
  --input-color: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   ULTRA-MODERN ENTERPRISE HEADER & NAVBAR
   ============================================================ */
nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.65rem 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

html.dark-mode nav#navbar,
body.dark-mode nav#navbar {
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

nav#navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.09);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

html.dark-mode nav#navbar.scrolled,
body.dark-mode nav#navbar.scrolled {
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

nav#navbar .container.nav-content {
  max-width: 1440px;
  padding: 0 2rem;
  gap: 1.5rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.25s ease;
  margin-right: 2.25rem;
  flex-shrink: 0;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: all 0.25s ease;
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.15));
}

nav#navbar.scrolled .logo img {
  height: 44px;
}

.mobile-drawer-header .logo img {
  height: 42px;
}

.logo:hover img {
  filter: drop-shadow(0 4px 14px rgba(99, 102, 241, 0.35));
}

.logo-badge {
  display: none !important;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > li > a i.nav-chevron {
  font-size: 0.65rem;
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links > li > a:hover {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-1px);
}

.nav-links > li.active > a {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  font-weight: 700;
}

.nav-links > li.dropdown {
  position: relative;
}

.nav-links > li.dropdown:hover > a,
.nav-links > li.dropdown.is-open > a {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
}

.nav-links > li.dropdown:hover > a i.nav-chevron,
.nav-links > li.dropdown.is-open > a i.nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Luxury Mega-Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  min-width: 640px;
  padding: 1.25rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(99, 102, 241, 0.12);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}

/* Invisible Hover Bridge: eliminates dead space so cursor moving down never loses hover */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
}

body.dark-mode .dropdown-menu {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: 1px solid rgba(99, 102, 241, 0.15);
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  z-index: 1;
}

body.dark-mode .dropdown-menu::before {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Instant smooth reveal on hover, focus, or click toggle */
.dropdown:hover .dropdown-menu,
.dropdown.is-open .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Item Tiles */
.dropdown-item {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.18);
  transform: translateY(-2px);
}

.dropdown-item.active-sublink {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
}

body.dark-mode .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .dropdown-item.active-sublink {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

/* 3D Dropdown Icon Container - Prominent Executive Size */
.dropdown-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px -2px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.9);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-item-icon img.icon-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-item:hover .dropdown-item-icon {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 25px -4px rgba(99, 102, 241, 0.28), 0 0 0 1.5px rgba(99, 102, 241, 0.45);
}

.dropdown-item:hover .dropdown-item-icon img.icon-3d-img {
  transform: scale(1.12);
}

body.dark-mode .dropdown-item-icon {
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-item:hover .dropdown-item-icon {
  box-shadow: 0 12px 28px -4px rgba(99, 102, 241, 0.5), 0 0 0 1.5px rgba(129, 140, 248, 0.5);
}

/* 3D Icons for Top Header Navigation Links */
.nav-3d-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links > li > a:hover .nav-3d-icon {
  transform: translateY(-2px) scale(1.2);
}

/* 3D Icons for Nav Action Buttons (Login Klien & Konsultasi) */
.nav-3d-icon-btn {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-client-login:hover .nav-3d-icon-btn,
.btn-consult:hover .nav-3d-icon-btn {
  transform: translateY(-2px) scale(1.2);
}

.dropdown-item-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
}

.dropdown-item-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--primary);
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 3px;
  line-height: 1.35;
  white-space: normal;
}

/* Executive Dignified Badges */
.nav-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: inline-block;
  line-height: 1.3;
}

.nav-badge-gold {
  background: rgba(202, 138, 4, 0.12);
  color: #a16207;
  border: 1px solid rgba(202, 138, 4, 0.25);
}

.nav-badge-slate {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.22);
}

.nav-badge-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.nav-badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

body.dark-mode .nav-badge-gold {
  background: rgba(234, 179, 8, 0.18);
  color: #fef08a;
  border-color: rgba(234, 179, 8, 0.3);
}

body.dark-mode .nav-badge-slate {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.25);
}

body.dark-mode .nav-badge-blue {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.3);
}

body.dark-mode .nav-badge-emerald {
  background: rgba(52, 211, 153, 0.15);
  color: #a7f3d0;
  border-color: rgba(52, 211, 153, 0.3);
}

.nav-badge-hot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-client-login {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.06);
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-client-login:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-consult {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.3rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff !important;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
  filter: brightness(1.08);
}

/* Language & Theme Controls */
.nav-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.nav-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(15deg);
  background: rgba(99, 102, 241, 0.05);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -330px;
  width: 310px;
  height: 100vh;
  background: var(--card-bg);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  z-index: 2001;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.mobile-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--light);
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-grow: 1;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.mobile-drawer-nav a:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
}

.mobile-drawer-nav a.active {
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  font-weight: 700;
  border-left: 3px solid var(--primary);
  padding-left: calc(0.85rem - 3px);
}

.mobile-drawer-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin: 0.85rem 0 0.35rem 0.85rem;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* ============================================================
   PREMIUM HERO & AMBIENT TECH STYLES (AESTHETIC UPGRADE)
   ============================================================ */

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

@keyframes shimmerEffect {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Hero Section */
.hero {
  padding: 70px 0 80px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08);
  transition: all 0.3s;
}
.hero-badge-premium:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.hero-content h1 {
  font-size: 3.6rem;
  line-height: 1.12;
  margin-bottom: 1.4rem;
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2.2rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  padding: 0.95rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.45);
  color: white;
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--dark);
  padding: 0.95rem 1.8rem;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Hero Visual & Interactive Floating Chips */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  transition: transform 0.4s ease;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

/* Floating Tech Chips */
.floating-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  transition: all 0.3s;
}
body.dark-mode .floating-chip {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.chip-top-left {
  top: -15px;
  left: -20px;
  animation: floatSlow 5s ease-in-out infinite;
}

.chip-bottom-right {
  bottom: -20px;
  right: -15px;
  animation: floatReverse 6s ease-in-out infinite;
}

.chip-middle-left {
  bottom: 35%;
  left: -35px;
  animation: floatSlow 7s ease-in-out infinite;
}

.chip-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chip-text-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.chip-text-subtitle {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 2px;
}

/* Trust Bar / Statistics Ticker */
.trust-bar-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

/* Interactive Mini PPh 21 Calculator Widget on Landing Page */
.home-calc-section {
  padding: 80px 0;
  background: var(--light);
}

.home-calc-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.calc-grid-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-result-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  position: relative;
}

.calc-res-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-res-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-res-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.calc-res-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.calc-res-thp {
  font-size: 1.6rem;
  font-weight: 800;
  color: #34d399;
}

/* Services */
.services {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.section-header p {
  color: var(--gray);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  padding: 2.2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.08);
  border-color: var(--primary);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Portal News Layout */
.portal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.headline-news {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
}

.headline-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.headline-news:hover img {
  transform: scale(1.05);
}

.headline-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  color: white;
}

.category-badge {
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: center;
}

.news-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.news-item-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.news-item-content h4 a {
  color: var(--dark);
}

.news-item-content h4 a:hover {
  color: var(--primary);
}

.news-meta {
  font-size: 0.8rem;
  color: var(--gray);
}

.category-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.category-tab {
  font-weight: 600;
  color: var(--gray);
  padding: 0.5rem 0;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.category-tab:hover {
  color: var(--primary);
}

.category-tab.active {
  color: var(--primary);
}

.category-tab.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

/* Pricing Card */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(-10px);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--dark);
  font-size: 0.95rem;
}

.pricing-features i {
  color: var(--secondary);
  margin-top: 0.3rem;
}

/* Tool Widget */
.tool-widget {
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 16px;
  margin-top: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tool-widget::after {
  content: '\f1ec';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 8rem;
  opacity: 0.05;
}

.form-control {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--input-bg);
  color: var(--input-color);
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.faq-header {
  padding: 1.3rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.05rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: white;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  padding: 0 1.6rem;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding-bottom: 1.4rem;
}

/* Product Ecosystem Showcase Grid */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ecosystem-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.8rem;
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.ecosystem-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Client Logo Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 1rem 0;
}

.marquee-container::before, .marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--card-bg), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--card-bg), transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marqueeScroll 25s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gray);
  opacity: 0.85;
}
.partner-tag i {
  font-size: 1.3rem;
  color: var(--primary);
}

/* Pricing Cards */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.pricing-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--gray);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li i {
  color: #10b981;
  font-size: 0.9rem;
}

/* ============================================================
   POSTER & SLIDER INFORMASI TERKINI (TAX INSIGHTS SLIDER)
   Modeled after premier consultant portals like muc.co.id
   ============================================================ */

.insights-slider-section {
  padding: 105px 0 75px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: #0b1121;
}

/* Background Backdrop with Blur and Gradient Overlay (Shared across Homepage, Services, & Products) */
.insights-blur-bg-wrap,
.page-blur-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.insights-blur-bg-img,
.page-blur-bg-img {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background-size: cover;
  background-position: center 35%;
  filter: blur(6px) saturate(1.15) brightness(0.92);
  transform: scale(1.03); /* Mencegah tepi putih akibat blur */
  opacity: 0.72;
  transition: opacity 0.5s ease;
}

body.dark-mode .insights-blur-bg-img,
body.dark-mode .page-blur-bg-img {
  opacity: 0.65;
  filter: blur(7px) saturate(1.2) brightness(0.78);
}

.insights-blur-bg-gradient,
.page-blur-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.72) 0%,
    rgba(241, 245, 249, 0.48) 45%,
    rgba(241, 245, 249, 0.82) 100%
  );
}

body.dark-mode .insights-blur-bg-gradient,
body.dark-mode .page-blur-bg-gradient {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(11, 17, 33, 0.55) 45%,
    rgba(11, 17, 33, 0.88) 100%
  );
}

.insights-blur-ambient-glow,
.page-blur-ambient-glow {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

body.dark-mode .insights-blur-ambient-glow,
body.dark-mode .page-blur-ambient-glow {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.32) 0%, rgba(168, 85, 247, 0.14) 50%, transparent 70%);
}

.insights-slider-section .container {
  position: relative;
  z-index: 1;
}

/* Reusable Page Hero Header with Blurred Backdrop */
.page-hero-header {
  position: relative;
  overflow: hidden;
  padding: 135px 0 55px;
  border-bottom: 1px solid var(--border-color);
  background: var(--light);
}

.page-hero-header .container {
  position: relative;
  z-index: 1;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.page-hero-title {
  font-size: 2.8rem;
  color: var(--dark);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.page-hero-subtitle {
  color: var(--gray);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.insights-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.insights-title-area {
  max-width: 680px;
}

.insights-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.insights-title-area h2 {
  font-size: 2.3rem;
  color: var(--dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
  font-weight: 800;
}

.insights-title-area p {
  color: var(--gray);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

/* Category Filter Tabs */
.insights-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 4px 0 1rem 0;
  margin-bottom: 1.75rem;
  scrollbar-width: none;
}

.insights-tabs-bar::-webkit-scrollbar {
  display: none;
}

.insight-tab-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.insight-tab-btn i {
  font-size: 0.85rem;
  opacity: 0.8;
}

.insight-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.insight-tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.insight-tab-btn.active i {
  opacity: 1;
}

/* Slider Frame & Track */
.poster-slider-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.18), 0 0 35px rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.dark-mode .poster-slider-container {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.75), 0 0 45px rgba(99, 102, 241, 0.18);
}

.poster-slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  will-change: transform;
}

/* Individual Slide Card (Split: Poster Art + Info) */
.poster-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 440px;
  background: var(--card-bg);
  position: relative;
}

/* Left: Poster Visual Banner */
.poster-visual {
  position: relative;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #ffffff;
}

.poster-visual-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.poster-visual-decor-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
}

.poster-visual-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.poster-slide:hover .poster-visual-bg-image {
  transform: scale(1.06);
}

.poster-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.poster-visual-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.poster-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.poster-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  color: rgba(255, 255, 255, 0.9);
}

.poster-visual-center {
  position: relative;
  z-index: 2;
  margin: 2rem 0;
}

.poster-big-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.poster-visual-caption {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.poster-visual-subcaption {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.4rem;
}

.poster-visual-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Individual Slide Theme Color Gradients */
.slide-theme-coretax {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
}
.slide-theme-pph21,
.slide-theme-ter {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #059669 100%);
}
.slide-theme-sp2dk,
.slide-theme-klinik {
  background: linear-gradient(135deg, #7c2d12 0%, #9a3412 40%, #d97706 100%);
}
.slide-theme-webinar {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 40%, #0284c7 100%);
}
.slide-theme-whitepaper {
  background: linear-gradient(135deg, #581c87 0%, #701a75 40%, #9333ea 100%);
}

/* Right: Slide Content & Meta */
.poster-info {
  padding: 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.poster-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.poster-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.poster-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  margin: 0 0 1rem 0;
  transition: color 0.2s ease;
}

.poster-info p.poster-excerpt {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--gray);
  margin: 0 0 1.5rem 0;
}

.poster-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.poster-tag-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--light);
  color: var(--dark);
  border: 1px solid var(--border-color);
}

.poster-author-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.poster-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.poster-author-info {
  font-size: 0.85rem;
}

.poster-author-name {
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.poster-author-title {
  color: var(--gray);
  font-size: 0.78rem;
}

.poster-action-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.poster-action-btns .btn-primary {
  padding: 0.75rem 1.6rem;
  font-size: 0.92rem;
}

.poster-action-btns .btn-secondary {
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
}

/* Floating Side Navigation Arrows (Inside / Alongside Carousel) */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.2), 0 0 12px rgba(99, 102, 241, 0.15);
}

body.dark-mode .slider-arrow-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.6), 0 0 15px rgba(99, 102, 241, 0.25);
}

.slider-arrow-btn.slider-arrow-prev {
  left: 20px;
}

.slider-arrow-btn.slider-arrow-next {
  right: 20px;
}

.slider-arrow-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.14);
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.45);
}

.slider-arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-dots-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  padding: 0;
}

.slider-dot:hover {
  background: var(--primary);
  opacity: 0.8;
}

.slider-dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

/* Mini Cards Grid Below Slider (Thumbnails / Quick Access) */
.insights-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.insight-mini-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.15rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
}

.insight-mini-card.active {
  border-color: var(--primary);
  border-width: 2px;
  background: rgba(99, 102, 241, 0.04);
}

.insight-mini-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.insight-mini-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-mini-date {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 0.6rem;
}

@media (max-width: 1200px) {
  .insights-quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid, .portal-grid, .calc-grid-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .poster-slide {
    grid-template-columns: 1fr;
  }
  .poster-visual {
    padding: 2.5rem 1.5rem;
    min-height: 260px;
  }
  .poster-info {
    padding: 2rem 1.5rem;
  }
  .insights-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portal-grid { text-align: left; }
  .headline-news { height: 300px; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-btns { justify-content: center; }
  .hero-visual-wrapper { margin-top: 2rem; }
  .floating-chip { display: none; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .btn-consult { display: none; }
}

@media (max-width: 768px) {
  .slider-arrow-btn {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }
  .slider-arrow-btn.slider-arrow-prev {
    left: 8px;
  }
  .slider-arrow-btn.slider-arrow-next {
    right: 8px;
  }
}

@media (max-width: 576px) {
  .btn-client-login {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
  .nav-pill-btn {
    padding: 0.4rem 0.6rem;
  }
  .logo img {
    height: 38px;
  }
}

/* ============================================================
   PWA STANDALONE & NATIVE MOBILE APP EXPERIENCE
   ============================================================ */
@supports (padding-top: env(safe-area-inset-top)) {
  nav#navbar {
    padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
  }
}

@media (display-mode: standalone) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .pwa-bottom-nav {
    display: flex !important;
  }
  #floating-wa {
    bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Native App Bottom Navigation Bar */
.pwa-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9990;
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  justify-content: space-around;
  align-items: center;
}

.pwa-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 12px;
  transition: all 0.25s ease;
  position: relative;
  flex: 1;
  text-align: center;
}

.pwa-nav-item i {
  font-size: 1.25rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.pwa-nav-item:hover,
.pwa-nav-item.active {
  color: #818cf8;
}

.pwa-nav-item.active i {
  transform: translateY(-2px);
  color: #a5b4fc;
  filter: drop-shadow(0 2px 10px rgba(99, 102, 241, 0.7));
}

.pwa-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 3px;
  background: #6366f1;
  border-radius: 3px;
  box-shadow: 0 0 8px #6366f1;
}

/* PWA Floating Install Toast Banner */
.pwa-install-toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(160%);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 18px;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 92%;
  width: 420px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.pwa-install-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (display-mode: standalone) {
  .pwa-install-toast {
    display: none !important;
  }
}

/* ============================================================
   TOP ANNOUNCEMENT BAR (SYNCS WITH ADMIN PORTAL)
   ============================================================ */
.site-announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: white;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 0 1rem;
}

body.has-announcement {
  padding-top: 40px;
}

body.has-announcement nav#navbar {
  top: 40px;
}

.site-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-badge-label {
  background: rgba(234, 179, 8, 0.25);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.4);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.announcement-text-msg {
  font-weight: 600;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-cta-btn {
  background: #ffffff;
  color: #1e1b4b;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.announcement-cta-btn:hover {
  background: #fde047;
  color: #1e1b4b;
  transform: translateY(-1px);
}

.announcement-dismiss {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
}

.announcement-dismiss:hover {
  color: white;
}

@media (max-width: 768px) {
  .site-announcement-bar {
    height: auto;
    min-height: 38px;
    padding: 0.4rem 0.75rem;
  }
  .site-announcement-content {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.4rem;
  }
  .announcement-text-msg {
    font-size: 0.75rem;
    white-space: normal;
  }
  body.has-announcement {
    padding-top: 48px;
  }
  body.has-announcement nav#navbar {
    top: 48px;
  }
}


