/* ═══════════════════════════════════════
   PANDUAN PAGE — panduan.css
═══════════════════════════════════════ */

/* ─── NAVBAR OVERRIDES ─── */
#navbar:not(.scrolled) .nav-link,
#navbar:not(.scrolled) .nav-mobile-link {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#navbar:not(.scrolled) .nav-hamburger {
  color: rgba(255, 255, 255, 0.95);
}

#navbar:not(.scrolled) .nav-p3m-text p {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ─── HERO ─── */
.panduan-hero {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  /* Dark sunset base */
  padding-top: 7rem;
  padding-bottom: 6rem;
}

/* Abstract glowing orbs for sunset effect */
.panduan-hero::before,
.panduan-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.panduan-hero::before {
  width: 60vw;
  height: 60vw;
  background: rgba(234, 88, 12, 0.15);
  /* Sunset orange */
  top: -20vw;
  left: -10vw;
}

.panduan-hero::after {
  width: 50vw;
  height: 50vw;
  background: rgba(88, 28, 135, 0.25);
  /* Deep purple */
  bottom: -10vw;
  right: -10vw;
}

.panduan-hero-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
}

.panduan-hero-inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.panduan-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}

.panduan-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.08s forwards;
}

.panduan-hero-title-orange {
  background: linear-gradient(135deg, #fed7aa, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panduan-hero-title-white {
  color: rgba(255, 255, 255, 0.88);
}

.panduan-hero-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 1.25rem;
}

.panduan-hero-desc {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  font-size: 1rem;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.18s forwards;
}

/* ─── LANGKAH SECTION ─── */
.langkah-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
}

.langkah-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .langkah-inner {
    padding: 0 1.5rem;
  }
}

.langkah-header {
  margin-bottom: 2rem;
}

.langkah-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  background: linear-gradient(90deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 1.5px solid #bfdbfe;
  margin-bottom: 8px;
}

.langkah-bars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.langkah-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .langkah-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.langkah-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.langkah-connector {
  display: none;
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  align-items: center;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .langkah-connector {
    display: flex;
  }
}

.langkah-connector-line {
  flex: 1;
  height: 2px;
  border-radius: 999px;
}

.langkah-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 10;
}

.langkah-num-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 900;
  color: #fff;
  border: 2px solid #fff;
}

.langkah-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.langkah-desc {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.7;
}

/* ─── TEMPLATE SECTION ─── */
.template-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.template-inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .template-inner {
    padding: 0 1.5rem;
  }
}

.template-header {
  margin-bottom: 1.5rem;
}

.template-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  background: linear-gradient(90deg, #fff7ed, #ffedd5);
  color: #c2410c;
  border: 1.5px solid #fdba74;
  margin-bottom: 12px;
}

.template-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.template-bars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.template-kat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.template-kat-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.template-table-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 6px 36px rgba(15, 23, 42, 0.09);
}

.template-table-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
}

.template-table-head-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.template-table-head-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}

.template-table-head-sub {
  font-size: 0.75rem;
  color: #bfdbfe;
}

.template-table-head-count {
  margin-left: auto;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
}

.template-rows {}

.template-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}

.template-row:last-child {
  border-bottom: none;
}

.template-row:hover {
  background: #f8fafc;
}

@media (min-width: 640px) {
  .template-row {
    padding: 1rem 1.5rem;
  }
}

.template-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

@media (min-width: 640px) {
  .template-row-left {
    gap: 1rem;
  }
}

.template-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .template-row-icon {
    width: 40px;
    height: 40px;
  }
}

.template-row-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
}

.template-row-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.template-row-kat-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 700;
}

.template-row-format-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 700;
}

.template-row-size {
  font-size: 0.75rem;
  color: #94a3b8;
  display: none;
}

@media (min-width: 640px) {
  .template-row-size {
    display: inline;
  }
}

.template-download-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 3px 14px rgba(249, 115, 22, 0.30);
  flex-shrink: 0;
  margin-left: 12px;
  transition: all 0.2s;
}

.template-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

@media (min-width: 640px) {
  .template-download-btn {
    padding: 8px 16px;
    gap: 6px;
  }
}

.template-download-label {
  display: none;
}

@media (min-width: 640px) {
  .template-download-label {
    display: inline;
  }
}