/* =========================================================
   Maysarahgold - Landing Page
   Warna ikut brand kit (brand/brand.md)
   ========================================================= */
:root {
  --emas: #D4AF37;        /* Emas Metalik */
  --emas-tua: #A8862A;    /* Emas Tua */
  --champagne: #F3E5AB;
  --krim: #FBF7EE;        /* Krim Mutiara */
  --krim-teks: #F3EBDC;
  --onyx: #141210;        /* Hitam Onyx */
  --onyx-2: #1E1B17;
  --kelabu: #6B645A;
  --gradient-emas: linear-gradient(135deg, #A8862A 0%, #D4AF37 45%, #F3E5AB 75%, #D4AF37 100%);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--onyx);
  background: var(--krim);
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 7vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.center { text-align: center; }
.muted { color: var(--kelabu); font-size: .92rem; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--emas-tua);
  margin-bottom: .8em;
}

.lead { font-size: 1.05rem; }

.divider {
  display: flex;
  justify-content: center;
  margin: 4px 0 28px;
}
.divider span {
  width: 140px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--emas), transparent);
  position: relative;
}
.divider span::after {
  content: "◆";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: .7rem;
  color: var(--emas);
  background: inherit;
  padding: 0 8px;
}

/* ---------- Butang ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .host:focus-visible, .wa-float:focus-visible {
  outline: 3px solid var(--champagne);
  outline-offset: 3px;
}

.btn-gold {
  background: var(--gradient-emas);
  color: var(--onyx);
  box-shadow: 0 6px 20px rgba(212, 175, 55, .28);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(212, 175, 55, .42); }

.btn-outline {
  border: 1.5px solid var(--emas);
  color: var(--emas);
  background: transparent;
}
.btn-outline:hover { background: rgba(212, 175, 55, .1); }

.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.wa-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(20, 18, 16, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, .25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--emas);
}
.brand-gem { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1;
}
.brand-name small, .footer-brand small {
  font-style: normal;
  font-size: .55em;
  letter-spacing: .18em;
  margin-left: 4px;
  vertical-align: middle;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, .16), transparent 60%),
    var(--onyx);
  color: var(--krim-teks);
  padding: 48px 0 56px;
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero h1 { color: var(--emas); }
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--champagne);
}
.hero .eyebrow { color: var(--emas); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  color: var(--champagne);
}
.trust li::before {
  content: "◆";
  color: var(--emas);
  font-size: .65rem;
  margin-right: 8px;
  vertical-align: middle;
}
.hero-img img {
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}

/* ---------- Seksyen umum ---------- */
.section { padding: 64px 0; scroll-margin-top: 60px; }
.section-dark {
  background: var(--onyx);
  color: var(--krim-teks);
}
.section-dark h2 { color: var(--emas); }
.section-dark .eyebrow { color: var(--emas); }
.section-dark .divider span::after { background: var(--onyx); }
.section:not(.section-dark) .divider span::after { background: var(--krim); }

/* ---------- Poster / servis ---------- */
.poster-grid {
  display: grid;
  gap: 24px;
}
.poster-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(168, 134, 42, .22);
  box-shadow: 0 10px 30px rgba(20, 18, 16, .08);
  display: flex;
  flex-direction: column;
}
.poster-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.poster-body h4 {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
  margin: 0 0 .3em;
  color: var(--emas-tua);
}
.poster-body p { color: #3b362f; flex: 1; }

.sub-title {
  text-align: center;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  color: var(--emas-tua);
  margin: 0 0 .2em;
}
.sub-title-gap { margin-top: 56px; }
.sub-lead { color: var(--kelabu); margin-bottom: 24px; }

/* ---------- Kenapa kami ---------- */
.perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.perks li {
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--onyx-2);
}
.perks strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--emas);
  margin-bottom: 2px;
}
.perks span { font-size: .93rem; color: var(--krim-teks); }

/* ---------- Testimoni ---------- */
.testi-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 18px;
  margin: 8px -4px 0;
  -webkit-overflow-scrolling: touch;
}
.testi {
  scroll-snap-align: center;
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(168, 134, 42, .22);
  box-shadow: 0 10px 30px rgba(20, 18, 16, .08);
  display: flex;
  flex-direction: column;
}
.testi img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  background: #eee;
}
.testi figcaption { padding: 16px 18px 20px; }
.stars { color: var(--emas); letter-spacing: 3px; font-size: 1rem; }
.testi blockquote {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.35;
}
.testi cite {
  font-style: normal;
  font-size: .82rem;
  color: var(--emas-tua);
  font-weight: 600;
}
.swipe-hint {
  text-align: center;
  font-size: .85rem;
  color: var(--kelabu);
  margin-top: 6px;
}

/* ---------- Hubungi ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.contact-img img {
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, .35);
}
.host-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
}
.host {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name go" "num go";
  align-items: center;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--gradient-emas);
  color: var(--onyx);
  text-decoration: none;
  transition: transform .15s ease;
}
.host:hover { transform: translateY(-2px); }
.host-name { grid-area: name; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.host-num { grid-area: num; font-size: 1.3rem; font-weight: 600; }
.host-go { grid-area: go; font-size: 1.5rem; }
.shop {
  border-top: 1px solid rgba(212, 175, 55, .3);
  padding-top: 18px;
}
.shop h3 { color: var(--emas); }

/* ---------- Footer ---------- */
.footer {
  background: #0c0b09;
  color: var(--krim-teks);
  text-align: center;
  padding: 44px 0 110px; /* ruang untuk butang terapung */
}
.footer-brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 2rem;
  color: var(--emas);
  margin: 0;
}
.footer-tag {
  font-family: var(--serif);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--champagne);
}
.socials {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  font-size: .9rem;
}
.socials a { color: var(--emas); text-decoration: none; }
.socials a:hover { text-decoration: underline; }
.copy { font-size: .8rem; color: #8d857a; margin: 0; }

/* ---------- Butang WhatsApp terapung ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  animation: denyut 2.4s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; }

@keyframes denyut {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, .3), 0 0 0 0 rgba(37, 211, 102, .5); }
  50%      { box-shadow: 0 8px 24px rgba(0, 0, 0, .3), 0 0 0 12px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-float { animation: none; }
  .btn, .host { transition: none; }
}

/* =========================================================
   Tablet & desktop
   ========================================================= */
@media (min-width: 640px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
  .testi-track { grid-auto-columns: 46%; }
}

@media (min-width: 900px) {
  .topbar { padding: 12px 32px; }
  .hero { padding: 80px 0 90px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .section { padding: 90px 0; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
  .poster-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .testi-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
  .swipe-hint { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer { padding-bottom: 60px; }
}
