@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&display=swap');

/* =================================================================
   NOTA PSIKOMETRIK SPA — Stylesheet
   Mengikut sistem reka bentuk yang sama dengan Nota Temuduga SPP.
   Susunan:
   1. Reset & token   2. Asas        3. Layout & tajuk seksyen
   4. Butang          5. Header      6. Hero
   7. Masalah         8. Insight     9. Transformasi
   10. Modul (gelap)  11. Corak      12. Jawapan Konsisten
   13. Demo Kenal Pasti Soalan       14. Realistik
   15. Untuk siapa    16. Jawatan (API)              17. Bonus simulasi
   18. Harga (gelap)  19. FAQ        20. CTA akhir & footer
   21. Responsif      22. Reduced motion
   ================================================================= */

/* =========================================================
   1. RESET & TOKEN
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Latar & permukaan */
  --bg: #fdf5e6;
  --surface: #ffffff;
  --surface-soft: #fdefd8;

  /* Teks */
  --ink: #0f2c3a;
  --text: #26404c;
  --muted: #566e79;
  --text-2: #3d5866;
  --text-3: #93a7b0;

  /* Jenama */
  --primary: #2c7d7a;
  --primary-light: #61a49f;
  --primary-dark: #1c5f5d;
  --primary-soft: #e2f0ee;
  --accent: #ef6b45;
  --accent-dark: #b8411c;
  --accent-soft: #fde9df;

  /* Aksen sokongan (lembut) */
  --blue-soft: #e4eef1;
  --blue-soft-2: #cbe0e6;
  --cream-soft: #fdefd8;
  --cream-soft-2: #fbe0b4;
  --peach-soft: #fde9d8;
  --peach-soft-2: #fbd3b8;
  --sage-soft: #eff0e5;

  /* Keadaan negatif — keluarga coral yang sama */
  --warn: #b8411c;
  --warn-dark: #9e3715;
  --warn-soft: #fde9df;
  --warn-line: #f8c4ae;
  --warn-tint: #fef7f3;

  /* Jalur gelap */
  --dark-1: #1a5150;
  --dark-2: #0e3634;
  --gold: #fbc76a;
  --gold-strong: #fcb12c;

  /* Garisan */
  --line: #ecdfc8;
  --line-strong: #ddcba9;

  /* Bayang */
  --shadow-sm: 0 4px 14px rgba(15, 44, 58, 0.07);
  --shadow-md: 0 14px 34px rgba(15, 44, 58, 0.1);
  --shadow-lg: 0 28px 64px rgba(15, 44, 58, 0.16);
  --shadow-primary: 0 18px 40px rgba(47, 132, 129, 0.32);

  /* Radius */
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Saiz teks */
  --fs-body: 1.0625rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.82rem;

  /* Pelembut gerakan */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Ikon SVG boleh guna semula */
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c5f5d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  --icon-check-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbc76a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  --icon-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8411c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* =========================================================
   2. ASAS
   ========================================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background:
    radial-gradient(900px circle at 10% -5%, rgba(47, 132, 129, 0.16), transparent 45%),
    radial-gradient(760px circle at 100% 6%, rgba(239, 107, 69, 0.12), transparent 44%),
    linear-gradient(180deg, #fffbf1 0%, var(--bg) 48%, #ffffff 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

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

/* Elemen dengan `display` tersuai akan mengabaikan atribut `hidden`.
   Baris ini memastikan `hidden` sentiasa menang. */
[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 132, 129, 0.55);
  outline-offset: 3px;
  border-radius: 12px;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", "Poppins", sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Pautan langkau untuk pengguna papan kekunci */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border-radius: 0 0 var(--r) 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* Animasi masuk — hanya aktif bila JavaScript berjalan */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.js .reveal.revealed {
  opacity: 1;
  transform: none;
}

.js .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .reveal:nth-child(4) { transition-delay: 0.18s; }
.js .reveal:nth-child(5) { transition-delay: 0.24s; }
.js .reveal:nth-child(6) { transition-delay: 0.3s; }

