/**
 * Public Atlas — landing home (hero bento + katalog modul)
 */

.pub-landing {
    position: relative;
    padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
    overflow: hidden;
}

.pub-landing .container {
    position: relative;
    z-index: 1;
}

.pub-landing-hero {
    display: grid;
    gap: 24px;
    align-items: center;
}

@media (min-width: 960px) {
    .pub-landing-hero {
        grid-template-columns: 1.05fr 0.95fr;
        grid-template-rows: auto auto;
        gap: 32px 44px;
        align-items: start;
    }

    .pub-landing-hero__copy {
        grid-column: 1;
        grid-row: 1;
    }

    .pub-bento {
        grid-column: 2;
        grid-row: 1;
    }

    .pub-landing-hero__actions {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

.pub-landing-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pub-landing-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding-top: 4px;
}

.pub-landing-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    list-style: none;
    padding: 0;
}

.pub-landing-hero__chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--pub-muted, #5c6478);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(30, 90, 168, 0.1);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(30, 90, 168, 0.04);
}

.pub-landing-hero__chips i {
    color: var(--pub-brand, #1e5aa8);
    font-size: 0.875rem;
    font-weight: 700;
}

.pub-landing-hero__cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0;
}

@media (min-width: 640px) {
    .pub-landing-hero__cta-grid {
        gap: 14px 16px;
    }
}

@media (min-width: 768px) {
    .pub-landing-hero__cta-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lp-showcase--full .pub-landing-hero__cta-grid {
        max-width: 1040px;
        margin-inline: auto;
    }
}

.pub-cta-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--pub-ink, #1a2332);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(216, 226, 239, 0.95);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(30, 90, 168, 0.05);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.pub-cta-tile:hover {
    border-color: rgba(30, 90, 168, 0.22);
    background: #fff;
    box-shadow: 0 4px 14px rgba(30, 90, 168, 0.08);
    transform: translateY(-1px);
}

.pub-cta-tile:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(30, 90, 168, 0.05);
}

