/* ========== GLOBAL VARIABLES ========== */
:root {
  /* Primary Colors */
  --primary: #f59e0b;
  --primary-dark: #e67e22;
  --primary-light: #fef3c7;
  --secondary-color: #facc15;
  --accent-color: #eab308;

  /* Dark Colors */
  --dark: #0f172a;
  --dark-light: #1e293b;

  /* Light Colors */
  --light: #f8fafc;
  --light-gray: #f1f5f9;

  /* Text Colors */
  --text-dark: #020617;
  --text-gray: #334155;
  --text-light: #64748b;

  /* UI Colors */
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px var(--shadow);
  --shadow-md: 0 10px 15px -3px var(--shadow);
  --shadow-lg: 0 20px 25px -5px var(--shadow);
  --shadow-xl: 0 25px 50px -12px var(--shadow);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
  padding-top: 80px;
}

/* ========== HEADER STYLES ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 45px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

.btn-primary {
  background: var(--secondary-color);
  color: #000;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  transition: var(--transition-fast);
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(245, 158, 11, 0.2);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary-color));
  margin: 3px 0;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================
   NAV BUTTON & OVERLAY
   ========================= */
.nav-btn {
  background-color: var(--primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* =========================
   DESKTOP DROPDOWN (LAYANAN)
   ========================= */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  padding: 0.5rem 1rem;
  min-width: 480px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: white;
  border-top: none;
}

.has-dropdown.active .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown li {
  width: 100%;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  color: #333;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown a:hover {
  color: var(--primary);
  background: rgba(245, 158, 11, 0.07);
  padding-left: 1.5rem;
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.has-dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 999;
}

.menu-overlay.active {
  display: block;
}

/* ========== PILLAR HERO SECTION ========== */
.pillar-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background:
    radial-gradient(circle at 15% 30%, rgba(245, 158, 11, 0.18), transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(59, 130, 246, 0.12), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, #111c2f 100%);
  padding: 4rem 0 2.5rem;
  isolation: isolate;
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
}

.pillar-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent);
  z-index: 0;
  pointer-events: none;
}

.pillar-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.pillar-hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.pillar-hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(4px);
}

.pillar-hero h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  max-width: 900px;
  margin: 0 auto 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pillar-hero-subtitle {
  font-size: 0.9rem;
  max-width: 750px;
  margin: 0 auto 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.pillar-hero-subtitle strong {
  color: var(--primary);
  font-weight: 600;
}

.pillar-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pillar-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pillar-hero-meta i {
  color: var(--primary);
}

/* ========== MAIN LAYOUT ========== */
.pillar-container {
  max-width: 1400px;
  margin: 2rem auto 4rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 2rem;
}

/* ========== LEFT SIDEBAR - TOC ========== */
.pillar-toc {
  position: sticky;
  top: 90px;
  align-self: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  transition: var(--transition);
}

.pillar-toc:hover {
  box-shadow: var(--shadow-md);
}

.pillar-toc h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
}

.pillar-toc h3 i {
  color: var(--primary);
}

.pillar-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-toc li {
  margin-bottom: 0.5rem;
}

.pillar-toc a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: block;
  padding: 0.2rem 0;
  border-left: 2px solid transparent;
  padding-left: 0;
}

.pillar-toc a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
  border-left-color: var(--primary);
}

.pillar-toc ul ul {
  padding-left: 1.2rem;
  margin-top: 0.3rem;
}

/* Custom scrollbar */
.pillar-toc::-webkit-scrollbar {
  width: 4px;
}

.pillar-toc::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.pillar-toc::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* ========== ARTICLE STYLES ========== */
.pillar-article {
  width: 100%;
}

.pillar-article h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.pillar-article h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin: 1.5rem 0 1rem;
}

.pillar-article p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.article-intro {
  font-size: 1.1rem;
  color: var(--dark);
  background: var(--light);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.article-intro:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.key-points {
  background: linear-gradient(135deg, var(--light), var(--light-gray));
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
}

.key-points h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Factors Grid */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.factor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
}

.factor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.factor-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.factor-card:hover i {
  transform: scale(1.1);
}

.factor-card h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.factor-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ========== VISUAL ILUSTRASI KHUSUS ========== */
.soil-layer-visual {
  background: linear-gradient(145deg, #f8fafc, #eef2f6);
  border-radius: 24px;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
}

.layer-diagram {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.layer {
  position: relative;
  padding: 1rem 1.5rem;
  margin: 0;
  border-left: 4px solid;
  transition: var(--transition);
}

.layer:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-sm);
}

