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

/*
 * Bahasa reka bentuk mengikut halaman percubaan HighLevel:
 * jalur navy gelap berselang dengan putih, Poppins tebal, blok CTA coral,
 * butang pil kuning, subkepala huruf besar berjarak.
 */

:root {
  color-scheme: light;

  --navy: #07223d;
  --navy-deep: #051a2f;
  --navy-line: #123458;

  --coral: #d32f2f;
  --coral-hover: #b52626;
  --yellow: #febd03;
  --yellow-hover: #e5a900;
  --green: #35c163;
  --blue: #3b8ef3;

  --ink: #16202c;
  --ink-soft: #4a5765;
  --ink-faint: #75818f;
  --surface: #ffffff;
  --surface-sunk: #f2f5f8;
  --border: #dde4ec;
  --border-strong: #c3ceda;

  --danger: #b3261e;
  --danger-soft: #fdf0ef;

  --radius: 6px;
  --radius-lg: 10px;
  --pill: 75px;
  --shadow: 0 2px 10px rgba(7, 34, 61, .08);
  --shadow-lift: 0 10px 30px -10px rgba(7, 34, 61, .28);
  --focus: 0 0 0 3px rgba(59, 142, 243, .55);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 { letter-spacing: -0.02em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 680px; }

/* ---------- jalur ---------- */

.band-navy { background: var(--navy); color: #fff; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-sunk { background: var(--surface-sunk); }

/* ---------- kepala ---------- */

.masthead { background: var(--navy); }
.masthead .wrap { display: flex; align-items: center; gap: 16px; min-height: 76px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

.brand svg { color: var(--yellow); flex: none; }

/* ---------- hero ---------- */

.hero { padding: 68px 0 76px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 20px;
}

.hero h1 .lead-line { display: block; color: var(--yellow); }

.hero-sub { color: #c3d2e2; font-size: 17px; margin: 0 0 26px; max-width: 46ch; }

.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks svg { flex: none; margin-top: 4px; color: var(--green); }
.ticks strong { font-weight: 600; }

/* ---------- blok CTA ---------- */

.cta-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: var(--radius);
  border: 0;
  font: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-lift);
  transition: background-color .2s, transform .2s;
}

.cta-block:hover { background: var(--coral-hover); }
.cta-block:focus-visible { outline: none; box-shadow: var(--focus); }
.cta-block .cta-title { font-size: 21px; font-weight: 700; letter-spacing: .01em; line-height: 1.2; }
.cta-block .cta-note { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .92; }
.cta-block[disabled] { opacity: .65; cursor: not-allowed; }
.cta-block.full { display: flex; width: 100%; }

/* ---------- butang ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--pill);
  border: 2px solid var(--yellow);
  background: var(--yellow);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

.btn:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }

.btn-coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-hover); border-color: var(--coral-hover); }

.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--ink); }
.btn-outline:hover { background: var(--surface-sunk); border-color: var(--navy); }

/* ---------- statistik ---------- */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }

.stat { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 18px 16px; text-align: center; }
.stat .figure { font-size: 26px; font-weight: 700; line-height: 1.1; }
.stat .caption { font-size: 12.5px; opacity: .95; margin-top: 2px; }

/* ---------- seksyen ---------- */

section { padding: 68px 0; }

.section-head { text-align: center; max-width: 62ch; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(25px, 3vw, 34px); font-weight: 700; margin: 0 0 10px; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 16.5px; }
.band-navy .section-head p { color: #c3d2e2; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 8px;
}

.band-navy .eyebrow { color: var(--yellow); }

/* ---------- suis kitaran ---------- */

.cycle-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--pill);
  padding: 5px;
  gap: 4px;
}

.band-sunk .cycle-switch, .band-white .cycle-switch { background: #fff; border-color: var(--border); }

.cycle-switch button {
  font: inherit;
  font-weight: 600;
  font-size: 14.5px;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: var(--pill);
  padding: 8px 22px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.cycle-switch button[aria-pressed='true'] { background: var(--yellow); color: var(--navy); }
.cycle-switch button:focus-visible { outline: none; box-shadow: var(--focus); }

.switch-row { text-align: center; margin-bottom: 34px; }
.save-note { font-size: 14px; color: var(--green); font-weight: 600; margin: 12px 0 0; }

/* ---------- kad pakej ---------- */

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; align-items: stretch; }

.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier.featured { border: 2px solid var(--coral); box-shadow: var(--shadow-lift); }

.ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--pill);
  white-space: nowrap;
}

