/* ==========================================================================
   LANDING V2 — tampilan halaman depan
   --------------------------------------------------------------------------
   Dimuat PALING AKHIR (setelah output.css, style.css, blok <style> di
   partials/header.php, dan ios.css), lalu seluruh aturan di sini diawali
   `body.landing-v2`. Dua hal itu yang membuat lapisan ini menang tanpa
   perlu perang !important: spesifisitasnya minimal setara dan urutan
   muatnya belakangan.

   Halaman lain tetap memakai ios.css; berkas ini hanya hidup di landing.
   ========================================================================== */

/* --- 1. Token ----------------------------------------------------------- */
body.landing-v2 {
  /* Token yang konsisten dengan ui.md */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0284c7;

  --bg: #f5f8fe;
  --bg-soft: #eef3fc;
  --card: #ffffff;
  --ink: var(--gray-900);
  --ink-2: #41536e;
  --ink-3: #5a6a80;
  --line: var(--gray-200);
  --line-strong: #d3e0f3;
  --blue: var(--primary-600);
  --blue-ink: var(--primary-700);
  --blue-soft: var(--primary-50);
  --btn-bg: var(--primary-600);
  --btn-bg-hover: var(--primary-700);
  --star: #b45309;
  --shadow-sm: 0 1px 2px rgba(16, 42, 86, .05), 0 6px 16px rgba(16, 42, 86, .05);
  --shadow-md: 0 2px 6px rgba(16, 42, 86, .06), 0 20px 44px rgba(16, 42, 86, .10);
  --nav-bg: rgba(245, 248, 254, .82);

  /* Warna ilustrasi hero */
  --art-glow: #3b82f6;
  --art-metal-1: #e9f0fb;
  --art-metal-2: #c6d7ee;
  --art-metal-edge: #a9bfdd;
  --art-body-1: #22334f;
  --art-body-2: #16233a;
  --art-chassis-1: #5b97f8;
  --art-chassis-2: #2563eb;
  --art-pcb-1: #1d5f4a;
  --art-pcb-2: #0f4030;
  --art-shield: #d3dded;
  --art-shield-inner: #bccbe0;
  --art-pin: #dcb45c;
  --art-usb: #a3b4cc;
  --art-wheel: #1b2436;
  --art-wheel-rim: #3c4b64;
  --art-wheel-hub: #5a6b88;
  --art-sensor: #17263c;
  --art-chip: #ffffff;
  --art-chip-line: #e3ebf7;
  --art-dot: #b9cbe6;
  --art-shadow: #8fa6c8;
  --art-key: #dde7f5;
  --art-key-line: #b9c9e2;
}

html[data-theme="dark"] body.landing-v2 {
  --bg: #070d18;
  --bg-soft: #0c1524;
  --card: #0f1a2b;
  --ink: #eef4ff;
  --ink-2: #a9b9d0;
  --ink-3: #8497b3;
  --line: rgba(148, 163, 184, .16);
  --line-strong: rgba(148, 163, 184, .28);
  --blue: #3b82f6;
  --blue-ink: #6ba7ff;
  --blue-soft: rgba(59, 130, 246, .14);
  --btn-bg: #2563eb;
  --btn-bg-hover: #1d4ed8;
  --star: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .40), 0 8px 20px rgba(0, 0, 0, .34);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .46), 0 26px 54px rgba(0, 0, 0, .46);
  --nav-bg: rgba(7, 13, 24, .82);

  --art-glow: #3b82f6;
  --art-metal-1: #1b2b45;
  --art-metal-2: #101c2e;
  --art-metal-edge: #2b3f5e;
  --art-body-1: #263752;
  --art-body-2: #16233a;
  --art-chassis-1: #4b86e8;
  --art-chassis-2: #1d4ed8;
  --art-pcb-1: #17604a;
  --art-pcb-2: #0b3a2b;
  --art-shield: #a9b8cd;
  --art-shield-inner: #8fa1ba;
  --art-pin: #c9a24f;
  --art-usb: #7d8ea6;
  --art-wheel: #26354f;
  --art-wheel-rim: #4a5f80;
  --art-wheel-hub: #6c81a3;
  --art-sensor: #101d31;
  --art-chip: #132135;
  --art-chip-line: rgba(148, 163, 184, .24);
  --art-dot: #27374f;
  --art-shadow: #000000;
  --art-key: #22314b;
  --art-key-line: #384e70;
}

