/* Homepage-specific styles, loaded after the compiled utilities. */
.home-page { color: #172b43; }
.home-page.content-fade-in { opacity: 1; }
.home-page main { padding-top: 64px; } /* = shared navbar height */
.home-page section[id] { scroll-margin-top: 96px; }
.home-wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 32px; }
.home-hero { background: #ebf3fc; padding-top: 56px; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 48px; }
.home-eyebrow { color: #001965; font-size: 12px; font-weight: 750; letter-spacing: .12em; margin: 0 0 20px; }
.hero-copy h1 { font-size: clamp(34px, 3.7vw, 52px); line-height: 1.12; letter-spacing: -.045em; font-weight: 750; margin: 0; }
.hero-copy h1 span { color: #001965; }
.hero-description { max-width: 490px; font-size: 18px; line-height: 1.7; color: #52657b; margin: 24px 0; }
.home-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 52px; padding: 14px 22px; border-radius: 12px; font-weight: 650; font-size: 15px; }
.home-button.primary { background: #001965; color: white; box-shadow: 0 6px 20px #00196520; }
.home-button.primary:hover { background: #000062; }
.home-button.secondary { background: white; color: #234269; border: 1px solid #ccdced; }
/* Integration chips: every logo sits in the same 24px slot so the row has one height. */
.hero-integrations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-integrations > span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; background: #ffffffcc; border: 1px solid #d6e4f4; border-radius: 999px; color: #2f4868; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hi-logo { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: white; font-style: normal; }
.hi-logo img { width: 18px; height: 18px; object-fit: contain; }
.hi-logo.is-icon { background: #ebf3fc; color: #001965; }
.hero-portrait { position: relative; margin: 0; padding-bottom: 22px; }
.hero-portrait picture { display: block; border-radius: 28px; overflow: hidden; background: #dce9f3; }
.hero-portrait picture img { width: 100%; height: auto; display: block; }
.hero-portrait figcaption { position: absolute; bottom: 0; left: 20px; right: 20px; padding: 18px; display: flex; gap: 14px; align-items: center; background: white; border: 1px solid #e1eaf3; border-radius: 16px; box-shadow: 0 12px 32px #17396312; }
.portrait-icon { width: 42px; height: 42px; border-radius: 12px; background: #e8f1ff; color: #001965; display: grid; place-items: center; font-size: 28px; flex-shrink: 0; }
.hero-portrait figcaption strong, .hero-portrait figcaption div > span { display: block; }
.hero-portrait figcaption strong { font-size: 15px; }
.hero-portrait figcaption div > span { color: #64748b; font-size: 13px; margin-top: 3px; }
.hero-ecosystem-link { display: flex; align-items: center; gap: 16px 24px; padding-block: 20px; margin-top: 36px; border-top: 1px solid #dae6f5; font-size: 14px; }
.hero-ecosystem-link > p { flex-shrink: 0; margin: 0; line-height: 1.35; }
.hero-ecosystem-link > p strong { display: block; color: #172b43; font-size: 14px; }
.hero-ecosystem-link > p span { font-size: 12.5px; color: #64748b; }
.eco-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1; }
.eco-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px 0 11px; border: 1px solid #d6e4f4; border-radius: 999px; background: #ffffffcc; color: #234269; font-size: 13.5px; font-weight: 650; white-space: nowrap; transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease; }
.eco-chip svg { color: #4075aa; transition: color .2s ease; }
.eco-chip:hover { transform: translateY(-2px); border-color: #4075aa; }
.eco-chip.is-core { background: #001965; border-color: #001965; color: white; }
.eco-chip.is-core svg { color: #9cc0ea; }
.eco-chip.is-core:hover { background: #173f7a; }
.eco-plus { color: #94a3b8; font-weight: 700; padding-inline: 2px; }
.eco-all { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; color: #4075aa; font-weight: 650; white-space: nowrap; }
.eco-all svg { transition: transform .2s ease; }
.eco-all:hover svg { transform: translateY(3px); }
.home-ecosystem { padding: 56px 0; background: white; }
.ecosystem-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 24px; }
.ecosystem-heading h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.ecosystem-heading > p { max-width: 380px; color: #64748b; line-height: 1.7; }
.eco-core { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eco-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.eco-badge { padding: 4px 10px; border-radius: 999px; background: #ebf3fc; color: #173f7a; font-size: 11.5px; font-weight: 700; }
.ecosystem-card.is-core { padding: 28px; background: linear-gradient(160deg, #f5f9fe 0%, white 55%); }
.ecosystem-card.is-core.vet { background: linear-gradient(160deg, #f1f7f4 0%, white 55%); }
.ecosystem-card.is-core.farmasi { background: linear-gradient(160deg, #f4f1fb 0%, white 55%); }
.ecosystem-card.is-core h3 { font-size: 24px; }
.ecosystem-card.is-core > p:not(.product-category) { margin-bottom: 16px; }
.eco-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.eco-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: #172b43; }
.eco-points svg { flex-shrink: 0; margin-top: 2px; padding: 2px; width: 18px; height: 18px; border-radius: 6px; background: #dcfce7; color: #15803d; }
.ecosystem-card.is-core a { padding-top: 16px; border-top: 1px solid #e0e8f0; font-size: 14px; }
.eco-grow { position: relative; margin-top: 28px; padding: 22px; border: 1px dashed #c9d9ec; border-radius: 24px; background: #fbfdff; }
.eco-grow::before { content: ""; position: absolute; left: 50%; top: -29px; width: 1px; height: 28px; background: linear-gradient(#e0e8f0, #c9d9ec); }
.eco-grow-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 16px; }
.eco-grow-label span { font-size: 15px; font-weight: 700; color: #172b43; }
.eco-grow-label small { font-size: 13px; color: #64748b; }
.eco-addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ecosystem-card.is-addon { flex-direction: row; align-items: flex-start; gap: 14px; padding: 18px; background: white; border-radius: 16px; }
.ecosystem-card.is-addon .product-symbol { flex-shrink: 0; width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.ecosystem-card.is-addon div { flex: 1; min-width: 0; }
.ecosystem-card.is-addon h3 { font-size: 16px; margin: 0 0 4px; }
.ecosystem-card.is-addon p { font-size: 13.5px; line-height: 1.55; color: #64748b; margin: 0; }
.ecosystem-card.is-addon a { position: static; min-height: 0; margin: 0; color: #4075aa; }
.ecosystem-card.is-addon a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.ecosystem-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid #e0e8f0; border-radius: 20px; background: #fbfdff; }
.product-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #e6efff; color: #001965; font-size: 28px; margin-bottom: 24px; }
.vet .product-symbol { color: #001965; background: #ebf3fc; }
.crm .product-symbol { color: #001965; background: #ebf3fc; }
.hris .product-symbol { color: #001965; background: #ebf3fc; }
.product-category { font-size: 11px; letter-spacing: .07em; font-weight: 700; color: #64748b; }
.ecosystem-card h3 { font-size: 21px; font-weight: 700; margin: 8px 0 12px; }
.ecosystem-card > p:not(.product-category) { font-size: 14px; line-height: 1.7; color: #64748b; margin-bottom: 24px; }
.ecosystem-card a { font-size: 13px; font-weight: 650; color: #4075aa; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 3px solid #4075aa; outline-offset: 4px; }
#mobile-menu-button, #mobile-menu-close { min-width: 44px; min-height: 44px; }
#mobile-menu-close { position: absolute; right: 8px; top: 12px; font-size: 28px; color: #334155; }
.home-page #mobile-menu { width: min(320px, 88vw); overflow-y: auto; }
.home-page #mobile-menu-overlay { background: #0f172a80; }
.home-page #scroll-to-top { display: none; }
@media (max-width: 1099px) {
    .home-page #main-header .hidden.md\:flex, .home-page #main-header .hidden.md\:inline-flex { display: none; }
    .home-page #mobile-menu-button, .home-page #mobile-menu, .home-page #mobile-menu-overlay { display: block; }
    .hero-layout { gap: 32px; }
    .eco-addons { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .home-page main { padding-top: 64px; }
    .home-page .container, .home-wrap { padding-inline: 20px; }
    .home-hero { padding-top: 36px; }
    .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .home-eyebrow { font-size: 11.5px; margin-bottom: 14px; }
    .hero-copy h1 { font-size: clamp(32px, 8.5vw, 44px); }
    .hero-description { font-size: 16px; line-height: 1.65; margin: 18px 0 22px; }
    .home-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .hero-integrations { gap: 6px; margin-top: 20px; }
    .hero-integrations > span { height: 32px; font-size: 12px; padding-right: 12px; }
    .hero-portrait { width: 100%; max-width: 440px; margin-inline: auto; }
    .hero-portrait picture { aspect-ratio: 1.3; border-radius: 22px; }
    .hero-portrait picture img { height: 100%; object-fit: cover; object-position: center 43%; }
    .hero-portrait figcaption { left: 12px; right: 12px; padding: 12px; }
    .hero-ecosystem-link { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; padding-block: 20px; }
    .eco-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
    .eco-chips::-webkit-scrollbar { display: none; }
    .eco-chip { flex-shrink: 0; }
    .eco-all { margin-left: 0; min-height: 44px; }
    .home-ecosystem { padding: 48px 0; }
    .ecosystem-heading { display: block; margin-bottom: 24px; }
    .ecosystem-heading > p { margin-top: 16px; font-size: 15px; }
    .eco-core { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ecosystem-card, .ecosystem-card.is-core { padding: 22px; }
    .eco-grow { margin-top: 20px; padding: 16px; }
    .eco-grow::before { display: none; }
    .product-symbol { margin-bottom: 16px; }
    .home-page main > section:not(.home-hero):not(.home-ecosystem) { padding-block: 48px; }
    .home-page main h2 { font-size: 28px; line-height: 1.25; }
    .home-page main .text-xl { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 767px) {
    .home-page .dashboard-badge, .home-page .ai-badge, .home-page .pharmacy-alert { display: none; }
    .home-page > a[aria-label="Daftar via WhatsApp"] { bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; padding: 12px; }
    .home-page #mobile-menu:not([inert]) { z-index: 70; }
    .home-page #mobile-menu-overlay:not(.pointer-events-none) { z-index: 60; }
}
@media (min-width: 768px) and (max-width: 1099px) {
    .home-page .dashboard-badge, .home-page .ai-badge, .home-page .pharmacy-alert { display: none; }
}
.home-page .home-hero { animation: none; }

/* ===== Revamp: fitur section (modul sesuai aplikasi) ===== */
.feature-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 24px; }
.feature-head h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.feature-head > p { max-width: 400px; color: #64748b; line-height: 1.7; }
.benefit-band strong { font-size: 14px; color: #173963; line-height: 1.35; }
.benefit-band span { font-size: 12.5px; color: #64748b; line-height: 1.55; }
.feature-cards h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: #172b43; }
.feature-cards p { font-size: 13px; line-height: 1.6; color: #64748b; margin: 0; }
.features-cta { margin-top: 8px; background: linear-gradient(120deg, #000062, #4075aa); border-radius: 20px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: white; flex-wrap: wrap; }
.features-cta h3 { font-size: 22px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.02em; }
.features-cta p { margin: 0; color: #d9e6f5; font-size: 14.5px; max-width: 520px; line-height: 1.6; }
.features-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.features-cta .home-button.secondary { background: white; }
.trust-strip { margin-top: 32px; padding-top: 28px; border-top: 1px solid #e5edf6; }
.trust-strip > h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.trust-strip > p { color: #64748b; font-size: 14px; margin: 0 0 24px; }
.trust-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fbfdff; border: 1px solid #e0e8f0; border-radius: 16px; }
.trust-logo { width: 52px; height: 52px; background: white; border: 1px solid #e5eaf3; border-radius: 12px; display: grid; place-items: center; padding: 8px; flex-shrink: 0; }
.trust-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.trust-name { font-weight: 700; font-size: 14px; margin: 0; color: #172b43; }
.trust-desc { font-size: 12px; color: #64748b; margin: 2px 0 0; line-height: 1.5; }

/* ===== Revamp: addon section (lintas produk) ===== */
.home-addons { padding: 56px 0; background: #f7fafd; }
.addon-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 24px; }
.addon-head h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.addon-head > p { max-width: 400px; color: #64748b; line-height: 1.7; }
.addon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.addon-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid #e0e8f0; border-radius: 20px; background: white; }
.addon-tag { position: absolute; top: 18px; right: 18px; font-size: 10px; font-weight: 700; letter-spacing: .07em; color: #64748b; background: #f1f5f9; border-radius: 999px; padding: 5px 10px; }
.addon-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #e6efff; color: #001965; font-size: 24px; margin-bottom: 20px; }
.addon-card.crm .addon-symbol { color: #001965; background: #ebf3fc; }
.addon-card.hris .addon-symbol { color: #001965; background: #ebf3fc; }
.addon-card.ai .addon-symbol { color: #001965; background: #ebf3fc; }
.addon-card.acc .addon-symbol { color: #001965; background: #ebf3fc; }
.addon-card.multi .addon-symbol { color: #001965; background: #ebf3fc; }
.addon-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.addon-card > p { font-size: 13.5px; line-height: 1.7; color: #64748b; margin: 0 0 20px; }
.addon-card a { font-size: 13px; font-weight: 650; color: #4075aa; min-height: 44px; display: flex; align-items: center; gap: 8px; margin-top: auto; }
.addon-card a svg { display: block; flex-shrink: 0; }
.addon-cta { display: flex; flex-direction: column; padding: 26px; border-radius: 20px; background: linear-gradient(140deg, #001965 0%, #173f7a 60%, #2c5a94 100%); color: white; }
.addon-cta-kicker { margin: 0 0 10px; font-size: 11.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: #a9c4e8; }
.addon-cta h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; line-height: 1.3; color: white; }
.addon-cta > p:not(.addon-cta-kicker) { margin: 0 0 20px; font-size: 13.5px; line-height: 1.65; color: #d3e0f2; }
.addon-cta-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.addon-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 11px; border: 1px solid #ffffff40; font-size: 13.5px; font-weight: 650; color: white; transition: background-color .2s ease, transform .2s ease; }
.addon-cta-btn svg { display: block; flex-shrink: 0; }
.addon-cta-btn:hover { background: #ffffff1a; transform: translateY(-1px); }
.addon-cta-btn.primary { background: white; border-color: white; color: #001965; }
.addon-cta-btn.primary:hover { background: #ebf3fc; }

@media (max-width: 1099px) {
    .trust-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-head, .addon-head { display: block; }
    .feature-head > p, .addon-head > p { margin-top: 14px; max-width: none; }
}
@media (max-width: 767px) {
    .features-cta { padding: 24px 20px; border-radius: 20px; }
    .features-cta-actions { width: 100%; display: grid; gap: 10px; }
    .features-cta .home-button { width: 100%; }
    .trust-logos { grid-template-columns: minmax(0, 1fr); }
    .trust-item { padding: 12px; }
    .addon-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .addon-card { padding: 22px; }
}

/* ===== Rework: svg icon sizing (chips 24px) ===== */
.portrait-icon svg, .product-symbol svg, .addon-symbol svg { display: block; }

/* ===== Motion: scroll reveal ===== */
.motion-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.text-gradient { background: linear-gradient(100deg, #001965 10%, #4075aa 55%, #001965 90%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: kp-shine 6s linear infinite; }
@keyframes kp-shine { to { background-position: -200% center; } }

/* ===== Motion: hero ===== */
.hero-animate > * { animation: kp-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-animate > *:nth-child(2) { animation-delay: .08s; }
.hero-animate > *:nth-child(3) { animation-delay: .16s; }
.hero-animate > *:nth-child(4) { animation-delay: .24s; }
.hero-animate > *:nth-child(5) { animation-delay: .32s; }
.hero-animate-media { animation: kp-zoom 1s cubic-bezier(.2,.7,.2,1) .1s both; }
.hero-animate-media .app-float { animation: kp-rise .8s cubic-bezier(.2,.7,.2,1) .9s both, kp-float 6s ease-in-out 1.7s infinite; }
.hero-animate-media .app-float-ss { animation-delay: 1.3s, 2.4s; }
.home-page .home-hero { position: relative; }
.home-page .home-hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, #c9dcf5 0%, #ebf3fc00 70%); animation: kp-drift 14s ease-in-out infinite alternate; pointer-events: none; }
.home-hero > .home-wrap { position: relative; }
.home-button { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.home-button:hover { transform: translateY(-2px); }
.home-button.primary:hover { box-shadow: 0 12px 28px #00196538; }
.home-button svg { transition: transform .2s ease; }
.home-button:hover svg { transform: translate(2px, -2px); }
@keyframes kp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes kp-zoom { from { opacity: 0; transform: scale(.96) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes kp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes kp-drift { to { transform: translate(-80px, 60px) scale(1.1); } }

/* ===== Hover lift + spotlight (ecosystem, addon, benefit, feature cards) ===== */
.ecosystem-card, .addon-card, .benefit-item, .feature-cards article { position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.ecosystem-card::after, .addon-card::after, .benefit-item::after, .feature-cards article::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), #4075aa1f, transparent 70%); }
.ecosystem-card:hover, .addon-card:hover, .feature-cards article:hover { transform: translateY(-4px); border-color: #bcd3ec; box-shadow: 0 18px 40px -18px #0019653d; }
.ecosystem-card:hover::after, .addon-card:hover::after, .benefit-item:hover::after, .feature-cards article:hover::after { opacity: 1; }
.product-symbol, .addon-symbol { transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .3s ease, color .3s ease; }
.ecosystem-card:hover .product-symbol, .addon-card:hover .addon-symbol { transform: rotate(-6deg) scale(1.08); background: #001965; color: white; }
.ecosystem-card a svg, .addon-card a svg { transition: transform .2s ease; }
.ecosystem-card:hover a svg, .addon-card:hover a svg { transform: translate(3px, -3px); }

/* ===== Fitur: explorer ===== */
.home-features { position: relative; overflow: hidden; padding: 72px 0 56px; background: linear-gradient(180deg, #ffffff 0%, #f5f9fe 45%, #ffffff 100%); }
.home-features > .home-wrap { position: relative; }
.features-bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.features-bg span:nth-child(1) { width: 420px; height: 420px; left: -140px; top: 120px; background: #d6e6fa; animation: kp-drift 16s ease-in-out infinite alternate; }
.features-bg span:nth-child(2) { width: 360px; height: 360px; right: -120px; top: 520px; background: #e3ecfb; animation: kp-drift 18s ease-in-out infinite alternate-reverse; }

.benefit-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
.benefit-item { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: white; border: 1px solid #dfe9f5; border-radius: 18px; box-shadow: 0 1px 2px #0019650a; }
.benefit-band .benefit-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; color: white; background: linear-gradient(135deg, #001965, #4075aa); box-shadow: 0 8px 18px -8px #001965aa; }
.benefit-icon svg { display: block; }

.feature-explorer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.feature-tabs { display: grid; gap: 8px; position: sticky; top: 104px; }
.feature-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 14px; text-align: left; background: white; border: 1px solid #e0e8f0; border-radius: 16px; color: #172b43; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.feature-tab:hover { border-color: #bcd3ec; transform: translateX(3px); }
.feature-tab-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #ebf3fc; color: #001965; transition: background-color .25s ease, color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.feature-tab-icon svg { display: block; }
.feature-tab-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feature-tab-text strong { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.feature-tab-text small { font-size: 12px; color: #64748b; transition: color .25s ease; }
.feature-tab[aria-selected="true"] { background: linear-gradient(120deg, #001965, #173f7a); border-color: transparent; color: white; box-shadow: 0 16px 32px -16px #001965b0; transform: none; }
.feature-tab[aria-selected="true"] .feature-tab-icon { background: #ffffff1f; color: white; transform: scale(1.06); }
.feature-tab[aria-selected="true"] small { color: #c7d7ee; }
.feature-tab-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #7fb0e6; transform: scaleX(0); transform-origin: left; }
.feature-explorer.is-playing .feature-tab[aria-selected="true"] .feature-tab-progress { animation: kp-progress var(--autoplay-duration, 7000ms) linear forwards; }
.feature-explorer.is-paused .feature-tab[aria-selected="true"] .feature-tab-progress { animation-play-state: paused; }
@keyframes kp-progress { to { transform: scaleX(1); } }

.feature-panels { min-width: 0; }
.feature-explorer.is-enhanced .feature-panel[hidden] { display: none; }
.feature-panel { padding: 28px; background: white; border: 1px solid #dfe9f5; border-radius: 24px; box-shadow: 0 24px 60px -36px #0019654d; }
.feature-panel + .feature-panel { margin-top: 16px; }
.feature-explorer.is-enhanced .feature-panel + .feature-panel { margin-top: 0; }
.feature-panel:focus-visible { outline: 3px solid #4075aa; outline-offset: 4px; }
.feature-panel-head { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed #dbe6f3; }
.feature-panel-icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; color: white; background: linear-gradient(135deg, #001965, #4075aa); box-shadow: 0 12px 24px -12px #001965; }
.feature-panel-icon svg { display: block; }
.feature-panel-head h3 { font-size: 21px; font-weight: 750; letter-spacing: -.02em; margin: 0 0 4px; color: #172b43; }
.feature-panel-head p { margin: 0; font-size: 14px; line-height: 1.6; color: #64748b; }
.feature-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-cards article { padding: 18px; background: #fbfdff; border: 1px solid #e0e8f0; border-radius: 16px; }
.feature-cards article:last-child:nth-child(odd) { grid-column: 1 / -1; }
.feature-card-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px; background: #ebf3fc; color: #001965; transition: background-color .25s ease, color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.feature-card-icon svg { display: block; }
.feature-cards article:hover .feature-card-icon { background: #001965; color: white; transform: rotate(-8deg) scale(1.08); }

/* Panel switch animation */
.feature-explorer.is-enhanced .feature-panel.is-active { animation: kp-panel .5s cubic-bezier(.2,.7,.2,1) both; }
.feature-explorer.is-enhanced .feature-panel.is-active .feature-panel-head { animation: kp-rise .5s cubic-bezier(.2,.7,.2,1) both; }
.feature-explorer.is-enhanced .feature-panel.is-active .feature-cards article { animation: kp-card .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(80ms + var(--i, 0) * 70ms); }
@keyframes kp-panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes kp-card { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.features-cta { position: relative; overflow: hidden; margin-top: 40px; background: linear-gradient(120deg, #000062, #173f7a 50%, #4075aa); background-size: 200% 200%; animation: kp-gradient 10s ease infinite; }
.features-cta::before { content: ""; position: absolute; width: 280px; height: 280px; right: -80px; top: -140px; border-radius: 50%; background: #ffffff14; pointer-events: none; }
.features-cta > * { position: relative; }
@keyframes kp-gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.trust-item { transition: transform .3s ease, border-color .3s ease; }
.trust-item:hover { transform: translateY(-3px); border-color: #bcd3ec; }

@media (max-width: 1099px) {
    .benefit-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-explorer { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .feature-tabs { position: static; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin-inline: -32px; padding-inline: 32px; scrollbar-width: none; }
    .feature-tabs::-webkit-scrollbar { display: none; }
    .feature-tab { flex: 0 0 auto; width: auto; min-height: 56px; padding: 10px 14px 10px 10px; scroll-snap-align: start; }
    .feature-tab:hover { transform: none; }
    .feature-tab-icon { width: 36px; height: 36px; }
    .feature-tab-text strong { white-space: nowrap; font-size: 14px; }
}
@media (max-width: 767px) {
    .home-features { padding: 48px 0 40px; }
    .benefit-band { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 28px; }
    .benefit-item { padding: 16px; }
    .feature-tabs { margin-inline: -20px; padding-inline: 20px; }
    .feature-panel { padding: 18px; border-radius: 20px; }
    .feature-panel-head { gap: 12px; padding-bottom: 16px; margin-bottom: 16px; }
    .feature-panel-icon { width: 46px; height: 46px; border-radius: 14px; }
    .feature-panel-head h3 { font-size: 18px; }
    .feature-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .feature-cards article { padding: 16px; }
    .home-page .home-hero::before { width: 360px; height: 360px; right: -180px; top: -140px; }
}

/* ===== Hero: mockup aplikasi KlinikPro (pengganti foto) ===== */
.hero-app { padding: 0 0 36px; }
/* Layar lebar: mockup melebar keluar kolom ke kanan (maks 120px) agar UI terbaca. */
@media (min-width: 1100px) { .hero-app { margin-right: clamp(-120px, calc((1200px - 100vw) / 2 + 16px), 0px); } }
.app-window { position: relative; overflow: hidden; background: white; border: 1px solid #d9e5f2; border-radius: 20px; box-shadow: 0 50px 90px -40px #00196573, 0 2px 6px #0019650d; font-size: 12px; color: #172b43; }
.app-chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f3f7fc; border-bottom: 1px solid #e3ebf5; }
.app-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d3dce8; }
.app-chrome span { margin-left: 12px; padding: 3px 12px; border-radius: 7px; background: white; border: 1px solid #e3ebf5; font-size: 10.5px; color: #64748b; }
.app-body { display: grid; grid-template-columns: 162px minmax(0, 1fr); min-height: 400px; }
.app-side { display: flex; flex-direction: column; gap: 1px; padding: 12px 8px; border-right: 1px solid #edf2f8; }
.app-logo { display: flex; align-items: center; gap: 7px; padding: 2px 6px 10px; margin-bottom: 4px; border-bottom: 1px solid #edf2f8; }
.app-logo b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #001965; color: white; font-size: 12px; }
.app-logo span { font-weight: 750; font-size: 13px; color: #001965; }
.app-side p { margin: 8px 6px 3px; font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.app-side a { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 7px; font-size: 11px; color: #475569; white-space: nowrap; }
.app-side a svg { flex-shrink: 0; color: #94a3b8; }
.app-side a.is-active { background: #ebf3fc; color: #001965; font-weight: 650; }
.app-side a.is-active svg { color: #001965; }
.app-main { display: flex; flex-direction: column; gap: 12px; padding: 12px 14px 14px; background: #f8fafd; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-clinic { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: white; border: 1px solid #e3ebf5; border-radius: 8px; font-size: 11px; font-weight: 600; }
.app-clinic b { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.app-avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #001965; color: white; font-size: 10px; font-weight: 700; }
.app-welcome strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.app-welcome span { font-size: 10.5px; color: #64748b; }
.app-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app-stats > div { padding: 10px; background: white; border: 1px solid #e6edf6; border-radius: 10px; }
.app-stats span { display: block; font-size: 9.5px; color: #64748b; }
.app-stats strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 750; color: #001965; font-variant-numeric: tabular-nums; }
.app-card { background: white; border: 1px solid #e6edf6; border-radius: 12px; padding: 4px 10px 6px; }
.app-card-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f4f9; }
.app-card-head strong { font-size: 12px; }
.app-card-head span { font-size: 10px; color: #64748b; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; }
.app-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f3f6fa; }
.app-row:last-child { border-bottom: 0; }
.app-row code { flex-shrink: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; font-weight: 700; color: #001965; padding: 3px 6px; background: #ebf3fc; border-radius: 6px; }
.app-row span { flex: 1; min-width: 0; font-weight: 600; font-size: 11.5px; }
.app-row small { display: block; font-weight: 400; font-size: 10px; color: #64748b; }
.app-row em { flex-shrink: 0; font-style: normal; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.st-progress { background: #fef3c7; color: #a16207; }
.st-wait { background: #e0edff; color: #1d4ed8; }
.st-done { background: #dcfce7; color: #15803d; }
.app-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: white; border: 1px solid #e1eaf3; border-radius: 14px; box-shadow: 0 18px 40px -18px #00196570; font-size: 12px; z-index: 2; }
.app-float small { display: block; font-size: 10.5px; color: #64748b; }
.app-float strong { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #172b43; }
.app-float code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #001965; }
.app-float .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #ebf3fc; color: #001965; }
.app-float-ss strong svg { color: #16a34a; }
.app-float-solve { left: -28px; bottom: 0; transition: opacity .3s ease, transform .3s ease; }
.app-float-solve .ic { background: #dcfce7; color: #15803d; }
.app-float-solve.is-swapping { opacity: 0; transform: translateY(6px); }
.app-float-ss { right: 28px; top: -20px; }

/* Hero tour: sidebar menu + scenes */
.app-side a { position: relative; overflow: hidden; transition: background-color .25s ease, color .25s ease; }
.app-side a span { overflow: hidden; text-overflow: ellipsis; }
.app-side a.is-active::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 2px; border-radius: 2px; background: #4075aa; transform: scaleX(0); transform-origin: left; }
.hero-app.is-touring .app-side a.is-active::after { animation: app-progress var(--tour-ms, 4200ms) linear forwards; }
@keyframes app-progress { to { transform: scaleX(1); } }
.app-chrome span { transition: opacity .2s ease; }
.app-mtabs { display: none; }
.app-scenes { display: grid; }
.app-scene { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1), visibility 0s .4s; }
.app-scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.app-scene.is-active .app-row, .app-scene.is-active .app-stats > div, .app-scene.is-active .app-banner, .app-scene.is-active .app-pay, .app-scene.is-active .app-hist { animation: kp-rise .45s cubic-bezier(.2,.7,.2,1) both; }
.app-scene.is-active .app-row:nth-child(2), .app-scene.is-active .app-stats > div:nth-child(2) { animation-delay: .08s; }
.app-scene.is-active .app-row:nth-child(3), .app-scene.is-active .app-stats > div:nth-child(3) { animation-delay: .16s; }
.app-scene.is-active .app-row:nth-child(4) { animation-delay: .24s; }
.app-scene.is-active .app-row:nth-child(5), .app-scene.is-active .app-banner, .app-scene.is-active .app-pay, .app-scene.is-active .app-hist { animation-delay: .32s; }
.app-stats strong.is-sm { font-size: 16px; padding-top: 3px; }
.app-soap .app-row b { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #001965; color: white; font-size: 11px; }
.app-soap .app-row code { padding: 1px 5px; margin-right: 3px; font-size: 10px; }
.app-soap { padding-top: 2px; }
.app-hist { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 10px; color: #64748b; }
.app-hist span { font-weight: 700; color: #172b43; }
.app-hist i { font-style: normal; padding: 3px 8px; border-radius: 999px; background: white; border: 1px solid #e6edf6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.app-banner { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 650; }
.app-bill .app-row { justify-content: space-between; }
.app-bill .app-row span { font-weight: 500; }
.app-bill .app-row b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 700; color: #172b43; }
.app-bill .app-row.is-total span, .app-bill .app-row.is-total b { font-weight: 800; font-size: 12.5px; color: #001965; }
.app-pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.app-pay span { padding: 7px 0; border-radius: 8px; border: 1px solid #e6edf6; background: white; text-align: center; font-size: 10.5px; font-weight: 600; color: #475569; }
.app-pay span.is-on { border-color: #001965; background: #001965; color: white; }
.app-sync .app-row img { flex-shrink: 0; width: 18px; height: 18px; object-fit: contain; }
.app-chart { padding-bottom: 12px; }
.app-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; height: 92px; padding-top: 10px; }
.app-bars i { height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #4075aa, #001965); transform-origin: bottom; }
.app-scene.is-active .app-bars i { animation: app-grow .6s cubic-bezier(.2,.7,.2,1) both; }
.app-scene.is-active .app-bars i:nth-child(2) { animation-delay: .08s; } .app-scene.is-active .app-bars i:nth-child(3) { animation-delay: .16s; } .app-scene.is-active .app-bars i:nth-child(4) { animation-delay: .24s; }
@keyframes app-grow { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .app-scene, .app-scene * { animation: none !important; transition: none !important; } }

/* Hero dashboard scene (live) */
.app-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.app-kpis > div { padding: 9px 10px; background: white; border: 1px solid #e6edf6; border-radius: 10px; min-width: 0; }
.app-kpis span { display: block; font-size: 9.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-kpis strong { display: block; margin: 2px 0 1px; font-size: 16px; letter-spacing: -.02em; font-weight: 750; color: #001965; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app-kpis strong.is-bump { animation: app-bump .5s ease; }
.app-kpis em { font-style: normal; font-size: 9.5px; font-weight: 650; color: #64748b; white-space: nowrap; }
.app-kpis em.is-up { color: #15803d; }
.app-kpis em.is-warn { color: #b45309; }
@keyframes app-bump { 30% { transform: scale(1.12); color: #15803d; } }
.app-dash-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 8px; }
.app-card-head .app-live { display: inline-flex; align-items: center; gap: 5px; color: #15803d; background: #dcfce7; font-weight: 700; }
.app-live i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; animation: kp-blink 1.2s ease-in-out infinite; }
.app-hbars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; height: 118px; padding: 10px 0 18px; }
.app-hbars i { position: relative; height: var(--h); border-radius: 5px 5px 2px 2px; background: #c9daef; transform-origin: bottom; }
.app-hbars i.is-now { background: linear-gradient(180deg, #4075aa, #001965); }
.app-hbars i.is-now::before { content: ""; position: absolute; inset: -3px; border-radius: 7px; border: 2px solid #4075aa55; animation: app-pulse 1.6s ease-out infinite; }
.app-hbars b { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); font-size: 8.5px; font-weight: 500; color: #94a3b8; }
@keyframes app-pulse { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.25); } }
.app-scene.is-active .app-hbars i { animation: app-grow .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
.app-scene.is-active .app-kpis > div { animation: kp-rise .45s cubic-bezier(.2,.7,.2,1) both; }
.app-scene.is-active .app-kpis > div:nth-child(2) { animation-delay: .06s; } .app-scene.is-active .app-kpis > div:nth-child(3) { animation-delay: .12s; } .app-scene.is-active .app-kpis > div:nth-child(4) { animation-delay: .18s; }
.app-feed ul { list-style: none; margin: 0; padding: 6px 0 2px; display: grid; align-content: start; gap: 2px; overflow: hidden; height: 128px; }
.app-feed li { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.app-feed li.is-new { animation: app-feed-in .45s cubic-bezier(.2,.7,.2,1) both; }
.app-feed li > span { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #ebf3fc; color: #001965; }
.app-feed li.is-pay > span { background: #dcfce7; color: #15803d; }
.app-feed li.is-rx > span { background: #fef3c7; color: #a16207; }
.app-feed li.is-ss > span { background: #e0f2fe; color: #0369a1; }
.app-feed li div { min-width: 0; }
.app-feed strong { display: block; font-size: 10.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-feed small { display: block; font-size: 9px; color: #94a3b8; }
@keyframes app-feed-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
    .app-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-dash-grid { grid-template-columns: minmax(0, 1fr); }
    .app-feed ul { height: 104px; }
}
@media (prefers-reduced-motion: reduce) { .app-hbars i.is-now::before, .app-live i { animation: none !important; } }

/* Animasi isi mockup */
.hero-app .st-progress { position: relative; }
.hero-app .st-progress::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: kp-blink 1.4s ease-in-out infinite; }
@keyframes kp-blink { 50% { opacity: .2; } }

@media (max-width: 1099px) {
    .app-body { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .hero-app { max-width: 460px; }
    .app-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .app-side { display: none; }
    .app-mtabs { display: flex; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .app-mtabs span { flex-shrink: 0; padding: 5px 10px; border-radius: 999px; background: white; border: 1px solid #e3ebf5; font-size: 10.5px; font-weight: 600; color: #64748b; transition: background-color .25s ease, color .25s ease, transform .3s ease; }
    .app-mtabs span.is-active { background: #001965; border-color: #001965; color: white; }
    .app-float-solve { left: 8px; bottom: 0; }
    .app-float-ss { right: 8px; top: -18px; }
    .app-float { padding: 8px 12px; }
}

/* ===== Disesuaikan: setiap klinik punya alur sendiri ===== */
.home-fit { padding: 72px 0; background: linear-gradient(180deg, #f6f9fe 0%, #ffffff 100%); }
.fit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.fit-copy h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 750; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 16px; }
.fit-copy > p:not(.home-eyebrow) { color: #52657b; font-size: 16px; line-height: 1.75; margin: 0 0 24px; max-width: 540px; }
.fit-copy .home-button svg { vertical-align: -3px; }
.fit-plan { padding: 24px; background: white; border: 1px solid #dfe9f5; border-radius: 24px; box-shadow: 0 40px 80px -48px #00196566; }
.fit-plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.fit-plan-label { margin: 0; font-size: 11.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: #7b8ca3; }
.fit-plan-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: #ebf3fc; color: #001965; font-size: 12px; font-weight: 650; white-space: nowrap; }
.fit-plan-pill i { width: 7px; height: 7px; border-radius: 50%; background: #4075aa; box-shadow: 0 0 0 0 #4075aa66; animation: fit-pulse 2s ease-out infinite; }
.fit-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.fit-steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: #e3ebf5; }
.fit-steps::after { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(#001965, #4075aa); transform: scaleY(0); transform-origin: top; }
.is-visible .fit-steps::after { transform: scaleY(1); transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .3s; }
.fit-step { position: relative; z-index: 1; display: flex; gap: 14px; align-items: flex-start; }
.fit-step-no { position: relative; z-index: 1; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: white; border: 2px solid #c9d9ec; color: #4075aa; font-size: 13.5px; font-weight: 750; }
.fit-step:last-child::before { content: ""; position: absolute; left: 14px; top: 32px; bottom: -4px; width: 4px; background: white; }
.fit-step strong { display: block; margin: 5px 0 3px; font-size: 15px; color: #172b43; }
.fit-step p { margin: 0 0 9px; font-size: 13.5px; line-height: 1.6; color: #64748b; }
.fit-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fit-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #f3f7fc; border: 1px solid #e3ebf5; color: #2c4a6e; font-size: 12px; font-weight: 600; }
.fit-tags svg { color: #4075aa; }
.is-visible .fit-step { animation: fit-step .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 260ms + 200ms); }
.is-visible .fit-step-no { animation: fit-node .4s ease both; animation-delay: calc(var(--d, 0) * 260ms + 420ms); }
@keyframes fit-step { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes fit-node { to { background: #001965; border-color: #001965; color: white; } }
@keyframes fit-pulse { 70% { box-shadow: 0 0 0 7px #4075aa00; } 100% { box-shadow: 0 0 0 0 #4075aa00; } }
@media (prefers-reduced-motion: reduce) { .fit-plan *, .fit-steps::after { animation: none !important; transition: none !important; } .fit-steps::after { transform: none; } }
.fit-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.fit-point { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: white; border: 1px solid #e0e8f0; border-radius: 18px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.fit-point:hover { transform: translateY(-3px); border-color: #bcd3ec; box-shadow: 0 18px 36px -24px #0019654d; }
.fit-point > span { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: #ebf3fc; color: #001965; }
.fit-point strong { display: block; font-size: 15.5px; color: #172b43; margin-bottom: 4px; }
.fit-point p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #64748b; }
@media (max-width: 1099px) {
    .fit-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .fit-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .home-fit { padding: 48px 0; }
    .fit-plan { padding: 18px; }
    .fit-plan-head { flex-wrap: wrap; }
    .fit-points { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Laporan & analitik ===== */
.home-reports { padding: 80px 0 72px; background: #ffffff; }
.lp-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.lp-copy h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 750; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 16px; }
.lp-copy > p:not(.home-eyebrow) { color: #52657b; font-size: 16px; line-height: 1.75; margin: 0 0 24px; max-width: 520px; }
.lp-copy .home-button svg { vertical-align: -3px; }
.lp-extras { display: grid; gap: 14px; margin-bottom: 28px; }
.lp-extra { display: flex; gap: 12px; align-items: flex-start; }
.lp-extra > span { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #ebf3fc; color: #001965; }
.lp-extra strong { display: block; font-size: 15px; color: #172b43; }
.lp-extra p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.55; color: #64748b; }
.home-reports strong, .home-reports code, .lp-kpis em, .lp-rank em { font-variant-numeric: tabular-nums; }

/* Interactive dashboard */
.lp-dash { padding: 18px; border: 1px solid #dfe9f5; border-radius: 24px; background: linear-gradient(160deg, #eaf2fc 0%, #f7faff 45%, #eef4fb 100%); box-shadow: 0 40px 80px -48px #00196566; }
.lp-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lp-periods { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: white; border: 1px solid #dfe9f5; }
.lp-periods button { position: relative; overflow: hidden; padding: 7px 12px; border: 0; border-radius: 9px; background: transparent; color: #52657b; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.lp-periods button:hover { color: #001965; }
.lp-periods button[aria-selected="true"] { background: #001965; color: white; }
.lp-periods button:focus-visible { outline: 3px solid #4075aa; outline-offset: 2px; }
.lp-periods button[aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 3px; height: 2px; border-radius: 2px; background: #ffffff80; transform: scaleX(0); transform-origin: left; }
.lp-dash.is-auto .lp-periods button[aria-selected="true"]::after { animation: lp-progress var(--lp-auto, 5s) linear forwards; }
@keyframes lp-progress { to { transform: scaleX(1); } }
.lp-export { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: white; border: 1px solid #dfe9f5; color: #001965; font-size: 12.5px; font-weight: 650; }
.lp-dash-body { display: grid; gap: 10px; transition: opacity .2s ease; }
.lp-dash-body.is-swapping { opacity: .35; }
.lp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-kpis > div, .lp-chart, .lp-diag { border: 1px solid #e3ebf5; border-radius: 14px; background: white; }
.lp-kpis > div { padding: 12px 14px; }
.lp-kpis small { display: block; font-size: 11.5px; color: #7b8ca3; }
.lp-kpis strong { display: block; margin: 3px 0 2px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: #0f2340; white-space: nowrap; }
.lp-kpis em { display: inline-flex; align-items: center; gap: 2px; font-style: normal; font-size: 12px; font-weight: 700; color: #0b8a5f; }
.lp-kpis em.is-warn { color: #b45309; }
.lp-label { margin: 0 0 10px; font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #7b8ca3; }
.lp-chart, .lp-diag { padding: 14px 16px; }
.lp-bars { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 10px; align-items: end; height: 116px; }
.lp-bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.lp-bar span { width: 100%; max-width: 34px; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #4075aa, #001965); transform: scaleY(0); transform-origin: bottom; }
.lp-bar em { font-style: normal; font-size: 11px; color: #8a9ab0; white-space: nowrap; }
.lp-diag ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lp-diag li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; row-gap: 4px; font-size: 12.5px; color: #33475f; }
.lp-diag code { grid-row: span 2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700; color: #001965; background: #ebf3fc; border-radius: 7px; padding: 4px 0; text-align: center; }
.lp-diag li > strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: #0f2340; }
.lp-diag b { grid-column: 2 / -1; display: block; height: 6px; border-radius: 99px; background: #e8eff8; position: relative; overflow: hidden; }
.lp-diag b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #001965, #4075aa); transform: scaleX(0); transform-origin: left; }
.lp-dash-note { margin: 10px 2px 0; font-size: 11.5px; color: #8a9ab0; }
.is-visible .lp-bar span { animation: lp-grow .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
.is-visible .lp-diag b::after { animation: lp-grow-x .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 110ms + 350ms); }
@keyframes lp-grow { to { transform: scaleY(1); } }
@keyframes lp-grow-x { to { transform: scaleX(1); } }

/* Story cards */
.lp-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 24px; margin-top: 72px; }
.lp-story { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.lp-frame { display: flex; align-items: center; min-height: 0; padding: 22px; border-radius: 22px; border: 1px solid #dfe9f5; transition: transform .3s ease, box-shadow .3s ease; }
.lp-frame.is-a { background: linear-gradient(150deg, #dce9f8 0%, #f3f7fd 55%, #e4edf9 100%); }
.lp-frame.is-b { background: linear-gradient(150deg, #dff1f4 0%, #f4f9fb 55%, #e1ecf7 100%); }
.lp-frame.is-c { background: linear-gradient(150deg, #e4e6f8 0%, #f6f6fd 55%, #e3ebf8 100%); }
.lp-story:hover .lp-frame { transform: translateY(-4px); box-shadow: 0 28px 48px -32px #0019654d; }
.lp-mini { width: 100%; padding: 16px; border-radius: 16px; background: white; box-shadow: 0 16px 36px -22px #00196540; font-size: 13px; color: #33475f; }
.lp-mini-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #edf2f8; }
.lp-mini-head > span { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #ebf3fc; color: #001965; }
.lp-mini-head > div { flex: 1; min-width: 0; }
.lp-mini-head small { display: block; font-size: 10.5px; font-weight: 750; letter-spacing: .08em; color: #7b8ca3; }
.lp-mini-head strong { display: block; font-size: 13.5px; color: #172b43; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-tag { flex-shrink: 0; padding: 3px 8px; border-radius: 999px; background: #ebf3fc; color: #001965; font-style: normal; font-size: 11px; font-weight: 700; }
.lp-tag.is-ok { background: #e6f6ef; color: #0b6f4a; }
.lp-mini-total small { display: block; font-size: 11.5px; color: #7b8ca3; }
.lp-mini-total strong { display: block; margin: 2px 0 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #0f2340; }
.lp-stack { display: flex; gap: 3px; height: 10px; margin-bottom: 12px; }
.lp-stack i { width: var(--w); border-radius: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; }
.is-visible .lp-stack i { animation: lp-grow-x .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 120ms + 200ms); }
.lp-legend { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.lp-legend li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.lp-legend li i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.lp-legend b { margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #0f2340; }
.lp-mini-alert { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; background: #fff7e8; color: #92400e; font-size: 12.5px; font-weight: 600; }
.lp-mini-alert b { margin-left: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.lp-rank { list-style: none; margin: 0; padding: 0; display: grid; }
.lp-rank li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto 56px; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0f4f9; }
.lp-rank li:last-child { border-bottom: 0; }
.lp-rank code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; font-weight: 700; color: #001965; background: #ebf3fc; border-radius: 6px; padding: 3px 0; text-align: center; }
.lp-rank span { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-rank strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: #0f2340; }
.lp-rank em { display: inline-flex; align-items: center; justify-content: flex-end; gap: 2px; font-style: normal; font-size: 11.5px; font-weight: 700; }
.lp-rank em.is-up { color: #b4232c; }
.lp-rank em.is-down { color: #0b8a5f; }
.lp-mini-note { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 9px 11px; border-radius: 10px; background: #fdecee; color: #9f1d27; font-size: 12px; font-weight: 600; }
.lp-hours { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; align-items: end; height: 120px; padding-top: 24px; margin-bottom: 12px; }
.lp-hour { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; height: 100%; }
.lp-hour span { position: relative; width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px; background: #c4d7ee; transform: scaleY(0); transform-origin: bottom; }
.lp-hour.is-peak span { background: linear-gradient(180deg, #e0565f, #b4232c); }
.lp-hour span b { position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%); padding: 2px 6px; border-radius: 6px; background: #0f2340; color: white; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.lp-hour em { font-style: normal; font-size: 10.5px; color: #8a9ab0; }
.is-visible .lp-hour span { animation: lp-grow .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 60ms + 200ms); }
.lp-poli { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lp-poli li { padding: 8px 10px; border-radius: 10px; background: #f5f8fc; }
.lp-poli span { display: block; font-size: 11px; color: #7b8ca3; }
.lp-poli b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: #0f2340; }
.lp-story-text { display: flex; gap: 14px; padding: 20px 4px 0; }
.lp-no { flex-shrink: 0; padding-top: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #8a9ab0; }
.lp-kicker { margin: 0 0 6px; font-size: 11.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: #4075aa; }
.lp-story h3 { margin: 0 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: #0f2340; }
.lp-story-text p:last-child { margin: 0; font-size: 14.5px; line-height: 1.65; color: #64748b; }
.lp-footnote { margin: 28px 0 0; font-size: 12px; color: #8a9ab0; }
@media (prefers-reduced-motion: reduce) { .home-reports *, .home-reports *::after { animation: none !important; transform: none !important; } }
@media (max-width: 1099px) {
    .lp-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .lp-stories { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; max-width: 560px; margin-inline: auto; }
    .lp-story { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 767px) {
    .home-reports { padding: 56px 0; }
    .lp-dash { padding: 12px; }
    .lp-dash-head { flex-wrap: wrap; }
    .lp-kpis { gap: 6px; }
    .lp-kpis > div { padding: 10px; }
    .lp-kpis strong { font-size: 14px; }
    .lp-bars { gap: 6px; height: 96px; }
    .lp-stories { margin-top: 48px; row-gap: 36px; }
    .lp-frame { min-height: 0; padding: 14px; }
}

/* ===== Pengingat WhatsApp & paket sesi ===== */
.home-retensi { padding: 80px 0 72px; background: linear-gradient(180deg, #f6f9fe 0%, #ffffff 100%); }
.rt-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.rt-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 750; letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.rt-head > p { max-width: 420px; margin: 0; color: #52657b; font-size: 15.5px; line-height: 1.7; }
.lp-stories.rt-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.rt-stories .lp-frame { min-height: 420px; justify-content: center; }
.rt-stories .lp-mini { max-width: 400px; }
.rt-frame-wa { background: linear-gradient(150deg, #dff3e6 0%, #f3faf5 55%, #e3f1ea 100%); }
.rt-chat { padding: 0; overflow: hidden; }
.rt-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0b6e4f; color: white; }
.rt-chat-head > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: white; color: #001965; font-weight: 800; font-size: 14px; }
.rt-chat-head strong { display: block; font-size: 13.5px; }
.rt-chat-head small { font-size: 11px; color: #c9eedd; }
.rt-chat-body { display: grid; gap: 8px; padding: 12px 14px 16px; background: #efeae2; }
.rt-day { justify-self: center; margin: 2px 0 0; padding: 3px 10px; border-radius: 8px; background: #ffffffcc; font-size: 10.5px; font-weight: 600; color: #54656f; }
.rt-bubble { position: relative; max-width: 88%; padding: 8px 10px 18px; border-radius: 4px 12px 12px 12px; background: white; box-shadow: 0 1px 1px #0000001a; font-size: 12.5px; line-height: 1.45; color: #111b21; }
.rt-bubble em { position: absolute; right: 8px; bottom: 4px; display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: 10px; color: #667781; }
.rt-tick { display: inline-flex; color: #53bdeb; }
.motion-ready .lp-story:not(.is-visible) .rt-bubble { opacity: 0; transform: translateY(8px) scale(.98); }
.lp-story.is-visible .rt-bubble { animation: rt-pop .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 700ms + 300ms); }
@keyframes rt-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.rt-stories .lp-story-text p:not(.lp-kicker) { margin: 0; font-size: 14.5px; line-height: 1.65; color: #64748b; }
.rt-addon { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #e7f6ee; color: #0b6e4f; font-size: 10.5px; letter-spacing: .02em; text-transform: none; vertical-align: 1px; }
.rt-types { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rt-types li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e3ebf5; border-radius: 12px; background: white; }
.rt-types strong { display: block; font-size: 13px; color: #172b43; line-height: 1.3; }
.rt-types small { font-size: 11.5px; color: #7b8ca3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.rt-switch { position: relative; flex-shrink: 0; width: 28px; height: 16px; border-radius: 99px; background: #16a34a; }
.rt-switch::after { content: ""; position: absolute; top: 2px; left: 14px; width: 12px; height: 12px; border-radius: 50%; background: white; }
.rt-sessions { padding: 12px; border-radius: 12px; background: #f5f8fc; margin-bottom: 10px; }
.rt-sessions-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.rt-sessions-top strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; color: #0f2340; }
.rt-sessions-top strong small { font-family: inherit; font-size: 12px; font-weight: 500; color: #64748b; }
.rt-sessions-top span { padding: 3px 9px; border-radius: 999px; background: #ebf3fc; color: #001965; font-size: 11.5px; font-weight: 700; }
.rt-dots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; margin-bottom: 10px; }
.rt-dots i { height: 10px; border-radius: 4px; background: #dbe4ef; }
.rt-dots i.is-used { background: linear-gradient(90deg, #001965, #4075aa); }
.motion-ready .lp-story:not(.is-visible) .rt-dots i.is-used { background: #dbe4ef; }
.lp-story.is-visible .rt-dots i.is-used { animation: rt-fill .35s ease both; animation-delay: calc(var(--i) * 120ms + 300ms); }
@keyframes rt-fill { from { background: #dbe4ef; transform: scaleY(.6); } }
.rt-sessions p { margin: 0; font-size: 12px; color: #64748b; }
.rt-sessions p b { color: #0f2340; }
.rt-hist { list-style: none; margin: 0; padding: 0; }
.rt-hist li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #f0f4f9; font-size: 12.5px; }
.rt-hist b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #001965; }
.rt-hist em { font-style: normal; font-size: 11.5px; color: #8a9ab0; }
.rt-alert { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: #e7f6ee; color: #0b6e4f; font-size: 12px; font-weight: 600; }
.rt-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.rt-points li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #33475f; }
.rt-points svg { flex-shrink: 0; color: #4075aa; }
@media (prefers-reduced-motion: reduce) { .rt-bubble, .rt-dots i { animation: none !important; } }
@media (max-width: 1099px) {
    .rt-head { flex-direction: column; align-items: start; gap: 14px; }
    .lp-stories.rt-stories { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; max-width: 600px; margin-inline: auto; }
    .rt-stories .lp-story { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 767px) {
    .home-retensi { padding: 56px 0; }
    .rt-stories .lp-frame { min-height: 0; }
    .rt-types, .rt-points { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile: tame tall photos in the older homepage sections */
@media (max-width: 767px) {
    .home-page main img.w-full.h-auto { max-height: 220px; object-fit: cover; }
    .lp-story, .lp-story > *, .lp-frame, .lp-mini { min-width: 0; }
}

/* ===== Alur kerja (3 langkah) ===== */
.home-steps { padding: 80px 0 72px; background: linear-gradient(180deg, #ffffff 0%, #f5f9fe 100%); }
.hs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.hs-step { position: relative; display: flex; flex-direction: column; background: white; border: 1px solid #e0e8f0; border-radius: 22px; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.hs-step:hover { transform: translateY(-4px); border-color: #bcd3ec; box-shadow: 0 22px 44px -24px #0019654d; }
.hs-step figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #eef4fb; }
.hs-step img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hs-step:hover img { transform: scale(1.04); }
.hs-step-body { position: relative; display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 30px 24px 24px; }
.hs-step-no { position: absolute; top: -22px; left: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #001965; color: white; font-weight: 800; font-size: 15px; box-shadow: 0 10px 24px -10px #001965; }
.hs-step h3 { margin: 0; font-size: 19px; font-weight: 720; letter-spacing: -.015em; color: #172b43; }
.hs-step p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #52657b; }
.hs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.hs-tags span { padding: 4px 10px; border-radius: 999px; background: #ebf3fc; color: #173f7a; font-size: 12px; font-weight: 650; }
.hs-step:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: calc(50% - 50px); right: -17px; width: 14px; height: 14px; border-top: 2px solid #9cb8d8; border-right: 2px solid #9cb8d8; transform: rotate(45deg); }
.hs-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 20px 24px; border: 1px solid #e0e8f0; border-radius: 18px; background: white; }
.hs-cta p { margin: 0; font-size: 15px; color: #52657b; }
.hs-cta strong { color: #172b43; }
.hs-cta .home-button svg { vertical-align: -3px; }

/* ===== Jenis klinik (tab) ===== */
.home-types { padding: 80px 0 72px; background: white; }
.ct-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ct-tabs [role="tab"] { min-height: 42px; padding: 0 18px; border: 1px solid #d6e4f4; border-radius: 999px; background: white; color: #3a5577; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.ct-tabs [role="tab"]:hover { border-color: #4075aa; color: #001965; }
.ct-tabs [role="tab"][aria-selected="true"] { background: #001965; border-color: #001965; color: white; box-shadow: 0 8px 20px -10px #001965; }
.ct-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding: 24px; border: 1px solid #e0e8f0; border-radius: 26px; background: linear-gradient(160deg, #f5f9fe 0%, white 60%); animation: ct-in .35s ease both; }
.ct-panel[hidden] { display: none; }
.ct-panel figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 10 / 7; background: #eef4fb; }
.ct-panel img { width: 100%; height: 100%; object-fit: cover; }
.ct-eyebrow { margin: 0 0 8px; font-size: 11.5px; font-weight: 750; letter-spacing: .1em; color: #4075aa; }
.ct-copy h3 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 750; letter-spacing: -.025em; line-height: 1.2; color: #172b43; }
.ct-copy > p:not(.ct-eyebrow) { margin: 0 0 20px; font-size: 15.5px; line-height: 1.7; color: #52657b; }
.ct-feats { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ct-feats li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #e6eef7; border-radius: 14px; background: white; }
.ct-feats svg { flex-shrink: 0; margin-top: 1px; padding: 2px; width: 18px; height: 18px; border-radius: 6px; background: #dcfce7; color: #15803d; }
.ct-feats strong { display: block; font-size: 14px; color: #172b43; }
.ct-feats span { font-size: 12.5px; line-height: 1.45; color: #64748b; }
.ct-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 14.5px; color: #4075aa; }
.ct-more svg { transition: transform .2s ease; }
.ct-more:hover svg { transform: translateX(3px); }
@keyframes ct-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Mengapa KlinikPro ===== */
.home-why { padding: 80px 0; background: linear-gradient(180deg, #f6f9fe 0%, #ffffff 100%); }
.wy-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.wy-copy h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 750; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 16px; }
.wy-copy > div > p:not(.home-eyebrow) { margin: 0 0 24px; max-width: 520px; color: #52657b; font-size: 16px; line-height: 1.75; }
.wy-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wy-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid #e0e8f0; border-radius: 18px; background: white; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.wy-list li:hover { transform: translateY(-3px); border-color: #bcd3ec; box-shadow: 0 16px 32px -20px #0019654d; }
.wy-icon { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #ebf3fc; color: #001965; transition: background-color .3s ease, color .3s ease; }
.wy-list li:hover .wy-icon { background: #001965; color: white; }
.wy-list h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 720; color: #172b43; }
.wy-list p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #64748b; }
.wy-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wy-actions .home-button { gap: 10px; }
.wy-visual { position: relative; padding: 28px 8px; }
.wy-visual::before { content: ""; position: absolute; inset: 6% 10%; border-radius: 50%; background: radial-gradient(#cfe0f7, transparent 70%); filter: blur(20px); }
.wy-frame { position: relative; overflow: hidden; border: 1px solid #dfe9f5; border-radius: 20px; background: white; box-shadow: 0 40px 80px -40px #00196566; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.wy-visual:hover .wy-frame { transform: none; }
.wy-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #edf2f8; background: #f8fbff; }
.wy-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6e1ee; }
.wy-bar span { margin-left: 10px; font-size: 11.5px; color: #8094ab; }
.wy-frame img { display: block; width: 100%; height: auto; }
.wy-badge { position: absolute; display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid #e1eaf3; border-radius: 16px; background: white; box-shadow: 0 18px 40px -20px #00196570; animation: kp-float 6s ease-in-out infinite; }
.wy-badge small { font-size: 11.5px; color: #64748b; }
.wy-badge strong { font-size: 20px; font-weight: 780; letter-spacing: -.02em; color: #001965; }
.wy-badge.is-a { top: 0; left: -8px; }
.wy-badge.is-b { right: -4px; top: 38%; animation-delay: -2s; }
.wy-badge.is-c { bottom: 4px; left: 12%; flex-direction: row; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: #172b43; animation-delay: -4s; }
.wy-badge.is-c i { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px #16a34a22; }
@keyframes kp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (max-width: 1099px) {
    .hs-steps { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
    .hs-step { flex-direction: row; }
    .hs-step figure { flex: 0 0 38%; aspect-ratio: auto; }
    .hs-step-no { top: 20px; left: -1px; border-radius: 0 12px 12px 0; }
    .hs-step-body { padding: 70px 22px 22px; }
    .hs-step:not(:last-child)::after { display: none; }
    .ct-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ct-panel figure { aspect-ratio: 16 / 8; }
    .wy-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .wy-visual { max-width: 620px; }
}
@media (max-width: 767px) {
    .home-steps, .home-types, .home-why { padding: 48px 0; }
    .hs-step { flex-direction: column; }
    .hs-step figure { flex: none; aspect-ratio: 16 / 9; }
    .hs-step-no { top: -22px; left: 20px; border-radius: 14px; }
    .hs-step-body { padding: 30px 20px 20px; }
    .hs-cta { padding: 18px; }
    .hs-cta .home-button { width: 100%; }
    .ct-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
    .ct-tabs::-webkit-scrollbar { display: none; }
    .ct-tabs [role="tab"] { flex-shrink: 0; }
    .ct-panel { padding: 14px; border-radius: 20px; }
    .ct-feats { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .wy-list { grid-template-columns: minmax(0, 1fr); }
    .wy-actions .home-button { flex: 1 1 100%; }
    .wy-frame { transform: none; }
    .wy-badge.is-a { left: 0; }
    .wy-badge.is-b { right: 0; }
    .wy-badge strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .wy-badge, .ct-panel { animation: none; }
}

/* ===== Apotek (reuses .home-why / .wy-* layout) ===== */
.home-pharmacy { background: white; }
.wy-grid.is-flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.ph-alert small { font-weight: 650; }
.ph-alert.is-red { border-color: #fecdd3; }
.ph-alert.is-red small { color: #e11d48; }
.ph-alert.is-amber { border-color: #fde68a; }
.ph-alert.is-amber small { color: #b45309; }
.ph-alert strong { font-size: 16px; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.ph-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #f5f9fe; border: 1px solid #e0e8f0; font-size: 13px; font-weight: 600; color: #234269; }
.ph-chips svg { color: #16a34a; }
@media (max-width: 1099px) {
    .wy-grid.is-flip { grid-template-columns: minmax(0, 1fr); }
    .wy-grid.is-flip .wy-visual { order: 2; }
}

/* ===== Contoh alur (ilustrasi, menggantikan testimoni) ===== */
.home-day { padding: 80px 0; background: linear-gradient(180deg, #f6f9fe 0%, #ffffff 100%); }
.dy-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.dy-timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dy-timeline::before { content: ""; position: absolute; left: 63px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(#cfe0f7, #e0e8f0); }
.dy-timeline li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 28px; align-items: start; padding: 16px 18px 16px 0; }
.dy-timeline li::before { content: ""; position: absolute; left: 58px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: white; border: 3px solid #4075aa; }
.dy-timeline time { padding-top: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; font-weight: 750; color: #001965; text-align: right; }
.dy-timeline li > div { padding: 14px 18px; border: 1px solid #e0e8f0; border-radius: 16px; background: white; transition: border-color .25s ease, transform .25s ease; }
.dy-timeline li:hover > div { border-color: #bcd3ec; transform: translateX(3px); }
.dy-timeline strong { display: block; margin-bottom: 4px; font-size: 15px; color: #172b43; }
.dy-timeline p { margin: 0; font-size: 14px; line-height: 1.6; color: #52657b; }
.dy-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.dy-stats { display: grid; gap: 1px; overflow: hidden; border-radius: 20px; background: #ffffff26; color: white; background-color: #001965; }
.dy-stats div { padding: 18px 22px; background: linear-gradient(120deg, #001965, #173f7a); }
.dy-stats strong { display: block; font-size: 24px; font-weight: 780; letter-spacing: -.02em; }
.dy-stats span { font-size: 13.5px; color: #c7d7ee; }
.dy-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dy-logos span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #e0e8f0; border-radius: 12px; background: white; font-size: 12.5px; font-weight: 650; color: #234269; }
.dy-logos img { flex-shrink: 0; width: 22px; height: 22px; object-fit: contain; }
.dy-share { padding: 18px 20px; border: 1px dashed #c9d9ec; border-radius: 18px; background: white; }
.dy-share strong { display: block; font-size: 15px; color: #172b43; }
.dy-share p { margin: 6px 0 12px; font-size: 13.5px; line-height: 1.6; color: #64748b; }
.dy-share a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #16a34a; color: white; font-weight: 700; font-size: 14px; }
.dy-share a:hover { background: #15803d; }
@media (max-width: 1099px) {
    .dy-grid { grid-template-columns: minmax(0, 1fr); }
    .dy-side { position: static; }
}
@media (max-width: 767px) {
    .home-day { padding: 48px 0; }
    .dy-timeline::before { left: 51px; }
    .dy-timeline li { grid-template-columns: 40px minmax(0, 1fr); gap: 24px; padding-right: 0; }
    .dy-timeline li::before { left: 46px; }
    .dy-timeline time { font-size: 12.5px; }
    .dy-timeline li > div { padding: 12px 14px; }
}

/* Hero app: header like the real app (clinic selector · clock · bell · user) + animated cursor */
.app-clinic svg { color: #94a3b8; margin-left: 2px; }
.app-topr { display: flex; align-items: center; gap: 8px; min-width: 0; }
.app-clock { display: grid; justify-items: end; line-height: 1.15; }
.app-clock small { font-size: 8.5px; color: #94a3b8; }
.app-clock strong { font-size: 10.5px; font-weight: 750; color: #172b43; font-variant-numeric: tabular-nums; }
.app-bell { display: grid; place-items: center; color: #64748b; }
.app-uname { display: grid; font-size: 10px; font-weight: 700; line-height: 1.2; color: #172b43; white-space: nowrap; }
.app-uname small { font-size: 8.5px; font-weight: 500; color: #94a3b8; }
.app-cursor { position: absolute; z-index: 20; top: 0; left: 0; width: 15px; height: 15px; pointer-events: none; opacity: 0; filter: drop-shadow(0 2px 3px #0000004d); transition: transform .7s cubic-bezier(.45,0,.2,1), opacity .3s ease; }
.hero-app.is-touring .app-cursor { opacity: 1; }
.app-cursor.is-click { animation: app-click .35s ease; }
@keyframes app-click { 40% { transform-origin: 0 0; scale: .78; } }
.app-window .is-tapped { box-shadow: 0 0 0 3px #4075aa40; transition: box-shadow .2s ease; }
.hero-app.is-touring [data-reveal-on-pick]:not(.is-shown) { opacity: 0; }
[data-reveal-on-pick] { transition: opacity .35s ease; }
@media (max-width: 1280px) { .app-uname { display: none; } }
@media (max-width: 767px) { .app-clock, .app-bell { display: none; } }
@media (prefers-reduced-motion: reduce) { .app-cursor { display: none; } }

/* Marketing flow: operational problems, buying questions, and demo expectations. */
.home-demo-note { max-width: 490px; margin: 16px 0 0; font-size: 13px; line-height: 1.65; color: #52657b; }
.home-hero { padding-bottom: 48px; }
.home-marketing { padding: 72px 0; }
.home-marketing h2, .home-demo-close h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -.035em; font-weight: 750; }
.home-problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.home-problem-grid article { padding: 28px; border: 1px solid #e0e8f0; border-radius: 20px; background: #f5f9fe; }
.home-problem-no { font-size: 11px; letter-spacing: .09em; font-weight: 700; color: #4075aa; }
.home-problem-grid h3 { font-size: 21px; line-height: 1.35; font-weight: 700; margin: 18px 0 12px; }
.home-problem-grid p, .home-faq-grid p { font-size: 15px; line-height: 1.75; color: #52657b; }
.home-problem-grid a, .home-faq-list a { color: #001965; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.home-problem-grid a { display: inline-block; margin-top: 18px; font-size: 14px; }
.home-marketing-soft { background: #f5f9fe; }
.home-faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; }
.home-faq-list details { border-bottom: 1px solid #d6e4f4; padding: 20px 0; }
.home-faq-list details:first-child { padding-top: 0; }
.home-faq-list summary { cursor: pointer; font-weight: 650; font-size: 17px; }
.home-faq-list p { margin: 12px 0 0; }
.home-demo-close { padding: 72px 0; color: white; background: #001965; }
.home-demo-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.home-demo-close .home-eyebrow { color: #b8d2ef; }
.home-demo-close p { margin: 22px 0; color: #d4e2f3; line-height: 1.75; }
.home-demo-close .home-button { background: white; color: #001965; margin: 0 20px 12px 0; }
.home-demo-price { display: inline-block; color: white; text-decoration: underline; text-underline-offset: 4px; }
.home-demo-agenda { border: 1px solid #ffffff33; background: #ffffff09; padding: 28px; border-radius: 20px; }
.home-demo-agenda h3 { font-size: 19px; font-weight: 700; margin: 0 0 20px; }
.home-demo-agenda ul { list-style: disc; padding-left: 20px; line-height: 1.75; }
.home-demo-agenda li + li { margin-top: 12px; }
.home-demo-agenda p { font-size: 13px; margin-bottom: 0; padding-top: 18px; border-top: 1px solid #ffffff26; }
.home-marketing a:focus-visible, .home-marketing summary:focus-visible, .home-demo-close a:focus-visible { outline: 3px solid #7fa6d6; outline-offset: 5px; }
@media (max-width: 900px) { .home-problem-grid, .home-faq-grid, .home-demo-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .home-marketing, .home-demo-close { padding: 48px 0; } .home-problem-grid article, .home-demo-agenda { padding: 24px; } }
