/* SmartPG — landing page (tema biru muda) */
:root {
    --brand: #1683f0;
    --brand-600: #0b6fd6;
    --brand-700: #0a5bb0;
    --sky-50: #f2f8ff;
    --sky-100: #e3f1ff;
    --sky-200: #c9e4ff;
    --sky-300: #9fd0ff;
    --ink: #0b2545;
    --ink-2: #3b5675;
    --muted: #6b84a3;
    --white: #ffffff;
    --line: #d7e8fb;
    --ok: #10b981;
    --radius: 18px;
    --shadow-sm: 0 2px 8px rgba(22, 131, 240, .08);
    --shadow: 0 18px 50px -18px rgba(11, 91, 176, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink); background: var(--sky-50); line-height: 1.6; font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
    border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
    font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(22,131,240,.7); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: #fff; color: var(--brand-700); border-color: var(--sky-200); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- Navbar ---------- */
.nav {
    position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(160%) blur(10px);
    background: rgba(242, 248, 255, .82); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 18px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; padding: 64px 0 90px;
    background:
        radial-gradient(900px 480px at 85% 10%, rgba(159, 208, 255, .55), transparent 60%),
        radial-gradient(700px 420px at 0% 100%, rgba(201, 228, 255, .7), transparent 60%),
        linear-gradient(180deg, var(--sky-50), var(--sky-100));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--sky-200);
    color: var(--brand-700); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 99px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.03em; margin: 18px 0 18px; font-weight: 800; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em; z-index: -1;
    background: var(--sky-200); border-radius: 6px;
}
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 540px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--sky-200); color: var(--brand-700); display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }

/* Hero mockup */
.mock { position: relative; max-width: 400px; margin-left: auto; }
.mock-card {
    background: #fff; border-radius: 26px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
    position: relative; z-index: 2;
}
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-head .m-title { font-weight: 800; font-size: 15px; }
.mock-head .m-sub { color: var(--muted); font-size: 12px; }
.pill { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--sky-100); color: var(--brand-700); letter-spacing: .03em; }
.mock-amount { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.mock-qr { margin: 16px auto 12px; width: 200px; padding: 12px; border-radius: 16px; border: 2px dashed var(--sky-200); background: #fff; }
.mock-qr svg { width: 100%; height: auto; display: block; }
.mock-qr svg rect[fill="#000000"], .mock-qr svg path[fill="#000000"] { fill: var(--ink); }
.mock-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--sky-50); padding: 5px; border-radius: 12px; margin-bottom: 14px; }
.mock-tabs div { text-align: center; padding: 7px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mock-tabs .on { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.mock-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.toast {
    position: absolute; z-index: 3; left: -46px; bottom: -26px; background: #fff; border-radius: 14px; padding: 12px 14px;
    display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); border: 1px solid var(--line);
    animation: float 4s ease-in-out infinite;
}
.toast .ic { width: 34px; height: 34px; border-radius: 10px; background: #d1fae5; color: #047857; display: grid; place-items: center; font-weight: 800; }
.toast b { display: block; font-size: 13px; }
.toast small { color: var(--muted); font-size: 12px; }
.toast-2 { left: auto; right: -40px; top: -58px; bottom: auto; animation-delay: -2s; }
.toast-2 .ic { background: var(--sky-100); color: var(--brand-700); }
.blob { position: absolute; inset: -30px -20px -30px 30px; background: linear-gradient(135deg, var(--sky-300), var(--brand)); border-radius: 40px; transform: rotate(6deg); opacity: .25; z-index: 1; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Logos strip ---------- */
.strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.strip p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 99px; background: var(--sky-50); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
section.block.alt { background: #fff; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.sec-head .kicker { color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.025em; line-height: 1.15; margin: 10px 0 12px; }
.sec-head p { color: var(--ink-2); margin: 0; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
section.alt .feature { background: var(--sky-50); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-300); }
.f-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--sky-100), var(--sky-200)); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 16px; }
.f-icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 340px)); gap: 22px; justify-content: center; }
.price {
    background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; position: relative;
    box-shadow: var(--shadow-sm);
}
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price .tag { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.price h3 { margin: 0; font-size: 20px; }
.price .desc { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.price .amount { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.price .amount small { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.price .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
    counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 12px;
    background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* Developer */
.dev-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.dev-grid h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.025em; line-height: 1.15; margin: 10px 0 14px; }
.dev-grid ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.dev-grid li { display: flex; gap: 10px; color: var(--ink-2); }
.code {
    background: #0b2545; color: #dbeafe; border-radius: 20px; padding: 0; box-shadow: var(--shadow); overflow: hidden;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px;
}
.code-bar { display: flex; gap: 7px; padding: 14px 18px; background: rgba(255,255,255,.05); align-items: center; }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; display: block; }
.code-bar i:nth-child(2) { background: #febc2e; } .code-bar i:nth-child(3) { background: #28c840; }
.code-bar span { margin-left: 10px; color: #8fb3dc; font-size: 12px; }
.code pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; line-height: 1.65; }
.c-k { color: #7cc4ff; } .c-s { color: #a7f3d0; } .c-n { color: #fcd34d; } .c-c { color: #6b8fb8; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; font-weight: 600; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--brand), #4fb0ff); color: #fff; border-radius: 28px; padding: 56px 48px;
    display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.12); right: -80px; top: -120px; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.02em; line-height: 1.2; }
.cta-band p { margin: 0; opacity: .92; font-size: 17px; }
.cta-band .btn { position: relative; z-index: 1; }
.btn-white { background: #fff; color: var(--brand-700); }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: #fff; }

/* Footer */
footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 88px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid img { height: 38px; width: auto; margin-bottom: 12px; }
.foot-grid p { color: var(--muted); font-size: 14px; margin: 0; max-width: 300px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 14px; }
.foot-grid a { display: block; color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--brand); }
.copyright { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid, .dev-grid { grid-template-columns: minmax(0, 1fr); }
    .mock { margin: 20px auto 0; }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .nav-links {
        display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--sky-100); }
    .nav-toggle { display: inline-block; }
    .nav-cta .btn-ghost { display: none; }
    .nav-logo img { height: 32px; }
    .container { padding: 0 16px; }
    .hero { padding: 40px 0 64px; }
    .toast { left: -6px; right: auto; bottom: -30px; top: auto; }
    .toast-2 { left: auto; right: -6px; top: -58px; bottom: auto; }
    .mock { margin-top: 70px; margin-bottom: 30px; }
    .features, .steps, .pricing { grid-template-columns: minmax(0, 1fr); }
    section.block { padding: 64px 0; }
    .cta-band { padding: 40px 24px; }
    .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