/* =========================================================
   3. LAYOUT & TAJUK SEKSYEN
   ========================================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow {
  max-width: 800px;
}

.section {
  position: relative;
  padding: 84px 0;
}

/* Label kecil di atas tajuk */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.1rem;
  padding: 7px 16px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--primary-dark);
  background: linear-gradient(180deg, #f2faf8, var(--primary-soft));
  border: 1px solid rgba(47, 132, 129, 0.22);
  border-radius: var(--r-pill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.04rem;
  color: var(--muted);
  text-wrap: pretty;
}

.section-copy {
  margin-top: 1rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* =========================================================
   4. BUTANG
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  isolation: isolate;
  padding: 1rem 2.4rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  color: #fff;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 55%);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(47, 132, 129, 0.42);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.55rem 1.3rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: 0 6px 16px rgba(47, 132, 129, 0.34);
}

.btn-small:hover {
  box-shadow: 0 10px 22px rgba(47, 132, 129, 0.42);
}

.btn-large {
  padding: 1.15rem 3rem;
  font-size: 1.18rem;
}

.text-link {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--primary-dark);
  border-bottom: 2px solid rgba(47, 132, 129, 0.34);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* =========================================================
   5. HEADER
   ========================================================= */
.site-header {
  position: relative;
  z-index: 2;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(150deg, var(--primary-dark), var(--primary));
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(47, 132, 129, 0.32);
}

.brand-text {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

/* =========================================================
   6. HERO
   ========================================================= */
.hero.section {
  padding: 3.4rem 0 4.6rem;
  overflow: hidden;
}

.hero.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(47, 132, 129, 0.18) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-copy h1 span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.66em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

.hero-lead {
  max-width: 46ch;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.6rem;
  margin-bottom: 1.8rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

.trust-row span::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: no-repeat center / contain var(--icon-check);
}

/* Kad hero */
.hero-card {
  position: relative;
  padding: 1.9rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.hero-card .mini-label {
  display: inline-flex;
  margin-bottom: 1.3rem;
  padding: 0.35rem 1rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--r-pill);
}

.question-card {
  position: relative;
  margin-bottom: 0.9rem;
  padding: 1.2rem 1.25rem 1.25rem;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  background: linear-gradient(160deg, #f1f9f7, #fff);
  border: 1px solid rgba(47, 132, 129, 0.24);
  border-radius: var(--r);
}

.question-card::before {
  content: "Ayat A";
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.question-card.muted {
  margin-bottom: 1.3rem;
  color: var(--text-2);
  background: linear-gradient(160deg, var(--peach-soft), #fff);
  border-color: var(--peach-soft-2);
}

.question-card.muted::before {
  content: "Ayat B";
  color: var(--accent-dark);
}

.hero-card-note {
  padding: 1.1rem 1.2rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-2);
  background: var(--accent-soft);
  border-radius: var(--r);
}

.hero-card-note strong {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.02rem;
  color: var(--accent-dark);
}

/* =========================================================
   7. MASALAH
   ========================================================= */
.problem-section .container {
  text-align: center;
}

.story {
  display: grid;
  gap: 0.85rem;
  margin: 1.8rem 0;
  text-align: left;
}

.story p {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-weight: 500;
  line-height: 1.55;
  color: #2f4a56;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.24s var(--ease);
}

.story p:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 132, 129, 0.34);
  box-shadow: var(--shadow-md);
}

.story p::before {
  content: "?";
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-dark);
  background: linear-gradient(160deg, var(--cream-soft), var(--cream-soft-2));
  border-radius: 15px;
}

.highlight-box {
  max-width: 640px;
  margin: 0 auto 1.6rem;
  padding: 1.4rem 1.6rem;
  font-size: 1.08rem;
  color: var(--ink);
  background: linear-gradient(180deg, #fef4ee, var(--accent-soft));
  border: 1px solid rgba(239, 107, 69, 0.28);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.highlight-box strong {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--accent-dark);
}

.highlight-box strong::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -2px;
  right: -2px;
  bottom: 0.08em;
  height: 0.34em;
  background: rgba(239, 107, 69, 0.32);
  border-radius: 6px;
}

.problem-section .section-copy {
  max-width: 640px;
  margin-inline: auto;
}

/* =========================================================
   8. INSIGHT — jalur sejuk, kad gaya "sticker"
   ========================================================= */
.insight-section {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(47, 132, 129, 0.18), transparent 40%),
    radial-gradient(circle at bottom right, rgba(239, 107, 69, 0.18), transparent 40%),
    linear-gradient(160deg, #e6f2ef 0%, #fdefdc 100%);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  text-align: left;
}

.insight-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 6px 6px 0 rgba(15, 44, 58, 0.16);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.insight-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 rgba(15, 44, 58, 0.18);
}

