:root {
  --primary: #0a1e3d;
  --primary-light: #122d5c;
  --primary-dark: #06122a;
  --accent: #d4a843;
  --accent-light: #e0be6a;
  --accent-dark: #b8922e;
  --green: #1a8a3a;
  --teal: #0d7a7a;
  --red: #c0392b;
  --blue: #2563eb;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--gray-50);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
ul, ol { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .wrap { padding: 0 16px; } }

/* ===== Top Bar ===== */
#topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--accent);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left span i { margin-right: 6px; color: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right a { color: rgba(255,255,255,0.7); font-size: 14px; }
.topbar-right a:hover { color: var(--accent); }
.topbar-login {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 4px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  margin-left: 8px;
}
.topbar-login:hover { background: var(--accent-light); }
@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .topbar-left { flex-direction: column; gap: 4px; }
}

/* ===== Navigation ===== */
#navbar-primary {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1002;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo img { max-height: 46px; width: auto; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-800);
  border-radius: var(--radius);
}
.nav-link:hover { color: var(--accent); background: var(--gray-100); }
.nav-link i { font-size: 10px; margin-left: 4px; }
.nav-item.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid var(--gray-100);
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 32px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--gray-100);
  border-top: 1px solid var(--gray-100);
  transform: rotate(45deg);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item:nth-last-child(-n+2) .dropdown-menu {
  left: auto;
  right: 0;
}
.nav-item:nth-last-child(-n+2) .dropdown-menu::before {
  left: auto;
  right: 32px;
}
@media (min-width: 901px) {
  .dropdown-menu { min-width: 400px; }
  .nav-item:nth-child(2) .dropdown-menu { left: 0; right: auto; }
  .nav-item:nth-last-child(2) .dropdown-menu { left: auto; right: 0; }
}

.menu-col { min-width: 180px; flex: 1; }
.menu-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.menu-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; list-style: none; padding: 0; margin: 0; }
.menu-col-list li { padding: 0; }
.menu-col-list li a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-50);
  transition: var(--transition);
}
.menu-col-list li a:hover { color: var(--accent); padding-left: 4px; background: none; }
.menu-col-list li:nth-last-child(-n+2) a { border-bottom: none; }
.nav-overlay { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    padding: 80px 20px 20px;
    gap: 0;
    transition: right 0.3s;
    z-index: 1001;
    align-items: stretch;
    overflow-y: auto;
  }
  .nav-menu.active { right: 0; }
  .nav-item { width: 100%; }
  .nav-link {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 8px 0 8px 16px;
    display: none;
    background: var(--gray-50);
    border-radius: 0;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .dropdown.open .dropdown-menu { display: flex; }
  .menu-col { min-width: 0; flex: none; width: 100%; }
  .menu-col-title { font-size: 12px; margin-bottom: 4px; padding-bottom: 4px; }
  .menu-col-list li a { font-size: 13px; padding: 6px 0; }
  .nav-overlay.active {
    display: block;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
  }
  body.nav-open { overflow: hidden; }
}

/* ===== Main Content ===== */
#main-content { min-height: 400px; }

/* ===== Hero Section ===== */
#hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
#hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
#hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}
.hero-badges { display: flex; gap: 24px; margin-bottom: 28px; }
.hero-badges span {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
}
.hero-badges span i { color: var(--accent); margin-right: 6px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-buttons .btn-primary {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.hero-buttons .btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--primary-dark) !important; }
.hero-buttons .btn-outline {
  background: transparent;
  color: var(--white) !important;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.hero-buttons .btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; }
.hero-image { text-align: center; }
.hero-image img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text p { margin: 0 auto 28px; }
  .hero-badges { justify-content: center; flex-wrap: wrap; }
  .hero-buttons { justify-content: center; }
  .hero-text h1 { font-size: 32px; }
  #hero-section { padding: 60px 0 40px; }
}
@media (max-width: 480px) {
  .hero-text h1 { font-size: 26px; }
  .hero-badges { flex-direction: column; align-items: center; gap: 8px; }
}

