/* ==========================================================================
   PSOH Government-Grade Landing Page
   Pendigitalan Sumber dan Operasi Hutan

   Design read: public-sector forestry digitalisation portal for civil
   servants, registered contractors and citizens. Trust-first, confidently
   modern. Single forest-green accent, real photography, purposeful motion.
   Dials -> variance 6 / motion 5 / density 4 (redesign-overhaul, capped by
   public-sector constraints).
   ========================================================================== */

:root {
    --psoh-primary: #1a6b2a;
    --psoh-primary-dark: #0e4a1a;
    --psoh-primary-light: #2e8b3e;
    --psoh-accent: #6bae44;
    --psoh-accent-light: #8dc66b;
    --psoh-gold: #c9a84c;
    --psoh-gold-light: #e6d8ad;
    --psoh-dark: #0f1f12;
    --psoh-text: #1c2b20;
    --psoh-text-secondary: #4b5d52;
    --psoh-text-muted: #8a988e;
    --psoh-bg-warm: #fbfbf7;
    --psoh-bg-section: #f2f6ee;
    --psoh-bg-sage: #eef4e8;
    --psoh-border: #e1e8dc;
    --psoh-white: #ffffff;

    --psoh-radius-sm: 10px;
    --psoh-radius: 18px;
    --psoh-radius-lg: 28px;
    --psoh-radius-pill: 999px;

    --psoh-shadow-sm: 0 2px 10px rgba(15, 31, 18, 0.06);
    --psoh-shadow-md: 0 12px 32px rgba(15, 31, 18, 0.08);
    --psoh-shadow-lg: 0 24px 60px rgba(15, 31, 18, 0.14);

    --psoh-font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --psoh-font-body: 'Inter', system-ui, sans-serif;

    --psoh-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --psoh-transition: 0.3s var(--psoh-ease);

    --psoh-section-py: clamp(64px, 9vw, 112px);
}

/* ==========================================================================
   Base Reset
   ========================================================================== */