.insight-card:nth-child(1) { background: #e9f2f0; }
.insight-card:nth-child(2) { background: #fdefd8; }
.insight-card:nth-child(3) { background: #fde9d8; }
.insight-card:nth-child(4) { background: #e4eef1; }
.insight-card:nth-child(5) { background: #eff0e5; }
.insight-card:nth-child(6) { background: #fbeeda; }

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: var(--ink);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(15, 44, 58, 0.2);
}

.insight-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.26rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.insight-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3f5966;
}

/* =========================================================
   9. TRANSFORMASI
   ========================================================= */
.transformation-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.transformation-grid h2 {
  margin-bottom: 0;
}

.comparison {
  display: grid;
  gap: 1.1rem;
}

.comparison-item {
  padding: 1.7rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.comparison-item span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.9rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: var(--r-pill);
}

.comparison-item span::before {
  content: "";
  width: 16px;
  height: 16px;
  background: no-repeat center / contain;
}

.comparison-item p {
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--text-2);
}

.comparison-item.before {
  background: linear-gradient(180deg, var(--warn-tint), #fff);
  border-color: var(--warn-line);
}

.comparison-item.before span {
  color: var(--warn);
  background: var(--warn-soft);
}

.comparison-item.before span::before {
  background-image: var(--icon-x);
}

.comparison-item.after {
  background: linear-gradient(180deg, #eff7f6, #fff);
  border-color: #b9dcd8;
}

.comparison-item.after span {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.comparison-item.after span::before {
  background-image: var(--icon-check);
}

/* =========================================================
   10. MODUL — jalur gelap
   ========================================================= */
.features-section {
  position: relative;
  padding: 5rem 0 4.4rem;
  background:
    radial-gradient(700px circle at 88% -30%, rgba(239, 107, 69, 0.3), transparent 50%),
    linear-gradient(150deg, var(--dark-1), var(--dark-2));
  clip-path: ellipse(160% 100% at 50% 0%);
}

.features-section .section-heading h2 {
  color: #fff;
}

.features-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.features-section .eyebrow {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature-card {
  padding: 1.8rem 1.4rem;
  text-align: center;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px rgba(8, 32, 42, 0.3);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(8, 32, 42, 0.4);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.24s var(--ease);
}

.feature-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: var(--ikon) center / contain no-repeat;
  mask: var(--ikon) center / contain no-repeat;
}

/* Jika pelayar tidak menyokong mask, `background: currentColor` di atas
   akan jadi kotak pejal. Jadi di sini huruf asal dikembalikan. */
@supports not ((-webkit-mask-image: none) or (mask-image: none)) {
  .feature-icon {
    font-family: "Baloo 2", sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
  }

  .feature-icon::before {
    display: none;
  }
}

/* --- Ikon SVG untuk enam jubin modul ---------------------------------
   Huruf N/K/J/H/Q/F dalam HTML disembunyikan melalui font-size: 0.
   Ikon dilukis sebagai mask, jadi warnanya ikut `color` setiap kad. */

.feature-card:nth-child(1) .feature-icon {
  --ikon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M12%206c-2-1.5-5-2.2-9-1.6v13c4-.6%207%20.1%209%201.6%202-1.5%205-2.2%209-1.6v-13c-4-.6-7%20.1-9%201.6z%22/><path%20d=%22M12%206v13%22/></svg>"); /* Nota Berstruktur — buku terbuka */
}

.feature-card:nth-child(2) .feature-icon {
  --ikon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><circle%20cx=%2210.8%22%20cy=%2210.8%22%20r=%226.3%22/><path%20d=%22M20%2020l-4.7-4.7%22/></svg>"); /* Kenal Pasti Soalan — kaca pembesar */
}

.feature-card:nth-child(3) .feature-icon {
  --ikon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M4%209h13%22/><path%20d=%22M13.6%205.6%2017%209l-3.4%203.4%22/><path%20d=%22M20%2016H7%22/><path%20d=%22M10.4%2012.6%207%2016l3.4%203.4%22/></svg>"); /* Jawapan Konsisten — dua arah bertentangan */
}

.feature-card:nth-child(4) .feature-icon {
  --ikon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><circle%20cx=%226.8%22%20cy=%226.8%22%20r=%223.3%22/><circle%20cx=%2217.2%22%20cy=%2217.2%22%20r=%223.3%22/><path%20d=%22M9.2%209.2%2014.8%2014.8%22/></svg>"); /* Kuiz Hubungan Item — dua nod berhubung */
}

.feature-card:nth-child(5) .feature-icon {
  --ikon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><rect%20x=%223%22%20y=%224%22%20width=%2218%22%20height=%2212.6%22%20rx=%223.4%22/><path%20d=%22M9%2016.6v4.2l4.4-4.2%22/><path%20d=%22M8.4%2010.3l2.5%202.5%204.7-4.9%22/></svg>"); /* Kuiz Konsistensi Respons — gelembung respons bertanda */
}

.feature-card:nth-child(6) .feature-icon {
  --ikon: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><rect%20x=%223%22%20y=%227.4%22%20width=%2213.2%22%20height=%2212.6%22%20rx=%222.6%22/><path%20d=%22M7.8%204h10.6A2.6%202.6%200%200%201%2021%206.6v10.2%22/></svg>"); /* Flashcard Pasangan Item — dua kad bertindih */
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
}

.feature-card:nth-child(1) .feature-icon {
  color: var(--primary-dark);
  background: linear-gradient(160deg, var(--primary-soft), #c9e5e1);
}

.feature-card:nth-child(2) .feature-icon {
  color: #8a5d0c;
  background: linear-gradient(160deg, var(--cream-soft), var(--cream-soft-2));
}

.feature-card:nth-child(3) .feature-icon {
  color: var(--accent-dark);
  background: linear-gradient(160deg, var(--peach-soft), var(--peach-soft-2));
}

.feature-card:nth-child(4) .feature-icon {
  color: #2c6a80;
  background: linear-gradient(160deg, var(--blue-soft), var(--blue-soft-2));
}

.feature-card:nth-child(5) .feature-icon {
  color: #4a5b35;
  background: linear-gradient(160deg, var(--sage-soft), #dfe4d3);
}

.feature-card:nth-child(6) .feature-icon {
  color: #a8481f;
  background: linear-gradient(160deg, #fdf1e7, #f9d6c3);
}

.feature-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.14rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

/* =========================================================
   11. CORAK SOALAN
   ========================================================= */
.pattern-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.4rem;
}

.pattern-grid p {
  color: var(--muted);
}

.quote-stack {
  display: grid;
  gap: 0.9rem;
}

.quote-stack blockquote {
  position: relative;
  padding: 1.1rem 1.3rem 1.1rem 3.4rem;
  font-weight: 500;
  font-size: 1.04rem;
  color: #2f4a56;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), border-color 0.24s ease;
}

.quote-stack blockquote:hover {
  transform: translateX(4px);
  border-color: rgba(47, 132, 129, 0.34);
}

.quote-stack blockquote::before {
  content: "\201C";
  position: absolute;
  left: 1.1rem;
  top: 0.55rem;
  font-family: "Baloo 2", sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(239, 107, 69, 0.5);
}

.quote-stack blockquote:nth-child(2) { margin-left: 1.2rem; }
.quote-stack blockquote:nth-child(3) { margin-left: 2.4rem; }

.benefit-box {
  padding: 2.2rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.benefit-box h3 {
  max-width: 46ch;
  margin-bottom: 1.3rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.55;
  color: var(--text-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 20px;
  height: 20px;
  background: var(--primary-soft) var(--icon-check) no-repeat center / 12px;
  border-radius: var(--r-pill);
}

/* =========================================================
   12. JAWAPAN KONSISTEN
   ========================================================= */
.consistency-section {
  background: linear-gradient(180deg, var(--sage-soft) 0%, #ffffff 78%);
}

.consistency-grid {
  display: grid;
  gap: 1.6rem;
  align-items: start;
  margin-bottom: 1.6rem;
}

/* --- tiga jenis hubungan --- */
.consistency-points {
  display: grid;
  gap: 0.9rem;
}

.consistency-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.24s var(--ease);
}

.consistency-point:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 132, 129, 0.34);
  box-shadow: var(--shadow-md);
}

.consistency-point > span {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--primary-dark), var(--primary));
  box-shadow: 0 8px 18px rgba(47, 132, 129, 0.3);
}

.consistency-point:nth-child(2) > span {
  background: linear-gradient(150deg, var(--accent-dark), #c94f1c);
  box-shadow: 0 8px 18px rgba(239, 107, 69, 0.3);
}

.consistency-point:nth-child(3) > span {
  background: linear-gradient(150deg, #6f4a08, #9c690a);
  box-shadow: 0 8px 18px rgba(156, 105, 10, 0.3);
}

.consistency-point h3 {
  margin-bottom: 0.25rem;
  font-size: 1.12rem;
  font-weight: 700;
}

.consistency-point p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --- contoh flashcard --- */
.consistency-example {
  padding: 1.7rem 1.5rem;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 8px 8px 0 rgba(15, 44, 58, 0.16);
}

.example-label {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.35rem 1rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: var(--r-pill);
}

.pair-item {
  padding: 1rem 1.15rem;
  margin-bottom: 0.7rem;
  background: var(--surface-soft);
  border: 1px dashed rgba(47, 132, 129, 0.38);
  border-radius: var(--r);
}

.pair-item small {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.pair-item p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

/* --- baris keputusan: YA + YA = tak konsisten --- */
.response-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 1.1rem 0;
  padding: 1rem 1.15rem;
  background: var(--warn-tint);
  border: 1px solid var(--warn-line);
  border-radius: var(--r);
}

.response-result span {
  padding: 0.35rem 1rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: var(--r-pill);
}

.response-result b {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.15rem;
  color: var(--muted);
}

.response-result strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.4rem 1.05rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--warn);
  border-radius: var(--r-pill);
}

.response-result strong::before {
  content: "";
  width: 15px;
  height: 15px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.example-note {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--muted);
}

/* --- tiga alat latihan --- */
.consistency-tools {
  display: grid;
  gap: 1rem;
}

.tool-card {
  padding: 1.5rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.24s var(--ease);
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 132, 129, 0.34);
  box-shadow: var(--shadow-md);
}

.tool-card > span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.85rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: var(--r-pill);
}

.tool-card:nth-child(2) > span {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.tool-card:nth-child(3) > span {
  color: #8a5d0c;
  background: var(--cream-soft);
}

.tool-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.14rem;
  font-weight: 700;
}

.tool-card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted);
}

/* =========================================================
   13. DEMO KENAL PASTI SOALAN
   ========================================================= */
.demo-section {
  background:
    radial-gradient(circle at top right, rgba(47, 132, 129, 0.18), transparent 46%),
    linear-gradient(180deg, #eff7f5 0%, #ffffff 100%);
}

.demo-card {
  padding: 1.8rem 1.6rem;
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: 26px;
  box-shadow: 8px 8px 0 rgba(15, 44, 58, 0.16);
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.demo-count {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.demo-count b {
  font-family: "Baloo 2", sans-serif;
  color: var(--ink);
}

.demo-dots {
  display: flex;
  gap: 7px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.demo-dots span.is-done {
  background: var(--accent);
}

.demo-dots span.is-now {
  background: var(--primary);
  transform: scale(1.25);
}

.demo-item {
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.3rem;
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px dashed rgba(47, 132, 129, 0.38);
  border-radius: var(--r);
}

.demo-options {
  display: grid;
  gap: 0.6rem;
  counter-reset: opt;
}

.demo-fallback {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.demo-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: transform 0.18s var(--ease), border-color 0.18s ease, background 0.18s ease;
}

.demo-option::before {
  counter-increment: opt;
  content: counter(opt, upper-alpha);
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: var(--r-pill);
  transition: background 0.18s ease, color 0.18s ease;
}

.demo-option:hover:not(:disabled) {
  transform: translateX(3px);
  border-color: rgba(47, 132, 129, 0.5);
}

.demo-option:disabled {
  cursor: default;
  opacity: 0.55;
}

.demo-option.is-betul {
  opacity: 1;
  color: var(--primary-dark);
  background: linear-gradient(180deg, #eff7f6, #fff);
  border-color: #b9dcd8;
}

.demo-option.is-betul::before {
  color: #fff;
  background: var(--primary);
}

.demo-option.is-salah {
  opacity: 1;
  color: var(--warn-dark);
  background: linear-gradient(180deg, var(--warn-tint), #fff);
  border-color: var(--warn-line);
}

.demo-option.is-salah::before {
  color: #fff;
  background: var(--warn);
}

.demo-feedback {
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  border-radius: var(--r);
}

.demo-feedback strong {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
}

.demo-feedback.is-betul {
  color: #24504e;
  background: var(--primary-soft);
}

.demo-feedback.is-betul strong {
  color: var(--primary-dark);
}

.demo-feedback.is-salah {
  color: #7a3f28;
  background: var(--warn-soft);
}

.demo-feedback.is-salah strong {
  color: var(--warn-dark);
}

.demo-actions {
  margin-top: 1.2rem;
}

/* Skrin penutup selepas item terakhir */
.demo-card.is-tamat {
  text-align: center;
}

.demo-score {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 0.6rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.demo-card.is-tamat h3 {
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.demo-outro {
  max-width: 46ch;
  margin: 0 auto 1.6rem;
  color: var(--muted);
}

/* =========================================================
   14. REALISTIK
   ========================================================= */
.realism-section .container {
  text-align: center;
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin: 2rem 0;
  text-align: left;
}

.statement-grid span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  font-weight: 500;
  font-size: var(--fs-sm);
  color: #5e6b62;
  background: linear-gradient(180deg, var(--warn-tint), #fff);
  border: 1px solid var(--warn-line);
  border-radius: var(--r);
}

.statement-grid span::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: var(--warn-soft) var(--icon-x) no-repeat center / 12px;
  border-radius: var(--r-pill);
}

.realism-section .section-copy {
  max-width: 640px;
  margin-inline: auto;
}

.big-quote {
  max-width: 720px;
  margin: 2.4rem auto 0;
  padding: 2rem 1.8rem;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(239, 107, 69, 0.2), transparent 46%),
    linear-gradient(180deg, #fffaf0, #fff);
  border: 1px solid rgba(47, 132, 129, 0.32);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.big-quote span {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.2;
  color: var(--ink);
}

.big-quote small {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.4rem 1.1rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

/* =========================================================
   15. UNTUK SIAPA
   ========================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  text-align: left;
}

.audience-card {
  padding: 1.7rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.24s var(--ease);
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 132, 129, 0.34);
  box-shadow: var(--shadow-md);
}

.audience-card strong {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--primary-dark), var(--primary));
  box-shadow: 0 10px 22px rgba(47, 132, 129, 0.34);
}

.audience-card:nth-child(2) strong {
  background: linear-gradient(150deg, var(--accent-dark), #e05f34);
  box-shadow: 0 10px 22px rgba(239, 107, 69, 0.34);
}

.audience-card:nth-child(3) strong {
  background: linear-gradient(150deg, #2c6a80, #3f8ba4);
  box-shadow: 0 10px 22px rgba(63, 124, 147, 0.3);
}

.audience-card:nth-child(4) strong {
  background: linear-gradient(150deg, var(--ink), #1c4c5f);
  box-shadow: 0 10px 22px rgba(15, 44, 58, 0.3);
}

.audience-card p {
  line-height: 1.55;
  color: var(--muted);
}

/* =========================================================
   16. JAWATAN YANG SESUAI (daripada API)
   ========================================================= */
.positions-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.positions-count {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--primary-dark);
}

.positions-count::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

/* --- keadaan memuat & ralat --- */
.positions-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.7rem 1.2rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.positions-status.is-error {
  color: var(--warn-dark);
  background: var(--warn-tint);
  border: 1px solid var(--warn-line);
}

.positions-spinner {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--primary-soft);
  border-top-color: var(--primary);
  border-radius: var(--r-pill);
  animation: positions-spin 0.7s linear infinite;
}

@keyframes positions-spin {
  to { transform: rotate(360deg); }
}

.positions-retry {
  padding: 0.5rem 1.2rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: #fff;
  background: var(--warn);
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.positions-retry:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(184, 65, 28, 0.32);
}

/* --- senarai jawatan --- */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.position-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s ease,
    background-color 0.2s ease, box-shadow 0.2s var(--ease);
}

.position-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 132, 129, 0.34);
  box-shadow: var(--shadow-md);
}

.position-number {
  flex: 0 0 auto;
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0 0.4rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 10px;
}

.position-name {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.positions-empty {
  padding: 1.8rem 1.2rem;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
}

/* =========================================================
   17. BONUS SIMULASI
   ========================================================= */
.bonus-shell {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 1.6rem;
  background:
    radial-gradient(600px circle at 88% 0%, rgba(239, 107, 69, 0.1), transparent 50%),
    linear-gradient(160deg, #fef4e0 0%, #fdf5e6 100%);
  border: 2px dashed rgba(252, 177, 44, 0.55);
  border-radius: var(--r-xl);
}

/* --- lajur kiri --- */
.bonus-lead {
  margin-bottom: 1.4rem;
  color: var(--muted);
  text-wrap: pretty;
}

.bonus-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.bonus-list li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.55;
  color: var(--text-2);
}

.bonus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 20px;
  height: 20px;
  background: rgba(252, 177, 44, 0.26) var(--icon-check) no-repeat center / 12px;
  border-radius: var(--r-pill);
}

/* --- kad bonus --- */
.bonus-card {
  position: relative;
  padding: 2.4rem 1.6rem 1.7rem;
  text-align: center;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.bonus-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 1.3rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), #c94f1c);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 22px rgba(239, 107, 69, 0.34);
}

.bonus-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  color: #8a5d0c;
  background: linear-gradient(160deg, var(--cream-soft), var(--cream-soft-2));
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.bonus-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><circle%20cx=%2212%22%20cy=%2212%22%20r=%228.4%22/><circle%20cx=%2212%22%20cy=%2212%22%20r=%224.4%22/><circle%20cx=%2212%22%20cy=%2212%22%20r=%221.1%22%20fill=%22%23000%22%20stroke=%22none%22/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><circle%20cx=%2212%22%20cy=%2212%22%20r=%228.4%22/><circle%20cx=%2212%22%20cy=%2212%22%20r=%224.4%22/><circle%20cx=%2212%22%20cy=%2212%22%20r=%221.1%22%20fill=%22%23000%22%20stroke=%22none%22/></svg>") center / contain no-repeat;
}

@supports not ((-webkit-mask-image: none) or (mask-image: none)) {
  .bonus-icon {
    font-family: "Baloo 2", sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
  }

  .bonus-icon::before {
    display: none;
  }
}

.bonus-label {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.95rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-xs);
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: var(--r-pill);
}

.bonus-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.bonus-card p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--muted);
}

.bonus-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 1.3rem 0 1.1rem;
  padding: 1rem 1.2rem;
  background: var(--cream-soft);
  border-radius: var(--r);
}

