/* ============================================================
   PPM — Home Page CSS
   Scope: body.home-page
   ============================================================ */

/* ---------- Tokens ---------- */
.home-page {
    --h-ink:         #0f172a;
    --h-text:        #475569;
    --h-muted:       #94a3b8;
    --h-line:        #e2e8f0;
    --h-surface:     #f8fafc;
    --h-primary:     #4f46e5;
    --h-primary-d:   #3730a3;
    --h-primary-bg:  #eef2ff;
    --h-amber:       #f59e0b;
    --h-dark:        #0f172a;
    --h-radius:      16px;
    background: #fff;
}

.home-page h1,
.home-page h2,
.home-page h3 { letter-spacing: -.025em; }

/* ============================================================
   HERO
   ============================================================ */
.home-page .hero-section {
    min-height: 0;
    padding: clamp(5rem,10vw,8rem) 0 clamp(4.5rem,8vw,6.5rem);
    background-color: var(--h-dark);
    position: relative;
    overflow: hidden;
}
.home-page .hero-section::before {
    background: linear-gradient(180deg,rgba(15,23,42,.78) 0%,rgba(15,23,42,.92) 100%);
}
.home-page .hero-section::after { display: none; }

.home-page .hero-badge {
    gap:.5rem; margin-bottom:1.5rem; padding:.4rem .85rem;
    border:1px solid rgba(255,255,255,.16); color:rgba(255,255,255,.85);
    background:transparent; font-size:.8rem; font-weight:500;
}
.home-page .hero-badge i { color:#fbbf24; }

.home-page .hero-title {
    max-width:780px; margin-bottom:1.25rem;
    font-size:clamp(2.25rem,5vw,3.75rem); font-weight:700;
    line-height:1.08; letter-spacing:-.035em;
    color:#fff;
}
.home-page .hero-subtitle {
    max-width:580px; margin-bottom:2rem;
    font-size:clamp(1rem,1.5vw,1.15rem); color:rgba(255,255,255,.72);
}
.home-page .hero-actions { gap:.75rem; }
.home-page .hero-actions .btn-primary {
    background:var(--h-primary); border-color:var(--h-primary);
    padding:.75rem 1.75rem; font-weight:600;
}
.home-page .hero-actions .btn-outline-light {
    padding:.75rem 1.75rem; font-weight:600;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.home-page .hero-slider-col {
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-page .hero-carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.45);
    width: 100%;
}
.home-page .hero-carousel .carousel-item img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}
@media (min-width:992px) {
    .home-page .hero-carousel .carousel-item img { height: 400px; }
}
.home-page .hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.5); border: none;
}
.home-page .hero-carousel .carousel-indicators .active {
    background: #fff;
}

/* ============================================================
   SECTION HEADING
   ============================================================ */
.home-page .section-heading { margin-bottom: 2.25rem; }
.home-page .section-eyebrow {
    display:inline-flex; align-items:center; gap:.35rem;
    font-size:.78rem; font-weight:600; letter-spacing:.06em;
    text-transform:uppercase; color:var(--h-primary);
    margin-bottom:.5rem;
}
.home-page .section-title {
    font-size:clamp(1.6rem,2.5vw,2.1rem); font-weight:700;
    color:var(--h-ink); margin-bottom:.4rem;
}
.home-page .section-subtitle {
    font-size:.95rem; color:var(--h-text); max-width:520px;
}

/* ============================================================
   ARTIKEL / KONTEN TERBARU
   ============================================================ */
.home-page .content-card {
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius);
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.home-page .content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
}
.home-page .content-card .card-img-top {
    height: 190px; object-fit: cover;
}
.home-page .content-card .card-body { padding: 1.25rem; }
.home-page .content-card .card-title {
    font-size: 1rem; font-weight: 600; color: var(--h-ink);
    margin-bottom: .4rem; line-height: 1.4;
}
.home-page .content-card .card-text {
    font-size: .88rem; color: var(--h-text);
}
.home-page .card-badge {
    display: inline-block;
    font-size: .72rem; font-weight: 600; letter-spacing: .04em;
    padding: .2rem .6rem; border-radius: 6px;
    background: var(--h-primary-bg); color: var(--h-primary);
    margin-bottom: .5rem;
}

