:root {
    --primary: #059669;
    --primary-hover: #047857;
    --accent: #10b981;

    --bg: #f9fafb;
    --surface: #ffffff;

    --text-main: #111827;
    --text-muted: #6b7280;

    --border: #e5e7eb;

    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0284c7;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;

    --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

ol, ul { list-style: none; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 20px;
}

@media (min-width: 992px) {
    .container { padding-inline: 24px; }
}

section { padding: 64px 20px; }

@media (min-width: 992px) {
    section { padding: 96px 24px; }
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; }

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-hover);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); filter: brightness(0.92); }

.btn-secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--text-main);
}
.btn-secondary:hover { border-color: #cbd5e1; }

.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 17px;
}
.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}
.nav-links {
    display: none;
    align-items: center;
    gap: 28px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
}
.nav-links a:hover { color: var(--text-main); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 400px) {
    .brand { font-size: 15.5px; gap: 6px; }
    .nav-login { padding: 0 10px; gap: 5px; font-size: 13.5px; }
}
.nav-login {
    display: none;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
                box-shadow 180ms ease, transform 180ms ease;
}
.nav-login .bi {
    font-size: 15px;
    color: var(--primary);
    transition: transform 180ms ease;
}
.nav-login:hover {
    border-color: rgba(5, 150, 105, 0.45);
    background: #ecfdf5;
    color: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.14);
    transform: translateY(-1px);
}
.nav-login:hover .bi { transform: translateX(1px); }

@media (min-width: 992px) {
    .nav-links { display: flex; }
    .nav-login { display: inline-flex; }
}

.nav-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-main);
    font-size: 19px;
    cursor: pointer;
    transition: border-color 180ms ease, color 180ms ease;
}
.nav-toggle:hover {
    border-color: #cbd5e1;
    color: var(--primary);
}
.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(17,24,39,0.10);
    padding: 6px 20px 18px;
}
.navbar.nav-open .nav-menu { display: block; }
.nav-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}
.nav-menu a + a { border-top: 1px solid var(--bg); }
.nav-menu a i { color: var(--primary); font-size: 16px; }
.nav-menu a:hover { color: var(--primary); }
.nav-menu .btn { margin-top: 14px; }
.nav-menu .btn i { color: #fff; }
.docs-page .nav-actions .btn { display: none; }
@media (min-width: 992px) {
    .nav-toggle { display: none; }
    .nav-menu,
    .navbar.nav-open .nav-menu { display: none; }
    .docs-page .nav-actions .btn { display: inline-flex; }
}

/* ── Navbar CTA "Pilih Paket" — bentuk sama seperti tombol Masuk ── */
.navbar .nav-actions .btn,
.navbar .nav-menu .btn {
    border-radius: var(--radius-md);
    padding-inline: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: -.01em;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.navbar .nav-actions .btn:hover,
.navbar .nav-menu .btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.36);
}
.navbar .nav-actions .btn:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(5, 150, 105, 0.24); }
.navbar .nav-menu .btn { width: 100%; min-height: 48px; box-shadow: 0 6px 18px rgba(5, 150, 105, 0.3); }

