/* Promotional website. --brand is set per site (Tetapan Laman). Uses the shared font and type scale from css/tokens.css. */
:root {
    --brand: #0d9488;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --brand-soft: color-mix(in srgb, var(--brand) 10%, #fff);
    --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-primary); color: var(--ink); background: #fff; line-height: var(--leading-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: var(--leading-heading); margin: 0 0 .5em; letter-spacing: -0.02em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 85%, #000); }
.btn-ghost { background: #fff; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 35%, #fff); }
.btn-light { background: #fff; color: var(--brand); }
.btn-sm { padding: 8px 16px; font-size: .88rem; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--brand); }
.nav-toggle, .nav-burger { display: none; }

/* Sections */
section { padding: 72px 0; }
section:nth-of-type(even):not(.s-cta):not(.s-hero) { background: var(--soft); }
.s-title { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; }
.s-sub { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 36px; font-size: 1.05rem; }
.s-hero { padding: 88px 0 72px; background: radial-gradient(1200px 400px at 80% -10%, var(--brand-soft), transparent), #fff; }
.s-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.s-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.s-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin: 0 0 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.s-hero-grid.solo { grid-template-columns: 1fr; text-align: center; }
.s-hero-grid.solo h1, .s-hero-grid.solo .lead { max-width: 820px; margin-inline: auto; }
.s-hero-grid.solo .btns { justify-content: center; }
.s-hero-img img { border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .25); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0; }
.dot { display: block; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); margin-bottom: 14px; position: relative; }
.dot::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--brand); }
.steps .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }

.s-imgtext-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.s-imgtext.left .s-imgtext-grid > :first-child { order: 2; }
.s-imgtext img { border-radius: var(--radius); }
.rich h1, .rich h2 { text-align: left; }
.rich h3 { margin-top: 1.4em; }
.rich ul { padding-left: 1.2em; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.shots figure { margin: 0; }
.shots img { border-radius: 12px; border: 1px solid var(--line); }
.shots figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; text-align: center; }

.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--brand) 60%, transparent); }
.plan .tag { position: absolute; top: -12px; right: 20px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 2.2rem; font-weight: 800; color: var(--ink) !important; margin: 4px 0 !important; }
.price span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 12px 0 20px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.muted { color: var(--muted); }

.quote blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.quote figcaption { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; }
.quote figcaption strong { display: block; color: var(--ink); }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }

details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.3rem; color: var(--brand); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 0 16px; color: var(--muted); }

.s-cta { background: var(--brand); color: #fff; text-align: center; }
.s-cta .s-title { color: #fff; }
.s-cta p { opacity: .92; font-size: 1.1rem; margin: 0 0 24px; }

.lead-form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.lead-form input, .lead-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; width: 100%; }
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 40%, #fff); border-color: var(--brand); }
.lead-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.notice.ok { background: #ecfdf5; color: #065f46; }
.notice.err { background: #fef2f2; color: #991b1b; }

/* Footer */
.site-foot { background: var(--ink); color: #cbd5e1; padding: 48px 0 24px; }
.site-foot strong { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { color: #cbd5e1; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.copy { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 20px; font-size: .85rem; color: #94a3b8; }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 30; background: #25d366; color: #fff; font-weight: 700; text-decoration: none; padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); }
.preview-bar { position: sticky; top: 0; z-index: 40; background: #f59e0b; color: #1f2937; text-align: center; font-weight: 700; padding: 8px; font-size: .9rem; }

@media (max-width: 860px) {
    section { padding: 56px 0; }
    .s-hero-grid, .s-imgtext-grid { grid-template-columns: 1fr; gap: 32px; }
    .s-imgtext.left .s-imgtext-grid > :first-child { order: 0; }
    .foot-grid { grid-template-columns: 1fr; }
    .nav-burger { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
    .nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; }
    .nav-burger span::before { position: absolute; top: -7px; }
    .nav-burger span::after { position: absolute; top: 7px; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 4px; }
    .site-nav a:not(.btn) { padding: 10px 4px; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
}
@media (max-width: 560px) {
    .lead-form .two { grid-template-columns: 1fr; }
    .lead-form { padding: 20px; }
}
