/* Agape Software Internasional — site stylesheet.
   Light = mockup Alternatif A (Corporate Light), Dark = Alternatif B (Dark Tech), dipilih via html[data-theme]. */

:root {
    --red: #d7232a; --red-2: #b81c22; --red-soft: #fdeaeb;
    --ink: #1c1f23; --ink-2: #343a41; --muted: #5f6670; --line: #e6e8eb;
    --bg: #f7f7f8; --card: #fff; --thead: #f2f3f5;
    --radius: 16px; --btn-radius: 10px; --input-radius: 10px; --input-line: #cfd3d9; --input-bg: #fff;
    --shadow: 0 24px 50px #1c1f2326; --focus: #f3a1a4;
    --cta-bg: linear-gradient(135deg, #1c1f23, #d7232a);
    --footer-bg: #1c1f23; --footer-ink: #c9ccd1; --footer-head: #fff; --footer-line: #ffffff1f; --footer-muted: #8c9098;
    --header-bg: #ffffffe6; --header-line: var(--line); --header-ink: var(--ink);
    --nav-ink: #6b7079; --nav-hover-bg: #f7f7f8; --nav-hover-ink: #1c1f23; --nav-active-ink: #b81c22; --nav-active-bg: #fdeaeb;
    --nav-mobile-bg: #fff;
    --hero-bg: radial-gradient(900px 420px at 90% -10%, #d7232a1f, transparent 60%), #fff;
    --hero-ink: #1c1f23; --hero-lead: #6b7079; --hero-eyebrow: #d7232a; --hero-hl: #343a41; --hero-border: 1px solid var(--line);
    --art-bg: #fff; --art-ink: #1c1f23; --art-line: var(--line); --art-muted: #6b7079; --art-bar: #eceef1; --art-mark-opacity: .12;
    --h1: 46px; --h1-ls: -1.3px;
}

html[data-theme="dark"] {
    --red: #e0262d; --red-2: #bf1d23; --red-soft: #fbe7e8;
    --ink: #15181c; --line: #e3e5e8; --bg: #f4f5f7; --thead: #f0f1f3;
    --radius: 12px; --btn-radius: 8px; --input-radius: 8px;
    --shadow: 0 24px 50px #00000080;
    --cta-bg: linear-gradient(135deg, #15181c, #3a1013 60%, #e0262d);
    --footer-bg: #0f1114; --footer-ink: #c0c4ca; --footer-line: #ffffff1a; --footer-muted: #7e838b;
    --header-bg: #15181cf0; --header-line: #ffffff14; --header-ink: #fff;
    --nav-ink: #c0c4ca; --nav-hover-bg: #ffffff12; --nav-hover-ink: #fff; --nav-active-ink: #fff; --nav-active-bg: #e0262d;
    --nav-mobile-bg: #15181c;
    --hero-bg: radial-gradient(1000px 500px at 85% -20%, #e0262d44, transparent 60%), linear-gradient(180deg, #15181c, #1b1f25);
    --hero-ink: #fff; --hero-lead: #b8bdc5; --hero-eyebrow: #ff8a8f; --hero-hl: #d8dbe0; --hero-border: 4px solid var(--red);
    --art-bg: #1f2329; --art-ink: #fff; --art-line: #ffffff1a; --art-muted: #9aa0a8; --art-bar: #2c3138; --art-mark-opacity: .18;
    --h1: 48px; --h1-ls: -1.4px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: var(--h1); line-height: 1.1; letter-spacing: var(--h1-ls); }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.7px; }
h3 { font-size: 18px; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
input:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.wrap { max-width: 1180px; margin: auto; padding: 0 24px; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mt { margin-top: 12px; }
.mt-sm { margin-top: 8px; }
.mb { margin-bottom: 16px; }
.h-md { font-size: 26px; }
.h-sm { font-size: 22px; }
.h-cta { font-size: 28px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--header-line); color: var(--header-ink); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-dark { display: none; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: .3px; line-height: 1.1; }
.brand-dark img { height: 40px; width: auto; }
.brand-dark small { display: block; font-weight: 500; letter-spacing: 1.4px; font-size: 10px; color: #c9ccd1; }
.brand-dark .r { color: #ff5a60; }
html[data-theme="dark"] .header .brand-logo { display: none; }
html[data-theme="dark"] .header .brand-dark { display: flex; }
.footer .brand-dark { display: flex; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--nav-ink); }
.nav a:hover { background: var(--nav-hover-bg); color: var(--nav-hover-ink); }
.nav a.active { color: var(--nav-active-ink); background: var(--nav-active-bg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-form { margin: 0; }
.theme-toggle { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--header-line); background: transparent; color: inherit; display: grid; place-items: center; font-size: 16px; }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: inline; }
html[data-theme="light"] .theme-toggle { border-color: var(--line); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--header-line); border-radius: 10px; background: transparent; color: inherit; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 3px auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 20px; border-radius: var(--btn-radius); border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.btn:hover { background: var(--bg); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-2); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.hero-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .hero-secondary { background: transparent; border-color: #ffffff66; color: #fff; }
html[data-theme="dark"] .hero-secondary:hover { background: #ffffff14; }

/* Sections */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; }
.sec-head p { max-width: 560px; }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-ink); padding: 96px 0 84px; border-bottom: var(--hero-border); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin: 6px 0 18px; }
.hero .eyebrow { color: var(--hero-eyebrow); }
.hero .lead { color: var(--hero-lead); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 34px; }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; padding: 0; margin: 0; list-style: none; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--hero-hl); }
.highlights i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; margin-top: 2px; }
.hero-art { position: relative; min-height: 380px; }
.art-card { position: absolute; background: var(--art-bg); color: var(--art-ink); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); width: 260px; border: 1px solid var(--art-line); }
.art-card small { display: block; color: var(--art-muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.art-card b { display: block; font-size: 20px; margin-top: 4px; }
.art-card .bar { height: 6px; border-radius: 6px; background: var(--art-bar); margin-top: 12px; overflow: hidden; }
.art-card .bar span { display: block; height: 100%; width: 0; background: var(--red); }
.art-1 { top: 10px; left: 40px; } .art-2 { top: 150px; right: 0; } .art-3 { bottom: 0; left: 90px; width: 230px; }
.art-mark { position: absolute; right: 30px; top: 0; width: 150px; opacity: var(--art-mark-opacity); }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.card .icon, .service .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red-2); display: grid; place-items: center; font-weight: 900; margin-bottom: 18px; font-size: 13px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card .link, .link { display: inline-block; margin-top: 16px; color: var(--red); font-weight: 700; font-size: 13px; }
.link { margin-top: 0; }

/* Scale table */
.scale-wrap { overflow-x: auto; }
.scale { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 640px; }
.scale th, .scale td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.scale thead th { background: var(--thead); color: var(--muted); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }
.scale tbody tr:last-child td { border-bottom: 0; }
.scale td:first-child { font-weight: 800; width: 150px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .4px; white-space: nowrap; }
.pill.remote { background: #e6f4ea; color: #1e6b3a; }
.pill.onsite { background: var(--red-soft); color: var(--red-2); }

/* Engagement + focus */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; min-width: 0; }
.panel.accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel.accent p, .panel.accent ul { color: #d2d5da; }
.panel.accent .eyebrow { color: #ff8a8f; }
.panel ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.focus { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 28px 32px; min-width: 0; }
.focus p { color: var(--muted); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tag { padding: 7px 12px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.tag.no { color: #9a4b3b; background: #fff3f0; text-decoration: line-through; border-color: #f3d5cf; }
.cta-band { background: var(--cta-bg); color: #fff; border-radius: 22px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band p { color: #e8d6d7; max-width: 560px; }

/* Page header, about, services */
.page-header { background: var(--card); border-bottom: 1px solid var(--line); padding: 64px 0 44px; }
.page-header h1 { font-size: 40px; margin: 4px 0 12px; }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.rich { color: var(--ink-2); }
.rich p + p { margin-top: 14px; }
.rich h2 { margin: 36px 0 16px; }
.rich ul, .rich ol { margin: 12px 0; padding-left: 22px; }
.facts { display: grid; gap: 12px; }
.facts-row { grid-template-columns: repeat(4, 1fr); }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.fact b { font-size: 26px; color: var(--red); display: block; }
.fact small { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; color: var(--red); font-weight: 900; font-size: 12px; letter-spacing: 1.5px; margin-bottom: 10px; }
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }
.service { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; margin-bottom: 20px; min-width: 0; scroll-margin-top: 90px; }
.service .icon { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 16px; }
.service .service-title { font-size: 22px; letter-spacing: -.4px; margin-bottom: 8px; }
.service .summary { color: var(--muted); }
.service dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; }
.service dt { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.service dd { margin: 0; font-size: 14px; }
.service dd ul { margin: 0; padding-left: 18px; }
.modes { display: grid; gap: 8px; }
.mode { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.info-list { display: grid; gap: 14px; margin-top: 22px; }
.info { display: flex; gap: 14px; align-items: flex-start; }
.info i { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--red-soft); color: var(--red-2); display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 13px; }
.info > div { min-width: 0; }
.info b { display: block; font-size: 14px; }
.info span, .info .link-plain { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.info .link-plain:hover { color: var(--red); }
form.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.contact label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
form.contact label small { font-weight: 500; color: var(--muted); }
form.contact .full { grid-column: 1 / -1; }
input, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--input-line); border-radius: var(--input-radius); background: var(--input-bg); color: var(--ink); font-size: 14px; }
input { height: 46px; }
textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); font-weight: 500; }
.check input { width: 18px; height: 18px; margin-top: 2px; padding: 0; }
.err { color: #b23b2e; font-size: 12px; font-weight: 600; display: none; }
label.invalid .err { display: block; }
label.invalid input, label.invalid textarea { border-color: #d9776b; }
.alert { background: #fff3f0; border: 1px solid #f3d5cf; color: #9a4b3b; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.thanks-panel { text-align: center; padding: 48px 30px; }
.thanks-panel .muted { margin-top: 10px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; justify-content: center; }

/* Footer */
.footer { background: var(--footer-bg); color: var(--footer-ink); padding: 52px 0 28px; margin-top: 20px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h2.footer-h { color: var(--footer-head); margin: 0 0 12px; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.footer a { display: block; color: var(--footer-ink); font-size: 14px; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; }
.footer-tagline { font-size: 14px; margin-top: 14px; max-width: 360px; }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--footer-line); margin-top: 20px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--footer-muted); }
.copy span { overflow-wrap: anywhere; }

/* Responsive */
@media (max-width: 980px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .hero-art { display: none; }
    .grid3 { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .facts-row { grid-template-columns: 1fr 1fr; }
    .about-grid, .split, .contact-grid, .service { grid-template-columns: 1fr; }
    .footer .wrap { grid-template-columns: 1fr 1fr; }
    .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--nav-mobile-bg); border-bottom: 1px solid var(--header-line); flex-direction: column; padding: 10px 16px 16px; }
    .nav.open { display: flex; }
    .burger { display: block; }
    .header .cta { display: none; }
}
@media (max-width: 620px) {
    h1 { font-size: 32px !important; }
    h2 { font-size: 25px !important; }
    section { padding: 52px 0; }
    .hero { padding: 64px 0 56px; }
    .grid3, .steps, .highlights, .facts-row { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 30px; }
    form.contact { grid-template-columns: 1fr; }
    .service dl { grid-template-columns: 1fr; }
    .footer .wrap { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 30px; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .brand-logo { height: 36px; }
}

/* Preview draft (sesi admin) */
.preview-bar { background: #fff3cd; color: #6b4e00; border-bottom: 1px solid #f0d27a; padding: 8px 24px; font-size: 13px; text-align: center; }
.preview-bar a { text-decoration: underline; font-weight: 700; }