.landing-page {
    font-family: var(--psoh-font-body);
    color: var(--psoh-text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--psoh-bg-warm);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.landing-page *,
.landing-page *::before,
.landing-page *::after {
    box-sizing: border-box;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4 {
    font-family: var(--psoh-font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
}

.landing-page p { margin: 0; }

.landing-page img {
    max-width: 100%;
    height: auto;
}

.landing-page a {
    text-decoration: none;
}

.landing-page .container {
    max-width: 1240px;
}

/* Generic reveal (used with data-aos for scroll-triggered entrance,
   justified by hierarchy: content introduces itself as the visitor scrolls) */
@media (prefers-reduced-motion: no-preference) {
    [data-aos] { transition-property: opacity, transform; }
}

/* ==========================================================================
   Government Top Banner (Portal Utility Layer)
   ========================================================================== */

.gov-top-banner {
    background: #14140f;
    color: #ffffff;
    padding: 9px 0;
    font-size: 13px;
    position: relative;
    z-index: 100;
    border-bottom: 2px solid var(--psoh-gold);
}

.gov-top-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gov-top-banner > .container > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gov-top-banner img {
    height: 20px;
    flex-shrink: 0;
}

.gov-utility-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
}

.gov-utility-links a {
    color: rgba(255, 255, 255, 0.68);
    transition: color var(--psoh-transition);
}

.gov-utility-links a:hover {
    color: #ffffff;
}

.gov-util-divider {
    color: rgba(255, 255, 255, 0.22);
    font-size: 10px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(251, 251, 247, 0.88);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: background var(--psoh-transition), border-color var(--psoh-transition), box-shadow var(--psoh-transition);
}

.landing-nav.scrolled {
    background: rgba(251, 251, 247, 0.97);
    border-bottom-color: var(--psoh-border);
    box-shadow: var(--psoh-shadow-sm);
}

.landing-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.landing-nav .nav-jata {
    height: 34px;
    width: auto;
    flex-shrink: 0;
}

.nav-brand-divider {
    width: 1px;
    height: 30px;
    background: var(--psoh-border);
    flex-shrink: 0;
}

.landing-nav .nav-brand img:not(.nav-jata) {
    height: 34px;
    width: auto;
    flex-shrink: 0;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.nav-brand-name {
    font-family: var(--psoh-font-display);
    font-weight: 800;
    font-size: 16px;
    color: var(--psoh-primary-dark);
    letter-spacing: -0.01em;
}

.nav-brand-desc {
    font-size: 11px;
    color: var(--psoh-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--psoh-radius-sm);
    border: 1px solid var(--psoh-border);
    background: var(--psoh-white);
    color: var(--psoh-primary-dark);
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.nav-links > li > a:not(.btn-nav-login) {
    color: var(--psoh-text);
    font-weight: 600;
    font-size: 14.5px;
    padding: 8px 2px;
    position: relative;
}

.nav-links > li > a:not(.btn-nav-login)::after {
    content: '';
    position: absolute;
    left: 2px; right: 2px; bottom: 2px;
    height: 2px;
    background: var(--psoh-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--psoh-transition);
}

.nav-links > li > a:not(.btn-nav-login):hover::after {
    transform: scaleX(1);
}

.btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--psoh-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--psoh-radius-pill);
    transition: background var(--psoh-transition), transform 0.15s var(--psoh-ease), box-shadow var(--psoh-transition);
}

.btn-nav-login:hover {
    background: var(--psoh-primary-dark);
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 107, 42, 0.28);
}

.btn-nav-login:active {
    transform: scale(0.97);
}

@media (max-width: 991px) {
    .nav-mobile-toggle { display: flex; }

    /* backdrop-filter on .landing-nav creates a containing block for
       position:fixed descendants, which would otherwise anchor the
       off-canvas panel to the nav bar instead of the viewport. */
    .landing-nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 84vw);
        height: 100vh;
        background: var(--psoh-white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
        padding: 100px 28px 28px;
        box-shadow: var(--psoh-shadow-lg);
        transition: right 0.35s var(--psoh-ease);
        z-index: 95;
        white-space: normal;
    }

    .nav-links.mobile-open { right: 0; }

    .nav-links > li { width: 100%; }

    .nav-links > li > a:not(.btn-nav-login) {
        display: block;
        width: 100%;
        padding: 14px 4px;
        border-bottom: 1px solid var(--psoh-border);
    }

    .btn-nav-login { margin-top: 16px; justify-content: center; width: 100%; }
}

/* ==========================================================================
   Shared Section Scaffolding
   ========================================================================== */

.landing-page section {
    padding: var(--psoh-section-py) 0;
}

.section-heading {
    max-width: 640px;
    margin: 0 0 56px;
}

.section-heading.align-center { margin-left: auto; margin-right: auto; text-align: center; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--psoh-primary);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(28px, 3.4vw, 40px);
    color: var(--psoh-dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--psoh-text-secondary);
    line-height: 1.65;
    max-width: 56ch;
}

.section-heading.align-center .section-desc { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 0;
    min-height: min(92vh, 860px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--psoh-dark);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    opacity: 0.55;
}

.hero-bg-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(9, 24, 12, 0.96) 0%, rgba(9, 24, 12, 0.86) 32%, rgba(14, 74, 26, 0.55) 62%, rgba(14, 74, 26, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 132px 0 76px;
}

.hero-content .container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
    align-items: center;
}

.hero-text,
.hero-visual {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #d9ead6;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--psoh-radius-pill);
    margin-bottom: 22px;
}

.hero-badge i { color: var(--psoh-accent-light); }

.hero-title {
    font-size: clamp(34px, 4.6vw, 56px);
    color: #ffffff;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(95deg, var(--psoh-accent-light) 0%, var(--psoh-gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 46ch;
    margin-bottom: 34px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 26px;
    border-radius: var(--psoh-radius-pill);
    transition: transform 0.15s var(--psoh-ease), box-shadow var(--psoh-transition), background var(--psoh-transition), border-color var(--psoh-transition);
    white-space: nowrap;
}

.btn-hero-primary {
    background: var(--psoh-accent-light);
    color: #0e2411;
    box-shadow: 0 14px 34px rgba(141, 198, 107, 0.28);
}

.btn-hero-primary:hover {
    background: #ffffff;
    color: var(--psoh-primary-dark);
    transform: translateY(-2px);
}

