/* ============================================================
   Kerjaya Hartanah — Gaya utama
   Palet: hitam & emas (padan dengan logo)
   ============================================================ */

:root {
  --ink: #101014;
  --ink-2: #1a1a20;
  --paper: #ffffff;
  --paper-alt: #faf6ee;
  --gold: #d9a445;
  --gold-2: #f6ae29;
  --muted: #5f5f66;
  --muted-light: #b9b9c2;
  --line: #ece4d3;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(16, 16, 20, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; margin-top: 40px; }
.gold { color: var(--gold); }

/* ---------- Butang ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #131313;
  box-shadow: 0 8px 24px rgba(214, 158, 46, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(214, 158, 46, 0.5); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; border: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 16, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand-logo { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: #e8e8ee;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--gold); }
.nav .btn-nav { color: #131313; padding: 9px 20px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(217, 164, 69, 0.22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(217, 164, 69, 0.12), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
}
.lead { font-size: 1.06rem; color: #cfcfd8; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { list-style: none; }
.hero-points li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: #d8d8e0;
  font-size: 0.97rem;
}
.hero-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(217, 164, 69, 0.18);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero-logo { max-height: 150px; width: auto; margin: 0 auto 24px; }
.hero-stats { display: grid; gap: 16px; }
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}
.stat strong { color: var(--gold); font-size: 1.15rem; min-width: 92px; }
.stat span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

/* ---------- Seksyen ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
}
.section-dark p { color: #c9c9d2; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: #c9c9d2; }

/* ---------- Grid & kad ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(246, 174, 41, 0.18), rgba(217, 164, 69, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }

.benefit {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.benefit-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.benefit h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 0.93rem; }

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mini-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--ink); }
.mini-card p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Langkah ---------- */
.step { text-align: center; padding: 20px; }
.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #131313;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(214, 158, 46, 0.4);
}
.step h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step p { font-size: 0.94rem; }

/* ---------- Daftar / WebinarJam ---------- */
.section-register {
  background:
    radial-gradient(800px 500px at 10% 0%, rgba(217, 164, 69, 0.15), transparent 60%),
    linear-gradient(160deg, #17171c 0%, #101014 100%);
  color: #fff;
}
.register-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.register-copy h1,
.register-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.register-form {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.wj-embed-wrapper { min-height: 320px; }

/* ---------- FAQ ---------- */
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 24px 20px; color: var(--muted); font-size: 0.94rem; }

/* ---------- Halaman Latihan ---------- */
.nav a.active { color: var(--gold); }
.page-hero {
  background:
    radial-gradient(700px 400px at 80% -20%, rgba(217, 164, 69, 0.2), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 70px 0 64px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.page-hero .lead { max-width: 660px; margin: 0 auto; }
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.training-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.training-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.t-poster {
  display: block;
  margin: -30px -26px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.t-poster img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.training-card:hover .t-poster img { transform: scale(1.03); }
.detail-poster { margin: 6px 0 22px; }
.detail-poster img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.t-date {
  display: inline-block;
  align-self: flex-start;
  background: rgba(246, 174, 41, 0.16);
  color: #9a6b00;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.training-card h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: 10px; }
.t-desc { color: var(--muted); font-size: 0.93rem; margin-bottom: 16px; }
.t-meta {
  list-style: none;
  margin-bottom: 22px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}
.training-card .btn { margin-top: auto; text-align: center; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }
.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.back-link:hover { text-decoration: underline; }
.detail-meta {
  list-style: none;
  margin: 16px 0 22px;
  display: grid;
  gap: 8px;
  color: #d8d8e0;
  font-size: 0.96rem;
}
.training-register { min-height: 60vh; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 44px 0 52px;
}
.disclaimer p {
  color: var(--ink);
  font-size: 0.76rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.disclaimer p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 70px 0 40px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-logo { max-height: 110px; width: auto; }
.site-footer p { font-size: 0.92rem; }
.copyright { font-size: 0.8rem !important; color: #a4a4ad; margin-top: 10px; }

/* ---------- Animasi reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsif ---------- */
@media (max-width: 960px) {
  .hero-inner, .register-inner { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4, .training-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 60px 0 70px; }
}
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    padding: 6px 22px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.55);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav a {
    padding: 15px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav .btn-nav {
    margin-top: 18px;
    padding: 13px 20px;
    text-align: center;
    border-bottom: 0;
    color: #131313;
  }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .training-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .brand-logo { height: 44px; }
  .benefit { flex-direction: column; gap: 10px; }
  .hero-card { padding: 26px 20px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; text-align: center; }
  .register-form { padding: 18px 14px; }
  .page-hero { padding: 54px 0 48px; }
  .footer-logo { max-height: 90px; }
}