/* ============================================================
   SOAL
   ============================================================ */
.home-page .soal-card {
    border: 1px solid var(--h-line) !important;
    border-left: 4px solid var(--h-primary) !important;
    border-radius: var(--h-radius) !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
    overflow: hidden !important;
}
.home-page .soal-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(79,70,229,.12) !important;
}
.home-page .soal-card .badge.bg-primary {
    background: var(--h-primary-bg) !important;
    color: var(--h-primary) !important;
    font-weight: 600; font-size: .75rem;
    padding: .3rem .65rem; border-radius: 6px;
}

/* ============================================================
   EVENT
   ============================================================ */
.home-page .event-card {
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius);
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.home-page .event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
}
.home-page .event-card .card-img-top {
    height: 170px; object-fit: cover;
}

/* ============================================================
   PARTNER MARQUEE
   ============================================================ */
.home-page .partner-marquee {
    overflow: hidden;
    cursor: grab;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    user-select: none;
}
.home-page .partner-marquee:active { cursor: grabbing; }
.home-page .partner-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: marqueeScroll var(--marquee-duration, 28s) linear infinite;
}
.home-page .partner-marquee:hover .partner-track { animation-play-state: paused; }
.home-page .partner-logo {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem 2.5rem;
    border: 1px solid var(--h-line);
    border-radius: 16px;
    background: #fff;
    min-width: 220px; height: 120px;
    transition: box-shadow .25s;
}
.home-page .partner-logo:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.home-page .partner-logo img {
    width: 100%;
    max-height: 80px; max-width: 170px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}
.home-page .partner-placeholder {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--h-primary-bg);
    color: var(--h-primary);
    font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width:575px) {
    .home-page .partner-track { gap: .75rem; }
}

/* ============================================================
   TESTIMONI
   ============================================================ */
.home-page .testimonial-card {
    border: 1px solid var(--h-line);
    border-radius: var(--h-radius);
    background: #fff;
    padding: 1.5rem;
    height: 100%;
    transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease;
}
.home-page .testimonial-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 16px 40px rgba(79,70,229,.12);
}
.home-page .testimonial-card .quote-icon {
    font-size: 2.5rem; margin-bottom: .75rem; display: block; opacity: .3;
}
.home-page .testimonial-card .testimonial-text {
    font-size: .93rem; color: var(--h-text); line-height: 1.65;
    margin-bottom: 1.1rem;
}
.home-page .testimonial-card .testimonial-author {
    font-weight: 600; color: var(--h-ink); font-size: .88rem;
}
.home-page .testimonial-card .testimonial-role {
    font-size: .78rem; color: var(--h-muted);
}

.home-page .testimonial-cta {
    border-radius: 20px;
    background: linear-gradient(135deg, #4f46e5, #6d28d9);
    padding: 1.5rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
    box-shadow: 0 12px 40px rgba(79,70,229,.25);
    color: #fff;
}
.home-page .testimonial-cta strong {
    display: block; color: #fff; font-size: 1rem;
    font-weight: 700; margin-bottom: .25rem;
}
.home-page .testimonial-cta span { color: rgba(255,255,255,.8); font-size: .88rem; }
.home-page .testimonial-cta .btn-primary {
    flex-shrink: 0; background: #fff !important; color: #4f46e5 !important;
    border: none !important; border-radius: 10px !important;
    padding: .65rem 1.25rem !important; font-weight: 700 !important;
    white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.15) !important;
}
.home-page .testimonial-cta .btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,.2) !important;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.home-page .empty-state {
    padding: 3rem 1rem; text-align: center; color: var(--h-muted);
}
.home-page .empty-state i { font-size: 2.5rem; opacity: .4; margin-bottom: .75rem; }