.tier h3 { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin: 0 0 6px; }
.tier .tagline { color: var(--ink-faint); font-size: 14px; margin: 0 0 20px; }

.price { display: flex; align-items: baseline; gap: 7px; }
.price .amount { font-size: 42px; font-weight: 700; line-height: 1; color: var(--navy); letter-spacing: -0.03em; }
.price .per { color: var(--ink-faint); font-size: 14px; }
.price-alt { color: var(--ink-faint); font-size: 13.5px; margin: 9px 0 24px; min-height: 20px; }

.features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.features li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.features svg { flex: none; margin-top: 3px; color: var(--green); }
.features li.off { color: var(--ink-faint); }
.features li.off svg { color: var(--border-strong); }

.tier .cta-block, .tier .btn { margin-top: auto; }
.tier .cta-block { padding: 14px 20px; }
.tier .cta-block .cta-title { font-size: 19px; }
.tier .cta-block .cta-note { font-size: 11.5px; letter-spacing: .08em; }

/* ---------- jalur deposit ---------- */

.deposit-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }

.deposit-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); padding: 26px 24px; }
.deposit-card h3 { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 10px; }
.deposit-card p { margin: 0; color: #d3dfec; font-size: 15px; }
.deposit-card strong { color: #fff; }

/* ---------- add-on ---------- */

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow); }

.addons { width: 100%; border-collapse: collapse; }
.addons th, .addons td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.addons th { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); font-weight: 700; }
.addons td:last-child, .addons th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.addons tr:last-child td { border-bottom: none; }

/* ---------- soalan lazim ---------- */

.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 22px; line-height: 1; font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq summary:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- borang ---------- */

.form-grid { display: grid; gap: 20px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.hint { font-weight: 400; color: var(--ink-faint); font-size: 13px; }

.field-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }

input[type='text'], input[type='email'], input[type='tel'], select {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}

select { padding-right: 38px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 19px center, right 14px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: var(--focus); }
input[aria-invalid='true'] { border-color: var(--danger); }

.choice {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}

.choice:hover { border-color: var(--border-strong); }
.choice:has(input:checked) { border-color: var(--coral); background: #fdf5f5; }
.choice:has(input:focus-visible) { box-shadow: var(--focus); }
.choice input { margin: 3px 0 0; width: 19px; height: 19px; accent-color: var(--coral); flex: none; cursor: pointer; }
.choice .choice-body { display: grid; gap: 2px; }
.choice .choice-title { font-weight: 600; font-size: 15px; }
.choice .choice-meta { color: var(--ink-faint); font-size: 13.5px; }
.choice-list { display: grid; gap: 10px; }

.summary { background: var(--surface-sunk); border-radius: var(--radius-lg); padding: 20px 22px; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
.summary-line:last-of-type { border-bottom: none; }
.summary-line.total { font-weight: 700; font-size: 17px; color: var(--navy); border-top: 2px solid var(--border-strong); border-bottom: none; margin-top: 6px; padding-top: 13px; }
.summary-line span:last-child { font-variant-numeric: tabular-nums; }

.alert { border-radius: var(--radius); padding: 14px 16px; font-size: 15px; margin-bottom: 20px; }
.alert-error { background: var(--danger-soft); border: 1px solid var(--danger); color: var(--danger); }

.trust-line { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-faint); font-size: 13.5px; margin: 0; text-align: center; }
.trust-line svg { flex: none; color: var(--green); }

/* ---------- status ---------- */

.status-card { text-align: center; padding: 46px 30px; }
.status-icon { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--coral); }
.status-card h1 { font-size: 25px; margin: 0 0 12px; }
.status-card p { color: var(--ink-soft); margin: 0 auto; max-width: 46ch; }
.status-meta { margin-top: 24px; font-size: 13.5px; color: var(--ink-faint); }

/* ---------- kaki ---------- */

footer { background: var(--navy-deep); color: #8fa5bd; padding: 34px 0; font-size: 13.5px; }
footer .wrap { display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; }

/* ---------- responsif ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .masthead .wrap { min-height: 64px; }
  .masthead .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .brand { font-size: 17px; }
  .row-2 { grid-template-columns: 1fr; }
  .hero { padding: 46px 0 52px; }
  section { padding: 46px 0; }
  .cta-block { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