/* ── Mobile (halaman ber-hamburger): bar = Masuk, panel dibungkus aksen ── */
@media (max-width: 991px) {
    .navbar--menu .nav-actions .nav-login { display: inline-flex; }
    .navbar--menu .nav-actions .btn { display: none; }

    .navbar--menu .nav-menu { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
    .navbar--menu .nav-menu a {
        min-height: 48px;
        padding: 0 12px;
        margin-inline: -4px;
        border-radius: var(--radius-md);
        transition: background 150ms ease, color 150ms ease;
    }
    .navbar--menu .nav-menu a + a { border-top: none; }
    .navbar--menu .nav-menu a:hover { background: var(--bg); }
    .navbar--menu .nav-menu a:not(.btn) i {
        width: 32px; height: 32px; border-radius: 9px;
        background: #ecfdf5; color: var(--primary);
        display: grid; place-items: center;
        font-size: 15px;
        flex-shrink: 0;
    }
    .navbar--menu .nav-menu .btn { min-height: 46px; margin-top: 10px; }
}

/* ---------- Hero ---------- */
.hero {
    padding: 52px 20px 44px;
    background: linear-gradient(170deg, #ecfdf5 0%, #f8fffe 55%, var(--bg) 100%);
}
@media (min-width: 992px) {
    .hero { padding: 88px 24px 48px; }
}
.hero-inner {
    max-width: var(--max-width);
    margin-inline: auto;
    display: grid;
    gap: 36px;
    align-items: center;
}
@media (min-width: 992px) {
    .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

/* --- Hero Badge (eyebrow) --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 8px;
    background: rgba(16,185,129,0.09);
    border: 1px solid rgba(16,185,129,0.22);
    border-radius: 100px;
    padding: 5px 14px 5px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}
.hb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    position: relative;
}
.hb-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(16,185,129,0.25);
    animation: hb-pulse 2s ease-in-out infinite;
}
@keyframes hb-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hb-dot::before { animation: none; }
}

/* --- Hero Heading --- */
.hero h1 {
    font-size: clamp(28px, 7.8vw, 38px);
    line-height: 1.13;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: var(--text-main);
}
@media (min-width: 480px) { .hero h1 { font-size: clamp(36px, 6vw, 44px); } }
@media (min-width: 992px) { .hero h1 { font-size: 54px; } }
@media (min-width: 1200px) { .hero h1 { font-size: 62px; } }
.hero h1 .hl {
    color: var(--primary);
    position: relative;
    display: inline;
}

/* --- Hero Sub --- */
.hero-sub {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 46ch;
}
@media (min-width: 576px) { .hero-sub { font-size: 16px; } }

/* --- Hero CTA Buttons --- */
.hero-cta {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 420px) {
    .hero-cta { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}
.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 200ms ease, border-color 200ms ease,
                box-shadow 200ms ease, transform 180ms ease;
}
@media (max-width: 419px) {
    .btn-hero-primary,
    .btn-hero-secondary { width: 100%; }
}
.btn-hero-primary {
    background: var(--primary-hover);
    color: #fff;
    box-shadow: 0 3px 10px rgba(5,150,105,0.22);
}
.btn-hero-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 18px rgba(5,150,105,0.32);
    transform: translateY(-1px);
    color: #fff;
}
.btn-hero-primary:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(5,150,105,0.25); }
.btn-hero-primary i {
    font-size: 16px;
    transition: transform 180ms ease;
}
.btn-hero-primary:hover i { transform: translateX(3px); }
.btn-hero-secondary {
    background: #fff;
    color: var(--text-main);
    border-color: var(--border);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.btn-hero-secondary:hover {
    border-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(5,150,105,0.12);
    transform: translateY(-1px);
}
.btn-hero-secondary:active { transform: translateY(0); }
.btn-hero-secondary i { font-size: 17px; color: var(--primary); }

/* --- Hero Note (trust badges) --- */
.hero-note {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.hn-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    white-space: nowrap;
}
.hn-item i {
    font-size: 13px;
    color: var(--primary);
    flex-shrink: 0;
}
/* mobile: teks pendek, desktop: teks penuh */
.hn-short { display: inline; }
.hn-full  { display: none; }
@media (min-width: 480px) {
    .hn-short { display: none; }
    .hn-full  { display: inline; }
}

/* Hero mockup (pure HTML/CSS/SVG) */
.mockup {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 48px rgba(17,24,39,0.09);
    overflow: hidden;
}
.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.mockup-title {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}
.mockup-body { padding: 18px; }
.mockup-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.mockup-kpi {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 12px;
}
.mockup-kpi .k-label { font-size: 10.5px; color: var(--text-muted); font-weight: 600; }
.mockup-kpi .k-value { font-size: 17px; font-weight: 800; margin-top: 4px; }
.mockup-kpi .k-delta { font-size: 10.5px; color: var(--primary-hover); font-weight: 600; margin-top: 2px; }
.mockup-chart {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
}
.mockup-chart-label { font-size: 11px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.mockup-rows { margin-top: 12px; }
.mockup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    font-size: 12px;
}
.mockup-row:first-child { border-top: none; }
.mockup-row .campaign { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mockup-row .cdot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mockup-row .rev { font-weight: 700; color: var(--primary-hover); }
.mockup-disclaimer {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 12px 0 0;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}
.mockup-disclaimer i {
    color: var(--primary);
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- Trust bar & Integrated Pipeline ---------- */
.trust-bar {
    padding: 38px 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: relative;
}
.trust-pipeline-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    text-align: center;
}
.trust-tagline-lead {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}
.trust-pipeline-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: 100%;
}
@media (min-width: 576px) {
    .trust-pipeline-badges {
        gap: 16px;
    }
}

.tp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 180ms ease;
}
@media (min-width: 576px) {
    .tp-badge {
        gap: 8px;
        font-size: 14px;
    }
    .tp-badge:hover {
        transform: translateY(-1px);
    }
    .tp-badge:hover .tp-icon-box {
        transform: scale(1.08);
    }
}

/* Kotak pembungkus rounded kecil per icon */
.tp-icon-box {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
@media (min-width: 576px) {
    .tp-icon-box {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }
}

.tp-box-google {
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}
.tp-icon-svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}
@media (min-width: 576px) {
    .tp-icon-svg {
        width: 15px;
        height: 15px;
    }
}

.tp-box-wa {
    background: #ecfdf5;
    border: 1px solid rgba(5, 150, 105, 0.22);
    color: #10b981;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.08);
}
.tp-box-wa i {
    font-size: 12.5px;
    line-height: 1;
}
@media (min-width: 576px) {
    .tp-box-wa i {
        font-size: 14.5px;
    }
}

.tp-box-conv {
    background: #ecfdf5;
    border: 1px solid rgba(5, 150, 105, 0.22);
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.08);
}
.tp-box-conv i {
    font-size: 12px;
    line-height: 1;
}
@media (min-width: 576px) {
    .tp-box-conv i {
        font-size: 13.5px;
    }
}

