/* ── BASE ──────────────────────────────────────────────── */
.dl-section { width: 100%; overflow-x: hidden; }

/* ── HERO ───────────────────────────────────────────────── */
.dl-hero {
    background-color: #061153;
    position: relative;
    overflow: hidden;
    padding: 72px 20px 100px;
}
@media (min-width: 480px) { .dl-hero { padding: 80px 28px 110px; } }
@media (min-width: 768px) { .dl-hero { padding: 90px 48px 120px; } }
@media (min-width: 1024px){ .dl-hero { padding: 100px 60px 130px; } }

/* Mode potret tablet — jaga jarak ekstra dari wave saat teks membungkus */
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    .dl-hero { padding-bottom: 150px; }
}

/* Overlay gradient navy — sama seperti hero program & detail_program */
.dl-hero__bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(6,17,83,0.98) 0%,
        rgba(0,40,180,0.85) 50%,
        rgba(6,17,83,0.70) 100%);
    z-index: 1;
}

/* Partikel bubble naik (looping) — sama seperti hero program & detail_program */
.dl-hero__particles {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.dl-hero__particles span {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 0 15px rgba(255,255,255,0.15);
    animation: dl-bubble-rise infinite ease-in;
}

@keyframes dl-bubble-rise {
    0%   { bottom: -150px; transform: translateX(0) scale(0.8); opacity: 0; }
    10%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { bottom: 120%; transform: translateX(-30px) scale(1.15); opacity: 0; }
}

.dl-hero__particles span:nth-child(1) { width:120px; height:120px; left:10%; animation-duration:6s;   animation-delay:0s; }
.dl-hero__particles span:nth-child(2) { width:80px;  height:80px;  left:35%; animation-duration:8s;   animation-delay:2s; }
.dl-hero__particles span:nth-child(3) { width:50px;  height:50px;  left:55%; animation-duration:5s;   animation-delay:1s; }
.dl-hero__particles span:nth-child(4) { width:100px; height:100px; left:75%; animation-duration:7s;   animation-delay:3s; }
.dl-hero__particles span:nth-child(5) {
    width:150px; height:150px; left:85%;
    background: rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.3);
    box-shadow: 0 0 15px rgba(245,158,11,0.2);
    animation-duration:9s; animation-delay:0.5s;
}
.dl-hero__particles span:nth-child(6) { width:60px; height:60px; left:20%; animation-duration:6.5s; animation-delay:4s; }
.dl-hero__particles span:nth-child(7) { width:90px; height:90px; left:65%; animation-duration:7.5s; animation-delay:1.5s; }

.dl-hero__garis {
    position: absolute; left: 0; bottom: 0;
    height: 80%; width: auto;
    pointer-events: none; opacity: 0.20; z-index: 2;
}

.dl-hero__inner {
    position: relative; z-index: 3;
    max-width: 1280px; margin: 0 auto;
}

