/* ===================================
   SUPPORT PAGE STYLES (Dukung TBM)
   =================================== */

/* --- HERO SECTION --- */
.hero-support-bg {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('assets/images/support-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Fallback if image missing */
.hero-support-bg {
    background-color: var(--color-surface-dark);
}

/* === TIGHTER SPACING FOR SUPPORT PAGE === */
/* Override default .section padding for this page only */
.section {
    padding-top: var(--spacing-xl);
    /* Reduced from standard */
    padding-bottom: var(--spacing-xl);
    /* Reduced from standard */
}

/* Specific section adjustments */
#donasi-buku,
#donasi-dana,
#affiliate {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

/* --- IMPACT DASHBOARD --- */
.impact-dashboard {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    margin-top: -60px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    border: 1px solid var(--color-border-subtle);

    /* Local overrides for white background context */
    --color-text-primary: #111827;
    --color-text-secondary: #4B5563;
    --color-text-muted: #6B7280;
    --color-accent: #374151;
    /* Darker accent for white bg */
    --color-primary: #111827;
    color: var(--color-text-primary);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border-subtle);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.impact-item {
    text-align: center;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 4px;
}

.impact-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Needs Progress */
.needs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.need-item h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.progress-container {
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--color-secondary);
    border-radius: 4px;
}

/* --- SUPPORT CARDS (4 PILLARS) --- */
.support-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md) auto;
}

.support-card h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

/* --- CHECKLIST & TRANSPARENCY CARDS --- */
.checklist-card {
    background: white;
    border-left: 4px solid var(--color-success);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
    color: #4B5563;
}

.checklist-card.warning {
    border-left-color: var(--color-error);
}

.checklist-card ul li {
    color: #1e293b;
    /* Slate-800: Explicit dark for white bg */
    font-weight: 500;
}

.checklist-card h4 {
    color: #0f172a;
    /* Slate-900: Explicit dark for headers */
}

.transparency-card {
    background: var(--color-surface-hover);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.transparency-icon {
    margin-bottom: 8px;
    color: var(--color-secondary);
}

/* Ensure button text is visible on white backgrounds */
.btn--outline {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    color: white;
}

/* --- STICKY MOBILE CTA --- */
.sticky-cta-mobile {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 12px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.sticky-cta-mobile .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 10px;
}

@media (min-width: 768px) {
    .sticky-cta-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {

    .impact-grid,
    .needs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .grid--4 {
        grid-template-columns: 1fr;
    }

    .sticky-cta-mobile {
        display: flex !important;
    }

    /* Add padding to body to prevent footer overlap */
    body {
        padding-bottom: 70px;
    }
}
/* --- AFFILIATE CARDS --- */
.affiliate-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Force dark text for readability */
    --color-text-primary: #111827;
    --color-text-secondary: #4B5563;
    --color-text-muted: #6B7280;
    color: var(--color-text-primary);
}

.affiliate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.affiliate-card h3 {
    margin-top: 10px;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.affiliate-card p {
    color: var(--color-text-secondary);
}

.affiliate-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.affiliate-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.icon-tiktok { color: #000000; }
.icon-shopee { color: #EE4D2D; }
.icon-digital { color: var(--color-secondary); }

