:root {
  --ink: #0F1B33;
  --text: #2A3550;
  --muted: #6A7389;
  --faint: #9AA2B5;
  --line: #E7EAF1;
  --soft: #F5F7FB;
  --white: #fff;
  --brand: #0975BB;
  --brand-dark: #0B5A93;
  --brand-soft: #E6F4FC;
  --logo-grad: linear-gradient(135deg, #00B1F0 0%, #1E93D7 55%, #4A6DB3 100%);
  --warm: #F08A24;
  --warm-soft: #FFF2E6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 27, 51, .04), 0 12px 32px -16px rgba(15, 27, 51, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Easing untuk semua efek gerak baru (docs/brief-animasi.md) */
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-wipe: cubic-bezier(.77,0,.18,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--faint); }
.brand-text { color: var(--brand); background: linear-gradient(90deg, #0A8BD6, #4A6DB3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; border-radius: var(--radius-sm); background: var(--brand); color: var(--white); text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .95rem; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-dark); }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--soft); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; }
.link-arrow:hover { color: var(--brand); }
.link-arrow .arrow { transition: transform .15s; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* Announcement */
.announce { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .85rem; text-align: center; padding: 9px 20px; color: var(--muted); }
.announce a { color: var(--brand); font-weight: 700; text-decoration: none; margin-left: 8px; display: inline-flex; align-items: center; gap: 4px; }
.announce .arrow { width: 14px; height: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.03em; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.menu { display: flex; align-items: center; gap: 32px; }
.menu-links { display: flex; gap: 32px; }
.menu-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .93rem; }
.menu-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 .line { display: block; }
.hero h1 .brand-text { width: fit-content; }
/* Keadaan awal intro hero; kelas dipasang oleh script di <head> dan selalu dilepas (paling lambat 1,5 dtk).
   h1 tetap terlihat sejak paint pertama (penting untuk LCP), hanya digeser sedikit. */
.hero-pending .hero h1 .line { transform: translateY(1rem); }
.hero-pending .hero :is(.lead, .cta-row, .trust, .dash, .chip) { opacity: 0; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 500px; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: .85rem; color: var(--muted); }
.trust-icons { display: flex; }
.trust-icons span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--white); background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-left: -8px; }
.trust-icons span:first-child { margin-left: 0; }
.trust-icons svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust b { color: var(--ink); display: block; font-weight: 700; }

/* Hero visual */
.visual { position: relative; padding: 36px 24px 48px; }
.visual::before { content: ""; position: absolute; inset: 0; margin: auto; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--brand-soft) 0%, rgba(230, 244, 252, 0) 70%); z-index: -1; }
.dash { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; max-width: 420px; margin-inline: auto; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-head small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.dash-head strong { color: var(--ink); font-size: 1rem; }
.pill { font-size: .75rem; font-weight: 700; color: #138A4E; background: #E6F7EE; padding: 4px 10px; border-radius: 999px; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding: 0 2px 2px; border-bottom: 1px solid var(--line); }
/* Batang grafik dianimasikan oleh Anime.js di js/main.js (intro hero), bukan CSS. */
.chart i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--brand-soft); transform-origin: bottom; }
.chart i:nth-child(n+5) { background: #A6D7F4; }
.chart i:last-child { background: var(--logo-grad); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.dash-stats div { background: var(--soft); border-radius: var(--radius-sm); padding: 10px 12px; }
.dash-stats span { display: block; font-size: .72rem; color: var(--muted); }
.dash-stats b { color: var(--ink); font-size: .9rem; }

.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 14px 10px 10px; font-size: .8rem; color: var(--muted); animation: float 6s ease-in-out infinite; }
.chip b { display: block; color: var(--ink); font-size: .85rem; }
.chip-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.chip-icon.warm { background: var(--warm-soft); color: var(--warm); }
.chip-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { top: 0; right: 0; }
.chip-2 { top: 42%; left: 0; animation-delay: -2s; }
.chip-3 { bottom: 0; right: 24px; animation-delay: -4s; }
.visual { padding-bottom: 68px; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Platform strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .container { display: flex; align-items: center; gap: 40px; padding-block: 26px; }
.strip p { margin: 0; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex: 1; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; }
.strip li { font-weight: 800; font-size: 1.05rem; color: #B4BACA; letter-spacing: -.02em; }

/* Sections */
.section { padding: 104px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.label { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin-bottom: 10px; }

/* Feature cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.feature .num { position: absolute; top: 28px; right: 28px; font-size: .75rem; color: var(--faint); font-weight: 600; transition: color .2s var(--ease); }
/* Hover hanya untuk perangkat yang benar-benar bisa hover, supaya tidak menempel di layar sentuh. */
@media (hover: hover) {
  .feature:hover { transform: translateY(-3px); border-color: #C5CEDF; box-shadow: var(--shadow); }
  .feature:hover .num { color: var(--brand); }
}
.feature h3 { margin-top: 24px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.ico { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.ico.warm { background: var(--warm-soft); color: var(--warm); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Process panel */
.panel { background: var(--soft); border-radius: 22px; padding: 64px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.panel h2 { margin-bottom: .5em; }
.panel > div > p { color: var(--muted); max-width: 400px; margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 36px 1fr 28px; gap: 8px; padding: 22px 0; }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { padding-bottom: 0; }
/* Garis pemisah sebagai ::after supaya bisa "tergambar" dari kiri (js/main.js mengatur --draw).
   Tanpa JS --draw tidak dipasang, jadi garis tampil penuh. Padding +1px menggantikan tebal border lama. */
.steps li:not(:last-child) { padding-bottom: 23px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #E1E5EE; transform-origin: left; transform: scaleX(var(--draw, 1)); }
.steps .n { font-size: .8rem; color: var(--faint); font-weight: 600; padding-top: 2px; transition: color .3s var(--ease); }
.steps li.step-on .n { color: var(--brand); }
.steps h3 { margin-bottom: 4px; font-size: 1.02rem; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }
.steps svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why div { border-top: 2px solid var(--ink); padding-top: 20px; }
.why p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Portfolio */
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logos li { height: 104px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; }
.logos li img { width: auto; height: auto; max-width: 80%; max-height: 56px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: .98rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--ink); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.contact-list b { color: var(--faint); font-weight: 600; font-size: .85rem; }
.contact-list a { color: var(--brand); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.form { background: var(--soft); padding: 32px; border-radius: 18px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: .95rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form [aria-invalid="true"] { border-color: #E5484D; }
.form-error { color: #C62F34; font-size: .88rem; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #0A6FB5, #3F5FA6); color: var(--white); border-radius: 22px; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 177, 240, .45), transparent 70%); }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.7); }
.cta-band .label { color: rgba(255,255,255,.55); }
.cta-band .btn { position: relative; z-index: 1; flex: none; }

/* Footer */
.footer { padding: 80px 0 32px; font-size: .9rem; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot h4 { margin: 0 0 16px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-brand p { margin: 16px 0 0; max-width: 300px; }
.foot-brand strong { color: var(--ink); }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; color: var(--text); }
.social a:hover { border-color: var(--ink); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.copy { padding-top: 24px; padding-bottom: 56px; display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; color: var(--faint); }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.35); z-index: 40; transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }

/* Reveal */
/* Kelas reveal/in dipasang oleh js/main.js dan dilepas lagi setelah transisinya selesai,
   supaya transisi hover asli elemen berlaku dan delay stagger tidak ikut ke hover. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 48px; gap: 40px; }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero { padding: 56px 0 56px; }
  .hero-grid, .panel, .faq-wrap, .contact { grid-template-columns: 1fr; }
  .faq-wrap, .contact { gap: 32px; }
  .nav-toggle { display: block; }
  .menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 4px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(15,27,51,.15); display: none; }
  .menu.open { display: flex; }
  .menu-links { flex-direction: column; gap: 0; }
  .menu-links a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .menu .btn { margin-top: 16px; }
  .strip .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .strip ul { justify-content: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 560px) {
  .announce span { display: none; }
  .section { padding: 72px 0; }
  .grid-3, .why { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 32px 22px; border-radius: 18px; }
  .visual { padding: 28px 0 56px; }
  .chip-1 { right: -4px; }
  .chip-3 { right: 0; }
  .dash-stats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .dash-stats div { padding: 8px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 22px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .copy { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .feature:hover { transform: none; }
  .steps li:not(:last-child)::after { transform: none; }
}
