/* =====================================================================
   KASTURI SYIFA — GAYA KHUSUS (style.css)
   ---------------------------------------------------------------------
   Susun atur (grid, jarak, breakpoint) ditulis terus dalam index.html
   menggunakan kelas Tailwind. Fail ini menyimpan:
     1. Token warna & font       ← EDIT DI SINI untuk tukar tema
     2. Komponen (butang, nav, menu mobile, kad, borang, dll.)
     3. Animasi
   Breakpoint mengikut Tailwind: sm = 640px (tablet), lg = 1024px (desktop)
   ===================================================================== */


/* =====================================================================
   0. FONT (dihoskan sendiri — fail dalam assets/fonts/, lesen SIL OFL)
   Untuk tukar font: letak fail .woff2 baharu dalam assets/fonts/,
   ubah src di bawah, kemudian ubah --font-* dalam bahagian 1 dan
   pautan <link rel="preload"> dalam index.html.
   ===================================================================== */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville-latin-400-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pinyon Script";
  src: url("../fonts/pinyon-script-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}


/* ---------------------------------------------------------------------
   Semua gaya di bawah berada dalam @layer components supaya kelas
   utiliti Tailwind dalam HTML (cth: hidden, lg:hidden, mt-6) sentiasa
   boleh mengatasinya.
   --------------------------------------------------------------------- */
@layer components {

/* =====================================================================
   1. TOKEN WARNA & FONT
   Tukar nilai di sini; semua butang, latar dan utiliti Tailwind
   (bg-char, text-gold-hi, dll.) akan ikut automatik.
   ===================================================================== */
:root {
  /* Emas */
  --gold: #C99B3F;        /* emas utama */
  --gold-hi: #E3BE6E;     /* emas terang (aksen pada latar gelap) */
  --gold-ink: #7A5718;    /* emas gelap (teks pada latar cerah) */

  /* Neutral */
  --char: #302E30;        /* arang — latar gelap utama */
  --char-2: #232123;      /* arang lebih gelap */
  --ivory: #FAF3E3;       /* latar cerah utama */
  --gading: #F6E8CC;      /* gading — latar cerah kedua */
  --cream: #FBF2DC;       /* tajuk pada latar gelap */
  --ink: #2A1C14;         /* teks utama */
  --ink-2: #5B4A3E;       /* teks kedua */

  /* Warna varian haruman */
  --merah: #84213C;       /* As-Syafi */
  --hijau: #153E34;       /* Al-Kafi */
  --biru: #009ED6;        /* Al-Muafi */

  /* Font (fail dalam assets/fonts/, lihat bahagian 0) */
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;

  --nav-h: 64px;          /* tinggi bar navigasi */
  --ease: cubic-bezier(.2, .7, .2, 1);
}


/* =====================================================================
   2. ASAS
   ===================================================================== */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }       /* kunci skrol bila menu mobile dibuka */

/* Elak tajuk tersorok di bawah nav melekit bila klik pautan anchor */
section[id] { scroll-margin-top: var(--nav-h); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
}
p { margin: 0; }
a { color: var(--gold-ink); }
a:hover { color: #4E3610; }

.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible, summary:focus-visible { border-radius: 999px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold-hi); color: #231a10; font-weight: 700;
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }


/* =====================================================================
   3. BUTANG
   .btn + salah satu: .btn-gold | .btn-ghost | .btn-dark | .btn-ghost-dark
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font: 700 16px/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 17px; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #231a10;
  box-shadow: 0 10px 30px -10px rgba(201,155,63,.75), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover { color: #231a10; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(201,155,63,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:active { transform: translateY(0) scale(.98); }

.btn-ghost { background: transparent; color: var(--gading); box-shadow: inset 0 0 0 1.5px rgba(246,232,204,.45); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold-hi); transform: translateY(-2px); }

.btn-dark { background: var(--char); color: var(--gading); }
.btn-dark:hover { color: #fff; background: #141314; transform: translateY(-2px); }


/* =====================================================================
   4. NAVIGASI + MENU MOBILE
   ===================================================================== */
.site-nav {
  background: rgba(35,33,35,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,155,63,.18);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--gading); text-decoration: none;
  font-family: var(--font-heading); font-weight: 700; font-size: 18px;
}
.brand:hover { color: #fff; }
.brand img { width: 38px; height: 38px; }

.nav-link { color: rgba(246,232,204,.82); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-link:hover { color: var(--gold-hi); }

/* Butang hamburger (3 garis → X) */
.menu-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(246,232,204,.08); border: 0; color: var(--gading); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(201,155,63,.35);
}
.menu-toggle span { position: relative; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: background .2s; }
.menu-toggle span::before,
.menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Panel menu mobile — dibuka/ditutup oleh assets/js/main.js */
.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: 70;
  background: rgba(20,19,20,.6);
  opacity: 0; transition: opacity .25s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__panel {
  background: var(--char-2);
  border-bottom: 1px solid rgba(201,155,63,.25);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  padding: 8px 20px 24px;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  transform: translateY(-12px); transition: transform .3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0 4px;
  color: var(--gading); text-decoration: none;
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  border-bottom: 1px solid rgba(246,232,204,.1);
}
.mobile-menu__link::after { content: "→"; font-family: var(--font-body); color: var(--gold-hi); font-size: 18px; }
.mobile-menu__link:hover { color: var(--gold-hi); }


/* =====================================================================
   5. HERO
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--gading);
  background:
    radial-gradient(1200px 600px at 78% 30%, rgba(201,155,63,.22), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(132,33,60,.28), transparent 60%),
    linear-gradient(180deg, var(--char-2), var(--char) 70%, #2a282a);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(227,190,110,.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0, transparent 70%);
}
.hero-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-hi); }
.hero-tag i { display: block; width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(40px, 10.5vw, 86px); color: var(--cream); }
.hero h1 .script { display: block; font-size: 1.35em; line-height: .9; color: var(--gold-hi); margin: .06em 0 .02em -.04em; }
.hero-lead { font-size: 17px; color: rgba(246,232,204,.86); max-width: 540px; }
.hero-lead b { color: var(--cream); font-weight: 600; }
.hero-meta { border-top: 1px solid rgba(201,155,63,.22); font-size: 13px; color: rgba(246,232,204,.75); }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--gold-hi); flex: none; }

/* Pentas produk (gerbang + 3 botol) */
.hero-stage { position: relative; height: 440px; display: flex; align-items: flex-end; justify-content: center; margin: 0 -20px; }
.arch {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: min(78vw, 320px); aspect-ratio: 4 / 5.2;
  border-radius: 999px 999px 18px 18px;
  background: radial-gradient(circle at 50% 38%, #FFF7E4 0, #F3DCA8 38%, var(--gold) 78%, #8A6420 100%);
  box-shadow: 0 0 0 1.5px rgba(227,190,110,.7), 0 0 0 12px rgba(201,155,63,.08), 0 40px 120px -20px rgba(201,155,63,.55);
}
.arch::after { content: ""; position: absolute; inset: 14px; border-radius: 999px 999px 10px 10px; border: 1px solid rgba(255,255,255,.55); }
.ring { position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -56%); pointer-events: none; color: var(--gold); opacity: .4; }
.ring svg { width: 100%; height: 100%; }
.prods { position: relative; width: 100%; max-width: 460px; height: 300px; z-index: 2; }
.p { position: absolute; bottom: 0; filter: drop-shadow(0 24px 22px rgba(0,0,0,.45)); }
.p img { height: 100%; width: auto; max-width: none; }
.p-main { left: 50%; height: 236px; transform: translateX(-50%); z-index: 3; }
.p-l { left: 0; height: 168px; bottom: 22px; z-index: 2; }
.p-r { right: 0; height: 168px; bottom: 22px; z-index: 2; }
.floor { position: absolute; left: 50%; bottom: 6px; width: 86%; height: 40px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 70%); z-index: 1; }
.watermark { position: absolute; right: -180px; top: 60px; width: 620px; height: auto; opacity: .06; z-index: -1; filter: grayscale(1) brightness(2); pointer-events: none; }