.dl-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.dl-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.3s ease; }
@media (hover: hover) { .dl-breadcrumb a:hover { color: #ffffff; } }
.dl-breadcrumb__sep { color: #f59e0b; }
.dl-breadcrumb__cur { color: #ffffff; }

.dl-hero__tag {
    display: inline-block;
    border: 1.5px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
    padding: 4px 16px; border-radius: 30px; margin-bottom: 14px;
}

.dl-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(26px, 5.5vw, 52px);
    font-weight: 800; color: #ffffff;
    line-height: 1.18; letter-spacing: -0.5px; margin-bottom: 16px;
}
.dl-hero h1 .hl { color: #f59e0b; }

.dl-hero p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(13px, 2vw, 15px);
    color: rgba(255,255,255,0.75);
    line-height: 1.7; max-width: 520px;
}

/* ── WAVE DIVIDER — 3 layer parallax, sama seperti program & detail_program ── */
.dl-hero__wave {
    position: absolute; bottom: 0; left: 0; width: 100%;
    z-index: 4; pointer-events: none; overflow: hidden;
    line-height: 0; height: 60px;
}
@media (min-width: 768px) { .dl-hero__wave { height: 80px; } }

.dl-hero__wave svg { display: block; width: 100%; height: 100%; }

@keyframes dl-wave-left  { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }
@keyframes dl-wave-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.dl-hero__wave-track {
    position: absolute; bottom: 0; left: 0;
    width: 200%; height: 100%; display: flex;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.dl-hero__wave-track.layer1 { animation: dl-wave-left 12s linear infinite; opacity: 0.20; }
.dl-hero__wave-track.layer2 { animation: dl-wave-right 9s linear infinite; opacity: 0.45; }
.dl-hero__wave-track.layer3 { animation: dl-wave-left 7s linear infinite; opacity: 1; }
.dl-hero__wave-track svg { width: 100%; height: 100%; flex-shrink: 0; }

/* ── FADE UP ANIMATION ──────────────────────────────────── */
.dl-fade-up { opacity:0; animation: dlFadeUp 0.75s cubic-bezier(0.22,1,0.36,1) forwards; }
.dl-fu-d1 { animation-delay: 0.10s; }
.dl-fu-d2 { animation-delay: 0.25s; }
.dl-fu-d3 { animation-delay: 0.40s; }

@keyframes dlFadeUp {
    from { opacity:0; transform: translateY(22px); }
    to   { opacity:1; transform: translateY(0); }
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.dl-reveal {
    opacity:0; transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.dl-reveal.dl-visible { opacity:1; transform: translateY(0); }
.dl-reveal-d1 { transition-delay: 0.08s; }
.dl-reveal-d2 { transition-delay: 0.16s; }
.dl-reveal-d3 { transition-delay: 0.24s; }

/* ── CONTENT WRAPPER ────────────────────────────────────── */
.dl-content { background: #f5f7fc; position: relative; }
.dl-content__inner {
    max-width: 900px; margin: 0 auto;
    padding: 56px 20px 80px;
}
@media (min-width: 480px)  { .dl-content__inner { padding: 64px 28px 88px; } }
@media (min-width: 768px)  { .dl-content__inner { padding: 72px 48px 96px; } }
@media (min-width: 1024px) { .dl-content__inner { padding: 80px 60px 104px; } }

/* ── SEARCH BAR ─────────────────────────────────────────── */
.dl-search {
    position: relative; margin-bottom: 36px;
}
.dl-search svg {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; color: #94a3b8; pointer-events: none;
}
.dl-search input {
    width: 100%; padding: 16px 20px 16px 52px;
    background: #ffffff;
    border: 1.5px solid rgba(15,23,42,0.10);
    border-radius: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px; color: #0f172a;
    box-shadow: 0 4px 16px rgba(15,23,42,0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.dl-search input:focus {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37,99,235,0.14);
}
.dl-search input::placeholder { color: #94a3b8; }

/* ── FILE TYPE ICON COLORS ──────────────────────────────── */
.dl-icon-wrap {
    width: 56px; height: 56px; min-width: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.dl-icon-wrap.pdf  { background: rgba(239,68,68,0.10); }
.dl-icon-wrap.doc  { background: rgba(37,99,235,0.10); }
.dl-icon-wrap.xls  { background: rgba(16,185,129,0.10); }
.dl-icon-wrap.ppt  { background: rgba(245,158,11,0.10); }
.dl-icon-wrap.other{ background: rgba(100,116,139,0.10); }

/* ── CARD ───────────────────────────────────────────────── */
.dl-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(15,23,42,0.07);
    padding: 20px 20px;
    display: flex; align-items: center; gap: 18px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.06);
    transition: transform 0.40s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.40s cubic-bezier(0.22,1,0.36,1),
                border-color 0.40s ease;
    margin-bottom: 14px;
    cursor: default;
}
@media (hover: hover) {
    .dl-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(37,99,235,0.12);
        border-color: rgba(37,99,235,0.18);
    }
    .dl-card:hover .dl-icon-wrap {
        transform: scale(1.10);
    }
}

.dl-card__body { flex: 1; min-width: 0; }

.dl-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px; font-weight: 700; color: #0f172a;
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color 0.3s ease;
}
.dl-card:hover .dl-card__title { color: #2563eb; }

.dl-card__desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px; color: #64748b;
    margin-bottom: 8px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 1;
    -webkit-box-orient: vertical; overflow: hidden;
}

.dl-card__meta {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}

.dl-card__badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; padding: 3px 10px; border-radius: 20px;
}
.dl-card__badge.pdf  { background: rgba(239,68,68,0.10);  color: #dc2626; }
.dl-card__badge.doc  { background: rgba(37,99,235,0.10);  color: #2563eb; }
.dl-card__badge.xls  { background: rgba(16,185,129,0.10); color: #059669; }
.dl-card__badge.ppt  { background: rgba(245,158,11,0.10); color: #d97706; }
.dl-card__badge.other{ background: rgba(100,116,139,0.10);color: #475569; }

.dl-card__size {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11.5px; color: #94a3b8;
}
.dl-card__date {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11.5px; color: #94a3b8;
}

/* ── DOWNLOAD BUTTON ────────────────────────────────────── */
.dl-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px;
    background: #1d4ed8; color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px; font-weight: 700; border-radius: 12px;
    white-space: nowrap; flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    touch-action: manipulation;
}
@media (hover: hover) {
    .dl-btn:hover {
        background: #0f172a; color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(37,99,235,0.28);
    }
    .dl-btn:hover svg { transform: translateY(2px); }
}
.dl-btn svg { transition: transform 0.3s ease; }

/* ── EMPTY STATE ────────────────────────────────────────── */
.dl-empty {
    background: #ffffff; border-radius: 24px;
    border: 1px solid rgba(15,23,42,0.07);
    padding: 64px 32px; text-align: center;
    box-shadow: 0 4px 24px rgba(15,23,42,0.07);
}
.dl-empty__icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(37,99,235,0.07);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; margin: 0 auto 20px;
}
.dl-empty h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 8px;
}
.dl-empty p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px; color: #64748b;
    max-width: 340px; margin: 0 auto; line-height: 1.65;
}

/* ── NO RESULTS ─────────────────────────────────────────── */
.dl-no-results {
    text-align: center; padding: 40px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.dl-no-results p { font-size: 14px; color: #64748b; }

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