/* --- 2. Dasar halaman --------------------------------------------------- */
body.landing-v2 {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(880px 520px at 80% -10%, rgba(59, 130, 246, .13), transparent 62%),
    radial-gradient(700px 460px at 2% 2%, rgba(99, 102, 241, .08), transparent 58%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -.005em;
}

html[data-theme="dark"] body.landing-v2 {
  background-image:
    radial-gradient(900px 540px at 82% -8%, rgba(37, 99, 235, .26), transparent 62%),
    radial-gradient(700px 460px at 0% 6%, rgba(56, 189, 248, .10), transparent 58%);
}

/* Latar halaman: blok <style> lama memakai `html[data-theme="light"] body`
   (0,1,2) sehingga `body.landing-v2` (0,1,1) kalah. Dua aturan di bawah
   menyamakan spesifisitasnya; urutan muat yang menentukan. */
html[data-theme="light"] body.landing-v2 {
  background-color: #f5f8fe;
  background-image:
    radial-gradient(880px 520px at 80% -10%, rgba(59, 130, 246, .13), transparent 62%),
    radial-gradient(700px 460px at 2% 2%, rgba(99, 102, 241, .08), transparent 58%);
}
html[data-theme="dark"] body.landing-v2 {
  background-color: #070d18;
}

body.landing-v2 main { display: block; }
body.landing-v2 .divider { display: none !important; }
body.landing-v2 footer { margin-top: auto; }

/* Hiasan pseudo-element dari tampilan lama */
body.landing-v2 .av-hero-area:before,
body.landing-v2 .av-hero-area:after,
body.landing-v2 .av-section:before,
body.landing-v2 .av-section:after,
body.landing-v2 .bg-premium-section:before,
body.landing-v2 .bg-premium-section:after,
body.landing-v2 .section-title:before,
body.landing-v2 .section-title:after,
body.landing-v2 .av-partner-title:before,
body.landing-v2 .av-partner-title:after { display: none !important; content: none !important; }

/* Sisa kelas utilitas gelap yang dipakai partial lama */
body.landing-v2 .text-white,
body.landing-v2 .text-slate-100,
body.landing-v2 .text-slate-200 { color: var(--ink) !important; }
body.landing-v2 .text-slate-300,
body.landing-v2 .text-slate-400 { color: var(--ink-2) !important; }
body.landing-v2 .text-slate-500,
body.landing-v2 .text-slate-600 { color: var(--ink-3) !important; }
body.landing-v2 .text-accent { color: var(--blue-ink) !important; }
body.landing-v2 .bg-white\/10 { background: var(--blue-soft) !important; color: var(--blue-ink) !important; }

/* --- 3. Navigasi -------------------------------------------------------- */
body.landing-v2 nav.ui-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: var(--nav-bg) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
}
body.landing-v2 nav.ui-navbar > div {
  max-width: 1240px !important;
  height: 72px;
  padding: 0 24px !important;
  background: transparent;
}
body.landing-v2 .nav-logo-img { width: 34px; height: 34px; flex: 0 0 34px; }
body.landing-v2 .brand-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}
body.landing-v2 .brand-subtitle {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
}
body.landing-v2 .nav-link {
  color: var(--ink-2) !important;
  font-size: 14px !important;
  font-weight: 500;
  transition: color .18s ease;
}
body.landing-v2 .nav-link:hover { color: var(--blue-ink) !important; }
body.landing-v2 .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink-2);
  box-shadow: none;
  cursor: pointer;
}
body.landing-v2 .theme-toggle:hover { color: var(--blue-ink); border-color: var(--line-strong); }
body.landing-v2 .theme-toggle svg { width: 17px; height: 17px; }
body.landing-v2 #burgerBtn { color: var(--ink) !important; }

body.landing-v2 .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: var(--btn-bg) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .26) !important;
  transition: background .18s ease, transform .18s ease;
}
body.landing-v2 .btn-login:hover { background: var(--btn-bg-hover) !important; transform: translateY(-1px); }

body.landing-v2 .mobile-menu {
  background: var(--bg) !important;
  backdrop-filter: blur(24px);
}
body.landing-v2 .mobile-menu .nav-link { color: var(--ink) !important; }
body.landing-v2 .menu-close svg { stroke: var(--ink) !important; }
body.landing-v2 .theme-toggle-mobile {
  width: auto;
  height: auto;
  gap: 8px;
  padding: 9px 16px;
}
body.landing-v2 .theme-toggle-label { font-size: 13px; font-weight: 600; }

