/* ========================================
   Bang Joper — Premium Design System
   Modern • Premium • Professional
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #0d7c5f;
  --color-primary-dark: #095e48;
  --color-primary-deeper: #073d2f;
  --color-primary-light: #e6f7f1;
  --color-primary-glow: rgba(13, 124, 95, 0.15);
  --color-accent: #e8a800;
  --color-accent-dark: #c48f00;
  --color-accent-light: #fef8e7;
  --color-text: #1a2332;
  --color-text-light: #5a6577;
  --color-text-muted: #8896a7;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f8fa;
  --color-bg-subtle: #fafcfd;
  --color-border: #e4e9ee;
  --color-border-light: #eef2f6;
  --color-white: #ffffff;
  --color-dark: #0f1923;
  --color-dark-soft: #162231;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 4px 20px rgba(13, 124, 95, 0.2);
  --shadow-accent: 0 4px 20px rgba(232, 168, 0, 0.25);
  --shadow-card: 0 2px 12px rgba(15, 25, 35, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(15, 25, 35, 0.12);

  --max-width: 1200px;
  --header-height: 72px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --gradient-primary: linear-gradient(135deg, #0d7c5f 0%, #14a678 50%, #1abc86 100%);
  --gradient-dark: linear-gradient(135deg, #0f1923 0%, #162231 100%);
  --gradient-hero: linear-gradient(160deg, #073d2f 0%, #0d7c5f 40%, #14a678 100%);
  --gradient-accent: linear-gradient(135deg, #0d7c5f 0%, #e8a800 100%);
  --gradient-surface: linear-gradient(180deg, #f5f8fa 0%, #ffffff 100%);

  /* --- Backward compatibility for article inline styles --- */
  --primary-color: var(--color-primary);
  --text-color: var(--color-text);
  --gray-200: var(--color-border-light);
  --gray-300: var(--color-border);
  --gray-500: var(--color-text-muted);
  --gray-600: var(--color-text-light);
}

/* --- Keyframe Animations --- */
@keyframes float-orb {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(13, 124, 95, 0.3);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(13, 124, 95, 0);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text);
  font-weight: var(--fw-bold);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-3xl);
}

h2 {
  font-size: var(--fs-2xl);
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

p {
  margin-bottom: var(--spacing-md);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-4xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
  font-size: var(--fs-md);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.8rem 2rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(13, 124, 95, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #f0c040 100%);
  color: var(--color-text);
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232, 168, 0, 0.4);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* ========================================
   HEADER & NAVIGATION — Premium Dark
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 25, 35, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--header-height);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.logo span {
  background: linear-gradient(135deg, var(--color-accent) 0%, #f5d060 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nav-list a {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  position: relative;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-list a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 60%;
}

.nav-list a.active {
  color: var(--color-white);
  background: rgba(13, 124, 95, 0.2);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========================================
   HERO — Premium Gradient
   ======================================== */
.hero {
  background: var(--gradient-hero);
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 166, 120, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-orb 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 168, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-orb 10s ease-in-out infinite 2s;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #5ef0b5 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  line-height: 1.8;
}

/* ========================================
   CARDS — Premium Glass
   ======================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, rgba(13, 124, 95, 0.1) 50%, rgba(232, 168, 0, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--fs-xl);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-primary);
}

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--spacing-sm);
}

.card p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

/* ========================================
   RELATED ARTICLE CARDS — Premium UI/UX
   ======================================== */

/* Section wrapper */
.related-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border-light);
}

.related-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.related-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.35rem;
  background: var(--gradient-primary);
  border-radius: 4px;
  flex-shrink: 0;
}

/* Grid container */
.related-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Card */
.related-article-card {
  background: var(--color-white);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 2px 8px rgba(15, 25, 35, 0.04);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s ease;
  overflow: hidden;
  height: 100%;
  position: relative;
}

/* Decorative top accent bar */
.related-article-card::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 14px 14px 0 0;
  flex-shrink: 0;
}

.related-article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(13, 124, 95, 0.12);
  border-color: rgba(13, 124, 95, 0.2);
}

/* Card body */
.related-article-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.35rem;
  height: 100%;
  gap: 0;
}