.bonus-price small {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bonus-price strong {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
}

.bonus-disclaimer {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--muted);
}

/* =========================================================
   18. HARGA — jalur gelap
   ========================================================= */
.pricing-section {
  color: #fff;
  background:
    radial-gradient(760px circle at 88% -10%, rgba(239, 107, 69, 0.28), transparent 50%),
    linear-gradient(150deg, var(--dark-1), var(--dark-2));
}

.pricing-section .section-heading h2 {
  color: #fff;
}

.pricing-section .eyebrow {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  padding: 2.5rem;
  text-align: left;
  color: var(--text);
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.pricing-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.price-label {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(47, 132, 129, 0.26);
  border-radius: var(--r-pill);
}

.price-big {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.price-rm {
  margin-top: 0.6rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
}

.price-num {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 4.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-desc {
  margin-bottom: 1.4rem;
  line-height: 1.6;
  color: var(--muted);
}

.btn-buy {
  width: 100%;
}

.price-note {
  margin-top: 0.8rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.pricing-divider {
  width: 1px;
  background: var(--line);
}

.pricing-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.includes-title {
  margin-bottom: 1rem;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.includes-list {
  display: grid;
  gap: 0.75rem;
}

.includes-list li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.5;
  color: var(--text-2);
}

.includes-list strong {
  color: var(--accent-dark);
}

.includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 20px;
  height: 20px;
  background: var(--primary-soft) var(--icon-check) no-repeat center / 12px;
  border-radius: var(--r-pill);
}

/* =========================================================
   19. FAQ
   ========================================================= */
.faq-section {
  background: linear-gradient(180deg, #fdf6e8, #fff);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin: 1.6rem auto 0;
  text-align: left;
}

.faq-item {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(47, 132, 129, 0.34);
}

.faq-item.active {
  border-color: rgba(47, 132, 129, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: "Baloo 2", "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-question span {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: var(--r-pill);
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
  color: #fff;
  background: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.faq-answer p {
  padding: 0 1.4rem 1.2rem;
  line-height: 1.65;
  color: var(--muted);
}

/* =========================================================
   20. CTA AKHIR & FOOTER
   ========================================================= */
.cta-section {
  color: #fff;
  background:
    radial-gradient(760px circle at 50% -20%, rgba(239, 107, 69, 0.28), transparent 55%),
    linear-gradient(150deg, var(--dark-1), var(--dark-2));
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-box .eyebrow {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.cta-box h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #fff;
}

.cta-box p {
  max-width: 56ch;
  margin: 0 auto 1.8rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.74);
}

.cta-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: left;
}

.cta-points span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
}

.cta-points span::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: rgba(251, 199, 106, 0.18) var(--icon-check-light) no-repeat center / 12px;
  border-radius: var(--r-pill);
}

/* Butang CTA duduk terus atas jalur teal gelap, jadi cerun teal biasa
   hampir tidak kelihatan. Di sini ia bertukar kepada emas-coral —
   warna yang sama dengan harga RM30 tepat di atasnya. */
.cta-box .btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-strong) 0%, #f79b73 100%);
  box-shadow: 0 14px 34px rgba(252, 177, 44, 0.28);
}

.cta-box .btn-primary:hover {
  box-shadow: 0 22px 46px rgba(252, 177, 44, 0.4);
}

.cta-box .btn-primary:focus-visible {
  outline: 3px solid rgba(253, 245, 230, 0.85);
}

/* Item ganjil terakhir penuhkan baris supaya grid tak tergantung */
.cta-points span:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Paparan harga dalam kotak CTA */
.cta-box .big-quote {
  max-width: 340px;
  margin: 0 auto 1.8rem;
  padding: 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  box-shadow: none;
}

.cta-box .big-quote span {
  font-size: clamp(2.8rem, 8vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--gold), #f79b73);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cta-box .big-quote small {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  border: 0;
  padding: 0;
}

.site-footer {
  padding: 2.4rem 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

.footer-inner strong {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

/* =========================================================
   21. RESPONSIF
   ========================================================= */
@media (min-width: 881px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.4rem;
  }

  .hero-card {
    padding: 2.2rem 2rem;
  }

  .insight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .transformation-grid,
  .pattern-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .consistency-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    margin-bottom: 2.2rem;
  }

  .consistency-tools {
    grid-template-columns: repeat(3, 1fr);
  }

  .consistency-example {
    padding: 2rem 1.9rem;
  }

  .bonus-shell {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding: 3rem 3.2rem;
  }

  .positions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefit-box {
    padding: 2.6rem 2.8rem;
  }

  .check-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
  }
}

