/* ==============================
   ARTIKEL HERO
============================== */
.artikel-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1d4ed8 100%);
  padding: 80px 32px 60px;
  overflow: hidden;
  text-align: center;
}

.artikel-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Pesawat dekorasi */
.deco-planes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deco-plane {
  position: absolute;
  opacity: 0.5;
  animation: floatPlane 6s ease-in-out infinite;
}

.deco-plane svg {
  width: 100%;
  height: 100%;
}

.p1 {
  width: 42px;
  height: 42px;
  top: 18%;
  left: 6%;
  transform: rotate(-20deg);
  animation-delay: 0s;
}

.p2 {
  width: 28px;
  height: 28px;
  top: 55%;
  left: 10%;
  transform: rotate(-35deg);
  animation-delay: 1s;
}

.p3 {
  width: 20px;
  height: 20px;
  top: 75%;
  left: 4%;
  transform: rotate(-10deg);
  animation-delay: 2s;
}

.p4 {
  width: 38px;
  height: 38px;
  top: 20%;
  right: 7%;
  transform: rotate(30deg);
  animation-delay: 0.5s;
}

.p5 {
  width: 24px;
  height: 24px;
  top: 60%;
  right: 5%;
  transform: rotate(50deg);
  animation-delay: 1.5s;
}

@keyframes floatPlane {

  0%,
  100% {
    transform: translateY(0) rotate(var(--r, -20deg));
  }

  50% {
    transform: translateY(-10px) rotate(var(--r, -20deg));
  }
}

.artikel-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.artikel-tag {
  display: inline-block;
  background: rgba(34, 211, 238, 0.2);
  color: #22d3ee;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.artikel-judul {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.artikel-sub {
  font-size: 1rem;
  color: #bfdbfe;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.artikel-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.artikel-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ==============================
   FRAME UTAMA
============================== */
.artikel-frame-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ==============================
   THUMBNAIL
============================== */
.artikel-thumbnail {
  background: var(--navy-dark);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 12px 48px rgba(15, 36, 96, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thumb-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==============================
   BODY ARTIKEL (frame besar)
============================== */
.artikel-body {
  background: var(--navy-dark);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 12px 48px rgba(15, 36, 96, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

/* Dekorasi pesawat kecil di dalam frame */
.artikel-body::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.artikel-intro {
  font-size: 1rem;
  color: #bfdbfe;
  line-height: 1.85;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.artikel-intro strong {
  color: #22d3ee;
}

/* ==============================
   TEKNIK CARDS
============================== */
.teknik-card {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.teknik-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #22d3ee, #3b82f6);
  border-radius: 3px 0 0 3px;
}

.teknik-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 36, 96, 0.4);
  border-color: rgba(34, 211, 238, 0.2);
}

.teknik-nomor {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(34, 211, 238, 0.15);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  align-self: flex-start;
  margin-top: 4px;
  letter-spacing: -2px;
}

.teknik-konten {
  flex: 1;
}

.teknik-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.teknik-icon {
  width: 44px;
  height: 44px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.teknik-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.teknik-konten p {
  font-size: 0.88rem;
  color: #bfdbfe;
  line-height: 1.8;
  margin-bottom: 14px;
}

.teknik-konten strong {
  color: #e0f2fe;
}

.teknik-konten code {
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: 'Courier New', monospace;
}

.teknik-tips {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #93c5fd;
}

.tips-label {
  font-weight: 700;
  color: #22d3ee;
  flex-shrink: 0;
}

/* ==============================
   PENUTUP
============================== */
.artikel-penutup {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 28px;
  margin-top: 12px;
  margin-bottom: 36px;
}

.penutup-icon {
  width: 56px;
  height: 56px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.artikel-penutup h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 10px;
}

.artikel-penutup p {
  font-size: 0.88rem;
  color: #bfdbfe;
  line-height: 1.8;
}

/* ==============================
   CTA
============================== */
.artikel-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1d4ed8 100%);
  border-radius: 16px;
  padding: 36px 28px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.artikel-cta p {
  color: #bfdbfe;
  font-size: 0.95rem;
  margin-bottom: 18px;
  max-width: 100%;
}

.btn-wa-artikel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-wa-artikel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ==============================
   BACK BUTTON
============================== */
.artikel-back {
  text-align: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #93c5fd;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 50px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.btn-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
  .artikel-hero {
    padding: 70px 20px 50px;
  }

  .artikel-frame-wrap {
    padding: 32px 16px 60px;
  }

  .artikel-body {
    padding: 28px 20px;
  }

  .artikel-meta-item {
    font-size: 0.75rem;
    margin-bottom: 50px;
  }

  .teknik-card {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .teknik-nomor {
    width: auto;
    font-size: 1.8rem;
  }

  .artikel-penutup {
    flex-direction: column;
    gap: 16px;
  }

  .deco-plane.p1 {
    width: 28px;
    height: 28px;
  }

  .deco-plane.p4 {
    width: 24px;
    height: 24px;
  }

  .deco-plane.p2,
  .deco-plane.p3,
  .deco-plane.p5 {
    display: none;
  }
}

@media (max-width: 480px) {
  .artikel-judul {
    font-size: 1.6rem;
  }

  .artikel-meta {
    gap: 12px;
  }

  .artikel-body {
    padding: 20px 16px;
  }

  .teknik-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}