.pub-cta-tile:focus-visible {
    outline: 2px solid var(--pub-brand, #1e5aa8);
    outline-offset: 2px;
}

/* Hanya halaman/route aktif — bukan highlight default */
.pub-cta-tile--active {
    border-color: rgba(30, 90, 168, 0.32);
    background: var(--pub-brand-soft, #e8f1fa);
    box-shadow: 0 1px 3px rgba(30, 90, 168, 0.06);
}

.pub-cta-tile--active:hover {
    border-color: rgba(30, 90, 168, 0.38);
    background: #f0f6fc;
    box-shadow: 0 4px 14px rgba(30, 90, 168, 0.1);
    transform: translateY(-1px);
}

.pub-cta-tile__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--pub-brand-soft, #e8f1fa);
    color: var(--pub-brand, #1e5aa8);
    font-size: 1.05rem;
}

.pub-cta-tile__icon .bi {
    line-height: 1;
}

.pub-cta-tile__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.pub-cta-tile__label {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pub-cta-tile__hint {
    font-size: 0.75rem;
    color: var(--pub-muted, #5c6478);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pub-landing-hero__catalog-link {
    margin: 0;
    font-size: 0.875rem;
}

.pub-landing-hero__catalog-link a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--pub-brand, #1e5aa8);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease, gap 0.15s ease;
}

.pub-landing-hero__catalog-link a::after {
    content: '→';
    font-size: 0.95em;
    line-height: 1;
    transition: transform 0.15s ease;
}

.pub-landing-hero__catalog-link a:hover {
    color: var(--pub-brand-dark, #164578);
}

.pub-landing-hero__catalog-link a:hover::after {
    transform: translateX(3px);
}

/* Bento visual */
.pub-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 959px) {
    .pub-bento {
        max-width: 420px;
        margin-inline: auto;
    }

    .pub-landing-hero__actions {
        margin-top: 4px;
    }
}

.pub-bento__card {
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--pub-line, #d8e2ef);
    border-radius: var(--pub-radius-lg, 20px);
    box-shadow: 0 4px 20px rgba(30, 90, 168, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pub-bento__card:not(.pub-bento__card--wide):hover {
    box-shadow: 0 8px 28px rgba(30, 90, 168, 0.12);
    transform: translateY(-1px);
}

.pub-bento__card--wide {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--pub-brand, #1e5aa8) 0%, var(--pub-brand-dark, #164578) 100%);
    color: #fff;
    border-color: transparent;
}

.pub-bento__card--wide .pub-bento__label {
    color: rgba(255, 255, 255, 0.82);
}

.pub-bento__card--wide .pub-bento__value {
    color: #fff;
}

.pub-bento__icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--pub-brand-soft, #e8f1fa);
    color: var(--pub-brand, #1e5aa8);
    font-size: 1.1rem;
}

.pub-bento__card--wide .pub-bento__icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pub-bento__label {
    display: block;
    font-size: 0.72rem;
    color: var(--pub-muted, #5c6478);
    margin-bottom: 4px;
}

.pub-bento__value {
    display: block;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    color: var(--pub-brand-deep, #0a1628);
    letter-spacing: -0.02em;
}

/* Module catalog */
.pub-catalog {
    padding: clamp(40px, 6vw, 72px) 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--pub-brand-mist, #f4f8fc) 100%);
    border-top: 1px solid var(--pub-line, #d8e2ef);
}

@media (max-width: 767px) {
    .landing-page .pub-catalog {
        padding-top: clamp(28px, 5vw, 40px);
    }

    .landing-page .pub-catalog__head {
        margin-bottom: 18px;
    }

    .landing-page .pub-catalog__head h2 {
        font-size: clamp(1.2rem, 5.2vw, 1.45rem);
        line-height: 1.25;
    }

    .landing-page .pub-catalog__head p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

.pub-catalog__head {
    margin-bottom: 24px;
    max-width: 640px;
}

.pub-catalog__head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--pub-brand-deep, #0a1628);
    letter-spacing: -0.02em;
}

.pub-catalog__head p {
    margin: 0;
    color: var(--pub-muted, #5c6478);
    line-height: 1.55;
}

.pub-catalog__nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.pub-catalog__tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pub-muted, #5c6478);
    background: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pub-catalog__tab i {
    font-size: 0.95rem;
}

.pub-catalog__tab:hover {
    color: var(--pub-brand, #1e5aa8);
}

.pub-catalog__tab.is-active {
    color: #fff;
    background: var(--pub-grad-brand, linear-gradient(135deg, #1e5aa8, #164578));
    border: none;
    box-shadow: 0 4px 14px rgba(30, 90, 168, 0.28);
}

.pub-catalog__panel {
    display: none;
    animation: pub-catalog-in 0.35s var(--pub-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.pub-catalog__panel.is-active {
    display: block;
}

@keyframes pub-catalog-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pub-catalog__intro {
    margin-bottom: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--pub-line, #d8e2ef);
    border-radius: var(--pub-radius, 14px);
    border-left: 4px solid var(--pub-brand, #1e5aa8);
}

.pub-catalog__intro strong {
    display: block;
    font-size: 0.95rem;
    color: var(--pub-brand-deep, #0a1628);
    margin-bottom: 4px;
}

.pub-catalog__intro span {
    font-size: 0.85rem;
    color: var(--pub-muted, #5c6478);
    line-height: 1.5;
}

.pub-catalog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 600px) {
    .pub-catalog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .pub-catalog__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pub-catalog__item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--pub-line, #d8e2ef);
    border-radius: var(--pub-radius, 14px);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pub-catalog__item:hover {
    border-color: rgba(30, 90, 168, 0.35);
    box-shadow: var(--pub-shadow-md, 0 12px 36px rgba(30, 90, 168, 0.1));
}

.pub-catalog__item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--pub-brand-soft, #e8f1fa);
    color: var(--pub-brand, #1e5aa8);
    font-size: 1.1rem;
}

.pub-catalog__item-copy strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pub-brand-deep, #0a1628);
    margin-bottom: 3px;
}

.pub-catalog__item-copy span {
    display: block;
    font-size: 0.76rem;
    line-height: 1.45;
    color: var(--pub-muted, #5c6478);
}

/* Trust strip */
.pub-trust {
    padding: 14px 0;
    background: var(--pub-brand-soft, #e8f1fa);
    border-block: 1px solid rgba(30, 90, 168, 0.12);
}

.pub-trust__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pub-trust__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pub-brand-dark, #164578);
}

.pub-trust__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pub-trust__tags li {
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--pub-brand, #1e5aa8);
    background: #fff;
    border: none;
    border-radius: 999px;
}

.pub-landing__footnote {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--pub-muted, #5c6478);
    line-height: 1.45;
}

/* pub-oss-intro → assets/css/landing-site.css */

/* ── Pillar strip (ganti katalog tab berat) ── */
.lp-pillars {
    padding: clamp(36px, 5vw, 56px) 0;
    background: linear-gradient(180deg, #fff 0%, var(--pub-brand-mist, #f4f8fc) 100%);
    border-top: 1px solid var(--pub-line, #d8e2ef);
}

.lp-section-head--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 42rem;
}

.lp-section-head--left::after {
    margin-left: 0;
    margin-right: auto;
}

.lp-pillars__grid {
    display: grid;
    gap: var(--lp-space-sm, 12px);
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 640px) {
    .lp-pillars__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--lp-space-md, 16px);
    }
}

@media (min-width: 1024px) {
    .lp-pillars__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.lp-pillar-card {
    display: grid;
    gap: 6px;
    height: 100%;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--pub-line, #d8e2ef);
    border-radius: var(--pub-radius, 14px);
    box-shadow: 0 1px 3px rgba(30, 90, 168, 0.04);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.lp-pillar-card:hover {
    border-color: rgba(30, 90, 168, 0.28);
    box-shadow: 0 6px 20px rgba(30, 90, 168, 0.08);
    transform: translateY(-1px);
}

.lp-pillar-card:focus-visible {
    outline: 2px solid var(--pub-brand, #1e5aa8);
    outline-offset: 2px;
}

.lp-pillar-card__icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--pub-brand-soft, #e8f1fa);
    color: var(--pub-brand, #1e5aa8);
    font-size: 1.05rem;
}

.lp-pillar-card__pill {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pub-brand, #1e5aa8);
}

.lp-pillar-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--pub-brand-deep, #0a1628);
    line-height: 1.3;
}

.lp-pillar-card__lead {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--pub-muted, #5c6478);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-pillar-card__more {
    margin-top: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pub-brand, #1e5aa8);
}

.lp-pillar-card__more .bi {
    font-size: 0.85em;
    transition: transform 0.15s ease;
}

.lp-pillar-card:hover .lp-pillar-card__more .bi {
    transform: translateX(3px);
}

.lp-pillars__foot {
    margin: var(--lp-space-md, 16px) 0 0;
    text-align: center;
    font-size: 0.9375rem;
}

.lp-pillars__foot a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--pub-brand, #1e5aa8);
    text-decoration: none;
}

.lp-pillars__foot a:hover {
    color: var(--pub-brand-dark, #164578);
}

.lp-pillars__foot a::after {
    content: '→';
    transition: transform 0.15s ease;
}

.lp-pillars__foot a:hover::after {
    transform: translateX(3px);
}

/* ── Explore bar (ganti 3 teaser section) ── */
.lp-explore {
    padding: var(--lp-space-md, 16px) 0 clamp(28px, 4vw, 40px);
    background: var(--lp-bg-soft, #f8fafc);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.lp-explore__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.lp-explore__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pub-brand-deep, #0a1628);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--pub-line, #d8e2ef);
    border-radius: 999px;
    transition:
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

.lp-explore__link i {
    color: var(--pub-brand, #1e5aa8);
    font-size: 1rem;
}

.lp-explore__link:hover {
    border-color: rgba(30, 90, 168, 0.28);
    color: var(--pub-brand, #1e5aa8);
    box-shadow: 0 2px 10px rgba(30, 90, 168, 0.06);
}

.lp-explore__link:focus-visible {
    outline: 2px solid var(--pub-brand, #1e5aa8);
    outline-offset: 2px;
}

/* ── Biaya ringkas ── */
.lp-biaya-layout {
    display: grid;
    gap: var(--lp-space-md, 16px);
    max-width: 420px;
    margin: 0 auto;
}

.lp-section-foot {
    margin: var(--lp-space-md, 16px) 0 0;
    text-align: center;
    font-size: 0.9375rem;
}

.lp-section-foot a {
    font-weight: 600;
    color: var(--lp-blue, #1e5aa8);
    text-decoration: none;
}

.lp-section-foot a:hover {
    color: var(--lp-blue-dark, #164578);
    text-decoration: underline;
}

.lp-addon-foot--muted {
    margin: 0 0 4px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--lp-muted, #64748b);
}