@media (max-width: 880px) {
  .insight-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .cta-points   { grid-template-columns: 1fr; }

  .pricing-card    { grid-template-columns: 1fr; }
  .pricing-divider { width: auto; height: 1px; }

  .quote-stack blockquote:nth-child(2),
  .quote-stack blockquote:nth-child(3) { margin-left: 0; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero.section { padding: 2.6rem 0 3.4rem; }
  .features-section { padding: 4rem 0 3.4rem; }

  .btn { width: 100%; }
  .btn-small { width: auto; }
  .hero-actions { gap: 1rem; }

  .statement-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .story p { padding: 1.1rem; }
  .benefit-box { padding: 1.7rem 1.4rem; }
  .big-quote { padding: 1.7rem 1.3rem; }

  .pricing-card { padding: 1.75rem 1.4rem; }
  .price-num { font-size: 3.6rem; }

  .demo-card { padding: 1.4rem 1.2rem; }
  .demo-item { padding: 1.1rem; font-size: 1.05rem; }
  .demo-option { font-size: 0.95rem; }
  .demo-score { font-size: 2.8rem; }

  .consistency-point { padding: 1.1rem 1.15rem; gap: 0.8rem; }
  .consistency-example { padding: 1.4rem 1.2rem; }
  .response-result strong { margin-left: 0; }

  .bonus-shell { padding: 1.8rem 1.2rem; }
  .bonus-card { padding: 2.2rem 1.2rem 1.5rem; }
  .bonus-price strong { font-size: 2.2rem; }
  .bonus-ribbon { font-size: 0.72rem; padding: 0.4rem 1rem; }

  .positions-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   22. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Kandungan mesti tetap kelihatan tanpa animasi masuk */
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:hover,
  .story p:hover,
  .insight-card:hover,
  .feature-card:hover,
  .audience-card:hover,
  .consistency-point:hover,
  .tool-card:hover,
  .position-card:hover,
  .positions-retry:hover,
  .demo-option:hover,
  .quote-stack blockquote:hover {
    transform: none;
  }

  /* Spinner ialah petunjuk keadaan, bukan hiasan. Kalau ia dibekukan
     ia nampak macam laman tergantung — jadi biarkan ia berputar,
     cuma dengan lebih perlahan. */
  .positions-spinner {
    animation-duration: 1.6s !important;
    animation-iteration-count: infinite !important;
  }
}