.tp-badge-wa { color: #047857; }
.tp-badge-conv { color: var(--primary-hover); }

.tp-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-size: 11px;
    flex-shrink: 0;
    animation: tp-flow-bounce 2s ease-in-out infinite;
}
@media (min-width: 576px) {
    .tp-arrow {
        font-size: 13px;
        margin-inline: 4px;
    }
}
@keyframes tp-flow-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(2px); }
}

.tp-hide-mobile {
    display: none;
}
@media (min-width: 576px) {
    .tp-hide-mobile {
        display: inline;
    }
}

.trust-metrics {
    max-width: var(--max-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 576px) {
    .trust-metrics { gap: 14px; }
}
@media (min-width: 992px) {
    .trust-metrics { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.trust-metric-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 12px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.03);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.trust-metric-card:hover {
    border-color: rgba(5, 150, 105, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}
@media (min-width: 576px) {
    .trust-metric-card { padding: 16px 14px; gap: 12px; }
}
@media (min-width: 992px) {
    .trust-metric-card {
        padding: 22px 20px;
        gap: 14px;
        border-radius: 12px;
    }
}

.tm-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #ecfdf5;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(5, 150, 105, 0.16);
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
    transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}
@media (min-width: 992px) {
    .tm-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        font-size: 21px;
    }
}
.trust-metric-card:hover .tm-icon-wrap {
    transform: scale(1.08);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.tm-icon-wa {
    color: #059669;
    border-color: rgba(5, 150, 105, 0.2);
}
.tm-icon-sheets {
    color: #0284c7;
    background: #f0f9ff;
    border-color: rgba(2, 132, 199, 0.2);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}
.trust-metric-card:hover .tm-icon-sheets {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
}
.tm-icon-excel {
    color: #16a34a;
    background: #f0fdf4;
    border-color: rgba(22, 163, 74, 0.2);
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.08);
}
.trust-metric-card:hover .tm-icon-excel {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

.tm-content {
    width: 100%;
}
.trust-metric-card .t-value {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}
@media (min-width: 576px) {
    .trust-metric-card .t-value { font-size: 14.5px; }
}
@media (min-width: 992px) {
    .trust-metric-card .t-value {
        font-size: 16px;
    }
}
.trust-metric-card .t-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.45;
}
@media (min-width: 576px) {
    .trust-metric-card .t-label { font-size: 12px; }
}
@media (min-width: 992px) {
    .trust-metric-card .t-label {
        font-size: 12.5px;
        margin-top: 4px;
        line-height: 1.5;
    }
}

/* ---------- Section heading ---------- */
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: 26px; }
@media (min-width: 768px) { .section-head h2 { font-size: 32px; } }
.section-head p { margin-top: 12px; color: var(--text-muted); font-size: 15.5px; }

