/* Tatap Lurus - gaya utama. Warna mengikuti logo: navy, biru, biru langit. */
:root {
    --navy: #0b2a5b;
    --blue: #1565c0;
    --blue-2: #1d78d6;
    --sky: #3fb0ff;
    --ink: #14213d;
    --muted: #5b6b86;
    --line: #e1e9f5;
    --tint: #f3f8ff;
    --white: #fff;
    --ok: #0f8a5f;
    --err: #c0392b;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(11, 42, 91, .08);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; margin-top: 2rem; }
.mt { margin-top: 1rem; display: inline-block; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.brand img { width: 120px; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--blue); border-color: var(--sky); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-family: inherit; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 20px rgba(21, 101, 192, .28); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { display: block; width: 100%; margin-top: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Typography helpers */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-2); margin-bottom: .6rem; }
.accent { background: linear-gradient(135deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--muted); }
.lead-sm { color: var(--muted); font-size: 1.05rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--blue); background: #e8f2ff; padding: .2rem .65rem; border-radius: 999px; font-style: normal; }
.link { font-weight: 700; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 2rem; background: linear-gradient(180deg, var(--tint), #fff); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; background: radial-gradient(900px 400px at 85% 0%, #dcecff 0%, transparent 70%), linear-gradient(180deg, var(--tint), #fff); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero-copy .lead { max-width: 560px; margin: 1rem 0 1.6rem; }
.trust { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.trust li::before { content: "✓"; color: var(--sky); margin-right: .4rem; font-weight: 800; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 1.15rem; }
.pillar-mini { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; }
.pillar-mini li { display: flex; gap: .9rem; align-items: flex-start; }
.pillar-mini strong { display: block; color: var(--navy); }
.pillar-mini span:not(.pm-icon) { font-size: .88rem; color: var(--muted); display: block; line-height: 1.5; }
.pm-icon, .icon-badge { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: linear-gradient(135deg, #e3f0ff, #cfe6ff); font-size: 1.3rem; }
.icon-badge { width: 54px; height: 54px; font-size: 1.6rem; margin-bottom: 1rem; }

/* Cards & grids */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11, 42, 91, .12); }
.card h3 a { color: inherit; }
.card p:last-child { margin-bottom: 0; }
.card-pillar .link { display: inline-block; margin-top: 1rem; }

.check { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.check li { position: relative; padding-left: 1.7rem; }
.check li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.check.big { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.6rem 1.8rem; box-shadow: var(--shadow); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.step { border-top: 3px solid var(--sky); padding-top: 1rem; }
.step-no { font-size: 2rem; font-weight: 800; color: var(--blue); opacity: .35; display: block; line-height: 1; margin-bottom: .4rem; }

/* Programs */
.program .badge { display: inline-block; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; margin-bottom: .8rem; }
.program h2 { font-size: 1.4rem; }
.program .format { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.program .note { font-size: .84rem; background: var(--tint); border-left: 3px solid var(--sky); padding: .6rem .8rem; border-radius: 6px; color: var(--muted); }

/* Tools */
.tool-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.tool-card, .quiz { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); display: grid; gap: .35rem; }
input[type=text], input[type=number], select, textarea { width: 100%; font: inherit; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--blue-2); }
.result { display: grid; gap: .6rem; background: var(--tint); border-radius: 14px; padding: 1rem 1.1rem; }
.result div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .9rem; color: var(--muted); }
.result strong { color: var(--navy); font-size: 1.1rem; white-space: nowrap; }
.result-hl { border-top: 1px dashed #b9d4f5; padding-top: .7rem; }
.result-hl strong { color: var(--ok); }

.quiz fieldset { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.quiz legend { font-weight: 600; color: var(--navy); padding: 0; margin-bottom: .6rem; width: 100%; float: left; }
.q-no { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem; margin-right: .4rem; }
.opt { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--ink); cursor: pointer; padding: .35rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; }
.opt:has(input:checked) { border-color: var(--blue); background: #e8f2ff; }
.opt input { accent-color: var(--blue); }
.quiz-result { background: var(--tint); border-radius: 14px; padding: 1.2rem; border-left: 4px solid var(--sky); }
.quiz-result h3 { margin-bottom: .4rem; }
.score { font-size: 2rem; font-weight: 800; color: var(--blue); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq details[open] summary { margin-bottom: .6rem; }
.faq p { margin: 0; color: var(--muted); }

/* Article */
.article h1 { margin-top: .6rem; }
.article p { font-size: 1.05rem; }
.article h3 { margin-top: 1.8rem; }
.callout { background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 1.3rem 1.5rem; margin-top: 2rem; }
.callout p { color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 3rem 0; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { margin: 0; color: #d6e6ff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.form { display: grid; gap: 1rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.err { color: var(--err); font-weight: 500; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1rem; }
.alert-ok { background: #e6f7f0; border: 1px solid #a8e0c8; color: #0b5f42; }
.alert-err { background: #fdecea; border: 1px solid #f3b8b1; color: #8c2a20; }
.contact-list { display: grid; gap: 1rem; margin-top: 1rem; }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Footer */
.site-footer { background: #071c40; color: #c3d3ee; padding: 3.5rem 0 1.5rem; }
.site-footer h4 { color: #fff; }
.site-footer a { color: #c3d3ee; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { width: 130px; background: #fff; padding: .4rem .6rem; border-radius: 10px; margin-bottom: 1rem; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }

.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.wa-float:hover { transform: scale(1.06); text-decoration: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .card, .btn { transition: none; }
}

/* Hero dengan video latar */
.hero.hero-video { position: relative; overflow: hidden; display: flex; align-items: center; min-height: max(560px, calc(100svh - 70px)); padding: 3rem 0; background: #071c40; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 22, 58, .88) 0%, rgba(5, 22, 58, .62) 38%, rgba(5, 22, 58, .12) 70%, rgba(5, 22, 58, 0) 100%); }
.hero-video .hero-grid { grid-template-columns: minmax(0, 620px); width: min(1140px, 100% - 2.5rem); }
.hero-video h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-video .accent { background: linear-gradient(135deg, #7fd0ff, #d3eeff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-video .eyebrow { color: #8fd3ff; }
.hero-video .lead { color: #dbe9ff; }
.hero-video .trust { color: #cfe0fa; }
.hero-video .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(4px); }
.hero-video .btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.hero-toggle { position: absolute; right: 1.1rem; bottom: 1rem; z-index: 3; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(5, 22, 58, .55); color: #fff; font: 600 .8rem/1 var(--font); cursor: pointer; backdrop-filter: blur(6px); }
.hero-toggle[hidden] { display: none; }
.hero-toggle:hover { background: rgba(5, 22, 58, .8); }
.hero-toggle:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.ht-icon { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; display: inline-block; }
.hero-toggle[data-state="paused"] .ht-icon { width: 0; height: 0; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #fff; }

/* Responsive */
@media (max-width: 960px) {
    .hero-overlay { background: linear-gradient(90deg, rgba(5, 22, 58, .9) 0%, rgba(5, 22, 58, .7) 55%, rgba(5, 22, 58, .35) 100%); }
}
@media (max-width: 760px) {
    .hero.hero-video { min-height: 0; padding: 4rem 0 5rem; }
    .hero-overlay { background: rgba(5, 22, 58, .74); }
    .hero-bg { object-position: 78% center; }
}
@media (max-width: 960px) {
    .hero-grid, .tool-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.4rem; gap: 1rem; display: none; box-shadow: var(--shadow); }
    .nav.open { display: flex; }
    .nav ul { flex-direction: column; gap: .2rem; }
    .nav a:not(.btn) { display: block; padding: .6rem 0; }
}
@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4, .steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
    .btn-row .btn { flex: 1 1 100%; }
    .result div { flex-direction: column; gap: .1rem; }
}

/* ---- Hero video: tema terang (untuk video berwarna terang) ---- */
.hero-video.is-light { background: #eaf3ff; color: var(--ink); }
.hero-video.is-light .hero-grid { grid-template-columns: 1.2fr 1fr; width: min(1140px, 100% - 2.5rem); }
.hero-video.is-light .hero-overlay { background: linear-gradient(90deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .8) 42%, rgba(255, 255, 255, .3) 75%, rgba(255, 255, 255, .1) 100%); }
.hero-video.is-light h1 { color: var(--navy); text-shadow: none; }
.hero-video.is-light .accent { background: linear-gradient(135deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-video.is-light .eyebrow { color: var(--blue-2); }
.hero-video.is-light .lead { color: #34466a; }
.hero-video.is-light .trust { color: #34466a; }
.hero-video.is-light .btn-ghost { background: #fff; border-color: var(--blue); color: var(--blue); backdrop-filter: none; }
.hero-video.is-light .btn-ghost:hover { background: #f3f8ff; }
.hero-video.is-light .hero-card { background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); }
.hero-video.is-light .hero-toggle { background: rgba(255, 255, 255, .85); border-color: rgba(11, 42, 91, .35); color: var(--navy); }
.hero-video.is-light .hero-toggle:hover { background: #fff; }
.hero-video.is-light .ht-icon { border-color: var(--navy); }
.hero-video.is-light .hero-toggle[data-state="paused"] .ht-icon { border-color: transparent; border-left-color: var(--navy); }

/* Tema gelap (video bawaan): kartu pilar disembunyikan agar tidak menutupi chart */
.hero-video.is-dark .hero-card { display: none; }

@media (max-width: 960px) {
    .hero-video.is-light .hero-grid { grid-template-columns: 1fr; }
    .hero-video.is-light .hero-overlay { background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .84) 60%, rgba(255, 255, 255, .6) 100%); }
}
@media (max-width: 760px) {
    .hero-video.is-light .hero-overlay { background: rgba(255, 255, 255, .86); }
}

.hero-video .hero-bg { opacity: .5; }