/* Title: 2 line clamp, semibold */
.related-article-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  margin: 0 0 0.6rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Description: 3 line clamp, lighter */
.related-article-card-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 1rem 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA link */
.related-article-card-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.related-article-card:hover .related-article-card-cta {
  gap: 0.55rem;
  color: var(--color-primary-dark);
}

/* Responsive breakpoints */
@media (max-width: 992px) {
  .related-article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .related-article-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .related-article-card-body {
    padding: 1rem 1.15rem 1.15rem;
  }

  .related-section-title {
    font-size: 1.15rem;
  }
}

.card-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: gap var(--transition);
}

.card-link:hover {
  gap: var(--spacing-sm);
}

/* Article Card — Premium */
.article-card {
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-lg);
}

.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-bg-alt);
  position: relative;
}

.article-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15, 25, 35, 0.06) 0%, transparent 100%);
}

.article-card-body {
  padding: var(--spacing-lg) var(--spacing-xl);
}

.article-card .tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.article-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   GUIDE LIST — Premium Numbered
   ======================================== */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.guide-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  background: var(--color-white);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.guide-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.guide-item:hover {
  border-color: rgba(13, 124, 95, 0.15);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  background: var(--color-bg-subtle);
}

.guide-item:hover::before {
  opacity: 1;
}

.guide-item:nth-child(even) {
  background: var(--color-bg-subtle);
}

.guide-item:nth-child(even):hover {
  background: var(--color-primary-light);
}

.guide-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition);
}

.guide-item:hover .guide-number {
  background: var(--gradient-accent);
  box-shadow: var(--shadow-accent);
  transform: scale(1.1);
}

.guide-item h4 {
  margin-bottom: 2px;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  transition: color var(--transition);
}

.guide-item:hover h4 {
  color: var(--color-primary);
}

.guide-item p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* ========================================
   EDUKASI SECTION
   ======================================== */
.edu-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.edu-content h2 {
  margin-bottom: var(--spacing-md);
}

.edu-content>p {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xl);
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.edu-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.edu-list-item .check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--fs-sm);
  margin-top: 2px;
  box-shadow: var(--shadow-primary);
}

.edu-list-item h4 {
  margin-bottom: 2px;
  font-size: var(--fs-base);
}

.edu-list-item p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.edu-visual {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.edu-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

/* ========================================
   CTA SECTION — Premium
   ======================================== */
.cta-section {
  background: var(--gradient-hero);
  color: var(--color-white);
  text-align: center;
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-orb 12s ease-in-out infinite;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto var(--spacing-xl);
  font-size: var(--fs-md);
}

/* ========================================
   PILLAR PAGE (Article) — Premium
   ======================================== */
.page-hero {
  background: var(--gradient-hero);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 166, 120, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-orb 10s ease-in-out infinite;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.page-hero .breadcrumb a:hover {
  color: var(--color-white);
}

.page-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero h1 {
  font-size: var(--fs-3xl);
  max-width: 750px;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.page-hero .meta {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  z-index: 1;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-3xl);
  padding: var(--spacing-3xl) 0;
}

.article-content h2 {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-md);
  font-size: var(--fs-xl);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.article-content h3 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary-dark);
}

.article-content p {
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.article-content li strong {
  color: var(--color-text);
}

/* Table of Contents Sidebar — Premium */
.toc {
  position: sticky;
  top: calc(var(--header-height) + var(--spacing-xl));
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  border: 1px solid var(--color-border-light);
}

.toc h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.toc ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.toc a {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  display: block;
  padding: 6px 0 6px var(--spacing-md);
  border-left: 2px solid var(--color-border-light);
  transition: all var(--transition);
  border-radius: 0;
}

.toc a:hover,
.toc a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: var(--color-primary-light);
  padding-left: var(--spacing-lg);
}

/* FAQ — Premium */
.faq {
  margin-top: var(--spacing-3xl);
}