.subhead {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    max-width: 720px;
}
@media (min-width: 768px) { .subhead { font-size: 22px; } }
.subhead-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    max-width: 720px;
    margin-bottom: 24px;
}
.subhead + .features-grid { margin-bottom: 44px; }
.subhead + .flow { margin-top: 4px; }

/* ---------- Problem / flow diagram ---------- */
.problem { background: var(--surface); }
.flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
@media (min-width: 768px) {
    .flow {
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
    }
}

.flow-step {
    flex: 1;
    display: flex;
    gap: 16px;
    padding: 6px 0;
    position: relative;
}
@media (min-width: 768px) {
    .flow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
    }
}

.flow-num-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}
@media (min-width: 768px) {
    .flow-num-wrap {
        width: 100%;
        margin-bottom: 12px;
    }
}

.flow-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 2px solid var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
    z-index: 2;
    position: relative;
}
.flow-step:hover .flow-num {
    transform: scale(1.08);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.2);
}

.flow-connector {
    width: 2px;
    flex: 1;
    min-height: 38px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(16, 185, 129, 0.2) 100%);
    margin: 4px 0;
    position: relative;
    border-radius: 2px;
}
@media (min-width: 768px) {
    .flow-connector {
        position: absolute;
        top: 22px;
        left: 50%;
        width: 100%;
        height: 2px;
        min-height: auto;
        background: linear-gradient(90deg, var(--accent) 0%, rgba(16, 185, 129, 0.25) 100%);
        margin: 0;
        z-index: 1;
    }
}

.flow-card {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 14px;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
@media (min-width: 768px) {
    .flow-card {
        margin-bottom: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}
.flow-step:hover .flow-card {
    border-color: rgba(5, 150, 105, 0.35);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
}

.flow-step-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.flow-label {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
}
.flow-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.45;
}

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 576px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(17,24,39,0.05);
    padding: 22px;
}
.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: #f0fdf9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.feature-card h3,
.feature-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Analytics preview ---------- */
.analytics-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(17,24,39,0.05);
    padding: 22px;
}
.a-kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
@media (min-width: 768px) { .a-kpis { grid-template-columns: repeat(4, 1fr); } }
.a-kpi {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
}
.a-kpi .k-label { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.a-kpi .k-value { font-size: 22px; font-weight: 800; margin-top: 6px; }
.a-kpi .k-delta { font-size: 11.5px; font-weight: 600; margin-top: 4px; color: var(--success); }
.a-chart-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}
.a-chart-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.a-list .mockup-row { font-size: 13px; }

/* ---------- Campaign performance table ---------- */
.perf-table-wrap { overflow-x: auto; }
table.perf {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
table.perf th, table.perf td {
    text-align: left;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
table.perf th {
    font-size: 11.5px;
    text-transform: none;
    color: var(--text-muted);
    font-weight: 600;
    background: var(--bg);
}
table.perf tr:last-child td { border-bottom: none; }
table.perf td.rev { color: var(--primary); font-weight: 700; }
.perf-cards { display: none; }
@media (max-width: 767px) {
    .perf-table-wrap { display: none; }
    .perf-cards { display: flex; flex-direction: column; gap: 12px; }
    .perf-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 14px 16px;
    }
    .perf-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
    .perf-card-name { font-weight: 700; font-size: 14px; }
    .perf-card-rev { font-weight: 700; color: var(--primary); font-size: 14px; }
    .perf-card-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); }
}


/* ---------- Security ---------- */
.security { background: var(--surface); }
.security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .security-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.security-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.security-item:hover {
    background: #fff;
    border-color: rgba(5, 150, 105, 0.35);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
    transform: translateY(-2px);
}
.security-item i {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: #ecfdf5;
    color: var(--primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.security-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text-main); }
.security-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ---------- Pricing ---------- */
#pricing { scroll-margin-top: 88px; }

