/* ═══════════════════════════════════════════════════════════════
   HALAMAN STATIS - INFOGRAPHIC COMPONENTS
   Reusable CSS classes for rich visual content in static pages.
   Used inside .halaman-content (konten_html from database).
   ═══════════════════════════════════════════════════════════════ */

/* ── Stat Cards (angka highlight) ── */
.info-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 2rem 0;
}

.info-stat-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.info-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.12);
}

.info-stat-card.green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.info-stat-card.amber {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fcd34d;
}

.info-stat-card.purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: #d8b4fe;
}

.info-stat-card.rose {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border-color: #fda4af;
}

.info-stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.info-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0c4a6e;
    line-height: 1.2;
    margin-bottom: 4px;
}

.info-stat-card.green .info-stat-value {
    color: #166534;
}
.info-stat-card.amber .info-stat-value {
    color: #92400e;
}
.info-stat-card.purple .info-stat-value {
    color: #6b21a8;
}
.info-stat-card.rose .info-stat-value {
    color: #9f1239;
}

.info-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* ── Icon Cards Grid (sektor/kategori) ── */
.info-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 2rem 0;
}

.info-icon-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.info-icon-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0369a1, #0ea5e9);
    opacity: 0;
    transition: opacity 0.2s;
}

.info-icon-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

.info-icon-card:hover::before {
    opacity: 1;
}

.info-icon-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.info-icon-card .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.info-icon-card .card-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

/* ── Progress Bars ── */
.info-progress-list {
    margin: 2rem 0;
}

.info-progress-item {
    margin-bottom: 16px;
}

.info-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.info-progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.info-progress-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0369a1;
}

.info-progress-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
}

.info-progress-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #0369a1, #0ea5e9);
    transition: width 0.6s ease;
}

.info-progress-fill.green {
    background: linear-gradient(90deg, #16a34a, #4ade80);
}
.info-progress-fill.amber {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}
.info-progress-fill.purple {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.info-progress-fill.rose {
    background: linear-gradient(90deg, #e11d48, #fb7185);
}

/* ── Callout / Highlight Box ── */
.info-callout {
    border-radius: 12px;
    padding: 20px 24px;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-callout.blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.info-callout.green {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.info-callout.amber {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.info-callout.rose {
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.info-callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.info-callout-content {
    flex: 1;
}

.info-callout-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.info-callout-text {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ── Section Divider ── */
.info-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
    margin: 2.5rem 0;
}

/* ── Two Column Layout ── */
.info-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 1.5rem 0;
}

@media (max-width: 767px) {
    .info-two-col {
        grid-template-columns: 1fr;
    }
}

/* ── Feature List ── */
.info-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.info-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-feature-list li:last-child {
    border-bottom: none;
}

.info-feature-list .feature-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border-radius: 8px;
}

.info-feature-list .feature-text {
    flex: 1;
}

.info-feature-list .feature-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.info-feature-list .feature-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

/* ── Section Header ── */
.info-section-header {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
}

.info-section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    border-bottom: none !important;
}

.info-section-header p {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .info-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-icon-grid {
        grid-template-columns: 1fr;
    }

    .info-stat-value {
        font-size: 1.4rem;
    }
}
