/* =========================================================
   LANDING PAGE ONLY
   Scoped with .landing
========================================================= */

.landing {
  background: #fafafa;
  font-family: "DM Sans", system-ui, sans-serif;
}

/* =========================================================
   HERO
========================================================= */
.landing .hero {
  padding: 80px 0 120px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(181, 30, 30, 0.08), transparent 60%),
    #ffffff;
}

.hero-logo {
  height: 128px;
  margin-bottom: 12px;
}

.landing .hero h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.landing .hero h2 {
  font-size: 32px;
  font-weight: 500;
  color: #b51e1e;
  margin-bottom: 24px;
}

.landing .hero-desc {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #555;
}

.landing .hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero-logo {
    height: 72px;
  }

  .landing .hero h1 {
    font-size: 30px;
  }

  .landing .hero h2 {
    font-size: 22px;
  }
}

/* =========================================================
   BUTTONS
========================================================= */
.landing .btn-primary {
  background: #b51e1e;
  color: #fff;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 500;
}

.landing .btn-primary:hover {
  background: #991818;
}

.landing .btn-outline {
  border: 1.5px solid #b51e1e;
  color: #b51e1e;
  padding: 11px 30px;
  border-radius: 999px;
}

.landing .btn-outline:hover {
  background: #8b5e34;
  color: #fff;
}

/* =========================================================
   SECTION
========================================================= */
.landing section {
  padding: 90px 0;
}

.landing .section-soft {
  margin-top: -40px; /* OVERLAP HALUS */
  padding-top: 120px; /* KOMPENSASI */
}

.landing .section-title {
  text-align: center;
  margin-bottom: 56px;
}

.landing .section-title h2 {
  font-size: 34px;
  font-weight: 600;
  color: #222;
}

.landing .section-title p {
  font-size: 16px;
  color: #666;
}

/* =========================================================
   HERO → CATEGORY TRANSITION
========================================================= */

.landing .hero {
  position: relative;
}

.landing .hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fafafa);
}

/* =========================================================
   CATEGORY GRID
========================================================= */
.landing .category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.landing .category-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: block;
  text-decoration: none;
  color: inherit;
}

.landing .category-card:hover {
  transform: translateY(-6px);
}

.landing .category-card img {
  width: 190px; /* sebelumnya kebesaran */
  margin-bottom: 14px;
}

.landing .category-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #b51e1e;
}

.landing .category-card p {
  font-size: 14px;
  color: #666;
}

.landing section:not(.hero):not(.section-soft) {
  padding-top: 120px;
}

.landing.category-card:focus {
  outline: 2px solid rgba(181, 30, 30, 0.3);
  outline-offset: 4px;
}

/* =========================================================
   WHY SECTION (REFINED)
========================================================= */

.landing .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.landing .why-item {
  background: transparent; /* HILANGKAN CARD FEEL */
  padding: 0;
  box-shadow: none;
}

.landing .why-item img {
  width: 220px; /* DIPERKECIL */
  margin-bottom: 20px;
}

.landing .why-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #222;
  font-weight: 600;
}

.landing .why-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

/* =========================================================
   CTA
========================================================= */
.landing .cta {
  background: linear-gradient(180deg, #b51e1e, #991818);
  border-radius: 28px;
  padding: 88px 32px;
  text-align: center;
  color: #fff;
}

.landing .cta h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 12px;
}

.landing .cta p {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.landing .cta .btn-primary {
  background: #fff;
  color: #b51e1e;
  padding: 14px 36px;
}

.landing .section-soft .container {
  display: block;
}

.landing .latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.landing .latest-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: 0.25s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.landing .latest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.landing .latest-meta {
  font-size: 12px;
  color: #b51e1e;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.landing .latest-card h3 a {
  color: #222;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing .latest-card h3 a:hover {
  color: #b51e1e;
}

.landing .latest-card p {
  font-size: 14px;
  color: #555;
  margin: 10px 0 14px;
}

.landing .latest-read {
  font-size: 13px;
  font-weight: 600;
  color: #b51e1e;
  text-decoration: none;
}

.landing .latest-cta {
  text-align: center;
  margin-top: 32px;
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.landing .section-eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: #b51e1e;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .landing .category-grid,
  .landing .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .landing .hero h1 {
    font-size: 32px;
  }

  .landing section {
    padding: 70px 0;
  }

  .landing .category-grid,
  .landing .why-grid {
    grid-template-columns: 1fr;
  }
}