/* --- 4. Hero ------------------------------------------------------------ */
body.landing-v2 .av-hero-area { position: relative; }

body.landing-v2 .hero-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 40px;
  align-items: center;
}

body.landing-v2 .hero-copy { min-width: 0; }

body.landing-v2 .hero-title {
  margin: 0 !important;
  max-width: none !important;
  color: var(--ink) !important;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(32px, 3.9vw, 50px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -.032em !important;
  text-shadow: none !important;
  text-wrap: balance;
}

body.landing-v2 .hero-sub {
  max-width: 480px !important;
  margin: 18px 0 0 !important;
  color: var(--ink-2) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.68 !important;
}

body.landing-v2 .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body.landing-v2 .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--btn-bg) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .28) !important;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
body.landing-v2 .btn-primary:hover {
  background: var(--btn-bg-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, .34) !important;
}
body.landing-v2 .btn-primary svg { width: 17px; height: 17px; }

body.landing-v2 .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 12px !important;
  background: var(--card) !important;
  color: var(--ink) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: border-color .18s ease, transform .18s ease;
}
body.landing-v2 .btn-outline:hover {
  border-color: var(--blue) !important;
  color: var(--blue-ink) !important;
  transform: translateY(-1px);
}

body.landing-v2 .hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 44px;
}
body.landing-v2 .hero-stat {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
body.landing-v2 .hero-stat:first-child { padding-left: 0; border-left: 0; }
body.landing-v2 .hero-stat strong {
  display: block;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}
body.landing-v2 .hero-stat span {
  display: block;
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
}

/* Ilustrasi */
body.landing-v2 .hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  isolation: isolate;
}
/* Cahaya biru di belakang ilustrasi (dulu bagian dari SVG; dipindah ke sini
   supaya gambar bisa dipotong rapat tanpa memotong gradasinya). */
body.landing-v2 .hero-art:before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .20), rgba(59, 130, 246, 0) 74%);
  pointer-events: none;
}
html[data-theme="dark"] body.landing-v2 .hero-art:before {
  background: radial-gradient(closest-side, rgba(59, 130, 246, .34), rgba(37, 99, 235, 0) 74%);
}
body.landing-v2 .hero-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  overflow: visible;
}

/* --- 5. Mitra ----------------------------------------------------------- */
body.landing-v2 .hero-partners {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px 76px;
}
body.landing-v2 .partners-head { text-align: center; margin-bottom: 22px; }
body.landing-v2 .partners-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}
body.landing-v2 .partners-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}
body.landing-v2 .partners-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
}
body.landing-v2 .marquee-container {
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
body.landing-v2 .partner-logo-clickable,
body.landing-v2 .partner-logo-dark,
body.landing-v2 .partner-logo-black,
body.landing-v2 .partner-logo-navy,
body.landing-v2 .partner-logo-gray,
body.landing-v2 .partner-logo-grey {
  /* Bawaan: latar terang, apa pun temanya. */
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-sm) !important;
}

/* Latar logo ditentukan oleh data mitra (kolom bg_style), bukan oleh tema
   halaman: logo yang memang didesain untuk latar gelap (Farmku, ArduMeka)
   tetap gelap di mode terang, dan sebaliknya. */
body.landing-v2 .partner-logo-clickable[data-bg-color="dark"],
body.landing-v2 .partner-logo-clickable[data-bg-color="black"],
body.landing-v2 .partner-logo-clickable[data-bg-color="navy"],
body.landing-v2 .partner-logo-clickable[data-bg-color="dark-bg"],
body.landing-v2 .partner-logo-clickable[data-bg-color="bg-dark"] {
  background: #0a1220 !important;
  border-color: rgba(255, 255, 255, .10) !important;
}
html[data-theme="dark"] body.landing-v2 .partner-logo-clickable[data-bg-color="dark"],
html[data-theme="dark"] body.landing-v2 .partner-logo-clickable[data-bg-color="black"],
html[data-theme="dark"] body.landing-v2 .partner-logo-clickable[data-bg-color="navy"] {
  border-color: rgba(255, 255, 255, .14) !important;
}

body.landing-v2 .partner-logo-clickable img { filter: none !important; opacity: 1 !important; }