.btn-hero-primary:active { transform: translateY(0) scale(0.98); }

.btn-hero-secondary {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-hero-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-hero-secondary:active { transform: translateY(0) scale(0.98); }

/* Hero visual: stat column, asymmetric offset from the text column */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
    max-width: 360px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    border-radius: var(--psoh-radius);
    padding: 22px 18px;
    text-align: left;
    transition: transform var(--psoh-transition), background var(--psoh-transition), border-color var(--psoh-transition);
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
}

.hero-stat-card:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.hero-stat-number {
    font-family: var(--psoh-font-display);
    font-weight: 800;
    font-size: 34px;
    color: #ffffff;
    line-height: 1;
}

.hero-stat-card:first-child .hero-stat-number { font-size: 30px; }

.hero-stat-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 8px;
    line-height: 1.35;
}

.hero-stat-card:first-child .hero-stat-label { margin-top: 0; text-align: right; }

@media (max-width: 991px) {
    .hero-content .container { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { justify-content: flex-start; min-width: 0; }
    .hero-stats-grid { max-width: 420px; }
}

@media (max-width: 767px) {
    .hero-content { padding: 108px 0 56px; }
    .hero-section { min-height: auto; }
}

/* ==========================================================================
   Trust / Institutional Strip
   ========================================================================== */

.trust-strip {
    padding: 40px 0;
    background: var(--psoh-white);
    border-bottom: 1px solid var(--psoh-border);
}

.trust-strip .container {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--psoh-text-muted);
    flex-shrink: 0;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    flex: 1;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-logo-item img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.trust-logo-item span {
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--psoh-text-secondary);
    font-weight: 500;
}

@media (max-width: 767px) {
    .trust-strip .container { flex-direction: column; align-items: flex-start; gap: 20px; }
    .trust-logos { gap: 22px; }
}

/* ==========================================================================
   State Coverage Marquee - Jata Negara + Jata Negeri
   Motivated by: storytelling (breadth of adoption across every Peninsular
   Malaysia state forestry jurisdiction), not decoration.
   ========================================================================== */

.coverage-strip {
    padding: 44px 0 52px;
    background: var(--psoh-white);
    border-bottom: 1px solid var(--psoh-border);
}

.coverage-strip .coverage-label {
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--psoh-text-muted);
    margin: 0 0 48px;
}

.coverage-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.coverage-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: coverage-scroll 60s linear infinite;
}

.coverage-marquee:hover .coverage-track {
    animation-play-state: paused;
}

.coverage-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 76px;
    padding: 14px;
    border: 1px solid var(--psoh-border);
    border-radius: var(--psoh-radius);
    background: var(--psoh-bg-warm);
    flex-shrink: 0;
    transition: border-color var(--psoh-transition), box-shadow var(--psoh-transition), transform var(--psoh-transition);
}

.coverage-tile:hover {
    border-color: var(--psoh-accent-light);
    box-shadow: var(--psoh-shadow-sm);
}