@media (min-width: 640px) {
  .hero-stage { height: 520px; margin: 0; }
  .arch { width: 360px; }
  .prods { height: 360px; max-width: 560px; }
  .p-main { height: 320px; }
  .p-l, .p-r { height: 220px; }
}
@media (min-width: 1024px) {
  .hero-stage { height: 640px; }
  .arch { width: 420px; bottom: 60px; }
  .prods { height: 440px; max-width: 620px; }
  .p-main { height: 400px; }
  .p-l, .p-r { height: 270px; bottom: 30px; }
  .p-l { left: -9%; }
  .p-r { right: -9%; }
  .floor { bottom: 10px; }
}


/* =====================================================================
   6. MARQUEE (jalur emas bergerak)
   ===================================================================== */
.marquee { background: linear-gradient(90deg, #B8873A, var(--gold-hi) 50%, #B8873A); color: #231a10; overflow: hidden; border-block: 1px solid #8A6420; }
.mq-track { display: flex; width: max-content; }
.mq-group { display: flex; align-items: center; flex: none; }
.mq-group span { display: flex; align-items: center; padding: 14px 22px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.mq-group span::after { content: ""; width: 8px; height: 8px; margin-left: 44px; background: #231a10; transform: rotate(45deg); display: block; }


/* =====================================================================
   7. SEKSYEN MASALAH
   ===================================================================== */
.problem h2 { font-size: clamp(32px, 6.4vw, 60px); }
.problem h2 em { font-style: italic; color: var(--merah); }
.pain { border-top: 1px solid rgba(42,28,20,.14); }
.pain-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid rgba(42,28,20,.14); }
.pain-item .n { font-family: var(--font-heading); font-style: italic; font-size: 26px; color: var(--gold-ink); line-height: 1.1; }
.pain-item h3 { font-size: 19px; margin-bottom: 6px; }
.pain-item p { color: var(--ink-2); font-size: 15.5px; }
.pivot { position: relative; overflow: hidden; background: var(--char); color: var(--gading); border-radius: 28px; }
.pivot p { font-family: var(--font-heading); font-size: clamp(22px, 3.4vw, 32px); line-height: 1.3; max-width: 820px; position: relative; }
.pivot p .script { color: var(--gold-hi); font-size: 1.5em; line-height: .8; }
.pivot .watermark2 { position: absolute; right: -60px; bottom: -80px; width: 280px; height: auto; opacity: .12; pointer-events: none; }


/* =====================================================================
   8. TAJUK SEKSYEN (digunakan berulang)
   ===================================================================== */
.sec-head h2 { font-size: clamp(32px, 5.6vw, 58px); }
.sec-head h2 .script { color: var(--gold-ink); font-size: 1.3em; line-height: .8; }
.sec-head > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; }
.on-dark .sec-head h2 { color: var(--cream); }
.on-dark .sec-head h2 .script,
.on-dark .eyebrow { color: var(--gold-hi); }
.on-dark .sec-head > p:not(.eyebrow) { color: rgba(246,232,204,.8); }


/* =====================================================================
   9. BENTO "KENAPA KASTURI SYIFA"
   ===================================================================== */
.tile { position: relative; overflow: hidden; border-radius: 26px; padding: 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(42,28,20,.45); }
.tile .tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; margin-bottom: 16px; }
.tile h3 { font-size: 22px; margin-bottom: 10px; }
.tile p { font-size: 15px; }

.t-doa { background: var(--char); color: var(--gading); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.t-doa .tag { background: rgba(201,155,63,.18); color: var(--gold-hi); }
.t-doa h3 { font-size: clamp(26px, 3.4vw, 40px); max-width: 560px; }
.t-doa p { color: rgba(246,232,204,.82); max-width: 520px; }
.t-doa .logo-wm { position: absolute; right: -70px; top: -70px; width: 300px; height: auto; opacity: .14; pointer-events: none; }

.t-exp { background: var(--merah); color: #FBEAEF; }
.t-exp .tag { background: rgba(255,255,255,.14); color: #fff; }
.t-exp .yr { font-family: var(--font-heading); font-size: 72px; line-height: 1; color: #F3D08A; margin-bottom: 8px; }

.t-use { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(42,28,20,.08); }
.t-use .tag { background: var(--gading); color: var(--gold-ink); }
.use-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.use-row div { background: var(--ivory); border-radius: 18px; padding: 14px 10px; text-align: center; font-weight: 600; font-size: 14px; }
.use-row svg { width: 28px; height: 28px; margin: 0 auto 8px; color: var(--gold-ink); display: block; }

.t-price, .t-five { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.t-price { background: var(--hijau); color: #E6F2EC; }
.t-five  { background: #006E96; color: #EAF8FF; }
.t-price .tag, .t-five .tag { background: rgba(255,255,255,.12); color: #fff; }
.t-price .amt { font-family: var(--font-heading); font-size: 44px; line-height: 1; color: #fff; }
.t-price .amt small { display: block; margin-bottom: 6px; font: 600 15px/1.2 var(--font-body); color: #BFE0D2; }
.t-five .amt { font-family: var(--font-heading); font-size: 56px; line-height: 1; color: #fff; }

.t-line { padding: 0; margin: 0; min-height: 220px; background: #EFDDB4; }
.t-line img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (min-width: 1024px) { .t-line { min-height: 300px; } }


/* =====================================================================
   10. "UNTUK SIAPA" — kad gerbang
   Mobile/tablet: skrol mendatar (snap). Desktop: grid 3 lajur.
   ===================================================================== */
.arches { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 24px; margin: 0 -20px; scrollbar-width: none; }
.arches::-webkit-scrollbar { display: none; }
.acard {
  flex: 0 0 82%; scroll-snap-align: center;
  display: flex; flex-direction: column; padding: 0 22px 26px;
  background: linear-gradient(180deg, rgba(246,232,204,.07), rgba(246,232,204,.02));
  border: 1px solid rgba(201,155,63,.35); border-radius: 999px 999px 26px 26px;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.acard:hover { transform: translateY(-6px); border-color: var(--gold-hi); background: linear-gradient(180deg, rgba(246,232,204,.12), rgba(246,232,204,.03)); }
.acard .win { height: 230px; margin: 0 -22px 18px; border-radius: 999px 999px 0 0; overflow: hidden; }
.acard .win img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform .6s var(--ease); }
.acard:hover .win img { transform: scale(1.05); }
.w1 { background: radial-gradient(circle at 50% 60%, #FFE1EA, #C9566F 55%, var(--merah)); }
.w2 { background: radial-gradient(circle at 50% 60%, #D7F2E6, #3F8A6E 55%, var(--hijau)); }
.w3 { background: radial-gradient(circle at 50% 60%, #D9F3FF, #2BA8DA 55%, #00628A); }
.acard .eyebrow { color: var(--gold-hi); margin-bottom: 8px; }
.acard h3 { font-size: 24px; color: var(--cream); margin-bottom: 10px; }
.acard p { color: rgba(246,232,204,.82); font-size: 15px; }
.acard .how { margin-top: auto; padding-top: 18px; }
.acard .how div { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(201,155,63,.12); font-size: 14px; color: var(--gading); }
.acard .how b { display: block; margin-bottom: 4px; color: var(--gold-hi); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

@media (min-width: 640px) {
  .arches { padding-left: 32px; padding-right: 32px; margin: 0 -32px; }
  .acard { flex-basis: 46%; }
}
@media (min-width: 1024px) {
  .arches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; overflow: visible; padding: 0; margin: 0; }
  /* guna "translate" (bukan transform) supaya tidak bertembung dengan animasi muncul */
  .acard:nth-child(2) { translate: 0 40px; }
  .acard .win { height: 270px; }
}


/* =====================================================================
   11. PEMILIH HARUMAN
   Warna seksyen ditukar oleh main.js melalui pembolehubah --sc-*.
   Nilai di bawah = lalai (Original) sebelum JS dimuatkan.
   ===================================================================== */
.scent {
  --sc-bg: #302E30; --sc-ink: #F6E8CC; --sc-ac: #E3BE6E;
  --sc-chip: rgba(201,155,63,.2); --sc-line: rgba(227,190,110,.35);
  background: var(--sc-bg); color: var(--sc-ink);
  transition: background .6s ease, color .6s ease;
}
.scent .accent { color: var(--sc-ac); transition: color .6s ease; }
.scent h2 { font-size: clamp(30px, 4.6vw, 48px); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 10px; margin: 0 -20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid currentColor; background: transparent; color: inherit;
  font: 600 14px/1 var(--font-body); cursor: pointer; opacity: .72;
  transition: opacity .25s, background .25s, color .25s, transform .25s;
}
.tab:hover { opacity: 1; transform: translateY(-1px); }
.tab[aria-selected="true"] { opacity: 1; background: var(--sc-ink); color: var(--sc-bg); border-color: var(--sc-ink); }
.photo {
  position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / 1;
  border-radius: 999px 999px 28px 28px; overflow: hidden; background: rgba(0,0,0,.2);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.65), 0 0 0 1.5px var(--sc-line);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo img.is-swapping { animation: ksPop .7s var(--ease) both; }
.scent-name { font-size: clamp(64px, 13vw, 128px); line-height: .95; margin: 18px 0 6px; }
.notes span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--sc-chip); }
.mood { font-family: var(--font-heading); font-style: italic; font-size: 20px; }
.pricebar { border-top: 1px solid var(--sc-line); border-bottom: 1px solid var(--sc-line); }
.pricebar .lbl { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.pricebar .val { font-family: var(--font-heading); font-size: 40px; line-height: 1.1; }
@media (min-width: 640px) { .tabs { padding-left: 32px; padding-right: 32px; margin: 0 -32px; } }
@media (min-width: 1024px) { .tabs { flex-wrap: wrap; overflow: visible; padding: 0; margin: 0; } }


/* =====================================================================
   12. CARA AMALAN
   ===================================================================== */
.method { position: relative; overflow: hidden; padding: 28px 24px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px rgba(42,28,20,.08); }
.method .big { position: absolute; right: 16px; top: -6px; z-index: 0; font-family: var(--font-heading); font-size: 120px; line-height: 1; color: var(--gading); }
.method > * { position: relative; z-index: 1; }
.method .ic { width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: var(--char); color: var(--gold-hi); display: grid; place-items: center; }
.method .ic svg { width: 28px; height: 28px; }
.method h3 { font-size: 26px; margin-bottom: 14px; }
.method ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.method li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.method li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--gading); color: var(--gold-ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; }


/* =====================================================================
   13. KEPERCAYAAN (pengasas, testimoni, akhbar)
   ===================================================================== */
.founder { position: relative; overflow: hidden; background: var(--char); color: var(--gading); border-radius: 30px; padding: 32px 26px; }
.founder .eyebrow { color: var(--gold-hi); margin-bottom: 14px; }
.founder h3 { font-size: clamp(26px, 3.2vw, 38px); color: var(--cream); margin-bottom: 16px; }
.founder p { color: rgba(246,232,204,.84); }
.years div { border: 1px solid rgba(201,155,63,.4); border-radius: 18px; padding: 16px; }
.years b { display: block; font-family: var(--font-heading); font-size: 38px; color: var(--gold-hi); line-height: 1.1; }
.years span { font-size: 13px; color: rgba(246,232,204,.8); }
@media (min-width: 1024px) { .founder { padding: 44px 40px; position: sticky; top: 96px; } }

.quote { margin: 0; background: #fff; border-radius: 26px; padding: 26px 24px; box-shadow: 0 20px 40px -30px rgba(42,28,20,.5); }
.quote .qm { display: block; height: 30px; font-family: var(--font-heading); font-size: 64px; line-height: .6; color: var(--gold); }
.quote blockquote { margin: 0 0 16px; font-family: var(--font-heading); font-size: 18px; line-height: 1.55; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 700; font-size: 14px; color: var(--gold-ink); }
.quote cite span { display: block; font-weight: 500; color: var(--ink-2); font-size: 13px; }
.press { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; background: rgba(255,255,255,.6); border-radius: 26px; padding: 18px; }
.press img { width: 120px; height: auto; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .4s; }
.press:hover img { transform: rotate(0) scale(1.04); }
.press h3 { font-size: 18px; margin-bottom: 6px; }
.press p { font-size: 14px; color: var(--ink-2); }


/* =====================================================================
   14. HARGA & PAKEJ
   ===================================================================== */
.offer { background: radial-gradient(900px 500px at 50% 0, rgba(201,155,63,.25), transparent 60%), var(--char-2); color: var(--gading); }
.plan {
  display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; border-radius: 28px;
  background: rgba(246,232,204,.05); border: 1px solid rgba(201,155,63,.3);
  transition: transform .35s var(--ease), border-color .35s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--gold-hi); }
.plan h3 { font-size: 24px; color: var(--cream); }
.plan .sub { font-size: 14px; color: rgba(246,232,204,.75); }
.plan .pr { display: flex; gap: 20px; align-items: flex-end; }
.plan .pr div { display: flex; flex-direction: column; }
.plan .pr small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,232,204,.7); }
.plan .pr b { font-family: var(--font-heading); font-size: 38px; line-height: 1.15; color: #fff; }
.plan .pr .ss b { font-size: 24px; color: rgba(246,232,204,.85); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: rgba(246,232,204,.88); }
.plan li svg { width: 18px; height: 18px; color: var(--gold-hi); margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.feat { position: relative; background: linear-gradient(180deg, var(--gading), #EFD9A8); color: var(--ink); border-color: var(--gold-hi); }
.plan.feat h3 { color: var(--ink); }
.plan.feat .sub, .plan.feat li { color: var(--ink-2); }
.plan.feat .pr small, .plan.feat li svg { color: var(--gold-ink); }
.plan.feat .pr b { color: var(--ink); }
.plan.feat .pr .ss b { color: var(--ink-2); }
@media (min-width: 1024px) { .plan.feat { padding: 40px 30px; } }
.ribbon { position: absolute; top: -13px; left: 24px; background: var(--merah); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.tbc { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; border: 1.5px dashed currentColor; opacity: .85; }


/* =====================================================================
   15. SOALAN LAZIM (FAQ)
   ===================================================================== */
.faq details { border-bottom: 1px solid rgba(42,28,20,.15); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 44px; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-heading); font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pl { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gading); color: var(--gold-ink); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq details[open] summary .pl { transform: rotate(45deg); background: var(--char); color: var(--gold-hi); }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); font-size: 15.5px; max-width: 680px; }


/* =====================================================================
   16. BORANG PERTANYAAN
   ===================================================================== */
.form-card { background: #fff; border-radius: 28px; padding: 28px 22px; box-shadow: 0 30px 60px -40px rgba(42,28,20,.55), inset 0 0 0 1px rgba(42,28,20,.06); }
@media (min-width: 640px) { .form-card { padding: 36px 32px; } }
.field label, .field legend { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--ink-2); }
.input {
  display: block; width: 100%; min-height: 50px; padding: 12px 16px;
  font: 500 16px/1.4 var(--font-body); color: var(--ink);   /* 16px elak zoom automatik di iPhone */
  background: var(--ivory); border: 1.5px solid rgba(42,28,20,.14); border-radius: 14px;
  transition: border-color .2s, background .2s;
}
.input::placeholder { color: rgba(91,74,62,.6); }
.input:hover { border-color: rgba(42,28,20,.28); }
.input:focus { border-color: var(--gold-ink); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(227,190,110,.45); }
textarea.input { min-height: 110px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5718' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field.has-error .input { border-color: #B3261E; background: #FFF6F5; }
.field-error { display: none; margin-top: 6px; font-size: 13px; font-weight: 600; color: #B3261E; }
.field.has-error .field-error { display: block; }

/* Pilihan kawasan (butang radio berbentuk pil) */
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 14px;
  border-radius: 14px; border: 1.5px solid rgba(42,28,20,.14); background: var(--ivory);
  font-weight: 600; font-size: 15px; text-align: center; transition: all .2s;
}
.choice input:checked + span { background: var(--char); color: var(--gading); border-color: var(--char); }
.choice input:focus-visible + span { outline: 3px solid var(--gold-hi); outline-offset: 3px; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; } /* perangkap spam (honeypot) */

.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #E8F4EE; color: var(--hijau); }
.form-status.is-error { background: #FDECEC; color: #8C1D18; }
.form-status.is-info { background: var(--gading); color: var(--ink); }
.form-status a { font-weight: 700; }


/* =====================================================================
   17. CTA AKHIR & FOOTER
   ===================================================================== */
.final { position: relative; overflow: hidden; text-align: center; color: var(--gading); background: linear-gradient(180deg, var(--char), #1c1b1c); }
.final .wm { position: absolute; left: 50%; top: 50%; width: 720px; max-width: none; height: auto; transform: translate(-50%, -50%); opacity: .07; pointer-events: none; }
.final h2 { position: relative; font-size: clamp(40px, 8vw, 92px); color: var(--cream); }
.final h2 .script { display: block; color: var(--gold-hi); font-size: 1.25em; line-height: .95; }
.final p { position: relative; max-width: 560px; margin: 22px auto 32px; color: rgba(246,232,204,.82); font-size: 17px; }
.final .btn { position: relative; }
.foot { background: #161516; color: rgba(246,232,204,.62); font-size: 13px; }
.foot .brand { font-size: 16px; }
.foot a:not(.brand) { color: rgba(246,232,204,.8); }
.disc { max-width: 820px; line-height: 1.7; }


/* =====================================================================
   18. CTA MELEKIT (mobile & tablet sahaja; disembunyikan di desktop)
   ===================================================================== */
.mcta {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px; color: var(--gading);
  background: rgba(35,33,35,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.6), inset 0 0 0 1px rgba(201,155,63,.35);
  transition: transform .35s var(--ease), opacity .35s;
}
.mcta .t { font-size: 13px; line-height: 1.3; }
.mcta .t b { display: block; font-size: 15px; color: var(--gold-hi); }
.mcta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .mcta { display: none; } }


/* =====================================================================
   19. ANIMASI
   Dihormati: pengguna yang memilih "kurangkan gerakan" tidak melihat animasi.
   .a1–.a5  = masuk berperingkat di hero
   .rv/.rv2/.rv3 = muncul semasa skrol (Chrome/Edge; pelayar lain terus papar)
   ===================================================================== */
@keyframes ksUp    { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ksRise  { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ksRiseC { from { opacity: 0; transform: translateX(-50%) translateY(60px) scale(.94); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes ksArch  { from { opacity: 0; transform: translateX(-50%) scale(.9); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes ksSpin  { to { transform: translate(-50%, -56%) rotate(360deg); } }
@keyframes ksFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes ksMarq  { to { transform: translateX(-50%); } }
@keyframes ksPop   { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ksReveal{ from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes ksPar   { from { transform: translateY(0); } to { transform: translateY(-90px); } }

@media (prefers-reduced-motion: no-preference) {
  .a1 { animation: ksUp .8s var(--ease) .10s both; }
  .a2 { animation: ksUp .8s var(--ease) .25s both; }
  .a3 { animation: ksUp .8s var(--ease) .40s both; }
  .a4 { animation: ksUp .8s var(--ease) .55s both; }
  .a5 { animation: ksUp .8s var(--ease) .70s both; }
  .arch   { animation: ksArch 1.1s var(--ease) .05s both; }
  .ring   { animation: ksSpin 90s linear infinite; }
  .p-main { animation: ksRiseC 1s var(--ease) .35s both; }
  .p-l    { animation: ksRise 1s var(--ease) .55s both; }
  .p-r    { animation: ksRise 1s var(--ease) .70s both; }
  .p-main img { animation: ksFloat 6s ease-in-out 1.4s infinite; }
  .mq-track { animation: ksMarq 38s linear infinite; }
  .marquee:hover .mq-track { animation-play-state: paused; }

  @supports (animation-timeline: view()) {
    .rv  { animation: ksReveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .rv2 { animation: ksReveal linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
    .rv3 { animation: ksReveal linear both; animation-timeline: view(); animation-range: entry 20% entry 85%; }
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  @supports (animation-timeline: scroll()) {
    .prods { animation: ksPar linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img.is-swapping { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

} /* tamat @layer components */