/* --- 6. Ritme bagian ---------------------------------------------------- */
body.landing-v2 .av-section {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 76px 24px !important;
}
body.landing-v2 .av-section.av-cta { width: 100%; }
body.landing-v2 .av-section:before { display: none !important; }

body.landing-v2 .section-label {
  /* inline-block supaya mengikuti perataan induknya: rata kiri di bagian
     daftar kelas, ikut center di bagian yang text-center. */
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue-ink) !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}
body.landing-v2 .section-title {
  display: block;
  margin: 0;
  color: var(--ink) !important;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(24px, 2.7vw, 33px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.16;
}

body.landing-v2 .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
body.landing-v2 .section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 600;
  transition: gap .18s ease;
}
body.landing-v2 .section-link:hover { gap: 10px; }
body.landing-v2 .section-link svg { width: 15px; height: 15px; }

/* --- 7. Kartu kelas ----------------------------------------------------- */
body.landing-v2 .course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
body.landing-v2 .course-grid.cols-1 { grid-template-columns: minmax(0, 1fr); }
body.landing-v2 .course-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.landing-v2 .course-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

body.landing-v2 .course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card) !important;
  background-image: none !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform .26s cubic-bezier(.2, .7, .3, 1), box-shadow .26s ease, border-color .26s ease;
}
body.landing-v2 .course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, .26) !important;
  box-shadow: var(--shadow-md) !important;
}

body.landing-v2 .card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  display: block;
  background: var(--bg-soft) !important;
  overflow: hidden;
}
body.landing-v2 .card-thumb:before,
body.landing-v2 .card-thumb:after { display: none !important; }

body.landing-v2 .poster-course-link {
  display: block;
  width: 100%;
  height: 100%;
}
/* Poster dipotong memenuhi lebar kartu; bagian atasnya yang tampil. */
body.landing-v2 .card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
  transition: transform .35s ease;
}
body.landing-v2 .course-card:hover .card-thumb img { transform: scale(1.04); }

body.landing-v2 .course-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 5px 11px;
  border: 0;
  border-radius: 999px;
  /* Pil menempel di atas poster, bukan di atas kartu. Poster punya bagian
     terang dan gelap, jadi warnanya dibuat solid + teks putih agar selalu
     terbaca tanpa bergantung pada tema halaman. */
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.3;
  box-shadow: 0 4px 14px rgba(16, 42, 86, .22);
}
body.landing-v2 .course-pill-blue { background: #1d4ed8 !important; }
body.landing-v2 .course-pill-violet { background: #6d28d9 !important; }
body.landing-v2 .course-pill-green { background: #047857 !important; }

body.landing-v2 .poster-view-btn {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(12, 22, 38, .62);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
body.landing-v2 .poster-view-btn svg { width: 15px; height: 15px; }
body.landing-v2 .poster-view-btn:hover {
  background: rgba(12, 22, 38, .82);
  transform: scale(1.06);
}

body.landing-v2 .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
body.landing-v2 .card-title {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.012em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.landing-v2 .card-title a { color: inherit; text-decoration: none; }
body.landing-v2 .card-title a:hover { color: var(--blue-ink); }

body.landing-v2 .card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
}
body.landing-v2 .meta-item { display: inline-flex; align-items: center; gap: 5px; }
body.landing-v2 .meta-item svg { width: 13px; height: 13px; opacity: .8; }
body.landing-v2 .meta-format {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 600;
}

body.landing-v2 .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
body.landing-v2 .card-price { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
body.landing-v2 .card-price .price {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}
body.landing-v2 .card-price .price-free { color: #047857; }
html[data-theme="dark"] body.landing-v2 .card-price .price-free { color: #34d399; }
body.landing-v2 .card-price .price-original {
  color: var(--ink-3) !important;
  font-size: 12.5px;
  text-decoration: line-through;
}
body.landing-v2 .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  color: var(--blue-ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: gap .18s ease;
}
body.landing-v2 .card-cta:hover { gap: 6px; }
body.landing-v2 .card-cta svg { width: 14px; height: 14px; }

/* --- 8. Kenapa kami ----------------------------------------------------- */
body.landing-v2 .av-features { }
body.landing-v2 .av-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
body.landing-v2 .av-features .feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(37, 99, 235, .14) !important;
  border-radius: 12px;
  background: var(--blue-soft) !important;
  color: var(--blue-ink) !important;
  box-shadow: none !important;
}
body.landing-v2 .av-features .feature-icon svg { width: 19px; height: 19px; }

body.landing-v2 .av-process-card {
  background: var(--card) !important;
  background-image: none !important;
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
  box-shadow: var(--shadow-sm) !important;
}
body.landing-v2 .av-process-card .bg-white\/10 {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft) !important;
  color: var(--blue-ink) !important;
  font-size: 12px;
  font-weight: 700;
}

/* --- 9. Testimoni ------------------------------------------------------- */
body.landing-v2 .testi-card {
  display: flex;
  flex-direction: column;
  padding: 24px !important;
  background: var(--card) !important;
  background-image: none !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform .24s ease, box-shadow .24s ease;
}
body.landing-v2 .testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) !important; }
body.landing-v2 .testi-card .stars {
  margin-bottom: 14px;
  color: var(--star) !important;
  font-size: 14px;
  letter-spacing: 1px;
}
body.landing-v2 .testi-card > p {
  flex: 1;
  color: var(--ink-2) !important;
  font-size: 14px !important;
  line-height: 1.7;
}
body.landing-v2 .testi-card .text-white { color: var(--ink) !important; }

/* --- 10. Mentor --------------------------------------------------------- */
body.landing-v2 .mentor-card {
  padding: 26px 22px !important;
  text-align: center;
  background: var(--card) !important;
  background-image: none !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform .24s ease, box-shadow .24s ease;
}
body.landing-v2 .mentor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) !important; }
body.landing-v2 .mentor-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border: 3px solid var(--card) !important;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px rgba(16, 42, 86, .12) !important;
}
body.landing-v2 .mentor-name {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}
body.landing-v2 .mentor-title {
  margin-top: 4px;
  color: var(--blue-ink) !important;
  font-size: 12.5px;
  font-weight: 600;
}
body.landing-v2 .mentor-desc {
  margin-top: 8px;
  color: var(--ink-3) !important;
  font-size: 13px;
  line-height: 1.6;
}

