@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

:root {
    --color-bg: #090a0f;            
    --color-box: #11141d;          
    --color-border: #1e2330;       
    --color-text-main: #ffffff;    
    --color-text-muted: #828b9a;   
    --color-accent: #00ffcc;       
    --color-danger: #ff4a4a;
}

body {
    background-color: var(--color-bg) !important;
    color: var(--color-text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 2rem 10rem 2rem;
    position: relative;
    overflow-x: hidden;
}

.spotlight {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.06) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* FLOATING NAV */
.floating-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 20, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem;
    border-radius: 20px;
    display: flex;
    gap: 0.3rem;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.nav-item {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.nav-item:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.nav-item.active { background: var(--color-accent); color: #000; }

/* GRID UTAMA PERBAIKAN: MENGGUNAKAN 3 KOLOM AGAR LAYOUT PROFIL DAN FOTO SEJAJAR PAS */
.bento-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    z-index: 2;
    position: relative;
}

.bento-box {
    background: var(--color-box);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.bento-box:hover { border-color: rgba(0, 255, 204, 0.3); }

/* ==================== SYSTEM FILTER (NEW LOGIC) ==================== */
/* Menghapus logika lama yang bikin stuck blur */
.bento-box {
    background: var(--color-box);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    /* Transisi dipercepat sedikit agar perubahan filter terasa instan dan responsif */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, filter 0.2s ease, opacity 0.2s ease;
}

/* Hanya aktif jika boks tersebut memang dipilih lewat navigasi */
.bento-box.highlight-filtered {
    border-color: var(--color-accent) !important;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.15);
    transform: scale(1.02);
}
/* =================================================================== */
/* SETTING LEBAR KOTAK (PAS & SIMETRIS) */
.brand-box { grid-column: span 2; }
.photo-box { grid-column: span 1; padding: 0; position: relative;}
.photo-wrapper { width: 100%; height: 100%; position: relative; min-height: 100%; }
.profile-img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: grayscale(0.2); transition: 0.5s; border-radius: 24px; }
.photo-box:hover .profile-img { filter: grayscale(0); }
.photo-overlay { position: absolute; bottom: 1.5rem; left: 1.5rem; background: #fff; color: #000; padding: 0.4rem 1rem; font-weight: 700; font-size: 0.8rem; border-radius: 6px; letter-spacing: 1px; }

.brand-top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 2rem;}
.status-badge { border: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; font-weight: 600; padding: 0.4rem 1rem; border-radius: 50px; display: inline-flex; align-items: center; gap: 0.5rem; }
.status-badge.open { color: var(--color-accent); background: rgba(0, 255, 204, 0.05); border-color: rgba(0, 255, 204, 0.2); }
.status-badge.open .dot { background: var(--color-accent); width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 8px var(--color-accent); }
.status-badge.closed { color: var(--color-danger); background: rgba(255, 74, 74, 0.05); border-color: rgba(255, 74, 74, 0.2); }
.status-badge.closed .dot { background: var(--color-danger); width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 8px var(--color-danger); }
.brand-slug { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 700; }

.brand-box h1 { font-size: 3rem; font-weight: 700; letter-spacing: -2px; margin-bottom: 1rem; color: #fff; line-height: 1.1; }
.main-statement { font-size: 1.1rem; color: var(--color-text-muted); line-height: 1.6; }
.text-link { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* BARIS JASA & ESTIMATOR */
.services-box { grid-column: span 2; justify-content: flex-start; }
.services-list { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; }
.service-item { display: flex; gap: 1rem; }
.service-num { font-size: 0.8rem; font-weight: 700; color: var(--color-accent); background: rgba(0, 255, 204, 0.07); padding: 0.2rem 0.5rem; border-radius: 6px; height: max-content; }
.service-detail h3 { font-size: 1.1rem; margin-bottom: 0.2rem; color: #fff; }
.service-detail p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.4; }

.calculator-box { grid-column: span 1; justify-content: flex-start; }
.calc-instruction { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.calc-options { display: flex; gap: 0.4rem; margin-bottom: 1.2rem; width: 100%; }
.calc-btn { background: rgba(255,255,255,0.03); border: 1px solid var(--color-border); color: #fff; padding: 0.7rem 0.3rem; border-radius: 12px; font-weight: 600; cursor: pointer; flex: 1; transition: 0.2s; font-size: 0.85rem; }
.calc-btn.active { background: var(--color-accent); color: #000; border-color: var(--color-accent); }
.calc-result { background: rgba(0,0,0,0.15); border-radius: 16px; padding: 1.2rem; border: 1px solid rgba(255,255,255,0.02); display: flex; flex-direction: column; width: 100%; margin-top: auto;}
.result-label { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase;}
#calc-price { font-size: 1.8rem; color: var(--color-accent); margin: 0.2rem 0; font-weight: 700; }
.calc-note { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.4; margin-bottom: 1.2rem; }
.calc-order-link { background: rgba(0, 255, 204, 0.08); border: 1px solid var(--color-accent); color: var(--color-accent); padding: 0.8rem; text-align: center; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; transition: 0.3s; }
.calc-order-link:hover { background: var(--color-accent); color: #000; }

/* BARIS EDUKASI & REVIEW */
.edu-box { grid-column: span 2; justify-content: flex-start; }
.edu-compact { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.edu-line { display: flex; gap: 1.5rem; background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.02); padding: 1rem; border-radius: 16px; align-items: center; }
.edu-line .year { font-size: 0.85rem; color: var(--color-accent); font-weight: 700; min-width: 65px; text-transform: uppercase; letter-spacing: 0.5px; }
.edu-text h4 { font-size: 1rem; font-weight: 600; color: #ffffff; }
.edu-text p { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.1rem; }

.review-box { grid-column: span 1; }
.testimonial-slider { width: 100%; margin-top: 0.5rem; }
.testimonial-item { display: none; opacity: 0; }
.testimonial-item.active { display: block; opacity: 1; transition: opacity 0.4s ease; }
.testi-text { font-size: 1rem; font-style: italic; color: #e2e8f0; line-height: 1.5; }
.testi-user { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.8rem; display: block; font-weight: 600; }
.slider-dots { display: flex; gap: 0.4rem; margin-top: 1.5rem; }
.dot-nav { width: 6px; height: 6px; background: rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; }
.dot-nav.active { background: var(--color-accent); width: 14px; border-radius: 4px; }

/* BARIS KONTAK BAWAH */
.contact-box { grid-column: span 3; }
.social-grid-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; width: 100%; }
.social-tile { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); padding: 1rem; border-radius: 16px; text-decoration: none; color: #fff; cursor: pointer; }
.tile-text span { display: block; font-size: 0.95rem; font-weight: 600; }
.tile-text small { display: block; font-size: 0.75rem; color: var(--color-text-muted); }
.social-tile:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); }

/* MONITOR RESPONSIVE */
@media (max-width: 950px) {
    .bento-container { grid-template-columns: repeat(2, 1fr); }
    .brand-box, .services-box, .edu-box { grid-column: span 2; }
    .photo-box, .calculator-box, .review-box { grid-column: span 1; }
    .contact-box { grid-column: span 2; }
    .social-grid-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    body { padding: 2rem 1rem 8rem 1rem; }
    .bento-container { grid-template-columns: 1fr; }
    .brand-box, .photo-box, .services-box, .calculator-box, .edu-box, .review-box, .contact-box { grid-column: span 1; }
    .brand-box h1 { font-size: 2.3rem; }
    .social-grid-links { grid-template-columns: 1fr; }
    .nav-item span { display: none; }
    .nav-item { padding: 0.9rem 1.1rem; }
}