/* MyTekan · sales page. Warna dan font sama dengan app (DESIGN.md), tambah kuning dari video iklan. */
:root {
  --ink: #0B0B0F; --ink2: #3F3F46; --muted: #6E6E78; --line: rgba(11,11,15,.08);
  --bg: #F6F6F7; --surface: #FFFFFF; --fill: #EFEFF1;
  --accent: #0A7A73; --accent-soft: #E3F2F0; --yellow: #FFD84D;
  --radius: 18px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.55 Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01"; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Highlight kuning (sama gaya dengan video iklan) */
.hl { background: linear-gradient(180deg, transparent 56%, var(--yellow) 56%, var(--yellow) 90%, transparent 90%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 7px 13px; border-radius: 99px; }

/* Butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 99px;
  padding: 13px 22px; min-height: 48px; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:active { transform: scale(.97); }
.btn.lg { font-size: 16px; padding: 15px 26px; min-height: 54px; }
.btn.sm { font-size: 14px; padding: 9px 16px; min-height: 40px; }
.btn.block { display: flex; width: 100%; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.light { background: var(--surface); color: var(--ink); border-color: rgba(11,11,15,.14); }
.btn.ghost { color: var(--ink); border-color: rgba(11,11,15,.14); background: transparent; }
.btn.yellow { background: var(--yellow); color: var(--ink); }
@media (hover: hover) {
  .btn.dark:hover { background: #26262C; }
  .btn.light:hover, .btn.ghost:hover { border-color: rgba(11,11,15,.32); }
  .btn.yellow:hover { background: #FFE27A; }
}

/* Bar atas */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -.02em; }
.logo-img { width: 36px; height: 36px; display: block; }
.logo { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 800; }
.nav { display: none; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink2); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }
.top-act { display: flex; gap: 10px; }
.only-wide { display: none; }