/* --- 11. FAQ ------------------------------------------------------------ */
body.landing-v2 .faq-item {
  overflow: hidden;
  background: var(--card) !important;
  background-image: none !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body.landing-v2 .faq-item.open {
  border-color: rgba(37, 99, 235, .28) !important;
  box-shadow: var(--shadow-sm) !important;
}
body.landing-v2 .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
body.landing-v2 .faq-question svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--ink-3);
  transition: transform .24s ease, color .24s ease;
}
body.landing-v2 .faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--blue-ink); }
body.landing-v2 .faq-answer {
  padding: 0 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.72;
}
/* Saat terbuka: beri jarak atas agar teks jawaban tidak menempel ke garis. */
body.landing-v2 .faq-item.open .faq-answer,
body.landing-v2 .faq-item.is-open .faq-answer {
  padding: 16px 20px 20px !important;
}

/* --- 12. CTA ------------------------------------------------------------ */
body.landing-v2 .cta-section {
  max-width: 860px;
  margin-inline: auto;
  padding: 56px 28px !important;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, .16) !important;
  border-radius: 26px !important;
  background:
    radial-gradient(680px 320px at 50% -30%, rgba(37, 99, 235, .16), transparent 70%),
    var(--card) !important;
  box-shadow: var(--shadow-md) !important;
}
body.landing-v2 .cta-section .section-label {
  margin-bottom: 10px;
}
body.landing-v2 .cta-section .section-title {
  max-width: 640px;
  margin: 0 auto 14px;
  text-wrap: balance;
}
body.landing-v2 .cta-section .cta-desc {
  max-width: 440px;
  margin: 0 auto 28px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
body.landing-v2 .cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
body.landing-v2 .cta-actions .btn-outline {
  border-color: var(--line-strong) !important;
  gap: 8px;
  white-space: nowrap;
}
body.landing-v2 .cta-actions .btn-outline svg { flex: 0 0 17px; }

body.landing-v2 .cta-contact {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
body.landing-v2 .cta-contact-q {
  margin: 0;
  color: var(--ink-3);
  font-size: 13px;
}
body.landing-v2 .cta-contact-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
body.landing-v2 .cta-contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.landing-v2 .cta-contact-link svg { flex: 0 0 16px; }
body.landing-v2 .cta-contact-num {
  color: var(--ink-3);
  font-weight: 500;
}

/* --- 13. Footer --------------------------------------------------------- */
body.landing-v2 footer {
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink-3);
}
body.landing-v2 footer a { color: var(--ink-2); transition: color .18s ease; }
body.landing-v2 footer a:hover { color: var(--blue-ink) !important; }
body.landing-v2 footer > div { background: none !important; border: 0 !important; box-shadow: none !important; }

/* --- 14. Modal poster --------------------------------------------------- */
/* Aturan dasar modal dulu berada di blok <style> partials/courses.php.
   Blok itu dilepas saat markup ditulis ulang, jadi dasarnya dipindah ke sini. */
body.landing-v2 .home-course-poster-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 12, 24, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.landing-v2 .home-course-poster-modal.is-open { display: flex; }
body.landing-v2 .home-course-poster-modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 94vw;
  max-height: 92vh;
}
body.landing-v2 .home-course-poster-modal-img {
  display: block;
  max-width: 94vw;
  max-height: 92vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
body.landing-v2 .home-course-poster-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(15, 26, 43, .92);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* --- 15. Responsif ------------------------------------------------------ */
@media (max-width: 1080px) {
  body.landing-v2 .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 28px;
    padding-top: 44px;
  }
  body.landing-v2 .hero-title { font-size: clamp(32px, 4.6vw, 46px); }
  body.landing-v2 .course-grid,
  body.landing-v2 .course-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.landing-v2 .course-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  /* Di antara 768–940px menu desktop belum cukup lebar (tautan sampai
     terpotong dua baris). Tautan disembunyikan, tombol tema & Masuk tetap,
     dan tombol burger dimunculkan. */
  body.landing-v2 nav .hidden.md\:flex .nav-link { display: none !important; }
  body.landing-v2 #burgerBtn { display: block !important; }
}