/* Slider wrapper — positions nav buttons */
.pricing-slider {
    position: relative;
    display: flex;
    align-items: center;
}

/* Scroll track — mobile horizontal snap */
.pricing-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 12px 20px 24px;
    /* hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pricing-grid::-webkit-scrollbar { display: none; }

/* Each card — exactly 1 card per view, centered */
.pricing-grid .price-card {
    flex: 0 0 calc(100vw - 40px);
    width: calc(100vw - 40px);
    min-width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* Nav buttons — only visible on mobile */
.pricing-nav-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-main);
    transition: border-color 180ms, color 180ms, box-shadow 180ms, transform 180ms;
    flex-shrink: 0;
}
.pricing-nav-btn:hover { border-color: var(--accent); color: var(--primary); }
.pricing-nav-btn:active { transform: translateY(-50%) scale(0.95); }
.pricing-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pricing-prev { left: 4px; }
.pricing-next { right: 4px; }

/* Dot indicators */
.pricing-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.pricing-dots button {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 200ms ease, transform 200ms ease, width 200ms ease;
}
.pricing-dots button[aria-current="true"] {
    background: var(--primary);
    width: 24px;
}

/* Show nav + dots on mobile only (< 768px) */
@media (max-width: 767px) {
    .pricing-slider { margin-inline: -20px; }
    .pricing-nav-btn { display: flex; }
    .pricing-dots { display: flex; }
}

/* Tablet (768px - 991px): 3-column grid */
@media (min-width: 768px) and (max-width: 991px) {
    .pricing-slider { display: block; margin-inline: 0; }
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        overflow: visible;
        padding: 4px 0;
        max-width: var(--max-width);
        margin-inline: auto;
        scroll-snap-type: none;
    }
    .pricing-grid .price-card {
        flex: unset;
        width: auto;
        min-width: 0;
        max-width: none;
        scroll-snap-align: unset;
        padding: 24px 16px;
    }
    .pricing-nav-btn { display: none !important; }
    .pricing-dots { display: none !important; }
}

/* Desktop (992px+): 3-column grid */
@media (min-width: 992px) {
    .pricing-slider { display: block; margin-inline: 0; }
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        overflow: visible;
        padding: 4px 0;
        max-width: var(--max-width);
        margin-inline: auto;
        scroll-snap-type: none;
    }
    .pricing-grid .price-card {
        flex: unset;
        width: auto;
        min-width: 0;
        max-width: none;
        scroll-snap-align: unset;
        padding: 28px 24px;
    }
    .pricing-nav-btn { display: none !important; }
    .pricing-dots { display: none !important; }
}

.price-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(17,24,39,0.05);
    padding: 24px 20px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
@media (min-width: 576px) { .price-card { padding: 28px 24px; } }

.price-card.featured {
    border: 1.5px solid var(--primary);
    box-shadow: 0 14px 32px rgba(5,150,105,0.12);
    background: linear-gradient(180deg, #f0fdf9 0%, var(--surface) 32%);
}
@media (min-width: 992px) {
    .price-card.featured { transform: translateY(-8px); }
    .price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(17,24,39,0.10); }
    .price-card.featured:hover { transform: translateY(-12px); box-shadow: 0 20px 42px rgba(5,150,105,0.16); }
}

.price-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary-hover);
    background: #f0fdf9;
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 12px;
}
.price-card.featured .price-badge { background: #d1fae5; }

.price-card h3 { font-size: 17px; margin-bottom: 6px; overflow-wrap: anywhere; }
.price-card .p-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
@media (min-width: 992px) { .price-card .p-desc { min-height: 40px; } }

.price-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    margin-bottom: 4px;
}
.price-amount .p-num {
    font-size: clamp(30px, 9vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.price-amount .p-cycle { font-size: 13px; color: var(--text-muted); }

.p-note { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }

/* ---------- Pricing toggle (Bulanan / Tahunan) ---------- */
.pricing-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    width: 100%;
    max-width: 360px;
    padding: 5px;
    margin: 0 auto 26px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 999px;
}
.pricing-toggle .pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.pricing-toggle .pt-btn.active {
    background: var(--surface);
    color: var(--primary-hover);
    box-shadow: 0 2px 8px rgba(17,24,39,0.10);
}
.pricing-toggle .pt-btn:hover { color: var(--text-main); }
.pricing-toggle .pt-btn.active:hover { color: var(--primary-hover); }

.pt-save {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary-hover);
    background: #d1fae5;
    border-radius: 999px;
    padding: 2px 7px;
    white-space: nowrap;
}