.faq h2 {
  margin-bottom: var(--spacing-xl);
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-item summary {
  padding: var(--spacing-lg) 0;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  transition: color var(--transition);
}

.faq-item summary:hover {
  color: var(--color-primary);
}

.faq-item summary::after {
  content: '+';
  font-size: var(--fs-xl);
  color: var(--color-primary);
  transition: transform var(--transition);
  font-weight: var(--fw-regular);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding-bottom: var(--spacing-lg);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ========================================
   CATEGORY / LISTING PAGES — Premium
   ======================================== */
.category-hero {
  background: var(--gradient-hero);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.category-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 168, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-orb 12s ease-in-out infinite;
}

.category-hero h1 {
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.category-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--fs-md);
  position: relative;
  z-index: 1;
}

/* ========================================
   CONTACT — Premium
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.contact-info h3 {
  margin-bottom: var(--spacing-md);
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xl);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--fs-lg);
  box-shadow: var(--shadow-primary);
}

.contact-detail p {
  margin-bottom: 0;
  color: var(--color-text);
}

.contact-detail small {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--fs-base);
  transition: all var(--transition);
  background: var(--color-bg-subtle);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
  background: var(--color-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-content {
  max-width: 780px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-md);
}

.about-content p {
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.about-value {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.about-value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.about-value-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--fs-2xl);
  margin: 0 auto var(--spacing-md);
  box-shadow: var(--shadow-primary);
}

.about-value h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--spacing-xs);
}

.about-value p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ========================================
   FOOTER — Premium Dark
   ======================================== */
.footer {
  background: var(--gradient-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-4xl) 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
}

.footer h4 {
  color: var(--color-white);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.footer p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

.footer-about .logo {
  margin-bottom: var(--spacing-md);
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer ul a {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--fs-sm);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer ul a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.footer ul a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer ul a:hover::before {
  width: 12px;
}

.footer-bottom {
  margin-top: var(--spacing-3xl);
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-3xl: 2rem;
    --fs-4xl: 2.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 25, 35, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--spacing-lg);
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-xl);
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list a {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--fs-base);
    border-radius: var(--radius-sm);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .edu-section {
    grid-template-columns: 1fr;
  }

  .edu-visual {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: var(--spacing-3xl) 0;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .guide-item {
    padding: var(--spacing-md);
    gap: var(--spacing-md);
  }

  .guide-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: var(--fs-sm);
  }

  .guide-item h4 {
    font-size: var(--fs-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --fs-3xl: 1.75rem;
    --fs-4xl: 2rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .page-hero h1 {
    font-size: var(--fs-2xl);
  }

  .guide-item {
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

/* ========================================
   GUIDE CARD GRID — Modern Article Cards
   ======================================== */
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-xl);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.guide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(13, 124, 95, 0.2) 0%, rgba(232, 168, 0, 0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.guide-card:hover::before {
  opacity: 1;
}

.guide-card-badge {
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-lg);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition);
  z-index: 1;
}

.guide-card:hover .guide-card-badge {
  background: var(--gradient-accent);
  box-shadow: var(--shadow-accent);
  transform: scale(1.1);
}

.guide-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-card-body h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: 1.45;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
  transition: color var(--transition);
}

.guide-card:hover .guide-card-body h3 {
  color: var(--color-primary);
}

.guide-card-body p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex: 1;
}

.guide-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.guide-card:hover .guide-card-link {
  gap: 10px;
  color: var(--color-primary-dark);
}

/* Hidden cards for Load More */
.guide-card.gc-hidden {
  display: none;
}

/* Load More Button */
.guide-load-more-wrap {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

.guide-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.85rem 2.5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.guide-load-more:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

.guide-load-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
}

.guide-load-more:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

/* Card counter text */
.guide-card-counter {
  text-align: center;
  margin-top: var(--spacing-md);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ---- Responsive Card Grid ---- */
@media (max-width: 992px) {
  .guide-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  .guide-card-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .guide-card {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
  }

  .guide-card-badge {
    width: 36px;
    height: 36px;
    font-size: var(--fs-xs);
    top: var(--spacing-md);
    left: var(--spacing-md);
  }
}

/* ========================================
   PERBAIKAN TAMPILAN CARD KESEHATAN
   ======================================== */
#grid-kesehatan .guide-card {
  height: auto;
  min-height: 120px;
  overflow: visible;
}

#grid-kesehatan .guide-card-body h3 {
  white-space: normal;
  overflow: visible;
  display: block;
  line-height: 1.4;
  -webkit-line-clamp: unset;
}

/* ========================================
   COOKIE CONSENT BANNER — SEO Friendly
   ======================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-content p {
  margin: 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
}

.cookie-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-actions {
  flex-shrink: 0;
}

.cookie-actions .btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
  }
}