.coverage-tile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes coverage-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 575px) {
    .coverage-tile { width: 80px; height: 64px; padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .coverage-marquee {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .coverage-track {
        animation: none;
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 14px;
    }

    .coverage-track .coverage-tile:nth-child(n+13) { display: none; }
}

/* ==========================================================================
   Advantages (Kelebihan) - Asymmetric Bento
   ========================================================================== */

.advantages-section { background: var(--psoh-bg-warm); }

.advantages-bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

.advantage-tile {
    position: relative;
    min-width: 0;
    grid-column: span 3;
    border-radius: var(--psoh-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    transition: transform var(--psoh-transition), box-shadow var(--psoh-transition);
}

.advantage-tile:hover { transform: translateY(-4px); }

.advantage-tile--lg { grid-column: span 4; grid-row: span 2; }
.advantage-tile--sm { grid-column: span 2; }
.advantage-tile--half { grid-column: span 3; }
.advantage-tile--wide { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }

.advantage-tile--surface {
    background: var(--psoh-white);
    border: 1px solid var(--psoh-border);
    box-shadow: var(--psoh-shadow-sm);
}

.advantage-tile--surface:hover { box-shadow: var(--psoh-shadow-md); }

.advantage-tile--brand {
    background: linear-gradient(150deg, var(--psoh-primary) 0%, var(--psoh-primary-dark) 100%);
    color: #fff;
    box-shadow: var(--psoh-shadow-md);
}

.advantage-tile--brand::after {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 60%;
    padding-bottom: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
    border-radius: 50%;
}

.advantage-tile--sage {
    background: var(--psoh-bg-sage);
    border: 1px solid var(--psoh-border);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    flex-shrink: 0;
    background: var(--psoh-bg-sage);
    color: var(--psoh-primary);
}

.advantage-tile--brand .advantage-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.advantage-tile--wide .advantage-icon { margin-bottom: 0; }

.advantage-title {
    font-size: 19px;
    margin-bottom: 8px;
    color: inherit;
}

.advantage-tile--lg .advantage-title { font-size: 23px; }

.advantage-desc {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--psoh-text-secondary);
}

.advantage-tile--brand .advantage-desc { color: rgba(255, 255, 255, 0.82); }

.advantage-tile--wide .advantage-body { flex: 1; }

@media (max-width: 991px) {
    .advantages-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .advantage-tile--lg,
    .advantage-tile--wide { grid-column: span 2; grid-row: auto; }
    .advantage-tile--sm,
    .advantage-tile--half { grid-column: span 1; grid-row: auto; }
    .advantage-tile--wide { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575px) {
    .advantages-bento { grid-template-columns: minmax(0, 1fr); }
    .advantage-tile,
    .advantage-tile--lg,
    .advantage-tile--sm,
    .advantage-tile--half,
    .advantage-tile--wide { grid-column: 1; }
}

/* ==========================================================================
   Modules (Modul) - Clustered Directory
   ========================================================================== */

.modules-section { background: var(--psoh-bg-section); }

.module-cluster { margin-bottom: 44px; }
.module-cluster:last-child { margin-bottom: 0; }

.module-cluster-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--psoh-border);
}

.module-cluster-name {
    font-family: var(--psoh-font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--psoh-primary-dark);
}

.module-cluster-count {
    font-size: 13px;
    color: var(--psoh-text-muted);
}

.module-cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.module-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--psoh-white);
    border: 1px solid var(--psoh-border);
    border-radius: var(--psoh-radius);
    padding: 18px 20px;
    transition: transform var(--psoh-transition), box-shadow var(--psoh-transition), border-color var(--psoh-transition);
}

.module-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--psoh-shadow-sm);
    border-color: var(--psoh-accent-light);
}

.module-row-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--psoh-bg-sage);
    color: var(--psoh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
}

.module-number {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--psoh-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-row-name {
    font-family: var(--psoh-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--psoh-dark);
    margin-bottom: 4px;
}

.module-row-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--psoh-text-secondary);
}

/* ==========================================================================
   Payments (Gerbang Pembayaran) - Static Logo Wall
   ========================================================================== */

.payments-strip {
    background: var(--psoh-white);
    border-bottom: 1px solid var(--psoh-border);
}

.payments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.payment-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 68px;
    width: 148px;
    padding: 0 18px;
    border: 1px solid var(--psoh-border);
    border-radius: var(--psoh-radius);
    background: var(--psoh-bg-warm);
    flex-shrink: 0;
    transition: border-color var(--psoh-transition), box-shadow var(--psoh-transition), transform var(--psoh-transition);
}

.payment-tile:hover {
    border-color: var(--psoh-accent-light);
    box-shadow: var(--psoh-shadow-sm);
}

/* JohorPay's lockup includes white wordmark text, invisible on the light
   tile background; give it a dark backdrop so the true brand asset reads. */
.payment-tile--dark {
    background: var(--psoh-dark);
    border-color: var(--psoh-dark);
}

.payment-tile--dark:hover {
    border-color: var(--psoh-accent-light);
}

.payment-tile img {
    width: 112px;
    height: 36px;
    object-fit: contain;
}

@media (max-width: 575px) {
    .payments-grid { justify-content: center; }
    .payment-tile { height: 56px; width: 124px; padding: 0 14px; }
    .payment-tile img { width: 96px; height: 30px; }
}

