/* MySolat — gaya laman jualan */
:root {
  --bg: #0d1412;
  --bg2: #111917;
  --card: #151c1a;
  --card2: #1c2522;
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.76);
  --faint: rgba(244, 241, 234, 0.6);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #e8c77a;
  --gold-hi: #f5dca0;
  --on-gold: #14110a;
  --ok: #7fd1b9;
  --bad: #f2a07b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 Figtree, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
h1, h2, h3 { margin: 0; }
.display { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.01em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }

/* butang */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 12px; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-sm { min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: 16px; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hi); color: var(--on-gold); }
.btn-ghost { border-color: rgba(255,255,255,0.25); color: var(--ink); background: transparent; font-weight: 600; }
.btn-ghost:hover { border-color: var(--gold); color: var(--ink); }
.btn-dark { background: var(--on-gold); color: var(--ink); }
.btn-dark:hover { color: var(--gold); }
.btn:disabled { opacity: 0.6; cursor: wait; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* kepala */
.topbar { border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 16px; }
.nav a:not(.btn) { color: rgba(244,241,234,0.85); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--gold); }
.back { font-size: 15px; }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(232,199,122,0.5); color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.lead { margin: 0; font-size: 20px; color: rgba(244,241,234,0.82); max-width: 560px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.hero-shot { flex: 1 1 520px; min-width: 0; }

/* contoh skrin TV */
.tv { border-radius: 18px; padding: 14px; background: #1b2422; border: 1px solid rgba(255,255,255,0.08); }
.tv-screen { border-radius: 10px; overflow: hidden; background: var(--bg); aspect-ratio: 16 / 9; display: flex; flex-direction: column; font-size: clamp(8px, 1.2vw, 11px); }
.tv-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 1.2em 1.4em; border-bottom: 1px solid rgba(255,255,255,0.08); }
.tv-head b { font-family: 'Space Grotesk', sans-serif; font-size: 1.3em; }
.tv-clock { font-family: 'Space Grotesk', sans-serif; font-size: 2.4em; font-weight: 600; line-height: 1; }
.tv-body { flex: 1; display: flex; gap: 1em; padding: 1em 1.4em; min-height: 0; }
.tv-slide { flex: 1; border-radius: 0.8em; background: #24394f; padding: 1.4em; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.4em; }
.tv-tag { align-self: flex-start; padding: 0.2em 0.8em; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 0.8em; font-weight: 700; }
.tv-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.6em; line-height: 1.1; }
.tv-times { width: 38%; border-radius: 0.8em; background: var(--card); padding: 0.8em 1em; display: flex; flex-direction: column; justify-content: space-between; }
.tv-times div { display: flex; justify-content: space-between; }
.tv-times .on { margin: 0 -0.6em; padding: 0.2em 0.6em; border-radius: 0.4em; background: var(--gold); color: var(--on-gold); font-weight: 700; }
.tv-times span:last-child { font-family: 'Space Grotesk', sans-serif; }
.tv-ticker { display: flex; align-items: center; gap: 0.8em; height: 2.2em; background: var(--card); overflow: hidden; white-space: nowrap; }
.tv-ticker b { height: 100%; display: flex; align-items: center; padding: 0 0.8em; background: var(--gold); color: var(--on-gold); }
.caption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--faint); }

/* bahagian */
.band { background: var(--bg2); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-head.center { align-items: center; text-align: center; margin: 0 auto; }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; color: var(--gold); line-height: 1; }
.steps h3 { font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* harga */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; max-width: 900px; margin: 0 auto; width: 100%; }
.prices.three { max-width: none; }
.price { padding: 32px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; position: relative; }
.price.best { background: var(--card2); border: 2px solid var(--gold); }
.badge { position: absolute; top: -14px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.price-name { font-size: 18px; font-weight: 700; }
.amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amount b { font-family: 'Space Grotesk', sans-serif; font-size: 48px; line-height: 1; }
.amount span { color: var(--muted); font-size: 15px; }
.price ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: rgba(244,241,234,0.85); font-size: 16px; }
.price .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.price .actions .btn { flex: 1 1 140px; }

/* soalan lazim */
.faq { max-width: 860px; }
.faq-list { border-top: 1px solid rgba(255,255,255,0.12); }
.faq details { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { margin: 12px 0 0; color: var(--muted); }

.cta { margin-bottom: 72px; }
.cta-in { border-radius: 24px; background: var(--gold); color: var(--on-gold); padding: 48px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-in h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.cta-in p { margin: 8px 0 0; font-size: 18px; }

/* kaki */
.foot { border-top: 1px solid rgba(255,255,255,0.08); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 15px; color: var(--faint); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* borang */
.checkout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 48px; padding-bottom: 72px; max-width: 1100px; }
.form { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.form h1 { font-size: 36px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field input, .field select {
  min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
  background: #0a100e; color: var(--ink); font: inherit; font-weight: 400;
}
.field input:focus, .field select:focus { border-color: var(--gold); outline: none; }
.field small { font-weight: 400; color: var(--faint); }
.field .err, .alert-err { color: var(--bad); font-weight: 500; }
.split { display: flex; flex-wrap: wrap; gap: 16px; }
.split .field { flex: 1 1 240px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: rgba(244,241,234,0.85); }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--gold); }
.summary { flex: 1 1 320px; min-width: 0; border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-total { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; align-items: baseline; }
.sum-total b { font-family: 'Space Grotesk', sans-serif; font-size: 30px; }
.secure { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--bad); background: rgba(242,160,123,0.08); }
.notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--gold); background: rgba(232,199,122,0.08); font-size: 15px; }

/* status */
.status { max-width: 720px; padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.status-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.status-head h1 { font-size: 34px; }
.icon-circle { width: 64px; height: 64px; border-radius: 32px; display: flex; align-items: center; justify-content: center; }
.icon-ok { background: rgba(127,209,185,0.15); color: var(--ok); }
.icon-wait { background: rgba(232,199,122,0.15); color: var(--gold); }
.icon-bad { background: rgba(242,160,123,0.15); color: var(--bad); }
.keybox { border-radius: 18px; background: var(--card); border: 2px solid var(--gold); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.key { font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px, 5vw, 38px); font-weight: 700; letter-spacing: 0.04em; word-break: break-all; }
.status ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: rgba(244,241,234,0.88); }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }

/* admin */
.admin { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold); font-weight: 700; white-space: nowrap; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag-paid { background: rgba(127,209,185,0.18); color: var(--ok); }
.tag-pending { background: rgba(232,199,122,0.15); color: var(--gold); }
.tag-failed { background: rgba(242,160,123,0.15); color: var(--bad); }
.mono { font-family: 'Space Grotesk', monospace; }

@media (max-width: 640px) {
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .cta-in { padding: 32px 24px; }
  .nav { gap: 6px 18px; font-size: 15px; }
  .summary { position: static; }
}
