/* ============================================================
   Dosen Trader Inner Circle — landing page (mobile-only)
   Tema: hitam dominan · aksen emas · merah hemat
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-elevated: #141416;
  --bg-elevated-2: #1c1c20;
  --gold: #e0b043;
  --gold-bright: #f4ce6a;
  --gold-deep: #a97c1e;
  --red: #d63a3a;
  --text: #f5f5f2;
  --text-muted: #a3a3a0;
  --line: #2a2a2e;
  --success: #35c759;

  --grad-gold: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  /* latar gelap gradient supaya frame terlihat seperti HP di desktop */
  background: radial-gradient(
    circle at 50% -10%,
    #17130a 0%,
    #050506 55%,
    #000 100%
  );
  min-height: 100vh;
}

/* ---------- Frame mobile ---------- */
.frame {
  max-width: 440px;
  margin: 0 auto;
  background:
    radial-gradient(
      120% 60% at 50% 0%,
      rgba(224, 176, 67, 0.1),
      transparent 60%
    ),
    var(--bg);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  padding-bottom: 90px; /* ruang untuk sticky CTA */
}

section {
  padding: 30px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* ---------- Tipografi ---------- */
h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.h2-note {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  margin: 6px 0 14px;
}
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
p {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 16px;
}
p:last-child {
  margin-bottom: 0;
}

.sub {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}
.center {
  text-align: center;
  margin: 15px 0 0 0;
}
.gold {
  color: var(--gold);
}
.red {
  color: var(--red);
}
.muted {
  color: var(--text-muted);
}

/* ---------- Badge & chip ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.badge-gold {
  color: var(--gold);
  border: 1px solid rgba(224, 176, 67, 0.4);
  background: rgba(224, 176, 67, 0.08);
}
/* Label penanda gratis — BUKAN tombol: outline emas, tanpa fill/glow/hover */
.badge-free {
  color: var(--gold);
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 7px 16px;
}
.chip {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(224, 176, 67, 0.4);
  background: rgba(224, 176, 67, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-top: 40px;
}
.warn-box {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(214, 58, 58, 0.45);
  background: rgba(214, 58, 58, 0.07);
  color: var(--text-muted);
  font-size: 15px;
  text-align: left;
}

/* ---------- Placeholder gambar ---------- */
.ph {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 2px dashed rgba(224, 176, 67, 0.5);
  border-radius: 16px;
  background: var(--bg-elevated);
  color: var(--gold);
  text-align: center;
  padding: 16px;
}
.ph b {
  font-size: 14px;
  color: var(--gold);
}
.ph span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Checklist ---------- */
.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding: 12px 14px 12px 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  /* Lucide circle-check (hijau --success) — sumber: assets/icons/circle-check.svg */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335C759' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.check-list.tight li {
  padding: 9px 12px 9px 40px;
  background: transparent;
  border: none;
}
.check-list.tight li::before {
  top: 9px;
}

/* ---------- Ikon (Lucide, inline, currentColor) ---------- */
.ic {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}
.ic-sm {
  width: 18px;
  height: 18px;
}
.ic-warn {
  width: 35px;
  height: 35px;
  vertical-align: -0.22em;
}

/* ---------- Sinyal: satu entry yang jelas ---------- */
.signal-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.signal-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  font-size: 15px;
  font-weight: 500;
}
.signal-ic {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-elevated-2);
}
.signal-ic .ic {
  width: 23px;
  height: 23px;
}
.success {
  color: var(--success);
}

.eyebrow {
  margin-top: 26px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
/* galeri sinyal memakai pola scroll horizontal yang sama dengan testimoni (.testi-scroll) */
.signal-gallery {
  margin-top: 14px;
}

.lead-gold {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--gold);
  text-align: center;
}

/* ---------- Kartu penawaran ---------- */
.offer-card,
.final-cta {
  text-align: center;
  background: var(--bg-elevated);
  box-shadow:
    inset 0 0 0 1px rgba(224, 176, 67, 0.25),
    0 0 40px rgba(224, 176, 67, 0.06);
}
.offer-card .check-list,
.final-cta .check-list {
  text-align: left;
  max-width: 260px;
  margin: 16px auto;
}