/* ==========================================================================
   Impact (Impak) - Divided Stat Band
   ========================================================================== */

.impact-section {
    background: var(--psoh-dark);
    color: #fff;
}

.impact-section .section-title,
.impact-section .section-eyebrow { color: #fff; }

.impact-section .section-desc { color: rgba(255, 255, 255, 0.62); }

.impact-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.impact-stat {
    min-width: 0;
    padding: 8px 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.impact-stat:first-child { border-left: none; padding-left: 0; }

.impact-stat-icon {
    font-size: 20px;
    color: var(--psoh-accent-light);
    margin-bottom: 16px;
}

.impact-stat-number {
    font-family: var(--psoh-font-display);
    font-weight: 800;
    font-size: 26px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.impact-stat-label {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 991px) {
    .impact-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .impact-stat:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 575px) {
    .impact-band { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
    .impact-stat { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 28px; }
    .impact-stat:first-child { border-top: none; padding-top: 0; }
}

/* ==========================================================================
   Announcements (Pengumuman) - News List
   ========================================================================== */

.announcements-section { background: var(--psoh-bg-warm); }

.announcements-list {
    display: flex;
    flex-direction: column;
}

.announcement-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 4px;
    border-bottom: 1px solid var(--psoh-border);
    transition: background var(--psoh-transition);
}

.announcements-list .announcement-row:first-child { border-top: 1px solid var(--psoh-border); }

.announcement-row:hover { background: var(--psoh-bg-sage); }

.announcement-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--psoh-primary);
    white-space: nowrap;
}

.announcement-body { min-width: 0; }

.announcement-card-title {
    font-family: var(--psoh-font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--psoh-dark);
    margin-bottom: 6px;
}

.announcement-card-desc {
    font-size: 14px;
    color: var(--psoh-text-secondary);
    line-height: 1.55;
}

.announcement-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--psoh-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--psoh-primary);
    transition: background var(--psoh-transition), border-color var(--psoh-transition), transform var(--psoh-transition);
    flex-shrink: 0;
}

.announcement-row:hover .announcement-arrow {
    background: var(--psoh-primary);
    border-color: var(--psoh-primary);
    color: #fff;
    transform: translateX(3px);
}

.announcement-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 56px 24px;
    border: 1px dashed var(--psoh-border);
    border-radius: var(--psoh-radius);
    color: var(--psoh-text-muted);
}

.announcement-empty i { font-size: 30px; color: var(--psoh-accent); }

@media (max-width: 575px) {
    .announcement-row { grid-template-columns: 1fr auto; row-gap: 8px; }
    .announcement-date { grid-column: 1 / -1; order: -1; }
}

/* ==========================================================================
   CTA - Full-bleed Closing Banner
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--psoh-primary-dark) 0%, var(--psoh-primary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 55%;
    padding-bottom: 55%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-copy { max-width: 620px; }

.cta-title {
    font-size: clamp(26px, 3.2vw, 36px);
    color: #fff;
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 26px;
    border-radius: var(--psoh-radius-pill);
    white-space: nowrap;
    transition: transform 0.15s var(--psoh-ease), box-shadow var(--psoh-transition), background var(--psoh-transition), color var(--psoh-transition);
}

.btn-cta-primary {
    background: #fff;
    color: var(--psoh-primary-dark);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.btn-cta-primary:hover { transform: translateY(-2px); }
.btn-cta-primary:active { transform: translateY(0) scale(0.98); }

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn-cta-secondary:active { transform: translateY(0) scale(0.98); }

@media (max-width: 767px) {
    .cta-section .container { flex-direction: column; align-items: flex-start; }
    .cta-buttons { width: 100%; }
    .btn-cta-primary, .btn-cta-secondary { flex: 1; justify-content: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.landing-footer {
    background: var(--psoh-dark);
    color: rgba(255, 255, 255, 0.72);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand img { height: 40px; margin-bottom: 16px; }

.footer-brand-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.56);
    max-width: 34ch;
}

.footer-heading {
    font-family: var(--psoh-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    transition: color var(--psoh-transition);
}

.footer-links a:hover { color: var(--psoh-accent-light); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.footer-bottom p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
}

.footer-version {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.28) !important;
}

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