.layer-1 {
  background: rgba(222, 184, 135, 0.15);
  border-left-color: #8B5A2B;
}

.layer-2 {
  background: rgba(160, 82, 45, 0.15);
  border-left-color: #A0522D;
}

.layer-3 {
  background: rgba(101, 67, 33, 0.15);
  border-left-color: #654321;
}

.layer-4 {
  background: rgba(139, 90, 43, 0.25);
  border-left-color: #2C1810;
}

.layer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.layer-depth {
  background: var(--primary);
  color: var(--dark);
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.layer-name {
  font-weight: 600;
}

.foundation-comparison {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(145deg, #f8fafc, #eef2f6);
  border-radius: 24px;
  flex-wrap: wrap;
}

.foundation-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.foundation-pile {
  width: 50px;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  margin: 0 auto 1rem;
  border-radius: 25px 25px 0 0;
  position: relative;
  transition: var(--transition);
}

.foundation-item:hover .foundation-pile {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pile-strauss {
  height: 80px;
}

.pile-bore {
  height: 160px;
}

.pile-mini {
  height: 120px;
}

.pile-label {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.pile-depth {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.table-of-depths {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  transition: var(--transition);
}

.table-of-depths th {
  background: var(--dark);
  color: white;
  padding: 1rem;
  text-align: left;
}

.table-of-depths td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
}

.table-of-depths tr:last-child td {
  border-bottom: none;
}

.table-of-depths tr:nth-child(even) {
  background: var(--light);
}

.warning-box {
  background: #fff7ed;
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.warning-box i {
  font-size: 2.5rem;
  color: var(--primary);
}

.step-by-step {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

/* ========== BANNER ARTOMORO ========== */
.banner-artomoro {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 112px;
  margin: 3rem auto;
  background: linear-gradient(145deg, var(--dark), var(--dark-light));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-artomoro::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.banner-artomoro .banner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 2;
  position: relative;
}

.banner-artomoro .banner-logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

.banner-artomoro .banner-content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 2;
  position: relative;
}

.banner-artomoro .banner-text {
  width: 100%;
  text-align: center;
}

.banner-artomoro .banner-tagline {
  display: block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

.banner-artomoro .banner-title {
  font-size: 0.65rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
}

.banner-artomoro .banner-cta-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 2;
  position: relative;
}

.banner-artomoro .banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.45rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.banner-artomoro .banner-cta i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.banner-artomoro .banner-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}

.banner-artomoro .banner-cta:hover i {
  transform: translateX(4px);
}

.step-item {
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  padding-left: 4rem;
  transition: var(--transition);
}

.step-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Expert Note */
.expert-note {
  background: #fef9e7;
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  transition: var(--transition);
}

.expert-note:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.expert-note i {
  font-size: 2.5rem;
  color: var(--primary);
}

.expert-note h4 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.expert-name {
  font-style: italic;
  color: var(--text-light);
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-item h3:hover {
  color: var(--primary);
}

.faq-item p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Related Posts */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.related-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: block;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.related-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.related-card:hover i {
  transform: scale(1.1);
}

.related-card h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.related-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.related-card span {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.related-card:hover span {
  letter-spacing: 1px;
}

/* Pillar CTA */
.pillar-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent-color));
  border-radius: 24px;
  padding: 3rem 2rem;
  margin: 4rem 0 2rem;
  text-align: center;
  transition: var(--transition);
}

.pillar-cta:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.cta-content i {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.cta-content h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--dark);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--dark);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-xl);
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

/* ========== RIGHT SIDEBAR - TRUST BANNER ========== */
.sidebar-right {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-banner {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7, #fde68a);
  color: var(--dark);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.trust-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.trust-badge {
  display: inline-block;
  background: var(--dark);
  color: var(--primary-light);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  width: fit-content;
}

.trust-banner h4 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  font-weight: 800;
}

.trust-banner p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.trust-list li {
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
  transition: var(--transition-fast);
}

.trust-list li:hover {
  transform: translateX(5px);
}

.trust-list i {
  color: var(--primary);
  font-size: 0.9rem;
}

.trust-cta {
  display: block;
  text-align: center;
  background: var(--primary);
  color: var(--dark);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.8rem;
  border: 2px solid transparent;
}

.trust-cta:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.trust-banner small {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.6rem;
  opacity: 0.75;
  font-weight: 600;
  text-align: center;
}

/* Pattern & Glow */
.trust-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
      rgba(245, 158, 11, 0.18),
      rgba(245, 158, 11, 0.18) 2px,
      transparent 2px,
      transparent 8px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.trust-glow {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
  animation: floatGlow 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(15px);
  }
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.footer-content h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.footer-content p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  text-align: center;
}

.footer-content a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-content a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-light);
}