/* ---------- Tombol CTA ---------- */
.cta {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 17px 18px;
  min-height: 54px;
  border-radius: 16px;
  background: var(--grad-gold);
  color: #1a1200;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(224, 176, 67, 0.28);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.cta:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 10px 30px rgba(224, 176, 67, 0.42);
}
.cta:active {
  transform: scale(0.98);
}
.cta:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}
.cta.big {
  font-size: 17px;
  padding: 19px;
}

/* ---------- Siklus (Section 7) ---------- */
.cycle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 20px 0;
}
.cycle-step {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}
.cycle-step.red-step {
  color: var(--red);
  border-color: rgba(214, 58, 58, 0.5);
  background: rgba(214, 58, 58, 0.08);
}
.cycle-step.muted {
  color: var(--text-muted);
  font-weight: 500;
}
.cycle-arrow {
  color: var(--gold);
  width: 20px;
  height: 20px;
}

/* ---------- Grid fitur ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}
.feat-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-elevated-2);
  color: var(--gold);
}
.feat-ic .ic {
  width: 28px;
  height: 28px;
}
.feat > span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-head);
  text-align: center;
}
.feat.span2 {
  grid-column: 1 / -1;
}

/* ---------- Value stack ---------- */
.value-list {
  display: grid;
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  font-size: 15px;
}
.value-row b {
  font-family: var(--font-head);
  color: var(--gold);
}
.value-row.total {
  background: var(--bg-elevated-2);
  border-top: 1px solid var(--line);
}
.value-row.total span {
  font-weight: 700;
}
.value-row.total b s {
  color: var(--text-muted);
}
/* Label "GRATIS" di value stack — BUKAN tombol: pill outline emas */
.free-badge {
  margin: 14px auto 0;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.free-badge .ic {
  width: 20px;
  height: 20px;
}
/* wrapper supaya pill inline tetap di tengah */
.free-badge-wrap {
  text-align: center;
}

/* ---------- Testimoni ---------- */
.testi-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.testi-scroll::-webkit-scrollbar {
  height: 6px;
}
.testi-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.testi {
  flex: 0 0 72%;
  scroll-snap-align: center;
  border-radius: 16px;
}
img.testi {
  object-fit: cover;
  width: 90%;
}

/* ---------- Kuota ---------- */
.quota {
  margin: 22px 0 6px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(214, 58, 58, 0.4);
  background: rgba(214, 58, 58, 0.06);
  text-align: center;
}
.quota-warn {
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.quota-bar {
  height: 14px;
  border-radius: 999px;
  background: var(--bg-elevated-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.quota-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--success), #6fe08a);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.quota-num {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-muted);
}
.quota-num b {
  color: var(--text);
  font-family: var(--font-head);
}
.quota-num .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 7px;
  vertical-align: middle;
}
.quota-left {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  margin-top: 2px;
}
.quota-left b {
  color: var(--red);
}
.quota-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ---------- FAQ ---------- */
.faq {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elevated);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
}
.faq[open] summary::after {
  content: "−";
}
.faq p {
  padding: 0 16px 14px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Footer ---------- */
footer {
  padding: 34px 22px 40px;
  text-align: center;
  border-bottom: none;
}
.foot-name {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--gold);
  font-size: 17px;
}
.foot-year {
  color: var(--text-muted);
  font-size: 13px;
  margin: 4px 0 16px;
}
.disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: left;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  z-index: 50;
  padding: 22px 16px 16px;
  background: linear-gradient(
    to top,
    var(--bg) 50%,
    rgba(10, 10, 11, 0.85) 78%,
    transparent
  );
  /* Revisi 1: muncul cepat saat mulai scroll */
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition:
    opacity 0.1s ease-out,
    transform 0.1s ease-out;
}
.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}
.sticky-cta .cta {
  margin-top: 0;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .quota-fill {
    transition: none;
  }
  .cta {
    transition: none;
  }
  .sticky-cta {
    transition: none;
  }
}
