:root {
    --produk-bg: #020b16;
    --produk-card: rgba(7, 19, 33, 0.78);
    --produk-stroke: rgba(255, 255, 255, 0.08);
    --produk-text: #e6f4ff;
    --produk-muted: rgba(230, 244, 255, 0.75);
    --produk-accent: #6366f1;
    --produk-accent-alt: #8b5cf6;
    --produk-gradient-start: #0a1628;
    --produk-gradient-end: #1a2f4a;
    --produk-shadow: 0 25px 55px rgba(4, 20, 40, 0.45);
    --produk-radius: 0;
}

.produk-hero {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.25), transparent),
        linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(26, 47, 74, 0.95));
    padding: 40px 0 24px;
    color: var(--produk-text);
    position: relative;
    overflow: hidden;
}

.produk-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/icon-hero.jpeg') center/cover;
    opacity: 0.08;
    mix-blend-mode: screen;
}

.produk-hero .dp-container {
    position: relative;
    z-index: 1;
}

.produk-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.produk-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    color: var(--produk-accent);
}

.produk-hero__content h1 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin: 16px 0;
    line-height: 1.2;
    font-weight: 700;
}

.produk-hero__content p {
    color: var(--produk-muted);
    max-width: 560px;
    line-height: 1.6;
}

.produk-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.produk-hero__meta article {
    border: 1px solid var(--produk-stroke);
    padding: 16px;
    border-radius: var(--produk-radius);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.produk-hero__meta article:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.produk-hero__meta span {
    font-size: 0.85rem;
    color: var(--produk-muted);
    display: block;
    margin-bottom: 4px;
}

.produk-hero__meta strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--produk-text);
}

.produk-hero__visual {
    text-align: center;
    position: relative;
    padding: 20px;
}

.produk-hero__device {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 16px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.produk-hero__screen {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.produk-hero__law-flow {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.law-point {
    width: 8px;
    height: 8px;
    background: var(--produk-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.produk-hero__bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: bubble-float var(--duration) ease-in-out infinite;
}

@keyframes bubble-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(20px, -30px) scale(1.1); opacity: 0.8; }
}

.produk-main {
    background: var(--produk-bg);
    color: var(--produk-text);
    padding: 40px 0;
    min-height: 60vh;
}

.produk-main__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.produk-section {
    background: var(--produk-card);
    border: 1px solid var(--produk-stroke);
    padding: 32px;
    margin-bottom: 24px;
    border-radius: var(--produk-radius);
    box-shadow: var(--produk-shadow);
}

.produk-section__header {
    margin-bottom: 24px;
}

.produk-section__header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--produk-text);
}

.produk-section__header h2 i {
    color: var(--produk-accent);
}

.produk-section__header p {
    color: var(--produk-muted);
    margin: 0;
}

.produk-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.produk-filter__chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--produk-stroke);
    border-radius: 999px;
    color: var(--produk-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.produk-filter__chip:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--produk-accent);
    color: var(--produk-text);
}

.produk-filter__chip--active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--produk-accent);
    color: var(--produk-accent);
}

.produk-filter__chip i {
    font-size: 0.85rem;
}

.produk-filter__count {
    background: rgba(99, 102, 241, 0.2);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.produk-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--produk-stroke);
    border-radius: var(--produk-radius);
}

.produk-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
}

.produk-table thead {
    background: rgba(99, 102, 241, 0.1);
}

.produk-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--produk-text);
    border-bottom: 1px solid var(--produk-stroke);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.produk-table th i {
    color: var(--produk-accent);
    margin-right: 8px;
}

.produk-table td {
    padding: 16px;
    border-bottom: 1px solid var(--produk-stroke);
    color: var(--produk-muted);
}

.produk-table tbody tr {
    transition: all 0.2s ease;
}

.produk-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

.produk-table td strong {
    color: var(--produk-text);
    font-weight: 600;
}

.produk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--produk-accent);
}

.produk-badge i {
    font-size: 0.7rem;
}

.produk-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--produk-accent), #4f46e5);
    border: none;
    color: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.produk-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.produk-no-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--produk-muted);
    font-size: 0.85rem;
}

.produk-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--produk-muted);
}

.produk-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.5;
}

.produk-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.produk-sidebar__card {
    background: var(--produk-card);
    border: 1px solid var(--produk-stroke);
    border-radius: var(--produk-radius);
    box-shadow: var(--produk-shadow);
    overflow: hidden;
}

.produk-sidebar__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid var(--produk-stroke);
}

.produk-sidebar__card-header i {
    color: var(--produk-accent);
    font-size: 1.2rem;
}

.produk-sidebar__card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--produk-text);
}

.produk-sidebar__stats {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.produk-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--produk-stroke);
    border-radius: var(--produk-radius);
    transition: all 0.3s ease;
}

.produk-stat-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--produk-accent);
    transform: translateX(4px);
}

.produk-stat-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.produk-stat-item__content {
    flex: 1;
}

.produk-stat-item__content span {
    display: block;
    font-size: 0.85rem;
    color: var(--produk-muted);
    margin-bottom: 4px;
}

.produk-stat-item__content strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--produk-text);
}

.produk-sidebar__categories {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.produk-category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--produk-stroke);
    border-radius: var(--produk-radius);
    transition: all 0.3s ease;
}

.produk-category-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--produk-accent);
}

.produk-category-item__icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--produk-accent);
    flex-shrink: 0;
}

.produk-category-item__content {
    flex: 1;
}

.produk-category-item__content span {
    display: block;
    font-size: 0.9rem;
    color: var(--produk-text);
    font-weight: 600;
    margin-bottom: 2px;
}

.produk-category-item__content strong {
    font-size: 0.85rem;
    color: var(--produk-muted);
}

.produk-empty-sidebar {
    text-align: center;
    padding: 24px;
    color: var(--produk-muted);
}

.produk-empty-sidebar i {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
    opacity: 0.5;
}

.produk-sidebar__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.produk-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--produk-stroke);
    border-radius: var(--produk-radius);
}

.produk-info-item i {
    color: var(--produk-accent);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.produk-info-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--produk-muted);
    margin-bottom: 4px;
}

.produk-info-item strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--produk-text);
}

@media (max-width: 1024px) {
    .produk-main__grid {
        grid-template-columns: 1fr;
    }

    .produk-sidebar {
        position: static;
    }

    .produk-hero__grid {
        grid-template-columns: 1fr;
    }

    .produk-hero__visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .produk-hero {
        padding: 32px 0 20px;
    }

    .produk-hero__meta {
        grid-template-columns: 1fr;
    }

    .produk-section {
        padding: 24px;
    }

    .produk-table {
        font-size: 0.85rem;
    }

    .produk-table th,
    .produk-table td {
        padding: 12px 8px;
    }
}
