/* ==========================================================================
   1. HEADER & TYPOGRAPHY
   ========================================================================== */
.page-header-premium {
    padding-top: 6rem;
    padding-bottom: 3rem;
    position: relative;
}

.main-title-aesthetic {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(2rem, 6vw, 4.5rem) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7) !important;
}

.sub-title-aesthetic {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7) !important;
    font-weight: 600;
}

.premium-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.premium-divider .line {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.premium-divider .dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    margin: 0 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   2. KARTU RHK (SOLID PUTIH)
   ========================================================================== */
.rhk-card-solid {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease;
}

.rhk-card-solid:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(111, 66, 193, 0.15);
}

.rhk-card-solid h4 {
    color: #0f172a !important;
    font-weight: 700;
}

.rhk-card-solid p {
    color: #475569 !important;
}

/* ==========================================================================
   3. PANEL RENUNGAN TEMATIK (KONTRAST TINGGI)
   ========================================================================== */
.search-glass-container {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

/* Memperbaiki badge Renungan Tematik agar terbaca */
.search-glass-container .badge.bg-primary.bg-opacity-10.text-primary {
    background-color: #6f42c1 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.prompt-badge {
    cursor: pointer;
    font-weight: 600;
    background: #f1f5f9 !important;
    color: #1e293b !important;
    padding: 0.65rem 1rem !important;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    transition: all 0.25s ease;
}

.prompt-badge:hover {
    background: #6f42c1 !important;
    color: #ffffff !important;
}

#aiRes {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 1.5rem !important;
    line-height: 1.8;
}

/* Memastikan semua tulisan di dalam area hasil AI terbaca jelas */
#aiRes, #aiRes *, #aiRes h6, #aiRes p {
    color: #1e293b !important;
}

/* ==========================================================================
   4. MEDIA QUERIES & RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
    .renungan-sticky {
        position: relative;
        top: auto;
    }
    .search-glass-container {
        margin-top: 2.5rem;
    }
}

@media (max-width: 576px) {
    .page-header-premium {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    .main-title-aesthetic {
        font-size: 2.2rem !important;
    }
    .search-glass-container {
        padding: 1.25rem;
    }
}

body {
    background-color: transparent !important;
}