/* ================================================================
   PRODUK PAGE - CSS MODERN
   ================================================================ */

/* ================================================================
   HERO PRODUK - MODERN
   ================================================================ */
.produk-hero {
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
    min-height: 70vh;
    background: linear-gradient(135deg, #0a1a24 0%, #1a3a4a 50%, #0f2937 100%);
}

.produk-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&h=800&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
}

.produk-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(46,204,113,0.15), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(46,204,113,0.1), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(46,204,113,0.12), transparent),
        radial-gradient(2px 2px at 80% 60%, rgba(46,204,113,0.08), transparent),
        radial-gradient(2px 2px at 10% 80%, rgba(46,204,113,0.1), transparent),
        radial-gradient(2px 2px at 90% 10%, rgba(46,204,113,0.12), transparent);
    background-size: 200px 200px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.produk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(46, 204, 113, 0.04) 0%, transparent 60%);
}

.produk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(46, 204, 113, 0.15);
    position: relative;
    z-index: 2;
}

.badge-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.6); }
}

.produk-hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.produk-hero-title .highlight {
    color: #2ecc71;
    position: relative;
}

.produk-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(46, 204, 113, 0.3);
    border-radius: 4px;
}

.produk-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.produk-hero-stats {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.produk-hero-stats .hero-stat {
    text-align: left;
}

.produk-hero-stats .hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2ecc71;
    display: block;
    line-height: 1;
}

.produk-hero-stats .hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ================================================================
   HERO VISUAL - CARDS FLOATING
   ================================================================ */
.produk-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produk-hero-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

.produk-hero-card {
    position: absolute;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: float-card 3s ease-in-out infinite;
    min-width: 140px;
}

.produk-hero-card .hero-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(46, 204, 113, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ecc71;
    font-size: 1rem;
}

.produk-hero-card .hero-card-content {
    display: flex;
    flex-direction: column;
}

.produk-hero-card .hero-card-label {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.produk-hero-card .hero-card-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.produk-hero-card.card-1 {
    top: -10px;
    right: -20px;
    animation-delay: 0s;
}

.produk-hero-card.card-2 {
    bottom: 30px;
    left: -20px;
    animation-delay: 1.2s;
}

.produk-hero-card.card-3 {
    bottom: -10px;
    right: 20px;
    animation-delay: 2.4s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.produk-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.produk-hero-wave svg {
    width: 100%;
    display: block;
}

/* ================================================================
   FILTER SECTION
   ================================================================ */
.filter-section {
    padding: 20px 0;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 76px;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.filter-wrapper {
    display: flex;
    align-items: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #f8fafc;
    color: #64748b;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.filter-btn:hover {
    background: #e2e8f0;
    color: #1a2a3a;
}

.filter-btn.active {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
}

.filter-btn i {
    font-size: 0.7rem;
}

.search-form {
    width: 100%;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.search-wrapper input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid #f1f5f9;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    outline: none;
}

.search-wrapper input:focus {
    border-color: #2ecc71;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.08);
}

.search-wrapper input::placeholder {
    color: #94a3b8;
}

.search-clear {
    position: absolute;
    right: 12px;
    color: #94a3b8;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-clear:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* ================================================================
   PRODUK LIST
   ================================================================ */
.produk-list-section {
    padding: 50px 0 70px;
    background: #f8fafc;
}

.produk-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}

.produk-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
    border-color: #2ecc71;
}

.produk-image {
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    height: 220px;
}

.produk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produk-card:hover .produk-image img {
    transform: scale(1.05);
}

.produk-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(26, 42, 58, 0.8);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.produk-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f59e0b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
}

.produk-featured i {
    margin-right: 4px;
}

.produk-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.produk-body h5 {
    font-weight: 700;
    font-size: 1rem;
    color: #1a2a3a;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.produk-body p {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 12px;
}

.produk-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    margin-bottom: 12px;
}

.produk-brand {
    font-size: 0.75rem;
    color: #64748b;
}

.produk-brand i {
    margin-right: 4px;
    color: #94a3b8;
}

.produk-price {
    font-weight: 700;
    color: #2ecc71;
    font-size: 0.85rem;
}

.btn-produk-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    color: #2ecc71;
    font-weight: 600;
    font-size: 0.75rem;
    border: 2px solid #2ecc71;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-produk-detail:hover {
    background: #2ecc71;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.25);
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 16px;
}

.empty-state h4 {
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.empty-state p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.empty-state .btn {
    background: #2ecc71;
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
}

.empty-state .btn:hover {
    background: #27ae60;
}

/* ================================================================
   CTA
   ================================================================ */
.cta-produk {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a1a24, #1a3a4a);
}

.cta-box-produk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(255,255,255,0.03);
    padding: 40px 50px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}

.cta-content-produk h2 {
    color: #fff;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.cta-content-produk p {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    margin: 0;
}

.btn-cta-produk {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: #2ecc71;
    color: #0a1a24;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-cta-produk:hover {
    background: #27ae60;
    color: #0a1a24;
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(46, 204, 113, 0.3);
}

.btn-cta-produk i:last-child {
    transition: transform 0.3s ease;
}

.btn-cta-produk:hover i:last-child {
    transform: translateX(6px);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 992px) {
    .produk-hero-title { font-size: 2.8rem; }
    .produk-hero-card { display: none; }
    .produk-hero-stats { gap: 24px; }
    .produk-hero-stats .hero-stat-number { font-size: 2rem; }
    .filter-wrapper { flex-direction: column; gap: 16px; }
    .filter-buttons { justify-content: center; }
    .search-form { width: 100%; }
    .cta-box-produk { flex-direction: column; text-align: center; padding: 30px 24px; }
}

@media (max-width: 768px) {
    .produk-hero { padding: 100px 0 40px; min-height: auto; }
    .produk-hero-title { font-size: 2rem; }
    .produk-hero-desc { font-size: 0.95rem; }
    .produk-hero-stats { gap: 16px; flex-wrap: wrap; }
    .produk-hero-stats .hero-stat-number { font-size: 1.6rem; }
    .produk-hero-stats .hero-stat-label { font-size: 0.7rem; }
    .produk-hero-image { max-height: 250px; }
    
    .filter-section { top: 64px; padding: 12px 0; }
    .filter-buttons { gap: 6px; }
    .filter-btn { padding: 6px 14px; font-size: 0.7rem; }
    
    .produk-image { height: 180px; }
    .produk-body { padding: 14px 16px; }
    .produk-body h5 { font-size: 0.9rem; min-height: 36px; }
    .produk-body p { font-size: 0.75rem; }
    .produk-price { font-size: 0.75rem; }
    
    .cta-content-produk h2 { font-size: 1.4rem; }
    .btn-cta-produk { padding: 10px 24px; font-size: 0.85rem; }
}

@media (max-width: 576px) {
    .produk-hero-title { font-size: 1.6rem; }
    .filter-buttons { flex-wrap: wrap; justify-content: center; }
    .filter-btn { font-size: 0.65rem; padding: 4px 12px; }
    
    .produk-image { height: 160px; }
    .produk-body h5 { font-size: 0.8rem; min-height: 32px; }
    .produk-body p { font-size: 0.7rem; }
    .produk-price { font-size: 0.7rem; }
    .btn-produk-detail { font-size: 0.65rem; padding: 6px 12px; }
    
    .cta-box-produk { padding: 20px 16px; }
    .btn-cta-produk { width: 100%; justify-content: center; }
}