/* 1. Hero */
.hero { background: var(--bg); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 44px; padding-bottom: 48px; }
.hero h1 { margin-top: 18px; font-size: clamp(40px, 10.5vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.lead { margin-top: 18px; font-size: clamp(17px, 4.4vw, 20px); line-height: 1.5; color: var(--ink2); max-width: 34ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ctas .btn { flex: 1 1 220px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-art { display: flex; justify-content: center; align-items: flex-start; gap: 14px; }
.phone { background: #1B1B1F; border-radius: 34px; padding: 7px; box-shadow: 0 30px 60px -20px rgba(11,11,15,.35), 0 6px 16px rgba(11,11,15,.1); }
.phone img, .phone video { display: block; border-radius: 28px; width: 100%; height: auto; background: #0B0B0D; }
.hero-art .phone img { box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.hero-art .mid { flex: 0 0 auto; width: min(52%, 250px); z-index: 1; }
.hero-art .side { flex: 0 0 auto; width: min(40%, 200px); margin-top: 48px; }

/* 2. Kepercayaan */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.trust-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding-top: 28px; padding-bottom: 28px; }
.trust p { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink2); line-height: 1.3; }
.trust svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Bahagian */
.sec { padding: 72px 0; }
section[id] { scroll-margin-top: 64px; }
.sec.alt { background: var(--bg); }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
#masalah .sec-head { max-width: 1060px; }
.sec-head h2, .hero h1, .feat h3, .final h2 { text-wrap: pretty; }
.sec-head h2 { margin-top: 14px; font-size: clamp(30px, 7.4vw, 48px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
.sec-head .tag + h2 { margin-top: 14px; }
.sec-head > h2:first-child { margin-top: 0; }
.sub { margin-top: 14px; font-size: 17px; color: var(--ink2); }

/* 3. Masalah */
.pains { display: grid; gap: 14px; }
.pain { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.pain-top { display: flex; align-items: center; justify-content: space-between; }
.pain-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); box-shadow: 0 1px 0 rgba(11,11,15,.06), 0 0 0 1px rgba(11,11,15,.06); display: grid; place-items: center; }
.pain-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pain-n { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.pain h3 { margin-top: 20px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.pain p { margin-top: 8px; color: var(--ink2); font-size: 15.5px; }

/* 4. Ciri */
.feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0 44px; }
.feat + .feat { border-top: 1px solid var(--line); padding-top: 44px; }
.sec-head + .feat { padding-top: 4px; }
.feat-n { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--accent); text-transform: uppercase; }
.feat h3 { margin-top: 12px; font-size: clamp(26px, 6.2vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.feat p { margin-top: 14px; font-size: 17px; color: var(--ink2); max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7A73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks li.no { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(11,11,15,.3); }
.ticks li.no::before { background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8A93' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.feat-art { display: flex; justify-content: center; align-items: flex-start; gap: 16px; }
.feat-art .phone { width: min(62vw, 270px); }
.feat-art.two .phone { width: min(42vw, 240px); }
.feat-art .low { margin-top: 40px; }

.mini-grid { display: grid; gap: 14px; margin-top: 12px; }
.mini { background: var(--surface); border-radius: var(--radius); padding: 22px 22px 24px; border: 1px solid var(--line); }
.mini-shot { height: 240px; overflow: hidden; border-radius: 14px; background: #E9E9EC; display: flex; justify-content: center; align-items: flex-start; padding-top: 18px; }
.mini-shot img { flex: 0 0 auto; width: 68%; max-width: 230px; height: auto; border-radius: 18px 18px 0 0; box-shadow: 0 10px 30px -12px rgba(11,11,15,.35); }
.mini h3 { margin-top: 18px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.mini p { margin-top: 6px; font-size: 15px; color: var(--ink2); }

/* 5. Langkah */
.steps { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.step-n { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.steps h3 { margin-top: 16px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.steps p { margin-top: 6px; color: var(--ink2); font-size: 15.5px; }

/* 6. Video */
.video-in .sec-head { text-align: center; margin-left: auto; margin-right: auto; }
.video-box { max-width: 460px; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #E9E9EC; box-shadow: 0 30px 60px -24px rgba(11,11,15,.35); }
.video-box video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #F3F3F5; }
.video-box.wide { max-width: 1040px; border-radius: 20px; }
.video-box.wide video { aspect-ratio: 16 / 9; }

/* 7. Harga */
.plans { display: grid; gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid rgba(11,11,15,.1); border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 24px 50px -28px rgba(10,122,115,.45); }
.plan-top { padding: 26px 24px 24px; }
.plan-name { display: flex; align-items: center; gap: 12px; }
.plan-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; flex: 0 0 auto; }
.plan-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.plan h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.badge { margin-left: auto; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(10,122,115,.25); }
.plan-for { margin-top: 14px; font-size: 15px; color: var(--ink2); line-height: 1.45; min-height: 44px; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-size: 15px; font-weight: 500; }
.plan-sub { margin-top: 12px; font-size: 14.5px; color: var(--ink2); line-height: 1.5; min-height: 44px; }
.plan-top .btn { margin-top: 22px; }
.btn.teal { background: var(--accent); color: #fff; }
@media (hover: hover) { .btn.teal:hover { background: #086A64; } }
.plan-list { border-top: 1px solid var(--line); padding: 22px 24px 26px; flex: 1; }
.plan.best .plan-list { background: #FAFDFC; }
.plan-lh { font-size: 15px; font-weight: 700; }
.plan .ticks { margin-top: 14px; }
.pay-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }

/* 8. Soalan */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 52px 20px 22px; font-weight: 600; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--ink2); font-size: 15.5px; }

/* 9. Ajakan akhir */
.final { background: var(--ink); color: #fff; padding: 80px 0; text-align: center; }
.final h2 { font-size: clamp(32px, 8vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; max-width: 16ch; margin: 0 auto; }
.final .hl { display: inline-block; color: var(--ink); background: var(--yellow); padding: .06em .28em .12em; margin: .12em 0 0 .08em; border-radius: .22em; line-height: 1; }
.final p { margin-top: 16px; color: #C9C9CF; font-size: 17px; }
.final .btn { margin-top: 28px; }

/* 10. Footer */
.foot { background: var(--ink); color: #C9C9CF; border-top: 1px solid rgba(255,255,255,.08); padding: 36px 0 120px; font-size: 14.5px; }
.foot .brand { color: #fff; }
.foot .logo { background: #fff; color: var(--ink); }
.foot-in { display: grid; gap: 22px; }
.foot-note { margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a { text-decoration: none; color: #E4E4E7; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-co { color: #8E8E96; font-size: 13.5px; }

/* Butang terapung di phone */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s cubic-bezier(.32,.72,0,1); }
.sticky.on { transform: none; }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }

/* Timbul ketika scroll. Hanya aktif bila JS berjalan dan pengguna tak minta kurangkan animasi. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; }
  .js .reveal.in { opacity: 1; animation: pop .7s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--d, 0ms); }
  .js .phone.reveal.in { animation-name: pop-phone; animation-duration: .8s; }
  .js .hero-copy > *, .js .hero-art .phone { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .js .hero-copy > :nth-child(4) { animation-delay: 240ms; }
  .js .hero-copy > :nth-child(5) { animation-delay: 300ms; }
  .js .hero-art .phone:nth-child(1) { animation-delay: 260ms; }
  .js .hero-art .phone:nth-child(2) { animation-delay: 160ms; }
  .js .hero-art .phone:nth-child(3) { animation-delay: 360ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(26px); } }
@keyframes pop-phone { from { opacity: 0; transform: translateY(44px) scale(.94); } }

/* Tempat kosong untuk diisi (draf sahaja) */
.tbd { outline: 2px dashed #E0A800; outline-offset: 3px; border-radius: 4px; }

/* Tablet ke atas */
@media (min-width: 720px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .pains { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .sec { padding: 96px 0; }
  .foot-in { grid-template-columns: 1fr auto; align-items: start; }
  .foot-co { grid-column: 1 / -1; }
  .ctas .btn { flex: 0 0 auto; }
}

/* Desktop */
@media (min-width: 960px) {
  .nav { display: flex; }
  .only-wide { display: inline-flex; }
  .hero-in { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; padding-top: 72px; gap: 24px; }
  .hero h1 { font-size: 64px; }
  .hero-in { padding-bottom: 80px; }
  .hero-art { padding-top: 20px; }
  .hero-art .mid { width: 40%; max-width: 250px; }
  .hero-art .side { width: 31%; max-width: 195px; }

  .trust-in { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .trust p { white-space: nowrap; }
  .trust-in { padding-top: 34px; padding-bottom: 34px; }
  .feat { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 56px 0; }
  .feat + .feat { padding-top: 56px; }
  .sec-head + .feat { padding-top: 0; }
  #ciri .sec-head { margin-bottom: 8px; }
  .feat.rev .feat-copy { order: 2; }
  .sticky { display: none; }
  .foot { padding-bottom: 48px; }
}

/* Skrin lebar: 4 kad masalah sebaris */
@media (min-width: 1100px) { .pains { grid-template-columns: repeat(4, 1fr); } }

/* Laman Terma, Privasi, Refund, Hubungi */
.doc { padding: 40px 0 72px; }
.doc-back { display: inline-block; font-size: 14.5px; font-weight: 600; color: var(--accent); text-decoration: none; margin-bottom: 22px; }
.doc-back:hover { text-decoration: underline; }
.doc h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.doc-lead { margin-top: 14px; font-size: 18px; color: var(--ink2); text-wrap: pretty; }
.doc-date { margin-top: 10px; font-size: 14px; color: var(--muted); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc h2 { margin-top: 34px; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; font-weight: 700; }
.doc p, .doc ul { margin-top: 12px; color: var(--ink2); text-wrap: pretty; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a:not(.doc-back):not(.contact-card) { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.contact-grid { display: grid; gap: 14px; margin-top: 30px; }
.contact-card { display: grid; gap: 4px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--accent); }
.contact-card:active { transform: scale(.98); }
.contact-k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.contact-v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.contact-s { font-size: 14.5px; color: var(--muted); }
@media (min-width: 720px) { .doc { padding: 56px 0 96px; } .contact-grid { grid-template-columns: 1fr 1fr; } }
.doc-page .foot { padding-bottom: 48px; }