@media (min-width: 576px) {
    .pricing-toggle { width: max-content; max-width: none; }
    .pricing-toggle .pt-btn { padding: 0 26px; }
}

/* ---------- Plan specs (limits per bisnis) ---------- */
.plan-specs {
    list-style: none;
    margin: 0 0 18px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.plan-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.plan-specs li + li { border-top: 1px dashed #e2e8f0; }
.plan-specs li i { color: var(--primary); font-size: 13px; width: 16px; }
.plan-specs li span { flex: 1; }
.plan-specs li strong { color: var(--text-main); font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }

/* ---------- Price features & CTA ---------- */
.price-features-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.price-features { list-style: none; margin-bottom: 24px; }
.price-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    padding: 6px 0;
    color: var(--text-main);
}
.price-features li i { color: var(--primary); margin-top: 2px; font-size: 14px; }

.price-card .plan-cta { margin-top: auto; }

/* ---------- Price save badge ---------- */
.price-save {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    background: #f0fdf9;
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 2px 8px;
    align-self: center;
}

/* ---------- Final CTA ---------- */
.final-cta {
    background: var(--primary-hover);
    color: #fff;
    text-align: center;
}
.final-cta h2 { font-size: 28px; }
@media (min-width: 768px) { .final-cta h2 { font-size: 34px; } }
.final-cta p { margin-top: 12px; font-size: 15.5px; color: #fff; max-width: 480px; margin-inline: auto; }
.final-cta .cta-row { margin-top: 28px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.final-cta .btn-primary { background: #fff; color: var(--primary-hover); }
.final-cta .btn-primary:hover { background: #f0fdf9; }
.final-cta .btn-secondary { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.final-cta .btn-secondary:hover { border-color: rgba(255,255,255,0.6); }

/* ---------- Footer ---------- */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 56px 20px 28px;
}
.footer-grid {
    max-width: var(--max-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}
@media (min-width: 768px) and (max-width: 991px) {
    .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
}
.footer-brand,
.footer-col { min-width: 0; }
.footer-brand p { overflow-wrap: anywhere; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); max-width: 30ch; }
.footer-contact { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-muted); }
.footer-contact li i { color: var(--primary); font-size: 14px; line-height: 1.5; flex-shrink: 0; }
.footer-contact a { font-size: 13px; color: var(--text-main); overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--primary); }
.footer-col h3 { font-size: 12.5px; font-weight: 700; margin-bottom: 14px; color: var(--text-muted); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--text-main); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ---------- Scroll Reveal & Micro Animations ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.flow-step:nth-child(1)[data-reveal] { transition-delay: 60ms; }
.flow-step:nth-child(2)[data-reveal] { transition-delay: 140ms; }
.flow-step:nth-child(3)[data-reveal] { transition-delay: 220ms; }
.flow-step:nth-child(4)[data-reveal] { transition-delay: 300ms; }
.flow-step:nth-child(5)[data-reveal] { transition-delay: 380ms; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .tp-arrow {
        display: none !important;
    }
}

/* ---------- Comparison table ---------- */
.cmp-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(17,24,39,0.05);
}
.cmp-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 13.5px;
}
.cmp-table th,
.cmp-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}
.cmp-table thead th {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg);
    white-space: nowrap;
}
.cmp-table tbody th {
    width: 34%;
    font-weight: 700;
    color: var(--text-main);
}
.cmp-table tbody td { color: var(--text-muted); }
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table .cmp-best {
    background: #f0fdf9;
    color: var(--text-main);
    font-weight: 600;
}
@media (min-width: 768px) {
    .cmp-table { min-width: 0; font-size: 14px; }
    .cmp-table th,
    .cmp-table td { padding: 16px 20px; }
    .cmp-table thead th { font-size: 13px; }
}
.cmp-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.cmp-note i { color: var(--primary); line-height: 1.5; flex-shrink: 0; }