@media (max-width: 900px) {
  body.landing-v2 .hero-shell {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 36px;
    gap: 8px;
  }
  body.landing-v2 .hero-art { order: -1; }
  body.landing-v2 .hero-svg { max-width: 460px; }
  body.landing-v2 .hero-sub { max-width: none; }
  body.landing-v2 .av-section { padding: 60px 20px !important; }
  body.landing-v2 .hero-partners { padding: 8px 20px 60px; }
}

@media (max-width: 680px) {
  body.landing-v2 nav,
  body.landing-v2 nav > div { height: 64px; }
  body.landing-v2 .hero-shell { padding: 28px 18px 4px; }
  body.landing-v2 .hero-art { display: none; }
  body.landing-v2 .hero-title { font-size: clamp(30px, 8.6vw, 38px); }
  body.landing-v2 .hero-sub { font-size: 15px; }
  body.landing-v2 .hero-actions { margin-top: 22px; }
  body.landing-v2 .hero-actions .btn-primary,
  body.landing-v2 .hero-actions .btn-outline { flex: 1 1 auto; min-height: 46px; }
  body.landing-v2 .hero-stats {
    margin-top: 30px;
    gap: 14px 0;
  }
  body.landing-v2 .hero-stat { padding: 0 16px; }
  body.landing-v2 .hero-stat strong { font-size: 19px; }
  body.landing-v2 .hero-stat span { font-size: 11.5px; }

  body.landing-v2 .section-head { align-items: center; margin-bottom: 20px; }
  body.landing-v2 .section-title { font-size: 23px; }
  body.landing-v2 .course-grid,
  body.landing-v2 .course-grid.cols-2,
  body.landing-v2 .course-grid.cols-3,
  body.landing-v2 .course-grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
  body.landing-v2 .card-thumb { aspect-ratio: 16 / 10; }
  body.landing-v2 .cta-section { padding: 40px 20px !important; border-radius: 22px !important; }
  body.landing-v2 .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; max-width: 340px; margin: 0 auto; }
  body.landing-v2 .cta-actions .btn-primary,
  body.landing-v2 .cta-actions .btn-outline { width: 100%; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-v2 *,
  body.landing-v2 *:before,
  body.landing-v2 *:after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  body.landing-v2 .marquee {
    animation: none !important;
    transform: none !important;
  }
  body.landing-v2 .course-card:hover,
  body.landing-v2 .testi-card:hover,
  body.landing-v2 .mentor-card:hover { transform: none; }
}