/* ===== Section Shared ===== */
.section { padding: 60px 0; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-title p {
  color: var(--gray-500);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .section-title h2 { font-size: 24px; }
  .section { padding: 40px 0; }
}

/* ===== Product Cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.product-card .icon i { color: var(--accent); font-size: 26px; }
.product-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.product-card p { color: var(--gray-500); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.product-card .card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}
.product-card .card-link i { margin-left: 4px; font-size: 12px; }
.product-card .card-link:hover { color: var(--accent-dark); }

/* ===== Hero Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(212,168,67,0.3)); }
  50% { filter: drop-shadow(0 0 20px rgba(212,168,67,0.6)); }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes coinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes particleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-80px) scale(0.5); opacity: 0; }
}

.hero-text h1 { animation: fadeUp 0.8s ease forwards; }
.hero-text h1 span {
  background: linear-gradient(90deg, #d4a843, #ffd700, #d4a843, #ffd700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
.hero-text p { opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards; }
.hero-badges { opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards; }
.hero-badges span:nth-child(1) { animation: fadeUp 0.5s ease 0.5s both; }
.hero-badges span:nth-child(2) { animation: fadeUp 0.5s ease 0.65s both; }
.hero-badges span:nth-child(3) { animation: fadeUp 0.5s ease 0.8s both; }
.hero-buttons { opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards; }

.hero-image { animation: fadeInScale 1s ease 0.3s both; }
.hero-svg { max-width: 100%; height: auto; }

.collar-pin { animation: pulseGlow 2s ease-in-out infinite; }
.smile-line { stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawLine 1s ease 0.5s forwards; }
.tablet { animation: slideInRight 0.8s ease 0.4s both; }
.mini-chart { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawLine 1s ease 0.7s forwards; }

@keyframes slideInRight {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.deco-coins { animation: float 5s ease-in-out infinite; }
.deco-coins ellipse:nth-child(2) { animation: coinBounce 2s ease-in-out infinite; animation-delay: 0.08s; }
.deco-coins ellipse:nth-child(5) { animation: coinBounce 2s ease-in-out infinite; animation-delay: 0.16s; }
.deco-coins ellipse:nth-child(8) { animation: coinBounce 2s ease-in-out infinite; animation-delay: 0.24s; }

.chart-draw { animation: drawLine 2s ease 0.6s forwards; }
.chart-pulse { animation: pulseGlow 2s ease-in-out infinite; }

.sparkles { animation: sparkleAnim 2s ease-in-out infinite; }
.sparkles g:nth-child(2) { animation-delay: 1s; }

/* ===== Trust Section ===== */
#trust-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 24px 0;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 12px 14px;
  transition: var(--transition);
  text-align: center;
  min-height: 96px;
}
.trust-item:hover { background: var(--white); border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.trust-item .trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  max-width: 100%;
}
.trust-item img {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.trust-item span {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 0; }
  .trust-item { min-height: 88px; padding: 12px 8px 10px; }
  .trust-item img { max-height: 32px; }
  .trust-item .trust-logo { height: 32px; }
}

/* ===== Interest Rate Table ===== */
.rate-section { background: var(--gray-50); }
.rate-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}
.rate-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}
.rate-table tr:last-child td { border-bottom: none; }
.rate-table tr:hover td { background: var(--gray-50); }
.rate-table .rate-val {
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
}
.rate-table .rate-val i { margin-left: 4px; color: var(--green); font-size: 12px; }

/* ===== Sidebar ===== */
.sidebar { min-width: 0; }

/* ===== News/Article Cards ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card .thumb {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .thumb .no-img-icon {
  color: rgba(255,255,255,0.2);
  font-size: 48px;
}
.news-card .body { padding: 20px; }
.news-card .body .meta {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}
.news-card .body .meta span i { margin-right: 4px; }
.news-card .body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-card .body h3 a { color: var(--primary); }
.news-card .body h3 a:hover { color: var(--accent); }
.news-card .body p {
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
}
.news-card .body .read-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
}
.news-card .body .read-more i { margin-left: 4px; font-size: 11px; }
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card .thumb { height: 180px; }
}

/* ===== CTA Banner ===== */
#cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  text-align: center;
}
#cta-banner h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
#cta-banner p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 24px; }
#cta-banner .btn-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: var(--transition);
}
#cta-banner .btn-cta:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary-dark) !important; }