.footer-bottom p {
  text-align: center;
}

.footer-small {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
  text-align: center;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 1200px) {
  .pillar-container {
    grid-template-columns: 220px 1fr 260px;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .pillar-container {
    grid-template-columns: 200px 1fr 240px;
    gap: 1.2rem;
  }

  .pillar-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    transition: 0.3s;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
  }

  nav ul.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .btn-primary {
    display: none;
  }

  .pillar-hero {
    padding: 3rem 0 2rem;
  }

  .pillar-hero h1 {
    font-size: 1.6rem;
  }

  .pillar-hero-meta {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
  }

  .pillar-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pillar-toc,
  .sidebar-right {
    position: static;
    max-height: none;
  }

  .foundation-comparison {
    flex-direction: column;
    align-items: center;
  }

  .foundation-item {
    width: 100%;
    max-width: 250px;
  }

  .expert-note {
    flex-direction: column;
    text-align: center;
  }

  .pillar-cta {
    padding: 2rem 1rem;
  }

  .cta-content h3 {
    font-size: 1.4rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 70px;
  }

  .pillar-hero {
    padding: 2.5rem 0 1.8rem;
  }

  .pillar-hero h1 {
    font-size: 1.4rem;
  }

  .pillar-hero-badge {
    font-size: 0.65rem;
    padding: 0.3rem 1rem;
  }

  .pillar-article h2 {
    font-size: 1.5rem;
  }

  .factors-grid,
  .advantages-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .trust-banner h4 {
    font-size: 1.2rem;
  }

  .layer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .warning-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== TAMBAHAN STYLE UNTUK ELEMEN BARU ========== */

/* Hero Visual */
.pillar-hero-visual {
  margin: 2rem auto 3rem;
  max-width: 1200px;
  padding: 0 2rem;
}

.pillar-hero-visual figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pillar-hero-visual img {
  width: 100%;
  height: 500px;
  display: block;
}

.pillar-hero-visual figcaption {
  background: var(--light);
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* Article Visual */
.article-visual {
  margin: 2.5rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.article-visual figcaption {
  background: var(--light);
  padding: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

/* Experience Block */
.experience-block {
  background: linear-gradient(135deg, var(--light), var(--light-gray));
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
}

.experience-block h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.experience-block h3::before {
  content: '\f0b1';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
}

.experience-block p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.experience-block p:last-child {
  margin-bottom: 0;
}

/* Author Box */
.author-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.author-box img {
  width: 120px;
  height: 80px;
  border-radius: 100%;
  object-fit: fill;
  border: 3px solid var(--primary);
}

.author-info strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 1.1rem;
}

.author-info p {
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Trust Statement */
.trust-statement {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #0369a1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-statement::before {
  content: '\f05a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1.2rem;
  color: #0284c7;
}

/* Responsive */
@media (max-width: 768px) {
  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .experience-block h3 {
    justify-content: center;
  }

  .trust-statement {
    flex-direction: column;
    text-align: center;
  }
}

/* ========= MOBILE NAVIGATION RESPONSIVE (768px) ========== */
@media (max-width: 768px) {

  html,
  body,
  main,
  section {
    overflow-x: hidden;
  }

  .hamburger {
    display: flex;
  }

  nav {
    padding: 0.75rem 1rem;
  }

  nav>.nav-btn,
  nav>a.nav-btn {
    display: none !important;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .has-dropdown .dropdown a {
    justify-content: center;
    padding-left: 2rem;
  }

  .has-dropdown .dropdown {
    position: static;
    transform: none;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    background: rgba(245, 158, 11, 0.03);
    margin-top: 0.5rem;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    border: none;
  }

  .has-dropdown.active .dropdown {
    max-height: 400px;
    padding: 8px 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .has-dropdown .dropdown::before {
    display: none;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  body.no-scroll {
    overflow: hidden;
  }

  .pillar-hero {
    position: static;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* =========================================================
   GLOBAL OVERFLOW & WRAP FIX FOR MOBILE (ADDED VIA SCRIPT)
   ========================================================= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
  }
  
  /* Fix breadcrumb & meta overflowing */
  .blog-page .hero-breadcrumb,
  .blog-page .hero-meta {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  /* Prevent long text/URLs from breaking layout */
  article, .article-content, p, h1, h2, h3, h4, h5, h6, a {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }
  
  /* Ensure images never exceed container width */
  article img, article figure, .article-image img, .case-image img {
    max-width: 100% !important;
    height: auto !important;
  }
}
