/* Landing: Cara Grow Account di Threads — tokens dari webbook/styles.css (QA parity) */
:root {
  --ink: #1a1a2e; --accent: #6c3ce9; --accent-2: #8b5cf6;
  --accent-soft: #f0eafd; --pale: #e4d9fb;
  --warm: #ff7847; --warm-soft: #fff1ea; --warm-2: #ffb499;
  --muted: #6b7280; --line: #e5e7eb; --paper: #ffffff; --bg: #faf8ff;
  --green: #16a34a; --green-soft: #eafbf1;
  --shadow: 0 6px 24px rgba(108, 60, 233, .10);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16.5px;
}
.hidden { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #1a1a2e 0%, #2a2050 100%);
  color: #fff; text-align: center;
  padding: 2.6rem 1.2rem 0;
  overflow: hidden;
}
.eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--warm-2); margin: 0 0 .9rem; }
.hero h1 {
  font-size: clamp(1.6rem, 5.4vw, 2.6rem); line-height: 1.22;
  max-width: 21ch; margin: 0 auto .9rem;
}
.hero .hl { color: var(--warm); }
.hero .sub { max-width: 34rem; margin: 0 auto 1.2rem; color: #cfc9e8; font-size: .98rem; }
.price-hint { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1.1rem; }
.price-hint .anchor { color: #a89fd0; font-size: .95rem; }
.price-hint .now { font-size: 1.35rem; font-weight: 800; color: var(--warm); }
.badges { font-size: .78rem; color: #a89fd0; margin: 1rem 0 1.6rem; }
.hero-art { max-width: 300px; width: 70%; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 40px rgba(108,60,233,.45); display: block; margin: 0 auto; }

.cta {
  display: inline-block; background: var(--warm); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.05rem; padding: .85rem 1.9rem; border-radius: 999px;
  border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(255, 120, 71, .4);
  transition: transform .12s;
}
.cta:hover { transform: translateY(-2px); }
.cta.wide { width: 100%; font-size: 1.1rem; }
.cta.small { font-size: .9rem; padding: .55rem 1.2rem; box-shadow: none; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem;
  padding: 1.4rem 1.2rem; max-width: 720px; margin: 0 auto;
}
.stat {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  text-align: center; padding: .8rem .4rem;
}
.stat b { display: block; font-size: 1.6rem; color: var(--accent); }
.stat span { font-size: .74rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { max-width: 720px; margin: 0 auto; padding: 2.4rem 1.2rem; }
.section.alt { background: var(--paper); max-width: none; }
.section.alt > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.section h2 {
  font-size: clamp(1.35rem, 4vw, 1.8rem); line-height: 1.25;
  color: var(--accent); margin: 0 0 1rem;
}
.section h3 { margin: 1.4rem 0 .5rem; }
.big { font-size: 1.15rem; }
.punch { font-size: 1.12rem; color: var(--accent); }

/* ---------- Parts preview ---------- */
.parts { display: grid; gap: 1rem; margin-top: 1.4rem; }
.part-card {
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; box-shadow: 0 2px 8px rgba(108,60,233,.05);
}
.part-card img { border-radius: 10px; margin-bottom: .6rem; }
.part-card h3 { margin: 0 0 .4rem; font-size: 1.02rem; color: var(--accent); }
.part-card h3 small { color: var(--muted); font-weight: 500; }
.part-card p { margin: 0; font-size: .92rem; }

/* ---------- Value stack + price ---------- */
.stack { border: 1.5px solid var(--accent); border-radius: var(--radius); overflow: hidden; margin: 1.2rem 0; background: var(--paper); }
.stack-row { display: flex; justify-content: space-between; gap: .8rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: .94rem; }
.stack-row .val { white-space: nowrap; color: var(--muted); font-weight: 700; }
.stack-total { display: flex; justify-content: space-between; padding: .8rem 1rem; background: var(--accent); color: #fff; font-weight: 800; }
.stack-total .val { font-size: 1.1rem; }

.price-block {
  text-align: center; background: var(--warm-soft); border: 2px solid var(--warm);
  border-radius: var(--radius); padding: 1.2rem 1rem; margin: 1.2rem 0;
}
.price-label { margin: 0; font-weight: 700; color: var(--warm); font-size: .9rem; }
.price-big { font-size: 2.6rem; font-weight: 800; margin: .2rem 0; color: var(--ink); }
.price-big small { font-size: 1rem; color: var(--green); font-weight: 700; }
.deadline { font-size: .9rem; margin: .3rem 0 .8rem; }
.countdown { display: flex; justify-content: center; gap: .6rem; font-variant-numeric: tabular-nums; }
.countdown .unit {
  background: var(--ink); color: #fff; border-radius: 10px; padding: .5rem .6rem; min-width: 3.2rem;
}
.countdown .unit b { display: block; font-size: 1.3rem; }
.countdown .unit span { font-size: .62rem; opacity: .7; }

/* ---------- Checkout ---------- */
.checkout {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow);
}
.checkout h3 { margin: 0 0 .8rem; font-size: 1.05rem; }
.checkout label { display: block; font-size: .85rem; font-weight: 700; margin: .8rem 0 .25rem; }
.checkout input {
  width: 100%; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--bg);
}
.checkout input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.checkout .cta { margin-top: 1.1rem; }
.checkout-note { font-size: .8rem; color: var(--muted); margin: .7rem 0 0; }
.checkout-err { color: #dc2626; font-weight: 700; font-size: .9rem; }

/* ---------- Feedback ---------- */
.feedback-grid { display: grid; gap: .9rem; }
.fb-card {
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.fb-card .teks { margin: 0 0 .5rem; font-size: .95rem; }
.fb-card .siapa { font-size: .8rem; color: var(--muted); font-weight: 700; }

/* ---------- Checklists ---------- */
.check { list-style: none; padding: 0; display: grid; gap: .45rem; }
.check li { padding-left: 1.7rem; position: relative; }
.check.yes li::before { content: "✅"; position: absolute; left: 0; }
.check.no li::before { content: "❌"; position: absolute; left: 0; }

/* ---------- Guarantee / FAQ ---------- */
.guarantee {
  background: var(--green-soft); border: 1.5px solid var(--green); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin: 1rem 0;
}
details {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .8rem 1rem; margin-bottom: .6rem;
}
details summary { font-weight: 700; cursor: pointer; }
details p { margin: .6rem 0 0; font-size: .93rem; }

/* ---------- Final ---------- */
.section.final { text-align: center; padding-bottom: 6rem; }
.footer-note { font-size: .75rem; color: var(--muted); margin-top: 2.2rem; }

/* ---------- Sticky bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  background: var(--ink); color: #fff; padding: .6rem .9rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.sticky-cta .s-price s { opacity: .55; font-size: .8rem; }
.sticky-cta .s-price b { color: var(--warm); font-size: 1.1rem; margin-left: .3rem; }
.sticky-cta .s-count { font-size: .78rem; font-variant-numeric: tabular-nums; opacity: .85; }

@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(6, 1fr); }
  .parts { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 3.5rem; }
}

/* Pilihan kaedah bayaran FPX <-> Kad (Stripe) */
.pay-method { display: flex; gap: .6rem; margin: .3rem 0 .2rem; }
.pay-method label {
  flex: 1; display: flex; align-items: center; gap: .5rem; margin: 0;
  padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-weight: 700; font-size: .85rem; cursor: pointer;
}
.pay-method input { width: auto; padding: 0; }
.pay-method label:has(input:checked) { border-color: var(--accent); background: var(--bg); }

/* Suis bahasa BM <-> EN */
.lang-switch {
  position: fixed; top: 14px; right: 14px; z-index: 60;
  background: #1a1a2e; color: #fff; text-decoration: none;
  font-size: .8rem; font-weight: 700; padding: .4rem .85rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 3px 12px rgba(0,0,0,.25); opacity: .92;
}
.lang-switch:hover { opacity: 1; transform: translateY(-1px); }

/* ---------- SEO guide hub ---------- */
.guide-hub {
  max-width: 720px;
  margin: .4rem auto 0;
  padding: 1rem 1.2rem 1.4rem;
}
.guide-label {
  margin: 0 0 .65rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
}
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.guide-grid a {
  display: flex;
  flex-direction: column;
  padding: .75rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(108, 60, 233, .05);
}
.guide-grid a:hover { border-color: var(--accent); transform: translateY(-1px); }
.guide-grid b { color: var(--accent); font-size: .87rem; }
.guide-grid span { color: var(--muted); font-size: .72rem; }

@media (max-width: 480px) {
  .guide-grid { grid-template-columns: 1fr; }
}