/* ===== Footer ===== */
#site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-about p { line-height: 1.7; margin-bottom: 16px; }
.footer-about .footer-logo { max-height: 44px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-contact li {
  padding: 6px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact li i {
  color: var(--accent);
  margin-top: 4px;
  min-width: 16px;
}
.footer-links li { padding: 6px 0; }
.footer-links li a { color: rgba(255,255,255,0.6); }
.footer-links li a:hover { color: var(--accent); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary-dark); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-badges a { display: flex; align-items: center; opacity: 0.6; transition: var(--transition); height: 30px; }
.footer-badges a:hover { opacity: 1; }
.footer-badges img { max-height: 30px; max-width: 90px; width: auto; height: auto; object-fit: contain; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-badges { justify-content: center; }
}

/* ===== Inner Pages ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 50px 0 40px;
  text-align: center;
}
.page-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.page-header .breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb a:hover { color: var(--accent); }
.page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}
.page-body.content-full { max-width: 1200px; }
.page-body .meta {
  color: var(--gray-400);
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
}
.page-body .post-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
}
.page-body .post-content h2 { font-size: 22px; color: var(--primary); margin: 24px 0 12px; }
.page-body .post-content h3 { font-size: 18px; color: var(--primary); margin: 20px 0 10px; }
.page-body .post-content p { margin-bottom: 16px; }
.page-body .post-content img { border-radius: var(--radius); margin: 16px 0; max-width: 100%; }
.page-body .post-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page-body .post-content th {
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 600;
  text-align: left;
}
.page-body .post-content td {
  padding: 8px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}
.sidebar-layout.reverse { grid-template-columns: 1fr 280px; }
.sidebar-layout .sidebar { min-width: 0; }
.sidebar-layout .page-body { min-width: 0; overflow: hidden; max-width: none; }
.sidebar-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}
.sidebar-box ul li { padding: 8px 0; border-bottom: 1px solid var(--gray-50); }
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a { font-size: 14px; color: var(--gray-600); }
.sidebar-box ul li a:hover { color: var(--accent); padding-left: 4px; }
.sidebar-box ul li a.active,
.sidebar-box ul li a[class="active"] { color: var(--accent); font-weight: 600; border-left: 3px solid var(--accent); padding-left: 13px; }

/* ===== Table of Contents ===== */
.toc-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.toc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { padding: 4px 0; }
.toc-list li a {
  font-size: 14px;
  color: var(--gray-600);
  text-decoration: none;
}
.toc-list li a:hover { color: var(--accent); }

/* ===== Post Content Enhanced ===== */
.post-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  color: var(--primary);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}
.post-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  color: var(--primary);
  margin: 24px 0 10px;
}
.post-content p { margin-bottom: 14px; line-height: 1.8; color: var(--gray-600); }
.post-content ul, .post-content ol { margin: 12px 0; padding-left: 24px; }
.post-content ul li, .post-content ol li { margin-bottom: 6px; line-height: 1.7; color: var(--gray-600); }
.post-content a:not(.btn) { color: var(--accent); text-decoration: underline; }

@media (max-width: 900px) {
  .sidebar-layout, .sidebar-layout.reverse { grid-template-columns: 1fr; }
  .sidebar-layout .sidebar { order: -1; }
}
@media (max-width: 768px) {
  .sidebar-layout, .sidebar-layout.reverse { grid-template-columns: 1fr; padding: 24px 16px; }
  .page-body { padding: 24px 16px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary { background: var(--accent); color: var(--primary-dark); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-secondary { background: var(--primary); color: var(--white); }
.btn-secondary:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ===== Forms ===== */
input[type=text], input[type=email], input[type=password], input[type=search], textarea, select {
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-700);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
  outline: none;
}
input[type=submit], input[type=button], button {
  box-sizing: border-box;
}
input[type=submit], input[type=button] {
  background: var(--accent);
  border: none;
  color: var(--primary-dark);
  padding: 10px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
input[type=submit]:hover, input[type=button]:hover { background: var(--accent-light); }

/* ===== Pagination ===== */
.wp-pagenavi {
  padding: 20px 0;
  text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 2px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--gray-600);
  background: var(--white);
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

/* ===== Download Table ===== */
.table-download { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-download th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.table-download td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.table-download tr:hover td { background: var(--gray-50); }

/* ===== Alert ===== */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}
.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ===== Contact Page ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info .info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info .info-item i {
  color: var(--accent);
  font-size: 20px;
  margin-top: 4px;
  min-width: 24px;
}
.contact-info .info-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.contact-info .info-item p { color: var(--gray-500); font-size: 14px; }
@media (max-width: 768px) { .contact-wrap { grid-template-columns: 1fr; } }

/* ===== WhatsApp Float ===== */
#whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
#whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition);
}
#whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  color: #fff;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; }

/* ===== Info Footer (original renamed) ===== */
#credit { display: none; }

/* ===== Legacy Overrides ===== */
#sidebar { display: none; }
#header-int { display: none; }
#content-wrap, #content-container, #hero, #event, #pengumuman, #lowongan, #pmb, #footer-banner {
  all: unset;
}
.block { all: unset; }
#nav-portal { display: none; }
#mainnav { display: none; }
.toggleMenu { display: none !important; }
#rotator { display: none; }
#sticker { display: none; }
#head { display: none; }
.page-title, .post-title, .sosnet, #content .sosnet { all: unset; }
#content .breadcrumb, .breadcrumb { display: none; }
#content { all: unset; }
.post { all: unset; }

/* ===== Responsive Adjustments ===== */
@media (max-width: 480px) {
  .table-download { font-size: 12px; }
  .table-download th, .table-download td { padding: 8px 10px; }
  #whatsapp-float { bottom: 16px; right: 16px; }
  #whatsapp-float a { width: 48px; height: 48px; font-size: 22px; }
}